diff --git a/.master-commit b/.master-commit index 5a7c0ade3..64d4029a1 100644 --- a/.master-commit +++ b/.master-commit @@ -1 +1 @@ -ac245c43154a82753a39a2030228768ef6c60158 +9502efb6a8f97f3dc5c4b9830c30b95f0ca760d6 diff --git a/master/javadocs/allclasses-frame.html b/master/javadocs/allclasses-frame.html deleted file mode 100644 index 3f411b620..000000000 --- a/master/javadocs/allclasses-frame.html +++ /dev/null @@ -1,778 +0,0 @@ - - - - - -All Classes (JSS: Java Security Services) - - - - -

All Classes

-
- -
- - diff --git a/master/javadocs/allclasses-index.html b/master/javadocs/allclasses-index.html new file mode 100644 index 000000000..ad13a80e4 --- /dev/null +++ b/master/javadocs/allclasses-index.html @@ -0,0 +1,4550 @@ + + + + + +All Classes (JSS: Java Security Services) + + + + + + + + + + + + + +
+ +
+
+
+

All Classes

+
+
+ +
+
+ + + diff --git a/master/javadocs/allclasses-noframe.html b/master/javadocs/allclasses.html similarity index 99% rename from master/javadocs/allclasses-noframe.html rename to master/javadocs/allclasses.html index 6d4b78901..b9b9bd30e 100644 --- a/master/javadocs/allclasses-noframe.html +++ b/master/javadocs/allclasses.html @@ -1,15 +1,24 @@ - + All Classes (JSS: Java Security Services) + + + + + + +

All Classes

-
+
-
+ diff --git a/master/javadocs/allpackages-index.html b/master/javadocs/allpackages-index.html new file mode 100644 index 000000000..9d8da8e76 --- /dev/null +++ b/master/javadocs/allpackages-index.html @@ -0,0 +1,297 @@ + + + + + +All Packages (JSS: Java Security Services) + + + + + + + + + + + + + +
+ +
+
+
+

All Packages

+
+
+ +
+
+ + + diff --git a/master/javadocs/constant-values.html b/master/javadocs/constant-values.html index f01bba330..9aed99e79 100644 --- a/master/javadocs/constant-values.html +++ b/master/javadocs/constant-values.html @@ -1,11 +1,20 @@ - + Constant Field Values (JSS: Java Security Services) + + + + + + + +var pathtoroot = "./"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
+ +
+

Constant Field Values

+

Contents

+
-
+
+

org.mozilla.*

+
+
+ diff --git a/master/javadocs/deprecated-list.html b/master/javadocs/deprecated-list.html index 288a00114..82118fd10 100644 --- a/master/javadocs/deprecated-list.html +++ b/master/javadocs/deprecated-list.html @@ -1,11 +1,20 @@ - + Deprecated List (JSS: Java Security Services) + + + + + + + +var pathtoroot = "./"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
+ +
+

Deprecated API

Contents

-
+
- + - + - + - + - +
+
+ + diff --git a/master/javadocs/jquery/external/jquery/jquery.js b/master/javadocs/jquery/external/jquery/jquery.js new file mode 100644 index 000000000..50937333b --- /dev/null +++ b/master/javadocs/jquery/external/jquery/jquery.js @@ -0,0 +1,10872 @@ +/*! + * jQuery JavaScript Library v3.5.1 + * https://jquery.com/ + * + * Includes Sizzle.js + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://jquery.org/license + * + * Date: 2020-05-04T22:49Z + */ +( function( global, factory ) { + + "use strict"; + + if ( typeof module === "object" && typeof module.exports === "object" ) { + + // For CommonJS and CommonJS-like environments where a proper `window` + // is present, execute the factory and get jQuery. + // For environments that do not have a `window` with a `document` + // (such as Node.js), expose a factory as module.exports. + // This accentuates the need for the creation of a real `window`. + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info. + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 +// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode +// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common +// enough that all such attempts are guarded in a try block. +"use strict"; + +var arr = []; + +var getProto = Object.getPrototypeOf; + +var slice = arr.slice; + +var flat = arr.flat ? function( array ) { + return arr.flat.call( array ); +} : function( array ) { + return arr.concat.apply( [], array ); +}; + + +var push = arr.push; + +var indexOf = arr.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var fnToString = hasOwn.toString; + +var ObjectFunctionString = fnToString.call( Object ); + +var support = {}; + +var isFunction = function isFunction( obj ) { + + // Support: Chrome <=57, Firefox <=52 + // In some browsers, typeof returns "function" for HTML elements + // (i.e., `typeof document.createElement( "object" ) === "function"`). + // We don't want to classify *any* DOM node as a function. + return typeof obj === "function" && typeof obj.nodeType !== "number"; + }; + + +var isWindow = function isWindow( obj ) { + return obj != null && obj === obj.window; + }; + + +var document = window.document; + + + + var preservedScriptAttributes = { + type: true, + src: true, + nonce: true, + noModule: true + }; + + function DOMEval( code, node, doc ) { + doc = doc || document; + + var i, val, + script = doc.createElement( "script" ); + + script.text = code; + if ( node ) { + for ( i in preservedScriptAttributes ) { + + // Support: Firefox 64+, Edge 18+ + // Some browsers don't support the "nonce" property on scripts. + // On the other hand, just using `getAttribute` is not enough as + // the `nonce` attribute is reset to an empty string whenever it + // becomes browsing-context connected. + // See https://github.com/whatwg/html/issues/2369 + // See https://html.spec.whatwg.org/#nonce-attributes + // The `node.getAttribute` check was added for the sake of + // `jQuery.globalEval` so that it can fake a nonce-containing node + // via an object. + val = node[ i ] || node.getAttribute && node.getAttribute( i ); + if ( val ) { + script.setAttribute( i, val ); + } + } + } + doc.head.appendChild( script ).parentNode.removeChild( script ); + } + + +function toType( obj ) { + if ( obj == null ) { + return obj + ""; + } + + // Support: Android <=2.3 only (functionish RegExp) + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call( obj ) ] || "object" : + typeof obj; +} +/* global Symbol */ +// Defining this global in .eslintrc.json would create a danger of using the global +// unguarded in another place, it seems safer to define global only for this module + + + +var + version = "3.5.1", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }; + +jQuery.fn = jQuery.prototype = { + + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + + // Return all the elements in a clean array + if ( num == null ) { + return slice.call( this ); + } + + // Return just the one element from the set + return num < 0 ? this[ num + this.length ] : this[ num ]; + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + each: function( callback ) { + return jQuery.each( this, callback ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map( this, function( elem, i ) { + return callback.call( elem, i, elem ); + } ) ); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + even: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return ( i + 1 ) % 2; + } ) ); + }, + + odd: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return i % 2; + } ) ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: arr.sort, + splice: arr.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var options, name, src, copy, copyIsArray, clone, + target = arguments[ 0 ] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // Skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !isFunction( target ) ) { + target = {}; + } + + // Extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + + // Only deal with non-null/undefined values + if ( ( options = arguments[ i ] ) != null ) { + + // Extend the base object + for ( name in options ) { + copy = options[ name ]; + + // Prevent Object.prototype pollution + // Prevent never-ending loop + if ( name === "__proto__" || target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject( copy ) || + ( copyIsArray = Array.isArray( copy ) ) ) ) { + src = target[ name ]; + + // Ensure proper type for the source value + if ( copyIsArray && !Array.isArray( src ) ) { + clone = []; + } else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) { + clone = {}; + } else { + clone = src; + } + copyIsArray = false; + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend( { + + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + isPlainObject: function( obj ) { + var proto, Ctor; + + // Detect obvious negatives + // Use toString instead of jQuery.type to catch host objects + if ( !obj || toString.call( obj ) !== "[object Object]" ) { + return false; + } + + proto = getProto( obj ); + + // Objects with no prototype (e.g., `Object.create( null )`) are plain + if ( !proto ) { + return true; + } + + // Objects with prototype are plain iff they were constructed by a global Object function + Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; + return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; + }, + + isEmptyObject: function( obj ) { + var name; + + for ( name in obj ) { + return false; + } + return true; + }, + + // Evaluates a script in a provided context; falls back to the global one + // if not specified. + globalEval: function( code, options, doc ) { + DOMEval( code, { nonce: options && options.nonce }, doc ); + }, + + each: function( obj, callback ) { + var length, i = 0; + + if ( isArrayLike( obj ) ) { + length = obj.length; + for ( ; i < length; i++ ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } else { + for ( i in obj ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } + + return obj; + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArrayLike( Object( arr ) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + return arr == null ? -1 : indexOf.call( arr, elem, i ); + }, + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + for ( ; j < len; j++ ) { + first[ i++ ] = second[ j ]; + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var length, value, + i = 0, + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArrayLike( elems ) ) { + length = elems.length; + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return flat( ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +} ); + +if ( typeof Symbol === "function" ) { + jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; +} + +// Populate the class2type map +jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), +function( _i, name ) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +} ); + +function isArrayLike( obj ) { + + // Support: real iOS 8.2 only (not reproducible in simulator) + // `in` check used to prevent JIT error (gh-2145) + // hasOwn isn't used here due to false negatives + // regarding Nodelist length in IE + var length = !!obj && "length" in obj && obj.length, + type = toType( obj ); + + if ( isFunction( obj ) || isWindow( obj ) ) { + return false; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * Sizzle CSS Selector Engine v2.3.5 + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://js.foundation/ + * + * Date: 2020-03-14 + */ +( function( window ) { +var i, + support, + Expr, + getText, + isXML, + tokenize, + compile, + select, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + 1 * new Date(), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + nonnativeSelectorCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // Instance methods + hasOwn = ( {} ).hasOwnProperty, + arr = [], + pop = arr.pop, + pushNative = arr.push, + push = arr.push, + slice = arr.slice, + + // Use a stripped-down indexOf as it's faster than native + // https://jsperf.com/thor-indexof-vs-for/5 + indexOf = function( list, elem ) { + var i = 0, + len = list.length; + for ( ; i < len; i++ ) { + if ( list[ i ] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|" + + "ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + + // https://www.w3.org/TR/css-syntax-3/#ident-token-diagram + identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace + + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", + + // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + + + // Operator (capture 2) + "*([*^$|!~]?=)" + whitespace + + + // "Attribute values must be CSS identifiers [capture 5] + // or strings [capture 3 or capture 4]" + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + + whitespace + "*\\]", + + pseudos = ":(" + identifier + ")(?:\\((" + + + // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: + // 1. quoted (capture 3; capture 4 or capture 5) + "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + + + // 2. simple (capture 6) + "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + + + // 3. anything else (capture 2) + ".*" + + ")\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rwhitespace = new RegExp( whitespace + "+", "g" ), + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + + "*" ), + rdescend = new RegExp( whitespace + "|>" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + identifier + ")" ), + "CLASS": new RegExp( "^\\.(" + identifier + ")" ), + "TAG": new RegExp( "^(" + identifier + "|[*])" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + + whitespace + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + + whitespace + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + whitespace + + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rhtml = /HTML$/i, + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + + // CSS escapes + // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\[\\da-fA-F]{1,6}" + whitespace + "?|\\\\([^\\r\\n\\f])", "g" ), + funescape = function( escape, nonHex ) { + var high = "0x" + escape.slice( 1 ) - 0x10000; + + return nonHex ? + + // Strip the backslash prefix from a non-hex escape sequence + nonHex : + + // Replace a hexadecimal escape sequence with the encoded Unicode code point + // Support: IE <=11+ + // For values outside the Basic Multilingual Plane (BMP), manually construct a + // surrogate pair + high < 0 ? + String.fromCharCode( high + 0x10000 ) : + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }, + + // CSS string/identifier serialization + // https://drafts.csswg.org/cssom/#common-serializing-idioms + rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, + fcssescape = function( ch, asCodePoint ) { + if ( asCodePoint ) { + + // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER + if ( ch === "\0" ) { + return "\uFFFD"; + } + + // Control characters and (dependent upon position) numbers get escaped as code points + return ch.slice( 0, -1 ) + "\\" + + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; + } + + // Other potentially-special ASCII characters get backslash-escaped + return "\\" + ch; + }, + + // Used for iframes + // See setDocument() + // Removing the function wrapper causes a "Permission Denied" + // error in IE + unloadHandler = function() { + setDocument(); + }, + + inDisabledFieldset = addCombinator( + function( elem ) { + return elem.disabled === true && elem.nodeName.toLowerCase() === "fieldset"; + }, + { dir: "parentNode", next: "legend" } + ); + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + ( arr = slice.call( preferredDoc.childNodes ) ), + preferredDoc.childNodes + ); + + // Support: Android<4.0 + // Detect silently failing push.apply + // eslint-disable-next-line no-unused-expressions + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + pushNative.apply( target, slice.call( els ) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + + // Can't trust NodeList.length + while ( ( target[ j++ ] = els[ i++ ] ) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var m, i, elem, nid, match, groups, newSelector, + newContext = context && context.ownerDocument, + + // nodeType defaults to 9, since context defaults to document + nodeType = context ? context.nodeType : 9; + + results = results || []; + + // Return early from calls with invalid selector or context + if ( typeof selector !== "string" || !selector || + nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { + + return results; + } + + // Try to shortcut find operations (as opposed to filters) in HTML documents + if ( !seed ) { + setDocument( context ); + context = context || document; + + if ( documentIsHTML ) { + + // If the selector is sufficiently simple, try using a "get*By*" DOM method + // (excepting DocumentFragment context, where the methods don't exist) + if ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) { + + // ID selector + if ( ( m = match[ 1 ] ) ) { + + // Document context + if ( nodeType === 9 ) { + if ( ( elem = context.getElementById( m ) ) ) { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + + // Element context + } else { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( newContext && ( elem = newContext.getElementById( m ) ) && + contains( context, elem ) && + elem.id === m ) { + + results.push( elem ); + return results; + } + } + + // Type selector + } else if ( match[ 2 ] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Class selector + } else if ( ( m = match[ 3 ] ) && support.getElementsByClassName && + context.getElementsByClassName ) { + + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // Take advantage of querySelectorAll + if ( support.qsa && + !nonnativeSelectorCache[ selector + " " ] && + ( !rbuggyQSA || !rbuggyQSA.test( selector ) ) && + + // Support: IE 8 only + // Exclude object elements + ( nodeType !== 1 || context.nodeName.toLowerCase() !== "object" ) ) { + + newSelector = selector; + newContext = context; + + // qSA considers elements outside a scoping root when evaluating child or + // descendant combinators, which is not what we want. + // In such cases, we work around the behavior by prefixing every selector in the + // list with an ID selector referencing the scope context. + // The technique has to be used as well when a leading combinator is used + // as such selectors are not recognized by querySelectorAll. + // Thanks to Andrew Dupont for this technique. + if ( nodeType === 1 && + ( rdescend.test( selector ) || rcombinators.test( selector ) ) ) { + + // Expand context for sibling selectors + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || + context; + + // We can use :scope instead of the ID hack if the browser + // supports it & if we're not changing the context. + if ( newContext !== context || !support.scope ) { + + // Capture the context ID, setting it first if necessary + if ( ( nid = context.getAttribute( "id" ) ) ) { + nid = nid.replace( rcssescape, fcssescape ); + } else { + context.setAttribute( "id", ( nid = expando ) ); + } + } + + // Prefix every selector in the list + groups = tokenize( selector ); + i = groups.length; + while ( i-- ) { + groups[ i ] = ( nid ? "#" + nid : ":scope" ) + " " + + toSelector( groups[ i ] ); + } + newSelector = groups.join( "," ); + } + + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch ( qsaError ) { + nonnativeSelectorCache( selector, true ); + } finally { + if ( nid === expando ) { + context.removeAttribute( "id" ); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {function(string, object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return ( cache[ key + " " ] = value ); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created element and returns a boolean result + */ +function assert( fn ) { + var el = document.createElement( "fieldset" ); + + try { + return !!fn( el ); + } catch ( e ) { + return false; + } finally { + + // Remove from its parent by default + if ( el.parentNode ) { + el.parentNode.removeChild( el ); + } + + // release memory in IE + el = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split( "|" ), + i = arr.length; + + while ( i-- ) { + Expr.attrHandle[ arr[ i ] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + a.sourceIndex - b.sourceIndex; + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( ( cur = cur.nextSibling ) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return ( name === "input" || name === "button" ) && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for :enabled/:disabled + * @param {Boolean} disabled true for :disabled; false for :enabled + */ +function createDisabledPseudo( disabled ) { + + // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable + return function( elem ) { + + // Only certain elements can match :enabled or :disabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled + if ( "form" in elem ) { + + // Check for inherited disabledness on relevant non-disabled elements: + // * listed form-associated elements in a disabled fieldset + // https://html.spec.whatwg.org/multipage/forms.html#category-listed + // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled + // * option elements in a disabled optgroup + // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled + // All such elements have a "form" property. + if ( elem.parentNode && elem.disabled === false ) { + + // Option elements defer to a parent optgroup if present + if ( "label" in elem ) { + if ( "label" in elem.parentNode ) { + return elem.parentNode.disabled === disabled; + } else { + return elem.disabled === disabled; + } + } + + // Support: IE 6 - 11 + // Use the isDisabled shortcut property to check for disabled fieldset ancestors + return elem.isDisabled === disabled || + + // Where there is no isDisabled, check manually + /* jshint -W018 */ + elem.isDisabled !== !disabled && + inDisabledFieldset( elem ) === disabled; + } + + return elem.disabled === disabled; + + // Try to winnow out elements that can't be disabled before trusting the disabled property. + // Some victims get caught in our net (label, legend, menu, track), but it shouldn't + // even exist on them, let alone have a boolean value. + } else if ( "label" in elem ) { + return elem.disabled === disabled; + } + + // Remaining elements are neither :enabled nor :disabled + return false; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction( function( argument ) { + argument = +argument; + return markFunction( function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ ( j = matchIndexes[ i ] ) ] ) { + seed[ j ] = !( matches[ j ] = seed[ j ] ); + } + } + } ); + } ); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== "undefined" && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + var namespace = elem.namespaceURI, + docElem = ( elem.ownerDocument || elem ).documentElement; + + // Support: IE <=8 + // Assume HTML when documentElement doesn't yet exist, such as inside loading iframes + // https://bugs.jquery.com/ticket/4833 + return !rhtml.test( namespace || docElem && docElem.nodeName || "HTML" ); +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, subWindow, + doc = node ? node.ownerDocument || node : preferredDoc; + + // Return early if doc is invalid or already selected + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Update global variables + document = doc; + docElem = document.documentElement; + documentIsHTML = !isXML( document ); + + // Support: IE 9 - 11+, Edge 12 - 18+ + // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( preferredDoc != document && + ( subWindow = document.defaultView ) && subWindow.top !== subWindow ) { + + // Support: IE 11, Edge + if ( subWindow.addEventListener ) { + subWindow.addEventListener( "unload", unloadHandler, false ); + + // Support: IE 9 - 10 only + } else if ( subWindow.attachEvent ) { + subWindow.attachEvent( "onunload", unloadHandler ); + } + } + + // Support: IE 8 - 11+, Edge 12 - 18+, Chrome <=16 - 25 only, Firefox <=3.6 - 31 only, + // Safari 4 - 5 only, Opera <=11.6 - 12.x only + // IE/Edge & older browsers don't support the :scope pseudo-class. + // Support: Safari 6.0 only + // Safari 6.0 supports :scope but it's an alias of :root there. + support.scope = assert( function( el ) { + docElem.appendChild( el ).appendChild( document.createElement( "div" ) ); + return typeof el.querySelectorAll !== "undefined" && + !el.querySelectorAll( ":scope fieldset div" ).length; + } ); + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties + // (excepting IE8 booleans) + support.attributes = assert( function( el ) { + el.className = "i"; + return !el.getAttribute( "className" ); + } ); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert( function( el ) { + el.appendChild( document.createComment( "" ) ); + return !el.getElementsByTagName( "*" ).length; + } ); + + // Support: IE<9 + support.getElementsByClassName = rnative.test( document.getElementsByClassName ); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programmatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert( function( el ) { + docElem.appendChild( el ).id = expando; + return !document.getElementsByName || !document.getElementsByName( expando ).length; + } ); + + // ID filter and find + if ( support.getById ) { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute( "id" ) === attrId; + }; + }; + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var elem = context.getElementById( id ); + return elem ? [ elem ] : []; + } + }; + } else { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== "undefined" && + elem.getAttributeNode( "id" ); + return node && node.value === attrId; + }; + }; + + // Support: IE 6 - 7 only + // getElementById is not reliable as a find shortcut + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var node, i, elems, + elem = context.getElementById( id ); + + if ( elem ) { + + // Verify the id attribute + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + + // Fall back on getElementsByName + elems = context.getElementsByName( id ); + i = 0; + while ( ( elem = elems[ i++ ] ) ) { + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + } + } + + return []; + } + }; + } + + // Tag + Expr.find[ "TAG" ] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== "undefined" ) { + return context.getElementsByTagName( tag ); + + // DocumentFragment nodes don't have gEBTN + } else if ( support.qsa ) { + return context.querySelectorAll( tag ); + } + } : + + function( tag, context ) { + var elem, + tmp = [], + i = 0, + + // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find[ "CLASS" ] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See https://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( ( support.qsa = rnative.test( document.querySelectorAll ) ) ) { + + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert( function( el ) { + + var input; + + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // https://bugs.jquery.com/ticket/12359 + docElem.appendChild( el ).innerHTML = "" + + ""; + + // Support: IE8, Opera 11-12.16 + // Nothing should be selected when empty strings follow ^= or $= or *= + // The test attribute must be unknown in Opera but "safe" for WinRT + // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section + if ( el.querySelectorAll( "[msallowcapture^='']" ).length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !el.querySelectorAll( "[selected]" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ + if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { + rbuggyQSA.push( "~=" ); + } + + // Support: IE 11+, Edge 15 - 18+ + // IE 11/Edge don't find elements on a `[name='']` query in some cases. + // Adding a temporary attribute to the document before the selection works + // around the issue. + // Interestingly, IE 10 & older don't seem to have the issue. + input = document.createElement( "input" ); + input.setAttribute( "name", "" ); + el.appendChild( input ); + if ( !el.querySelectorAll( "[name='']" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*name" + whitespace + "*=" + + whitespace + "*(?:''|\"\")" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !el.querySelectorAll( ":checked" ).length ) { + rbuggyQSA.push( ":checked" ); + } + + // Support: Safari 8+, iOS 8+ + // https://bugs.webkit.org/show_bug.cgi?id=136851 + // In-page `selector#id sibling-combinator selector` fails + if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { + rbuggyQSA.push( ".#.+[+~]" ); + } + + // Support: Firefox <=3.6 - 5 only + // Old Firefox doesn't throw on a badly-escaped identifier. + el.querySelectorAll( "\\\f" ); + rbuggyQSA.push( "[\\r\\n\\f]" ); + } ); + + assert( function( el ) { + el.innerHTML = "" + + ""; + + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = document.createElement( "input" ); + input.setAttribute( "type", "hidden" ); + el.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( el.querySelectorAll( "[name=d]" ).length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( el.querySelectorAll( ":enabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: IE9-11+ + // IE's :disabled selector does not pick up the children of disabled fieldsets + docElem.appendChild( el ).disabled = true; + if ( el.querySelectorAll( ":disabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: Opera 10 - 11 only + // Opera 10-11 does not throw on post-comma invalid pseudos + el.querySelectorAll( "*,:x" ); + rbuggyQSA.push( ",.*:" ); + } ); + } + + if ( ( support.matchesSelector = rnative.test( ( matches = docElem.matches || + docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector ) ) ) ) { + + assert( function( el ) { + + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( el, "*" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( el, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + } ); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( "|" ) ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join( "|" ) ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully self-exclusive + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + ) ); + } : + function( a, b ) { + if ( b ) { + while ( ( b = b.parentNode ) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + compare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + ( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) { + + // Choose the first element that is related to our preferred document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( a == document || a.ownerDocument == preferredDoc && + contains( preferredDoc, a ) ) { + return -1; + } + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( b == document || b.ownerDocument == preferredDoc && + contains( preferredDoc, b ) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + return a == document ? -1 : + b == document ? 1 : + /* eslint-enable eqeqeq */ + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( ( cur = cur.parentNode ) ) { + ap.unshift( cur ); + } + cur = b; + while ( ( cur = cur.parentNode ) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[ i ] === bp[ i ] ) { + i++; + } + + return i ? + + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[ i ], bp[ i ] ) : + + // Otherwise nodes in our document sort first + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + ap[ i ] == preferredDoc ? -1 : + bp[ i ] == preferredDoc ? 1 : + /* eslint-enable eqeqeq */ + 0; + }; + + return document; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + setDocument( elem ); + + if ( support.matchesSelector && documentIsHTML && + !nonnativeSelectorCache[ expr + " " ] && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch ( e ) { + nonnativeSelectorCache( expr, true ); + } + } + + return Sizzle( expr, document, null, [ elem ] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( context.ownerDocument || context ) != document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( elem.ownerDocument || elem ) != document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; +}; + +Sizzle.escape = function( sel ) { + return ( sel + "" ).replace( rcssescape, fcssescape ); +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + + // If no nodeType, this is expected to be an array + while ( ( node = elem[ i++ ] ) ) { + + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[ 1 ] = match[ 1 ].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[ 3 ] = ( match[ 3 ] || match[ 4 ] || + match[ 5 ] || "" ).replace( runescape, funescape ); + + if ( match[ 2 ] === "~=" ) { + match[ 3 ] = " " + match[ 3 ] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[ 1 ] = match[ 1 ].toLowerCase(); + + if ( match[ 1 ].slice( 0, 3 ) === "nth" ) { + + // nth-* requires argument + if ( !match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[ 4 ] = +( match[ 4 ] ? + match[ 5 ] + ( match[ 6 ] || 1 ) : + 2 * ( match[ 3 ] === "even" || match[ 3 ] === "odd" ) ); + match[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === "odd" ); + + // other types prohibit arguments + } else if ( match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[ 6 ] && match[ 2 ]; + + if ( matchExpr[ "CHILD" ].test( match[ 0 ] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[ 3 ] ) { + match[ 2 ] = match[ 4 ] || match[ 5 ] || ""; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + + // Get excess from tokenize (recursively) + ( excess = tokenize( unquoted, true ) ) && + + // advance to the next closing parenthesis + ( excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length ) ) { + + // excess is a negative index + match[ 0 ] = match[ 0 ].slice( 0, excess ); + match[ 2 ] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { + return true; + } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + ( pattern = new RegExp( "(^|" + whitespace + + ")" + className + "(" + whitespace + "|$)" ) ) && classCache( + className, function( elem ) { + return pattern.test( + typeof elem.className === "string" && elem.className || + typeof elem.getAttribute !== "undefined" && + elem.getAttribute( "class" ) || + "" + ); + } ); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + /* eslint-disable max-len */ + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + /* eslint-enable max-len */ + + }; + }, + + "CHILD": function( type, what, _argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, _context, xml ) { + var cache, uniqueCache, outerCache, node, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType, + diff = false; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( ( node = node[ dir ] ) ) { + if ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) { + + return false; + } + } + + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + + // Seek `elem` from a previously-cached index + + // ...in a gzip-friendly way + node = parent; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex && cache[ 2 ]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( ( node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + } else { + + // Use previously-cached element index if available + if ( useCache ) { + + // ...in a gzip-friendly way + node = elem; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex; + } + + // xml :nth-child(...) + // or :nth-last-child(...) or :nth(-last)?-of-type(...) + if ( diff === false ) { + + // Use the same loop as above to seek `elem` from the start + while ( ( node = ++nodeIndex && node && node[ dir ] || + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + if ( ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) && + ++diff ) { + + // Cache the index of each encountered element + if ( useCache ) { + outerCache = node[ expando ] || + ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + uniqueCache[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction( function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf( seed, matched[ i ] ); + seed[ idx ] = !( matches[ idx ] = matched[ i ] ); + } + } ) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + + // Potentially complex pseudos + "not": markFunction( function( selector ) { + + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction( function( seed, matches, _context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( ( elem = unmatched[ i ] ) ) { + seed[ i ] = !( matches[ i ] = elem ); + } + } + } ) : + function( elem, _context, xml ) { + input[ 0 ] = elem; + matcher( input, null, xml, results ); + + // Don't keep the element (issue #299) + input[ 0 ] = null; + return !results.pop(); + }; + } ), + + "has": markFunction( function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + } ), + + "contains": markFunction( function( text ) { + text = text.replace( runescape, funescape ); + return function( elem ) { + return ( elem.textContent || getText( elem ) ).indexOf( text ) > -1; + }; + } ), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + + // lang value must be a valid identifier + if ( !ridentifier.test( lang || "" ) ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( ( elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute( "xml:lang" ) || elem.getAttribute( "lang" ) ) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( ( elem = elem.parentNode ) && elem.nodeType === 1 ); + return false; + }; + } ), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && + ( !document.hasFocus || document.hasFocus() ) && + !!( elem.type || elem.href || ~elem.tabIndex ); + }, + + // Boolean properties + "enabled": createDisabledPseudo( false ), + "disabled": createDisabledPseudo( true ), + + "checked": function( elem ) { + + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return ( nodeName === "input" && !!elem.checked ) || + ( nodeName === "option" && !!elem.selected ); + }, + + "selected": function( elem ) { + + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + // eslint-disable-next-line no-unused-expressions + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos[ "empty" ]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( ( attr = elem.getAttribute( "type" ) ) == null || + attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo( function() { + return [ 0 ]; + } ), + + "last": createPositionalPseudo( function( _matchIndexes, length ) { + return [ length - 1 ]; + } ), + + "eq": createPositionalPseudo( function( _matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + } ), + + "even": createPositionalPseudo( function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "odd": createPositionalPseudo( function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "lt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? + argument + length : + argument > length ? + length : + argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "gt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ) + } +}; + +Expr.pseudos[ "nth" ] = Expr.pseudos[ "eq" ]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +tokenize = Sizzle.tokenize = function( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || ( match = rcomma.exec( soFar ) ) ) { + if ( match ) { + + // Don't consume trailing commas as valid + soFar = soFar.slice( match[ 0 ].length ) || soFar; + } + groups.push( ( tokens = [] ) ); + } + + matched = false; + + // Combinators + if ( ( match = rcombinators.exec( soFar ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + + // Cast descendant combinators to space + type: match[ 0 ].replace( rtrim, " " ) + } ); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] || + ( match = preFilters[ type ]( match ) ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + type: type, + matches: match + } ); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +}; + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[ i ].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + skip = combinator.next, + key = skip || dir, + checkNonElements = base && key === "parentNode", + doneName = done++; + + return combinator.first ? + + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + return false; + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, uniqueCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching + if ( xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || ( elem[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ elem.uniqueID ] || + ( outerCache[ elem.uniqueID ] = {} ); + + if ( skip && skip === elem.nodeName.toLowerCase() ) { + elem = elem[ dir ] || elem; + } else if ( ( oldCache = uniqueCache[ key ] ) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return ( newCache[ 2 ] = oldCache[ 2 ] ); + } else { + + // Reuse newcache so results back-propagate to previous elements + uniqueCache[ key ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) { + return true; + } + } + } + } + } + return false; + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[ i ]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[ 0 ]; +} + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[ i ], results ); + } + return results; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( ( elem = unmatched[ i ] ) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction( function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( + selector || "*", + context.nodeType ? [ context ] : context, + [] + ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( ( elem = temp[ i ] ) ) { + matcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem ); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) ) { + + // Restore matcherIn since elem is not yet a final match + temp.push( ( matcherIn[ i ] = elem ) ); + } + } + postFinder( null, ( matcherOut = [] ), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) && + ( temp = postFinder ? indexOf( seed, elem ) : preMap[ i ] ) > -1 ) { + + seed[ temp ] = !( results[ temp ] = elem ); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + } ); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[ 0 ].type ], + implicitRelative = leadingRelative || Expr.relative[ " " ], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + ( checkContext = context ).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + + // Avoid hanging onto element (issue #299) + checkContext = null; + return ret; + } ]; + + for ( ; i < len; i++ ) { + if ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) { + matchers = [ addCombinator( elementMatcher( matchers ), matcher ) ]; + } else { + matcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[ j ].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens + .slice( 0, i - 1 ) + .concat( { value: tokens[ i - 2 ].type === " " ? "*" : "" } ) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find[ "TAG" ]( "*", outermost ), + + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ), + len = elems.length; + + if ( outermost ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + outermostContext = context == document || context || outermost; + } + + // Add elements passing elementMatchers directly to results + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( !context && elem.ownerDocument != document ) { + setDocument( elem ); + xml = !documentIsHTML; + } + while ( ( matcher = elementMatchers[ j++ ] ) ) { + if ( matcher( elem, context || document, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + + // They will have gone through all possible matchers + if ( ( elem = !matcher && elem ) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // `i` is now the count of elements visited above, and adding it to `matchedCount` + // makes the latter nonnegative. + matchedCount += i; + + // Apply set filters to unmatched elements + // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` + // equals `i`), unless we didn't visit _any_ elements in the above loop because we have + // no element matchers and no seed. + // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that + // case, which will result in a "00" `matchedCount` that differs from `i` but is also + // numerically zero. + if ( bySet && i !== matchedCount ) { + j = 0; + while ( ( matcher = setMatchers[ j++ ] ) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !( unmatched[ i ] || setMatched[ i ] ) ) { + setMatched[ i ] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + + // Generate a function of recursive functions that can be used to check each element + if ( !match ) { + match = tokenize( selector ); + } + i = match.length; + while ( i-- ) { + cached = matcherFromTokens( match[ i ] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( + selector, + matcherFromGroupMatchers( elementMatchers, setMatchers ) + ); + + // Save selector and tokenization + cached.selector = selector; + } + return cached; +}; + +/** + * A low-level selection function that works with Sizzle's compiled + * selector functions + * @param {String|Function} selector A selector or a pre-compiled + * selector function built with Sizzle.compile + * @param {Element} context + * @param {Array} [results] + * @param {Array} [seed] A set of elements to match against + */ +select = Sizzle.select = function( selector, context, results, seed ) { + var i, tokens, token, type, find, + compiled = typeof selector === "function" && selector, + match = !seed && tokenize( ( selector = compiled.selector || selector ) ); + + results = results || []; + + // Try to minimize operations if there is only one selector in the list and no seed + // (the latter of which guarantees us context) + if ( match.length === 1 ) { + + // Reduce context if the leading compound selector is an ID + tokens = match[ 0 ] = match[ 0 ].slice( 0 ); + if ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === "ID" && + context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) { + + context = ( Expr.find[ "ID" ]( token.matches[ 0 ] + .replace( runescape, funescape ), context ) || [] )[ 0 ]; + if ( !context ) { + return results; + + // Precompiled matchers will still verify ancestry, so step up a level + } else if ( compiled ) { + context = context.parentNode; + } + + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr[ "needsContext" ].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[ i ]; + + // Abort if we hit a combinator + if ( Expr.relative[ ( type = token.type ) ] ) { + break; + } + if ( ( find = Expr.find[ type ] ) ) { + + // Search, expanding context for leading sibling combinators + if ( ( seed = find( + token.matches[ 0 ].replace( runescape, funescape ), + rsibling.test( tokens[ 0 ].type ) && testContext( context.parentNode ) || + context + ) ) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + + // Compile and execute a filtering function if one is not provided + // Provide `match` to avoid retokenization if we modified the selector above + ( compiled || compile( selector, match ) )( + seed, + context, + !documentIsHTML, + results, + !context || rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +}; + +// One-time assignments + +// Sort stability +support.sortStable = expando.split( "" ).sort( sortOrder ).join( "" ) === expando; + +// Support: Chrome 14-35+ +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert( function( el ) { + + // Should return 1, but returns 4 (following) + return el.compareDocumentPosition( document.createElement( "fieldset" ) ) & 1; +} ); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert( function( el ) { + el.innerHTML = ""; + return el.firstChild.getAttribute( "href" ) === "#"; +} ) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + } ); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert( function( el ) { + el.innerHTML = ""; + el.firstChild.setAttribute( "value", "" ); + return el.firstChild.getAttribute( "value" ) === ""; +} ) ) { + addHandle( "value", function( elem, _name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + } ); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert( function( el ) { + return el.getAttribute( "disabled" ) == null; +} ) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; + } + } ); +} + +return Sizzle; + +} )( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; + +// Deprecated +jQuery.expr[ ":" ] = jQuery.expr.pseudos; +jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; +jQuery.escapeSelector = Sizzle.escape; + + + + +var dir = function( elem, dir, until ) { + var matched = [], + truncate = until !== undefined; + + while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { + if ( elem.nodeType === 1 ) { + if ( truncate && jQuery( elem ).is( until ) ) { + break; + } + matched.push( elem ); + } + } + return matched; +}; + + +var siblings = function( n, elem ) { + var matched = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + matched.push( n ); + } + } + + return matched; +}; + + +var rneedsContext = jQuery.expr.match.needsContext; + + + +function nodeName( elem, name ) { + + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + +}; +var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); + + + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + return !!qualifier.call( elem, i, elem ) !== not; + } ); + } + + // Single element + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + } ); + } + + // Arraylike of elements (jQuery, arguments, Array) + if ( typeof qualifier !== "string" ) { + return jQuery.grep( elements, function( elem ) { + return ( indexOf.call( qualifier, elem ) > -1 ) !== not; + } ); + } + + // Filtered directly for both simple and complex selectors + return jQuery.filter( qualifier, elements, not ); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + if ( elems.length === 1 && elem.nodeType === 1 ) { + return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; + } + + return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + } ) ); +}; + +jQuery.fn.extend( { + find: function( selector ) { + var i, ret, + len = this.length, + self = this; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter( function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + } ) ); + } + + ret = this.pushStack( [] ); + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + return len > 1 ? jQuery.uniqueSort( ret ) : ret; + }, + filter: function( selector ) { + return this.pushStack( winnow( this, selector || [], false ) ); + }, + not: function( selector ) { + return this.pushStack( winnow( this, selector || [], true ) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +} ); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + // Shortcut simple #id case for speed + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, + + init = jQuery.fn.init = function( selector, context, root ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Method init() accepts an alternate rootjQuery + // so migrate can support jQuery.sub (gh-2101) + root = root || rootjQuery; + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector[ 0 ] === "<" && + selector[ selector.length - 1 ] === ">" && + selector.length >= 3 ) { + + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && ( match[ 1 ] || !context ) ) { + + // HANDLE: $(html) -> $(array) + if ( match[ 1 ] ) { + context = context instanceof jQuery ? context[ 0 ] : context; + + // Option to run scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[ 1 ], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + + // Properties of context are called as methods if possible + if ( isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[ 2 ] ); + + if ( elem ) { + + // Inject the element directly into the jQuery object + this[ 0 ] = elem; + this.length = 1; + } + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || root ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this[ 0 ] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( isFunction( selector ) ) { + return root.ready !== undefined ? + root.ready( selector ) : + + // Execute immediately if ready is not present + selector( jQuery ); + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + + // Methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.fn.extend( { + has: function( target ) { + var targets = jQuery( target, this ), + l = targets.length; + + return this.filter( function() { + var i = 0; + for ( ; i < l; i++ ) { + if ( jQuery.contains( this, targets[ i ] ) ) { + return true; + } + } + } ); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + targets = typeof selectors !== "string" && jQuery( selectors ); + + // Positional selectors never match, since there's no _selection_ context + if ( !rneedsContext.test( selectors ) ) { + for ( ; i < l; i++ ) { + for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { + + // Always skip document fragments + if ( cur.nodeType < 11 && ( targets ? + targets.index( cur ) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector( cur, selectors ) ) ) { + + matched.push( cur ); + break; + } + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); + }, + + // Determine the position of an element within the set + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; + } + + // Index in selector + if ( typeof elem === "string" ) { + return indexOf.call( jQuery( elem ), this[ 0 ] ); + } + + // Locate the position of the desired element + return indexOf.call( this, + + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[ 0 ] : elem + ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.uniqueSort( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter( selector ) + ); + } +} ); + +function sibling( cur, dir ) { + while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} + return cur; +} + +jQuery.each( { + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, _i, until ) { + return dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, _i, until ) { + return dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, _i, until ) { + return dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return siblings( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return siblings( elem.firstChild ); + }, + contents: function( elem ) { + if ( elem.contentDocument != null && + + // Support: IE 11+ + // elements with no `data` attribute has an object + // `contentDocument` with a `null` prototype. + getProto( elem.contentDocument ) ) { + + return elem.contentDocument; + } + + // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only + // Treat the template element as a regular one in browsers that + // don't support it. + if ( nodeName( elem, "template" ) ) { + elem = elem.content || elem; + } + + return jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var matched = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + matched = jQuery.filter( selector, matched ); + } + + if ( this.length > 1 ) { + + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + jQuery.uniqueSort( matched ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + matched.reverse(); + } + } + + return this.pushStack( matched ); + }; +} ); +var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); + + + +// Convert String-formatted options into Object-formatted ones +function createOptions( options ) { + var object = {}; + jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { + object[ flag ] = true; + } ); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + createOptions( options ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + + // Last fire value for non-forgettable lists + memory, + + // Flag to know if list was already fired + fired, + + // Flag to prevent firing + locked, + + // Actual callback list + list = [], + + // Queue of execution data for repeatable lists + queue = [], + + // Index of currently firing callback (modified by add/remove as needed) + firingIndex = -1, + + // Fire callbacks + fire = function() { + + // Enforce single-firing + locked = locked || options.once; + + // Execute callbacks for all pending executions, + // respecting firingIndex overrides and runtime changes + fired = firing = true; + for ( ; queue.length; firingIndex = -1 ) { + memory = queue.shift(); + while ( ++firingIndex < list.length ) { + + // Run callback and check for early termination + if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && + options.stopOnFalse ) { + + // Jump to end and forget the data so .add doesn't re-fire + firingIndex = list.length; + memory = false; + } + } + } + + // Forget the data if we're done with it + if ( !options.memory ) { + memory = false; + } + + firing = false; + + // Clean up if we're done firing for good + if ( locked ) { + + // Keep an empty list if we have data for future add calls + if ( memory ) { + list = []; + + // Otherwise, this object is spent + } else { + list = ""; + } + } + }, + + // Actual Callbacks object + self = { + + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + + // If we have memory from a past run, we should fire after adding + if ( memory && !firing ) { + firingIndex = list.length - 1; + queue.push( memory ); + } + + ( function add( args ) { + jQuery.each( args, function( _, arg ) { + if ( isFunction( arg ) ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && toType( arg ) !== "string" ) { + + // Inspect recursively + add( arg ); + } + } ); + } )( arguments ); + + if ( memory && !firing ) { + fire(); + } + } + return this; + }, + + // Remove a callback from the list + remove: function() { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + + // Handle firing indexes + if ( index <= firingIndex ) { + firingIndex--; + } + } + } ); + return this; + }, + + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? + jQuery.inArray( fn, list ) > -1 : + list.length > 0; + }, + + // Remove all callbacks from the list + empty: function() { + if ( list ) { + list = []; + } + return this; + }, + + // Disable .fire and .add + // Abort any current/pending executions + // Clear all callbacks and values + disable: function() { + locked = queue = []; + list = memory = ""; + return this; + }, + disabled: function() { + return !list; + }, + + // Disable .fire + // Also disable .add unless we have memory (since it would have no effect) + // Abort any pending executions + lock: function() { + locked = queue = []; + if ( !memory && !firing ) { + list = memory = ""; + } + return this; + }, + locked: function() { + return !!locked; + }, + + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( !locked ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + queue.push( args ); + if ( !firing ) { + fire(); + } + } + return this; + }, + + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +function Identity( v ) { + return v; +} +function Thrower( ex ) { + throw ex; +} + +function adoptValue( value, resolve, reject, noValue ) { + var method; + + try { + + // Check for promise aspect first to privilege synchronous behavior + if ( value && isFunction( ( method = value.promise ) ) ) { + method.call( value ).done( resolve ).fail( reject ); + + // Other thenables + } else if ( value && isFunction( ( method = value.then ) ) ) { + method.call( value, resolve, reject ); + + // Other non-thenables + } else { + + // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: + // * false: [ value ].slice( 0 ) => resolve( value ) + // * true: [ value ].slice( 1 ) => resolve() + resolve.apply( undefined, [ value ].slice( noValue ) ); + } + + // For Promises/A+, convert exceptions into rejections + // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in + // Deferred#then to conditionally suppress rejection. + } catch ( value ) { + + // Support: Android 4.0 only + // Strict mode functions invoked without .call/.apply get global-object context + reject.apply( undefined, [ value ] ); + } +} + +jQuery.extend( { + + Deferred: function( func ) { + var tuples = [ + + // action, add listener, callbacks, + // ... .then handlers, argument index, [final state] + [ "notify", "progress", jQuery.Callbacks( "memory" ), + jQuery.Callbacks( "memory" ), 2 ], + [ "resolve", "done", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 0, "resolved" ], + [ "reject", "fail", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 1, "rejected" ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + "catch": function( fn ) { + return promise.then( null, fn ); + }, + + // Keep pipe for back-compat + pipe: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + + return jQuery.Deferred( function( newDefer ) { + jQuery.each( tuples, function( _i, tuple ) { + + // Map tuples (progress, done, fail) to arguments (done, fail, progress) + var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; + + // deferred.progress(function() { bind to newDefer or newDefer.notify }) + // deferred.done(function() { bind to newDefer or newDefer.resolve }) + // deferred.fail(function() { bind to newDefer or newDefer.reject }) + deferred[ tuple[ 1 ] ]( function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && isFunction( returned.promise ) ) { + returned.promise() + .progress( newDefer.notify ) + .done( newDefer.resolve ) + .fail( newDefer.reject ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( + this, + fn ? [ returned ] : arguments + ); + } + } ); + } ); + fns = null; + } ).promise(); + }, + then: function( onFulfilled, onRejected, onProgress ) { + var maxDepth = 0; + function resolve( depth, deferred, handler, special ) { + return function() { + var that = this, + args = arguments, + mightThrow = function() { + var returned, then; + + // Support: Promises/A+ section 2.3.3.3.3 + // https://promisesaplus.com/#point-59 + // Ignore double-resolution attempts + if ( depth < maxDepth ) { + return; + } + + returned = handler.apply( that, args ); + + // Support: Promises/A+ section 2.3.1 + // https://promisesaplus.com/#point-48 + if ( returned === deferred.promise() ) { + throw new TypeError( "Thenable self-resolution" ); + } + + // Support: Promises/A+ sections 2.3.3.1, 3.5 + // https://promisesaplus.com/#point-54 + // https://promisesaplus.com/#point-75 + // Retrieve `then` only once + then = returned && + + // Support: Promises/A+ section 2.3.4 + // https://promisesaplus.com/#point-64 + // Only check objects and functions for thenability + ( typeof returned === "object" || + typeof returned === "function" ) && + returned.then; + + // Handle a returned thenable + if ( isFunction( then ) ) { + + // Special processors (notify) just wait for resolution + if ( special ) { + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ) + ); + + // Normal processors (resolve) also hook into progress + } else { + + // ...and disregard older resolution values + maxDepth++; + + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ), + resolve( maxDepth, deferred, Identity, + deferred.notifyWith ) + ); + } + + // Handle all other returned values + } else { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Identity ) { + that = undefined; + args = [ returned ]; + } + + // Process the value(s) + // Default process is resolve + ( special || deferred.resolveWith )( that, args ); + } + }, + + // Only normal processors (resolve) catch and reject exceptions + process = special ? + mightThrow : + function() { + try { + mightThrow(); + } catch ( e ) { + + if ( jQuery.Deferred.exceptionHook ) { + jQuery.Deferred.exceptionHook( e, + process.stackTrace ); + } + + // Support: Promises/A+ section 2.3.3.3.4.1 + // https://promisesaplus.com/#point-61 + // Ignore post-resolution exceptions + if ( depth + 1 >= maxDepth ) { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Thrower ) { + that = undefined; + args = [ e ]; + } + + deferred.rejectWith( that, args ); + } + } + }; + + // Support: Promises/A+ section 2.3.3.3.1 + // https://promisesaplus.com/#point-57 + // Re-resolve promises immediately to dodge false rejection from + // subsequent errors + if ( depth ) { + process(); + } else { + + // Call an optional hook to record the stack, in case of exception + // since it's otherwise lost when execution goes async + if ( jQuery.Deferred.getStackHook ) { + process.stackTrace = jQuery.Deferred.getStackHook(); + } + window.setTimeout( process ); + } + }; + } + + return jQuery.Deferred( function( newDefer ) { + + // progress_handlers.add( ... ) + tuples[ 0 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onProgress ) ? + onProgress : + Identity, + newDefer.notifyWith + ) + ); + + // fulfilled_handlers.add( ... ) + tuples[ 1 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onFulfilled ) ? + onFulfilled : + Identity + ) + ); + + // rejected_handlers.add( ... ) + tuples[ 2 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onRejected ) ? + onRejected : + Thrower + ) + ); + } ).promise(); + }, + + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 5 ]; + + // promise.progress = list.add + // promise.done = list.add + // promise.fail = list.add + promise[ tuple[ 1 ] ] = list.add; + + // Handle state + if ( stateString ) { + list.add( + function() { + + // state = "resolved" (i.e., fulfilled) + // state = "rejected" + state = stateString; + }, + + // rejected_callbacks.disable + // fulfilled_callbacks.disable + tuples[ 3 - i ][ 2 ].disable, + + // rejected_handlers.disable + // fulfilled_handlers.disable + tuples[ 3 - i ][ 3 ].disable, + + // progress_callbacks.lock + tuples[ 0 ][ 2 ].lock, + + // progress_handlers.lock + tuples[ 0 ][ 3 ].lock + ); + } + + // progress_handlers.fire + // fulfilled_handlers.fire + // rejected_handlers.fire + list.add( tuple[ 3 ].fire ); + + // deferred.notify = function() { deferred.notifyWith(...) } + // deferred.resolve = function() { deferred.resolveWith(...) } + // deferred.reject = function() { deferred.rejectWith(...) } + deferred[ tuple[ 0 ] ] = function() { + deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); + return this; + }; + + // deferred.notifyWith = list.fireWith + // deferred.resolveWith = list.fireWith + // deferred.rejectWith = list.fireWith + deferred[ tuple[ 0 ] + "With" ] = list.fireWith; + } ); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( singleValue ) { + var + + // count of uncompleted subordinates + remaining = arguments.length, + + // count of unprocessed arguments + i = remaining, + + // subordinate fulfillment data + resolveContexts = Array( i ), + resolveValues = slice.call( arguments ), + + // the master Deferred + master = jQuery.Deferred(), + + // subordinate callback factory + updateFunc = function( i ) { + return function( value ) { + resolveContexts[ i ] = this; + resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( !( --remaining ) ) { + master.resolveWith( resolveContexts, resolveValues ); + } + }; + }; + + // Single- and empty arguments are adopted like Promise.resolve + if ( remaining <= 1 ) { + adoptValue( singleValue, master.done( updateFunc( i ) ).resolve, master.reject, + !remaining ); + + // Use .then() to unwrap secondary thenables (cf. gh-3000) + if ( master.state() === "pending" || + isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { + + return master.then(); + } + } + + // Multiple arguments are aggregated like Promise.all array elements + while ( i-- ) { + adoptValue( resolveValues[ i ], updateFunc( i ), master.reject ); + } + + return master.promise(); + } +} ); + + +// These usually indicate a programmer mistake during development, +// warn about them ASAP rather than swallowing them by default. +var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; + +jQuery.Deferred.exceptionHook = function( error, stack ) { + + // Support: IE 8 - 9 only + // Console exists when dev tools are open, which can happen at any time + if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { + window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack ); + } +}; + + + + +jQuery.readyException = function( error ) { + window.setTimeout( function() { + throw error; + } ); +}; + + + + +// The deferred used on DOM ready +var readyList = jQuery.Deferred(); + +jQuery.fn.ready = function( fn ) { + + readyList + .then( fn ) + + // Wrap jQuery.readyException in a function so that the lookup + // happens at the time of error handling instead of callback + // registration. + .catch( function( error ) { + jQuery.readyException( error ); + } ); + + return this; +}; + +jQuery.extend( { + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + } +} ); + +jQuery.ready.then = readyList.then; + +// The ready event handler and self cleanup method +function completed() { + document.removeEventListener( "DOMContentLoaded", completed ); + window.removeEventListener( "load", completed ); + jQuery.ready(); +} + +// Catch cases where $(document).ready() is called +// after the browser event has already occurred. +// Support: IE <=9 - 10 only +// Older IE sometimes signals "interactive" too soon +if ( document.readyState === "complete" || + ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { + + // Handle it asynchronously to allow scripts the opportunity to delay ready + window.setTimeout( jQuery.ready ); + +} else { + + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed ); +} + + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + len = elems.length, + bulk = key == null; + + // Sets many values + if ( toType( key ) === "object" ) { + chainable = true; + for ( i in key ) { + access( elems, fn, i, key[ i ], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, _key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < len; i++ ) { + fn( + elems[ i ], key, raw ? + value : + value.call( elems[ i ], i, fn( elems[ i ], key ) ) + ); + } + } + } + + if ( chainable ) { + return elems; + } + + // Gets + if ( bulk ) { + return fn.call( elems ); + } + + return len ? fn( elems[ 0 ], key ) : emptyGet; +}; + + +// Matches dashed string for camelizing +var rmsPrefix = /^-ms-/, + rdashAlpha = /-([a-z])/g; + +// Used by camelCase as callback to replace() +function fcamelCase( _all, letter ) { + return letter.toUpperCase(); +} + +// Convert dashed to camelCase; used by the css and data modules +// Support: IE <=9 - 11, Edge 12 - 15 +// Microsoft forgot to hump their vendor prefix (#9572) +function camelCase( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); +} +var acceptData = function( owner ) { + + // Accepts only: + // - Node + // - Node.ELEMENT_NODE + // - Node.DOCUMENT_NODE + // - Object + // - Any + return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); +}; + + + + +function Data() { + this.expando = jQuery.expando + Data.uid++; +} + +Data.uid = 1; + +Data.prototype = { + + cache: function( owner ) { + + // Check if the owner object already has a cache + var value = owner[ this.expando ]; + + // If not, create one + if ( !value ) { + value = {}; + + // We can accept data for non-element nodes in modern browsers, + // but we should not, see #8335. + // Always return an empty object. + if ( acceptData( owner ) ) { + + // If it is a node unlikely to be stringify-ed or looped over + // use plain assignment + if ( owner.nodeType ) { + owner[ this.expando ] = value; + + // Otherwise secure it in a non-enumerable property + // configurable must be true to allow the property to be + // deleted when data is removed + } else { + Object.defineProperty( owner, this.expando, { + value: value, + configurable: true + } ); + } + } + } + + return value; + }, + set: function( owner, data, value ) { + var prop, + cache = this.cache( owner ); + + // Handle: [ owner, key, value ] args + // Always use camelCase key (gh-2257) + if ( typeof data === "string" ) { + cache[ camelCase( data ) ] = value; + + // Handle: [ owner, { properties } ] args + } else { + + // Copy the properties one-by-one to the cache object + for ( prop in data ) { + cache[ camelCase( prop ) ] = data[ prop ]; + } + } + return cache; + }, + get: function( owner, key ) { + return key === undefined ? + this.cache( owner ) : + + // Always use camelCase key (gh-2257) + owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ]; + }, + access: function( owner, key, value ) { + + // In cases where either: + // + // 1. No key was specified + // 2. A string key was specified, but no value provided + // + // Take the "read" path and allow the get method to determine + // which value to return, respectively either: + // + // 1. The entire cache object + // 2. The data stored at the key + // + if ( key === undefined || + ( ( key && typeof key === "string" ) && value === undefined ) ) { + + return this.get( owner, key ); + } + + // When the key is not a string, or both a key and value + // are specified, set or extend (existing objects) with either: + // + // 1. An object of properties + // 2. A key and value + // + this.set( owner, key, value ); + + // Since the "set" path can have two possible entry points + // return the expected data based on which path was taken[*] + return value !== undefined ? value : key; + }, + remove: function( owner, key ) { + var i, + cache = owner[ this.expando ]; + + if ( cache === undefined ) { + return; + } + + if ( key !== undefined ) { + + // Support array or space separated string of keys + if ( Array.isArray( key ) ) { + + // If key is an array of keys... + // We always set camelCase keys, so remove that. + key = key.map( camelCase ); + } else { + key = camelCase( key ); + + // If a key with the spaces exists, use it. + // Otherwise, create an array by matching non-whitespace + key = key in cache ? + [ key ] : + ( key.match( rnothtmlwhite ) || [] ); + } + + i = key.length; + + while ( i-- ) { + delete cache[ key[ i ] ]; + } + } + + // Remove the expando if there's no more data + if ( key === undefined || jQuery.isEmptyObject( cache ) ) { + + // Support: Chrome <=35 - 45 + // Webkit & Blink performance suffers when deleting properties + // from DOM nodes, so set to undefined instead + // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) + if ( owner.nodeType ) { + owner[ this.expando ] = undefined; + } else { + delete owner[ this.expando ]; + } + } + }, + hasData: function( owner ) { + var cache = owner[ this.expando ]; + return cache !== undefined && !jQuery.isEmptyObject( cache ); + } +}; +var dataPriv = new Data(); + +var dataUser = new Data(); + + + +// Implementation Summary +// +// 1. Enforce API surface and semantic compatibility with 1.9.x branch +// 2. Improve the module's maintainability by reducing the storage +// paths to a single mechanism. +// 3. Use the same single mechanism to support "private" and "user" data. +// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) +// 5. Avoid exposing implementation details on user objects (eg. expando properties) +// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /[A-Z]/g; + +function getData( data ) { + if ( data === "true" ) { + return true; + } + + if ( data === "false" ) { + return false; + } + + if ( data === "null" ) { + return null; + } + + // Only convert to a number if it doesn't change the string + if ( data === +data + "" ) { + return +data; + } + + if ( rbrace.test( data ) ) { + return JSON.parse( data ); + } + + return data; +} + +function dataAttr( elem, key, data ) { + var name; + + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = getData( data ); + } catch ( e ) {} + + // Make sure we set the data so it isn't changed later + dataUser.set( elem, key, data ); + } else { + data = undefined; + } + } + return data; +} + +jQuery.extend( { + hasData: function( elem ) { + return dataUser.hasData( elem ) || dataPriv.hasData( elem ); + }, + + data: function( elem, name, data ) { + return dataUser.access( elem, name, data ); + }, + + removeData: function( elem, name ) { + dataUser.remove( elem, name ); + }, + + // TODO: Now that all calls to _data and _removeData have been replaced + // with direct calls to dataPriv methods, these can be deprecated. + _data: function( elem, name, data ) { + return dataPriv.access( elem, name, data ); + }, + + _removeData: function( elem, name ) { + dataPriv.remove( elem, name ); + } +} ); + +jQuery.fn.extend( { + data: function( key, value ) { + var i, name, data, + elem = this[ 0 ], + attrs = elem && elem.attributes; + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = dataUser.get( elem ); + + if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + + // Support: IE 11 only + // The attrs elements can be null (#14894) + if ( attrs[ i ] ) { + name = attrs[ i ].name; + if ( name.indexOf( "data-" ) === 0 ) { + name = camelCase( name.slice( 5 ) ); + dataAttr( elem, name, data[ name ] ); + } + } + } + dataPriv.set( elem, "hasDataAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each( function() { + dataUser.set( this, key ); + } ); + } + + return access( this, function( value ) { + var data; + + // The calling jQuery object (element matches) is not empty + // (and therefore has an element appears at this[ 0 ]) and the + // `value` parameter was not undefined. An empty jQuery object + // will result in `undefined` for elem = this[ 0 ] which will + // throw an exception if an attempt to read a data cache is made. + if ( elem && value === undefined ) { + + // Attempt to get data from the cache + // The key will always be camelCased in Data + data = dataUser.get( elem, key ); + if ( data !== undefined ) { + return data; + } + + // Attempt to "discover" the data in + // HTML5 custom data-* attrs + data = dataAttr( elem, key ); + if ( data !== undefined ) { + return data; + } + + // We tried really hard, but the data doesn't exist. + return; + } + + // Set the data... + this.each( function() { + + // We always store the camelCased key + dataUser.set( this, key, value ); + } ); + }, null, value, arguments.length > 1, null, true ); + }, + + removeData: function( key ) { + return this.each( function() { + dataUser.remove( this, key ); + } ); + } +} ); + + +jQuery.extend( { + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = dataPriv.get( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || Array.isArray( data ) ) { + queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // Clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // Not public - generate a queueHooks object, or return the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { + empty: jQuery.Callbacks( "once memory" ).add( function() { + dataPriv.remove( elem, [ type + "queue", key ] ); + } ) + } ); + } +} ); + +jQuery.fn.extend( { + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[ 0 ], type ); + } + + return data === undefined ? + this : + this.each( function() { + var queue = jQuery.queue( this, type, data ); + + // Ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + } ); + }, + dequeue: function( type ) { + return this.each( function() { + jQuery.dequeue( this, type ); + } ); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +} ); +var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; + +var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); + + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var documentElement = document.documentElement; + + + + var isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ); + }, + composed = { composed: true }; + + // Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only + // Check attachment across shadow DOM boundaries when possible (gh-3504) + // Support: iOS 10.0-10.2 only + // Early iOS 10 versions support `attachShadow` but not `getRootNode`, + // leading to errors. We need to check for `getRootNode`. + if ( documentElement.getRootNode ) { + isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ) || + elem.getRootNode( composed ) === elem.ownerDocument; + }; + } +var isHiddenWithinTree = function( elem, el ) { + + // isHiddenWithinTree might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + + // Inline style trumps all + return elem.style.display === "none" || + elem.style.display === "" && + + // Otherwise, check computed style + // Support: Firefox <=43 - 45 + // Disconnected elements can have computed display: none, so first confirm that elem is + // in the document. + isAttached( elem ) && + + jQuery.css( elem, "display" ) === "none"; + }; + + + +function adjustCSS( elem, prop, valueParts, tween ) { + var adjusted, scale, + maxIterations = 20, + currentValue = tween ? + function() { + return tween.cur(); + } : + function() { + return jQuery.css( elem, prop, "" ); + }, + initial = currentValue(), + unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), + + // Starting value computation is required for potential unit mismatches + initialInUnit = elem.nodeType && + ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && + rcssNum.exec( jQuery.css( elem, prop ) ); + + if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { + + // Support: Firefox <=54 + // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144) + initial = initial / 2; + + // Trust units reported by jQuery.css + unit = unit || initialInUnit[ 3 ]; + + // Iteratively approximate from a nonzero starting point + initialInUnit = +initial || 1; + + while ( maxIterations-- ) { + + // Evaluate and update our best guess (doubling guesses that zero out). + // Finish if the scale equals or crosses 1 (making the old*new product non-positive). + jQuery.style( elem, prop, initialInUnit + unit ); + if ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) { + maxIterations = 0; + } + initialInUnit = initialInUnit / scale; + + } + + initialInUnit = initialInUnit * 2; + jQuery.style( elem, prop, initialInUnit + unit ); + + // Make sure we update the tween properties later on + valueParts = valueParts || []; + } + + if ( valueParts ) { + initialInUnit = +initialInUnit || +initial || 0; + + // Apply relative offset (+=/-=) if specified + adjusted = valueParts[ 1 ] ? + initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : + +valueParts[ 2 ]; + if ( tween ) { + tween.unit = unit; + tween.start = initialInUnit; + tween.end = adjusted; + } + } + return adjusted; +} + + +var defaultDisplayMap = {}; + +function getDefaultDisplay( elem ) { + var temp, + doc = elem.ownerDocument, + nodeName = elem.nodeName, + display = defaultDisplayMap[ nodeName ]; + + if ( display ) { + return display; + } + + temp = doc.body.appendChild( doc.createElement( nodeName ) ); + display = jQuery.css( temp, "display" ); + + temp.parentNode.removeChild( temp ); + + if ( display === "none" ) { + display = "block"; + } + defaultDisplayMap[ nodeName ] = display; + + return display; +} + +function showHide( elements, show ) { + var display, elem, + values = [], + index = 0, + length = elements.length; + + // Determine new display value for elements that need to change + for ( ; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + + display = elem.style.display; + if ( show ) { + + // Since we force visibility upon cascade-hidden elements, an immediate (and slow) + // check is required in this first loop unless we have a nonempty display value (either + // inline or about-to-be-restored) + if ( display === "none" ) { + values[ index ] = dataPriv.get( elem, "display" ) || null; + if ( !values[ index ] ) { + elem.style.display = ""; + } + } + if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { + values[ index ] = getDefaultDisplay( elem ); + } + } else { + if ( display !== "none" ) { + values[ index ] = "none"; + + // Remember what we're overwriting + dataPriv.set( elem, "display", display ); + } + } + } + + // Set the display of the elements in a second loop to avoid constant reflow + for ( index = 0; index < length; index++ ) { + if ( values[ index ] != null ) { + elements[ index ].style.display = values[ index ]; + } + } + + return elements; +} + +jQuery.fn.extend( { + show: function() { + return showHide( this, true ); + }, + hide: function() { + return showHide( this ); + }, + toggle: function( state ) { + if ( typeof state === "boolean" ) { + return state ? this.show() : this.hide(); + } + + return this.each( function() { + if ( isHiddenWithinTree( this ) ) { + jQuery( this ).show(); + } else { + jQuery( this ).hide(); + } + } ); + } +} ); +var rcheckableType = ( /^(?:checkbox|radio)$/i ); + +var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]*)/i ); + +var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i ); + + + +( function() { + var fragment = document.createDocumentFragment(), + div = fragment.appendChild( document.createElement( "div" ) ), + input = document.createElement( "input" ); + + // Support: Android 4.0 - 4.3 only + // Check state lost if the name is set (#11217) + // Support: Windows Web Apps (WWA) + // `name` and `type` must use .setAttribute for WWA (#14901) + input.setAttribute( "type", "radio" ); + input.setAttribute( "checked", "checked" ); + input.setAttribute( "name", "t" ); + + div.appendChild( input ); + + // Support: Android <=4.1 only + // Older WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE <=11 only + // Make sure textarea (and checkbox) defaultValue is properly cloned + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; + + // Support: IE <=9 only + // IE <=9 replaces "; + support.option = !!div.lastChild; +} )(); + + +// We have to close these tags to support XHTML (#13200) +var wrapMap = { + + // XHTML parsers do not magically insert elements in the + // same way that tag soup parsers do. So we cannot shorten + // this by omitting or other required elements. + thead: [ 1, "", "
" ], + col: [ 2, "", "
" ], + tr: [ 2, "", "
" ], + td: [ 3, "", "
" ], + + _default: [ 0, "", "" ] +}; + +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +// Support: IE <=9 only +if ( !support.option ) { + wrapMap.optgroup = wrapMap.option = [ 1, "" ]; +} + + +function getAll( context, tag ) { + + // Support: IE <=9 - 11 only + // Use typeof to avoid zero-argument method invocation on host objects (#15151) + var ret; + + if ( typeof context.getElementsByTagName !== "undefined" ) { + ret = context.getElementsByTagName( tag || "*" ); + + } else if ( typeof context.querySelectorAll !== "undefined" ) { + ret = context.querySelectorAll( tag || "*" ); + + } else { + ret = []; + } + + if ( tag === undefined || tag && nodeName( context, tag ) ) { + return jQuery.merge( [ context ], ret ); + } + + return ret; +} + + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + dataPriv.set( + elems[ i ], + "globalEval", + !refElements || dataPriv.get( refElements[ i ], "globalEval" ) + ); + } +} + + +var rhtml = /<|&#?\w+;/; + +function buildFragment( elems, context, scripts, selection, ignored ) { + var elem, tmp, tag, wrap, attached, j, + fragment = context.createDocumentFragment(), + nodes = [], + i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( toType( elem ) === "object" ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); + + // Deserialize a standard representation + tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; + + // Descend through wrappers to the right content + j = wrap[ 0 ]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, tmp.childNodes ); + + // Remember the top-level container + tmp = fragment.firstChild; + + // Ensure the created nodes are orphaned (#12392) + tmp.textContent = ""; + } + } + } + + // Remove wrapper from fragment + fragment.textContent = ""; + + i = 0; + while ( ( elem = nodes[ i++ ] ) ) { + + // Skip elements already in the context collection (trac-4087) + if ( selection && jQuery.inArray( elem, selection ) > -1 ) { + if ( ignored ) { + ignored.push( elem ); + } + continue; + } + + attached = isAttached( elem ); + + // Append to fragment + tmp = getAll( fragment.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( attached ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( ( elem = tmp[ j++ ] ) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + return fragment; +} + + +var + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, + rtypenamespace = /^([^.]*)(?:\.(.+)|)/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +// Support: IE <=9 - 11+ +// focus() and blur() are asynchronous, except when they are no-op. +// So expect focus to be synchronous when the element is already active, +// and blur to be synchronous when the element is not already active. +// (focus and blur are always synchronous in other supported browsers, +// this just defines when we can count on it). +function expectSync( elem, type ) { + return ( elem === safeActiveElement() ) === ( type === "focus" ); +} + +// Support: IE <=9 only +// Accessing document.activeElement can throw unexpectedly +// https://bugs.jquery.com/ticket/13393 +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +function on( elem, types, selector, data, fn, one ) { + var origFn, type; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + on( elem, type, selector, data, types[ type ], one ); + } + return elem; + } + + if ( data == null && fn == null ) { + + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return elem; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return elem.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + } ); +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + + var handleObjIn, eventHandle, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.get( elem ); + + // Only attach events to objects that accept data + if ( !acceptData( elem ) ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Ensure that invalid selectors throw exceptions at attach time + // Evaluate against documentElement in case elem is a non-element node (e.g., document) + if ( selector ) { + jQuery.find.matchesSelector( documentElement, selector ); + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !( events = elemData.events ) ) { + events = elemData.events = Object.create( null ); + } + if ( !( eventHandle = elemData.handle ) ) { + eventHandle = elemData.handle = function( e ) { + + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? + jQuery.event.dispatch.apply( elem, arguments ) : undefined; + }; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend( { + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join( "." ) + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !( handlers = events[ type ] ) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener if the special events handler returns false + if ( !special.setup || + special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + + var j, origCount, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); + + if ( !elemData || !( events = elemData.events ) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[ 2 ] && + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || + selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || + special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove data and the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + dataPriv.remove( elem, "handle events" ); + } + }, + + dispatch: function( nativeEvent ) { + + var i, j, ret, matched, handleObj, handlerQueue, + args = new Array( arguments.length ), + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( nativeEvent ), + + handlers = ( + dataPriv.get( this, "events" ) || Object.create( null ) + )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[ 0 ] = event; + + for ( i = 1; i < arguments.length; i++ ) { + args[ i ] = arguments[ i ]; + } + + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( ( handleObj = matched.handlers[ j++ ] ) && + !event.isImmediatePropagationStopped() ) { + + // If the event is namespaced, then each handler is only invoked if it is + // specially universal or its namespaces are a superset of the event's. + if ( !event.rnamespace || handleObj.namespace === false || + event.rnamespace.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || + handleObj.handler ).apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( ( event.result = ret ) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var i, handleObj, sel, matchedHandlers, matchedSelectors, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + if ( delegateCount && + + // Support: IE <=9 + // Black-hole SVG instance trees (trac-13180) + cur.nodeType && + + // Support: Firefox <=42 + // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) + // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click + // Support: IE 11 only + // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) + !( event.type === "click" && event.button >= 1 ) ) { + + for ( ; cur !== this; cur = cur.parentNode || this ) { + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { + matchedHandlers = []; + matchedSelectors = {}; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matchedSelectors[ sel ] === undefined ) { + matchedSelectors[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) > -1 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matchedSelectors[ sel ] ) { + matchedHandlers.push( handleObj ); + } + } + if ( matchedHandlers.length ) { + handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); + } + } + } + } + + // Add the remaining (directly-bound) handlers + cur = this; + if ( delegateCount < handlers.length ) { + handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); + } + + return handlerQueue; + }, + + addProp: function( name, hook ) { + Object.defineProperty( jQuery.Event.prototype, name, { + enumerable: true, + configurable: true, + + get: isFunction( hook ) ? + function() { + if ( this.originalEvent ) { + return hook( this.originalEvent ); + } + } : + function() { + if ( this.originalEvent ) { + return this.originalEvent[ name ]; + } + }, + + set: function( value ) { + Object.defineProperty( this, name, { + enumerable: true, + configurable: true, + writable: true, + value: value + } ); + } + } ); + }, + + fix: function( originalEvent ) { + return originalEvent[ jQuery.expando ] ? + originalEvent : + new jQuery.Event( originalEvent ); + }, + + special: { + load: { + + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + click: { + + // Utilize native event to ensure correct state for checkable inputs + setup: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Claim the first handler + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + // dataPriv.set( el, "click", ... ) + leverageNative( el, "click", returnTrue ); + } + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Force setup before triggering a click + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + leverageNative( el, "click" ); + } + + // Return non-false to allow normal event-path propagation + return true; + }, + + // For cross-browser consistency, suppress native .click() on links + // Also prevent it if we're currently inside a leveraged native-event stack + _default: function( event ) { + var target = event.target; + return rcheckableType.test( target.type ) && + target.click && nodeName( target, "input" ) && + dataPriv.get( target, "click" ) || + nodeName( target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Support: Firefox 20+ + // Firefox doesn't alert if the returnValue field is not set. + if ( event.result !== undefined && event.originalEvent ) { + event.originalEvent.returnValue = event.result; + } + } + } + } +}; + +// Ensure the presence of an event listener that handles manually-triggered +// synthetic events by interrupting progress until reinvoked in response to +// *native* events that it fires directly, ensuring that state changes have +// already occurred before other listeners are invoked. +function leverageNative( el, type, expectSync ) { + + // Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add + if ( !expectSync ) { + if ( dataPriv.get( el, type ) === undefined ) { + jQuery.event.add( el, type, returnTrue ); + } + return; + } + + // Register the controller as a special universal handler for all event namespaces + dataPriv.set( el, type, false ); + jQuery.event.add( el, type, { + namespace: false, + handler: function( event ) { + var notAsync, result, + saved = dataPriv.get( this, type ); + + if ( ( event.isTrigger & 1 ) && this[ type ] ) { + + // Interrupt processing of the outer synthetic .trigger()ed event + // Saved data should be false in such cases, but might be a leftover capture object + // from an async native handler (gh-4350) + if ( !saved.length ) { + + // Store arguments for use when handling the inner native event + // There will always be at least one argument (an event object), so this array + // will not be confused with a leftover capture object. + saved = slice.call( arguments ); + dataPriv.set( this, type, saved ); + + // Trigger the native event and capture its result + // Support: IE <=9 - 11+ + // focus() and blur() are asynchronous + notAsync = expectSync( this, type ); + this[ type ](); + result = dataPriv.get( this, type ); + if ( saved !== result || notAsync ) { + dataPriv.set( this, type, false ); + } else { + result = {}; + } + if ( saved !== result ) { + + // Cancel the outer synthetic event + event.stopImmediatePropagation(); + event.preventDefault(); + return result.value; + } + + // If this is an inner synthetic event for an event with a bubbling surrogate + // (focus or blur), assume that the surrogate already propagated from triggering the + // native event and prevent that from happening again here. + // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the + // bubbling surrogate propagates *after* the non-bubbling base), but that seems + // less bad than duplication. + } else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) { + event.stopPropagation(); + } + + // If this is a native event triggered above, everything is now in order + // Fire an inner synthetic event with the original arguments + } else if ( saved.length ) { + + // ...and capture the result + dataPriv.set( this, type, { + value: jQuery.event.trigger( + + // Support: IE <=9 - 11+ + // Extend with the prototype to reset the above stopImmediatePropagation() + jQuery.extend( saved[ 0 ], jQuery.Event.prototype ), + saved.slice( 1 ), + this + ) + } ); + + // Abort handling of the native event + event.stopImmediatePropagation(); + } + } + } ); +} + +jQuery.removeEvent = function( elem, type, handle ) { + + // This "if" is needed for plain objects + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle ); + } +}; + +jQuery.Event = function( src, props ) { + + // Allow instantiation without the 'new' keyword + if ( !( this instanceof jQuery.Event ) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && + + // Support: Android <=2.3 only + src.returnValue === false ? + returnTrue : + returnFalse; + + // Create target properties + // Support: Safari <=6 - 7 only + // Target should not be a text node (#504, #13143) + this.target = ( src.target && src.target.nodeType === 3 ) ? + src.target.parentNode : + src.target; + + this.currentTarget = src.currentTarget; + this.relatedTarget = src.relatedTarget; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || Date.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + constructor: jQuery.Event, + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + isSimulated: false, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + + if ( e && !this.isSimulated ) { + e.preventDefault(); + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopPropagation(); + } + }, + stopImmediatePropagation: function() { + var e = this.originalEvent; + + this.isImmediatePropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopImmediatePropagation(); + } + + this.stopPropagation(); + } +}; + +// Includes all common event props including KeyEvent and MouseEvent specific props +jQuery.each( { + altKey: true, + bubbles: true, + cancelable: true, + changedTouches: true, + ctrlKey: true, + detail: true, + eventPhase: true, + metaKey: true, + pageX: true, + pageY: true, + shiftKey: true, + view: true, + "char": true, + code: true, + charCode: true, + key: true, + keyCode: true, + button: true, + buttons: true, + clientX: true, + clientY: true, + offsetX: true, + offsetY: true, + pointerId: true, + pointerType: true, + screenX: true, + screenY: true, + targetTouches: true, + toElement: true, + touches: true, + + which: function( event ) { + var button = event.button; + + // Add which for key events + if ( event.which == null && rkeyEvent.test( event.type ) ) { + return event.charCode != null ? event.charCode : event.keyCode; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + if ( !event.which && button !== undefined && rmouseEvent.test( event.type ) ) { + if ( button & 1 ) { + return 1; + } + + if ( button & 2 ) { + return 3; + } + + if ( button & 4 ) { + return 2; + } + + return 0; + } + + return event.which; + } +}, jQuery.event.addProp ); + +jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) { + jQuery.event.special[ type ] = { + + // Utilize native event if possible so blur/focus sequence is correct + setup: function() { + + // Claim the first handler + // dataPriv.set( this, "focus", ... ) + // dataPriv.set( this, "blur", ... ) + leverageNative( this, type, expectSync ); + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function() { + + // Force setup before trigger + leverageNative( this, type ); + + // Return non-false to allow normal event-path propagation + return true; + }, + + delegateType: delegateType + }; +} ); + +// Create mouseenter/leave events using mouseover/out and event-time checks +// so that event delegation works in jQuery. +// Do the same for pointerenter/pointerleave and pointerover/pointerout +// +// Support: Safari 7 only +// Safari sends mouseenter too often; see: +// https://bugs.chromium.org/p/chromium/issues/detail?id=470258 +// for the description of the bug (it existed in older Chrome versions as well). +jQuery.each( { + mouseenter: "mouseover", + mouseleave: "mouseout", + pointerenter: "pointerover", + pointerleave: "pointerout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mouseenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +} ); + +jQuery.fn.extend( { + + on: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn ); + }, + one: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? + handleObj.origType + "." + handleObj.namespace : + handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each( function() { + jQuery.event.remove( this, types, fn, selector ); + } ); + } +} ); + + +var + + // Support: IE <=10 - 11, Edge 12 - 13 only + // In IE/Edge using regex groups here causes severe slowdowns. + // See https://connect.microsoft.com/IE/feedback/details/1736512/ + rnoInnerhtml = /\s*$/g; + +// Prefer a tbody over its parent table for containing new rows +function manipulationTarget( elem, content ) { + if ( nodeName( elem, "table" ) && + nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { + + return jQuery( elem ).children( "tbody" )[ 0 ] || elem; + } + + return elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) { + elem.type = elem.type.slice( 5 ); + } else { + elem.removeAttribute( "type" ); + } + + return elem; +} + +function cloneCopyEvent( src, dest ) { + var i, l, type, pdataOld, udataOld, udataCur, events; + + if ( dest.nodeType !== 1 ) { + return; + } + + // 1. Copy private data: events, handlers, etc. + if ( dataPriv.hasData( src ) ) { + pdataOld = dataPriv.get( src ); + events = pdataOld.events; + + if ( events ) { + dataPriv.remove( dest, "handle events" ); + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + } + + // 2. Copy user data + if ( dataUser.hasData( src ) ) { + udataOld = dataUser.access( src ); + udataCur = jQuery.extend( {}, udataOld ); + + dataUser.set( dest, udataCur ); + } +} + +// Fix IE bugs, see support tests +function fixInput( src, dest ) { + var nodeName = dest.nodeName.toLowerCase(); + + // Fails to persist the checked state of a cloned checkbox or radio button. + if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + dest.checked = src.checked; + + // Fails to return the selected option to the default selected state when cloning options + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +function domManip( collection, args, callback, ignored ) { + + // Flatten any nested arrays + args = flat( args ); + + var fragment, first, scripts, hasScripts, node, doc, + i = 0, + l = collection.length, + iNoClone = l - 1, + value = args[ 0 ], + valueIsFunction = isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( valueIsFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return collection.each( function( index ) { + var self = collection.eq( index ); + if ( valueIsFunction ) { + args[ 0 ] = value.call( this, index, self.html() ); + } + domManip( self, args, callback, ignored ); + } ); + } + + if ( l ) { + fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + // Require either new content or an interest in ignored elements to invoke the callback + if ( first || ignored ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item + // instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( collection[ i ], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !dataPriv.access( node, "globalEval" ) && + jQuery.contains( doc, node ) ) { + + if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) { + + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl && !node.noModule ) { + jQuery._evalUrl( node.src, { + nonce: node.nonce || node.getAttribute( "nonce" ) + }, doc ); + } + } else { + DOMEval( node.textContent.replace( rcleanScript, "" ), node, doc ); + } + } + } + } + } + } + + return collection; +} + +function remove( elem, selector, keepData ) { + var node, + nodes = selector ? jQuery.filter( selector, elem ) : elem, + i = 0; + + for ( ; ( node = nodes[ i ] ) != null; i++ ) { + if ( !keepData && node.nodeType === 1 ) { + jQuery.cleanData( getAll( node ) ); + } + + if ( node.parentNode ) { + if ( keepData && isAttached( node ) ) { + setGlobalEval( getAll( node, "script" ) ); + } + node.parentNode.removeChild( node ); + } + } + + return elem; +} + +jQuery.extend( { + htmlPrefilter: function( html ) { + return html; + }, + + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var i, l, srcElements, destElements, + clone = elem.cloneNode( true ), + inPage = isAttached( elem ); + + // Fix IE cloning issues + if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && + !jQuery.isXMLDoc( elem ) ) { + + // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + fixInput( srcElements[ i ], destElements[ i ] ); + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + cloneCopyEvent( srcElements[ i ], destElements[ i ] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + // Return the cloned set + return clone; + }, + + cleanData: function( elems ) { + var data, elem, type, + special = jQuery.event.special, + i = 0; + + for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { + if ( acceptData( elem ) ) { + if ( ( data = elem[ dataPriv.expando ] ) ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataPriv.expando ] = undefined; + } + if ( elem[ dataUser.expando ] ) { + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataUser.expando ] = undefined; + } + } + } + } +} ); + +jQuery.fn.extend( { + detach: function( selector ) { + return remove( this, selector, true ); + }, + + remove: function( selector ) { + return remove( this, selector ); + }, + + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().each( function() { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + this.textContent = value; + } + } ); + }, null, value, arguments.length ); + }, + + append: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + } ); + }, + + prepend: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + } ); + }, + + before: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + } ); + }, + + after: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + } ); + }, + + empty: function() { + var elem, + i = 0; + + for ( ; ( elem = this[ i ] ) != null; i++ ) { + if ( elem.nodeType === 1 ) { + + // Prevent memory leaks + jQuery.cleanData( getAll( elem, false ) ); + + // Remove any remaining nodes + elem.textContent = ""; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map( function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + } ); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined && elem.nodeType === 1 ) { + return elem.innerHTML; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { + + value = jQuery.htmlPrefilter( value ); + + try { + for ( ; i < l; i++ ) { + elem = this[ i ] || {}; + + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch ( e ) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var ignored = []; + + // Make the changes, replacing each non-ignored context element with the new content + return domManip( this, arguments, function( elem ) { + var parent = this.parentNode; + + if ( jQuery.inArray( this, ignored ) < 0 ) { + jQuery.cleanData( getAll( this ) ); + if ( parent ) { + parent.replaceChild( elem, this ); + } + } + + // Force callback invocation + }, ignored ); + } +} ); + +jQuery.each( { + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1, + i = 0; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone( true ); + jQuery( insert[ i ] )[ original ]( elems ); + + // Support: Android <=4.0 only, PhantomJS 1 only + // .get() because push.apply(_, arraylike) throws on ancient WebKit + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +} ); +var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); + +var getStyles = function( elem ) { + + // Support: IE <=11 only, Firefox <=30 (#15098, #14150) + // IE throws on elements created in popups + // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" + var view = elem.ownerDocument.defaultView; + + if ( !view || !view.opener ) { + view = window; + } + + return view.getComputedStyle( elem ); + }; + +var swap = function( elem, options, callback ) { + var ret, name, + old = {}; + + // Remember the old values, and insert the new ones + for ( name in options ) { + old[ name ] = elem.style[ name ]; + elem.style[ name ] = options[ name ]; + } + + ret = callback.call( elem ); + + // Revert the old values + for ( name in options ) { + elem.style[ name ] = old[ name ]; + } + + return ret; +}; + + +var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" ); + + + +( function() { + + // Executing both pixelPosition & boxSizingReliable tests require only one layout + // so they're executed at the same time to save the second computation. + function computeStyleTests() { + + // This is a singleton, we need to execute it only once + if ( !div ) { + return; + } + + container.style.cssText = "position:absolute;left:-11111px;width:60px;" + + "margin-top:1px;padding:0;border:0"; + div.style.cssText = + "position:relative;display:block;box-sizing:border-box;overflow:scroll;" + + "margin:auto;border:1px;padding:1px;" + + "width:60%;top:1%"; + documentElement.appendChild( container ).appendChild( div ); + + var divStyle = window.getComputedStyle( div ); + pixelPositionVal = divStyle.top !== "1%"; + + // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 + reliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12; + + // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3 + // Some styles come back with percentage values, even though they shouldn't + div.style.right = "60%"; + pixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36; + + // Support: IE 9 - 11 only + // Detect misreporting of content dimensions for box-sizing:border-box elements + boxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36; + + // Support: IE 9 only + // Detect overflow:scroll screwiness (gh-3699) + // Support: Chrome <=64 + // Don't get tricked when zoom affects offsetWidth (gh-4029) + div.style.position = "absolute"; + scrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12; + + documentElement.removeChild( container ); + + // Nullify the div so it wouldn't be stored in the memory and + // it will also be a sign that checks already performed + div = null; + } + + function roundPixelMeasures( measure ) { + return Math.round( parseFloat( measure ) ); + } + + var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, + reliableTrDimensionsVal, reliableMarginLeftVal, + container = document.createElement( "div" ), + div = document.createElement( "div" ); + + // Finish early in limited (non-browser) environments + if ( !div.style ) { + return; + } + + // Support: IE <=9 - 11 only + // Style of cloned element affects source element cloned (#8908) + div.style.backgroundClip = "content-box"; + div.cloneNode( true ).style.backgroundClip = ""; + support.clearCloneStyle = div.style.backgroundClip === "content-box"; + + jQuery.extend( support, { + boxSizingReliable: function() { + computeStyleTests(); + return boxSizingReliableVal; + }, + pixelBoxStyles: function() { + computeStyleTests(); + return pixelBoxStylesVal; + }, + pixelPosition: function() { + computeStyleTests(); + return pixelPositionVal; + }, + reliableMarginLeft: function() { + computeStyleTests(); + return reliableMarginLeftVal; + }, + scrollboxSize: function() { + computeStyleTests(); + return scrollboxSizeVal; + }, + + // Support: IE 9 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Behavior in IE 9 is more subtle than in newer versions & it passes + // some versions of this test; make sure not to make it pass there! + reliableTrDimensions: function() { + var table, tr, trChild, trStyle; + if ( reliableTrDimensionsVal == null ) { + table = document.createElement( "table" ); + tr = document.createElement( "tr" ); + trChild = document.createElement( "div" ); + + table.style.cssText = "position:absolute;left:-11111px"; + tr.style.height = "1px"; + trChild.style.height = "9px"; + + documentElement + .appendChild( table ) + .appendChild( tr ) + .appendChild( trChild ); + + trStyle = window.getComputedStyle( tr ); + reliableTrDimensionsVal = parseInt( trStyle.height ) > 3; + + documentElement.removeChild( table ); + } + return reliableTrDimensionsVal; + } + } ); +} )(); + + +function curCSS( elem, name, computed ) { + var width, minWidth, maxWidth, ret, + + // Support: Firefox 51+ + // Retrieving style before computed somehow + // fixes an issue with getting wrong values + // on detached elements + style = elem.style; + + computed = computed || getStyles( elem ); + + // getPropertyValue is needed for: + // .css('filter') (IE 9 only, #12537) + // .css('--customProperty) (#3144) + if ( computed ) { + ret = computed.getPropertyValue( name ) || computed[ name ]; + + if ( ret === "" && !isAttached( elem ) ) { + ret = jQuery.style( elem, name ); + } + + // A tribute to the "awesome hack by Dean Edwards" + // Android Browser returns percentage for some values, + // but width seems to be reliably pixels. + // This is against the CSSOM draft spec: + // https://drafts.csswg.org/cssom/#resolved-values + if ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) { + + // Remember the original values + width = style.width; + minWidth = style.minWidth; + maxWidth = style.maxWidth; + + // Put in the new values to get a computed value out + style.minWidth = style.maxWidth = style.width = ret; + ret = computed.width; + + // Revert the changed values + style.width = width; + style.minWidth = minWidth; + style.maxWidth = maxWidth; + } + } + + return ret !== undefined ? + + // Support: IE <=9 - 11 only + // IE returns zIndex value as an integer. + ret + "" : + ret; +} + + +function addGetHookIf( conditionFn, hookFn ) { + + // Define the hook, we'll check on the first run if it's really needed. + return { + get: function() { + if ( conditionFn() ) { + + // Hook not needed (or it's not possible to use it due + // to missing dependency), remove it. + delete this.get; + return; + } + + // Hook needed; redefine it so that the support test is not executed again. + return ( this.get = hookFn ).apply( this, arguments ); + } + }; +} + + +var cssPrefixes = [ "Webkit", "Moz", "ms" ], + emptyStyle = document.createElement( "div" ).style, + vendorProps = {}; + +// Return a vendor-prefixed property or undefined +function vendorPropName( name ) { + + // Check for vendor prefixed names + var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), + i = cssPrefixes.length; + + while ( i-- ) { + name = cssPrefixes[ i ] + capName; + if ( name in emptyStyle ) { + return name; + } + } +} + +// Return a potentially-mapped jQuery.cssProps or vendor prefixed property +function finalPropName( name ) { + var final = jQuery.cssProps[ name ] || vendorProps[ name ]; + + if ( final ) { + return final; + } + if ( name in emptyStyle ) { + return name; + } + return vendorProps[ name ] = vendorPropName( name ) || name; +} + + +var + + // Swappable if display is none or starts with table + // except "table", "table-cell", or "table-caption" + // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display + rdisplayswap = /^(none|table(?!-c[ea]).+)/, + rcustomProp = /^--/, + cssShow = { position: "absolute", visibility: "hidden", display: "block" }, + cssNormalTransform = { + letterSpacing: "0", + fontWeight: "400" + }; + +function setPositiveNumber( _elem, value, subtract ) { + + // Any relative (+/-) values have already been + // normalized at this point + var matches = rcssNum.exec( value ); + return matches ? + + // Guard against undefined "subtract", e.g., when used as in cssHooks + Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : + value; +} + +function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) { + var i = dimension === "width" ? 1 : 0, + extra = 0, + delta = 0; + + // Adjustment may not be necessary + if ( box === ( isBorderBox ? "border" : "content" ) ) { + return 0; + } + + for ( ; i < 4; i += 2 ) { + + // Both box models exclude margin + if ( box === "margin" ) { + delta += jQuery.css( elem, box + cssExpand[ i ], true, styles ); + } + + // If we get here with a content-box, we're seeking "padding" or "border" or "margin" + if ( !isBorderBox ) { + + // Add padding + delta += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + + // For "border" or "margin", add border + if ( box !== "padding" ) { + delta += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + + // But still keep track of it otherwise + } else { + extra += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + + // If we get here with a border-box (content + padding + border), we're seeking "content" or + // "padding" or "margin" + } else { + + // For "content", subtract padding + if ( box === "content" ) { + delta -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + } + + // For "content" or "padding", subtract border + if ( box !== "margin" ) { + delta -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } + } + + // Account for positive content-box scroll gutter when requested by providing computedVal + if ( !isBorderBox && computedVal >= 0 ) { + + // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border + // Assuming integer scroll gutter, subtract the rest and round down + delta += Math.max( 0, Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + computedVal - + delta - + extra - + 0.5 + + // If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter + // Use an explicit zero to avoid NaN (gh-3964) + ) ) || 0; + } + + return delta; +} + +function getWidthOrHeight( elem, dimension, extra ) { + + // Start with computed style + var styles = getStyles( elem ), + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322). + // Fake content-box until we know it's needed to know the true value. + boxSizingNeeded = !support.boxSizingReliable() || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + valueIsBorderBox = isBorderBox, + + val = curCSS( elem, dimension, styles ), + offsetProp = "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ); + + // Support: Firefox <=54 + // Return a confounding non-pixel value or feign ignorance, as appropriate. + if ( rnumnonpx.test( val ) ) { + if ( !extra ) { + return val; + } + val = "auto"; + } + + + // Support: IE 9 - 11 only + // Use offsetWidth/offsetHeight for when box sizing is unreliable. + // In those cases, the computed value can be trusted to be border-box. + if ( ( !support.boxSizingReliable() && isBorderBox || + + // Support: IE 10 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Interestingly, in some cases IE 9 doesn't suffer from this issue. + !support.reliableTrDimensions() && nodeName( elem, "tr" ) || + + // Fall back to offsetWidth/offsetHeight when value is "auto" + // This happens for inline elements with no explicit setting (gh-3571) + val === "auto" || + + // Support: Android <=4.1 - 4.3 only + // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) + !parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) && + + // Make sure the element is visible & connected + elem.getClientRects().length ) { + + isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; + + // Where available, offsetWidth/offsetHeight approximate border box dimensions. + // Where not available (e.g., SVG), assume unreliable box-sizing and interpret the + // retrieved value as a content box dimension. + valueIsBorderBox = offsetProp in elem; + if ( valueIsBorderBox ) { + val = elem[ offsetProp ]; + } + } + + // Normalize "" and auto + val = parseFloat( val ) || 0; + + // Adjust for the element's box model + return ( val + + boxModelAdjustment( + elem, + dimension, + extra || ( isBorderBox ? "border" : "content" ), + valueIsBorderBox, + styles, + + // Provide the current computed size to request scroll gutter calculation (gh-3589) + val + ) + ) + "px"; +} + +jQuery.extend( { + + // Add in style property hooks for overriding the default + // behavior of getting and setting a style property + cssHooks: { + opacity: { + get: function( elem, computed ) { + if ( computed ) { + + // We should always get a number back from opacity + var ret = curCSS( elem, "opacity" ); + return ret === "" ? "1" : ret; + } + } + } + }, + + // Don't automatically add "px" to these possibly-unitless properties + cssNumber: { + "animationIterationCount": true, + "columnCount": true, + "fillOpacity": true, + "flexGrow": true, + "flexShrink": true, + "fontWeight": true, + "gridArea": true, + "gridColumn": true, + "gridColumnEnd": true, + "gridColumnStart": true, + "gridRow": true, + "gridRowEnd": true, + "gridRowStart": true, + "lineHeight": true, + "opacity": true, + "order": true, + "orphans": true, + "widows": true, + "zIndex": true, + "zoom": true + }, + + // Add in properties whose names you wish to fix before + // setting or getting the value + cssProps: {}, + + // Get and set the style property on a DOM Node + style: function( elem, name, value, extra ) { + + // Don't set styles on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { + return; + } + + // Make sure that we're working with the right name + var ret, type, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ), + style = elem.style; + + // Make sure that we're working with the right name. We don't + // want to query the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Gets hook for the prefixed version, then unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // Check if we're setting a value + if ( value !== undefined ) { + type = typeof value; + + // Convert "+=" or "-=" to relative numbers (#7345) + if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { + value = adjustCSS( elem, name, ret ); + + // Fixes bug #9237 + type = "number"; + } + + // Make sure that null and NaN values aren't set (#7116) + if ( value == null || value !== value ) { + return; + } + + // If a number was passed in, add the unit (except for certain CSS properties) + // The isCustomProp check can be removed in jQuery 4.0 when we only auto-append + // "px" to a few hardcoded values. + if ( type === "number" && !isCustomProp ) { + value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); + } + + // background-* props affect original clone's values + if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { + style[ name ] = "inherit"; + } + + // If a hook was provided, use that value, otherwise just set the specified value + if ( !hooks || !( "set" in hooks ) || + ( value = hooks.set( elem, value, extra ) ) !== undefined ) { + + if ( isCustomProp ) { + style.setProperty( name, value ); + } else { + style[ name ] = value; + } + } + + } else { + + // If a hook was provided get the non-computed value from there + if ( hooks && "get" in hooks && + ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { + + return ret; + } + + // Otherwise just get the value from the style object + return style[ name ]; + } + }, + + css: function( elem, name, extra, styles ) { + var val, num, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ); + + // Make sure that we're working with the right name. We don't + // want to modify the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Try prefixed name followed by the unprefixed name + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // If a hook was provided get the computed value from there + if ( hooks && "get" in hooks ) { + val = hooks.get( elem, true, extra ); + } + + // Otherwise, if a way to get the computed value exists, use that + if ( val === undefined ) { + val = curCSS( elem, name, styles ); + } + + // Convert "normal" to computed value + if ( val === "normal" && name in cssNormalTransform ) { + val = cssNormalTransform[ name ]; + } + + // Make numeric if forced or a qualifier was provided and val looks numeric + if ( extra === "" || extra ) { + num = parseFloat( val ); + return extra === true || isFinite( num ) ? num || 0 : val; + } + + return val; + } +} ); + +jQuery.each( [ "height", "width" ], function( _i, dimension ) { + jQuery.cssHooks[ dimension ] = { + get: function( elem, computed, extra ) { + if ( computed ) { + + // Certain elements can have dimension info if we invisibly show them + // but it must have a current display style that would benefit + return rdisplayswap.test( jQuery.css( elem, "display" ) ) && + + // Support: Safari 8+ + // Table columns in Safari have non-zero offsetWidth & zero + // getBoundingClientRect().width unless display is changed. + // Support: IE <=11 only + // Running getBoundingClientRect on a disconnected node + // in IE throws an error. + ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? + swap( elem, cssShow, function() { + return getWidthOrHeight( elem, dimension, extra ); + } ) : + getWidthOrHeight( elem, dimension, extra ); + } + }, + + set: function( elem, value, extra ) { + var matches, + styles = getStyles( elem ), + + // Only read styles.position if the test has a chance to fail + // to avoid forcing a reflow. + scrollboxSizeBuggy = !support.scrollboxSize() && + styles.position === "absolute", + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991) + boxSizingNeeded = scrollboxSizeBuggy || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + subtract = extra ? + boxModelAdjustment( + elem, + dimension, + extra, + isBorderBox, + styles + ) : + 0; + + // Account for unreliable border-box dimensions by comparing offset* to computed and + // faking a content-box to get border and padding (gh-3699) + if ( isBorderBox && scrollboxSizeBuggy ) { + subtract -= Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + parseFloat( styles[ dimension ] ) - + boxModelAdjustment( elem, dimension, "border", false, styles ) - + 0.5 + ); + } + + // Convert to pixels if value adjustment is needed + if ( subtract && ( matches = rcssNum.exec( value ) ) && + ( matches[ 3 ] || "px" ) !== "px" ) { + + elem.style[ dimension ] = value; + value = jQuery.css( elem, dimension ); + } + + return setPositiveNumber( elem, value, subtract ); + } + }; +} ); + +jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, + function( elem, computed ) { + if ( computed ) { + return ( parseFloat( curCSS( elem, "marginLeft" ) ) || + elem.getBoundingClientRect().left - + swap( elem, { marginLeft: 0 }, function() { + return elem.getBoundingClientRect().left; + } ) + ) + "px"; + } + } +); + +// These hooks are used by animate to expand properties +jQuery.each( { + margin: "", + padding: "", + border: "Width" +}, function( prefix, suffix ) { + jQuery.cssHooks[ prefix + suffix ] = { + expand: function( value ) { + var i = 0, + expanded = {}, + + // Assumes a single number if not a string + parts = typeof value === "string" ? value.split( " " ) : [ value ]; + + for ( ; i < 4; i++ ) { + expanded[ prefix + cssExpand[ i ] + suffix ] = + parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; + } + + return expanded; + } + }; + + if ( prefix !== "margin" ) { + jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; + } +} ); + +jQuery.fn.extend( { + css: function( name, value ) { + return access( this, function( elem, name, value ) { + var styles, len, + map = {}, + i = 0; + + if ( Array.isArray( name ) ) { + styles = getStyles( elem ); + len = name.length; + + for ( ; i < len; i++ ) { + map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); + } + + return map; + } + + return value !== undefined ? + jQuery.style( elem, name, value ) : + jQuery.css( elem, name ); + }, name, value, arguments.length > 1 ); + } +} ); + + +function Tween( elem, options, prop, end, easing ) { + return new Tween.prototype.init( elem, options, prop, end, easing ); +} +jQuery.Tween = Tween; + +Tween.prototype = { + constructor: Tween, + init: function( elem, options, prop, end, easing, unit ) { + this.elem = elem; + this.prop = prop; + this.easing = easing || jQuery.easing._default; + this.options = options; + this.start = this.now = this.cur(); + this.end = end; + this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); + }, + cur: function() { + var hooks = Tween.propHooks[ this.prop ]; + + return hooks && hooks.get ? + hooks.get( this ) : + Tween.propHooks._default.get( this ); + }, + run: function( percent ) { + var eased, + hooks = Tween.propHooks[ this.prop ]; + + if ( this.options.duration ) { + this.pos = eased = jQuery.easing[ this.easing ]( + percent, this.options.duration * percent, 0, 1, this.options.duration + ); + } else { + this.pos = eased = percent; + } + this.now = ( this.end - this.start ) * eased + this.start; + + if ( this.options.step ) { + this.options.step.call( this.elem, this.now, this ); + } + + if ( hooks && hooks.set ) { + hooks.set( this ); + } else { + Tween.propHooks._default.set( this ); + } + return this; + } +}; + +Tween.prototype.init.prototype = Tween.prototype; + +Tween.propHooks = { + _default: { + get: function( tween ) { + var result; + + // Use a property on the element directly when it is not a DOM element, + // or when there is no matching style property that exists. + if ( tween.elem.nodeType !== 1 || + tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { + return tween.elem[ tween.prop ]; + } + + // Passing an empty string as a 3rd parameter to .css will automatically + // attempt a parseFloat and fallback to a string if the parse fails. + // Simple values such as "10px" are parsed to Float; + // complex values such as "rotate(1rad)" are returned as-is. + result = jQuery.css( tween.elem, tween.prop, "" ); + + // Empty strings, null, undefined and "auto" are converted to 0. + return !result || result === "auto" ? 0 : result; + }, + set: function( tween ) { + + // Use step hook for back compat. + // Use cssHook if its there. + // Use .style if available and use plain properties where available. + if ( jQuery.fx.step[ tween.prop ] ) { + jQuery.fx.step[ tween.prop ]( tween ); + } else if ( tween.elem.nodeType === 1 && ( + jQuery.cssHooks[ tween.prop ] || + tween.elem.style[ finalPropName( tween.prop ) ] != null ) ) { + jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); + } else { + tween.elem[ tween.prop ] = tween.now; + } + } + } +}; + +// Support: IE <=9 only +// Panic based approach to setting things on disconnected nodes +Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { + set: function( tween ) { + if ( tween.elem.nodeType && tween.elem.parentNode ) { + tween.elem[ tween.prop ] = tween.now; + } + } +}; + +jQuery.easing = { + linear: function( p ) { + return p; + }, + swing: function( p ) { + return 0.5 - Math.cos( p * Math.PI ) / 2; + }, + _default: "swing" +}; + +jQuery.fx = Tween.prototype.init; + +// Back compat <1.8 extension point +jQuery.fx.step = {}; + + + + +var + fxNow, inProgress, + rfxtypes = /^(?:toggle|show|hide)$/, + rrun = /queueHooks$/; + +function schedule() { + if ( inProgress ) { + if ( document.hidden === false && window.requestAnimationFrame ) { + window.requestAnimationFrame( schedule ); + } else { + window.setTimeout( schedule, jQuery.fx.interval ); + } + + jQuery.fx.tick(); + } +} + +// Animations created synchronously will run synchronously +function createFxNow() { + window.setTimeout( function() { + fxNow = undefined; + } ); + return ( fxNow = Date.now() ); +} + +// Generate parameters to create a standard animation +function genFx( type, includeWidth ) { + var which, + i = 0, + attrs = { height: type }; + + // If we include width, step value is 1 to do all cssExpand values, + // otherwise step value is 2 to skip over Left and Right + includeWidth = includeWidth ? 1 : 0; + for ( ; i < 4; i += 2 - includeWidth ) { + which = cssExpand[ i ]; + attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; + } + + if ( includeWidth ) { + attrs.opacity = attrs.width = type; + } + + return attrs; +} + +function createTween( value, prop, animation ) { + var tween, + collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), + index = 0, + length = collection.length; + for ( ; index < length; index++ ) { + if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { + + // We're done with this property + return tween; + } + } +} + +function defaultPrefilter( elem, props, opts ) { + var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, + isBox = "width" in props || "height" in props, + anim = this, + orig = {}, + style = elem.style, + hidden = elem.nodeType && isHiddenWithinTree( elem ), + dataShow = dataPriv.get( elem, "fxshow" ); + + // Queue-skipping animations hijack the fx hooks + if ( !opts.queue ) { + hooks = jQuery._queueHooks( elem, "fx" ); + if ( hooks.unqueued == null ) { + hooks.unqueued = 0; + oldfire = hooks.empty.fire; + hooks.empty.fire = function() { + if ( !hooks.unqueued ) { + oldfire(); + } + }; + } + hooks.unqueued++; + + anim.always( function() { + + // Ensure the complete handler is called before this completes + anim.always( function() { + hooks.unqueued--; + if ( !jQuery.queue( elem, "fx" ).length ) { + hooks.empty.fire(); + } + } ); + } ); + } + + // Detect show/hide animations + for ( prop in props ) { + value = props[ prop ]; + if ( rfxtypes.test( value ) ) { + delete props[ prop ]; + toggle = toggle || value === "toggle"; + if ( value === ( hidden ? "hide" : "show" ) ) { + + // Pretend to be hidden if this is a "show" and + // there is still data from a stopped show/hide + if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { + hidden = true; + + // Ignore all other no-op show/hide data + } else { + continue; + } + } + orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); + } + } + + // Bail out if this is a no-op like .hide().hide() + propTween = !jQuery.isEmptyObject( props ); + if ( !propTween && jQuery.isEmptyObject( orig ) ) { + return; + } + + // Restrict "overflow" and "display" styles during box animations + if ( isBox && elem.nodeType === 1 ) { + + // Support: IE <=9 - 11, Edge 12 - 15 + // Record all 3 overflow attributes because IE does not infer the shorthand + // from identically-valued overflowX and overflowY and Edge just mirrors + // the overflowX value there. + opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; + + // Identify a display type, preferring old show/hide data over the CSS cascade + restoreDisplay = dataShow && dataShow.display; + if ( restoreDisplay == null ) { + restoreDisplay = dataPriv.get( elem, "display" ); + } + display = jQuery.css( elem, "display" ); + if ( display === "none" ) { + if ( restoreDisplay ) { + display = restoreDisplay; + } else { + + // Get nonempty value(s) by temporarily forcing visibility + showHide( [ elem ], true ); + restoreDisplay = elem.style.display || restoreDisplay; + display = jQuery.css( elem, "display" ); + showHide( [ elem ] ); + } + } + + // Animate inline elements as inline-block + if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { + if ( jQuery.css( elem, "float" ) === "none" ) { + + // Restore the original display value at the end of pure show/hide animations + if ( !propTween ) { + anim.done( function() { + style.display = restoreDisplay; + } ); + if ( restoreDisplay == null ) { + display = style.display; + restoreDisplay = display === "none" ? "" : display; + } + } + style.display = "inline-block"; + } + } + } + + if ( opts.overflow ) { + style.overflow = "hidden"; + anim.always( function() { + style.overflow = opts.overflow[ 0 ]; + style.overflowX = opts.overflow[ 1 ]; + style.overflowY = opts.overflow[ 2 ]; + } ); + } + + // Implement show/hide animations + propTween = false; + for ( prop in orig ) { + + // General show/hide setup for this element animation + if ( !propTween ) { + if ( dataShow ) { + if ( "hidden" in dataShow ) { + hidden = dataShow.hidden; + } + } else { + dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); + } + + // Store hidden/visible for toggle so `.stop().toggle()` "reverses" + if ( toggle ) { + dataShow.hidden = !hidden; + } + + // Show elements before animating them + if ( hidden ) { + showHide( [ elem ], true ); + } + + /* eslint-disable no-loop-func */ + + anim.done( function() { + + /* eslint-enable no-loop-func */ + + // The final step of a "hide" animation is actually hiding the element + if ( !hidden ) { + showHide( [ elem ] ); + } + dataPriv.remove( elem, "fxshow" ); + for ( prop in orig ) { + jQuery.style( elem, prop, orig[ prop ] ); + } + } ); + } + + // Per-property setup + propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); + if ( !( prop in dataShow ) ) { + dataShow[ prop ] = propTween.start; + if ( hidden ) { + propTween.end = propTween.start; + propTween.start = 0; + } + } + } +} + +function propFilter( props, specialEasing ) { + var index, name, easing, value, hooks; + + // camelCase, specialEasing and expand cssHook pass + for ( index in props ) { + name = camelCase( index ); + easing = specialEasing[ name ]; + value = props[ index ]; + if ( Array.isArray( value ) ) { + easing = value[ 1 ]; + value = props[ index ] = value[ 0 ]; + } + + if ( index !== name ) { + props[ name ] = value; + delete props[ index ]; + } + + hooks = jQuery.cssHooks[ name ]; + if ( hooks && "expand" in hooks ) { + value = hooks.expand( value ); + delete props[ name ]; + + // Not quite $.extend, this won't overwrite existing keys. + // Reusing 'index' because we have the correct "name" + for ( index in value ) { + if ( !( index in props ) ) { + props[ index ] = value[ index ]; + specialEasing[ index ] = easing; + } + } + } else { + specialEasing[ name ] = easing; + } + } +} + +function Animation( elem, properties, options ) { + var result, + stopped, + index = 0, + length = Animation.prefilters.length, + deferred = jQuery.Deferred().always( function() { + + // Don't match elem in the :animated selector + delete tick.elem; + } ), + tick = function() { + if ( stopped ) { + return false; + } + var currentTime = fxNow || createFxNow(), + remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), + + // Support: Android 2.3 only + // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) + temp = remaining / animation.duration || 0, + percent = 1 - temp, + index = 0, + length = animation.tweens.length; + + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( percent ); + } + + deferred.notifyWith( elem, [ animation, percent, remaining ] ); + + // If there's more to do, yield + if ( percent < 1 && length ) { + return remaining; + } + + // If this was an empty animation, synthesize a final progress notification + if ( !length ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + } + + // Resolve the animation and report its conclusion + deferred.resolveWith( elem, [ animation ] ); + return false; + }, + animation = deferred.promise( { + elem: elem, + props: jQuery.extend( {}, properties ), + opts: jQuery.extend( true, { + specialEasing: {}, + easing: jQuery.easing._default + }, options ), + originalProperties: properties, + originalOptions: options, + startTime: fxNow || createFxNow(), + duration: options.duration, + tweens: [], + createTween: function( prop, end ) { + var tween = jQuery.Tween( elem, animation.opts, prop, end, + animation.opts.specialEasing[ prop ] || animation.opts.easing ); + animation.tweens.push( tween ); + return tween; + }, + stop: function( gotoEnd ) { + var index = 0, + + // If we are going to the end, we want to run all the tweens + // otherwise we skip this part + length = gotoEnd ? animation.tweens.length : 0; + if ( stopped ) { + return this; + } + stopped = true; + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( 1 ); + } + + // Resolve when we played the last frame; otherwise, reject + if ( gotoEnd ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + deferred.resolveWith( elem, [ animation, gotoEnd ] ); + } else { + deferred.rejectWith( elem, [ animation, gotoEnd ] ); + } + return this; + } + } ), + props = animation.props; + + propFilter( props, animation.opts.specialEasing ); + + for ( ; index < length; index++ ) { + result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); + if ( result ) { + if ( isFunction( result.stop ) ) { + jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = + result.stop.bind( result ); + } + return result; + } + } + + jQuery.map( props, createTween, animation ); + + if ( isFunction( animation.opts.start ) ) { + animation.opts.start.call( elem, animation ); + } + + // Attach callbacks from options + animation + .progress( animation.opts.progress ) + .done( animation.opts.done, animation.opts.complete ) + .fail( animation.opts.fail ) + .always( animation.opts.always ); + + jQuery.fx.timer( + jQuery.extend( tick, { + elem: elem, + anim: animation, + queue: animation.opts.queue + } ) + ); + + return animation; +} + +jQuery.Animation = jQuery.extend( Animation, { + + tweeners: { + "*": [ function( prop, value ) { + var tween = this.createTween( prop, value ); + adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); + return tween; + } ] + }, + + tweener: function( props, callback ) { + if ( isFunction( props ) ) { + callback = props; + props = [ "*" ]; + } else { + props = props.match( rnothtmlwhite ); + } + + var prop, + index = 0, + length = props.length; + + for ( ; index < length; index++ ) { + prop = props[ index ]; + Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; + Animation.tweeners[ prop ].unshift( callback ); + } + }, + + prefilters: [ defaultPrefilter ], + + prefilter: function( callback, prepend ) { + if ( prepend ) { + Animation.prefilters.unshift( callback ); + } else { + Animation.prefilters.push( callback ); + } + } +} ); + +jQuery.speed = function( speed, easing, fn ) { + var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { + complete: fn || !fn && easing || + isFunction( speed ) && speed, + duration: speed, + easing: fn && easing || easing && !isFunction( easing ) && easing + }; + + // Go to the end state if fx are off + if ( jQuery.fx.off ) { + opt.duration = 0; + + } else { + if ( typeof opt.duration !== "number" ) { + if ( opt.duration in jQuery.fx.speeds ) { + opt.duration = jQuery.fx.speeds[ opt.duration ]; + + } else { + opt.duration = jQuery.fx.speeds._default; + } + } + } + + // Normalize opt.queue - true/undefined/null -> "fx" + if ( opt.queue == null || opt.queue === true ) { + opt.queue = "fx"; + } + + // Queueing + opt.old = opt.complete; + + opt.complete = function() { + if ( isFunction( opt.old ) ) { + opt.old.call( this ); + } + + if ( opt.queue ) { + jQuery.dequeue( this, opt.queue ); + } + }; + + return opt; +}; + +jQuery.fn.extend( { + fadeTo: function( speed, to, easing, callback ) { + + // Show any hidden elements after setting opacity to 0 + return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() + + // Animate to the value specified + .end().animate( { opacity: to }, speed, easing, callback ); + }, + animate: function( prop, speed, easing, callback ) { + var empty = jQuery.isEmptyObject( prop ), + optall = jQuery.speed( speed, easing, callback ), + doAnimation = function() { + + // Operate on a copy of prop so per-property easing won't be lost + var anim = Animation( this, jQuery.extend( {}, prop ), optall ); + + // Empty animations, or finishing resolves immediately + if ( empty || dataPriv.get( this, "finish" ) ) { + anim.stop( true ); + } + }; + doAnimation.finish = doAnimation; + + return empty || optall.queue === false ? + this.each( doAnimation ) : + this.queue( optall.queue, doAnimation ); + }, + stop: function( type, clearQueue, gotoEnd ) { + var stopQueue = function( hooks ) { + var stop = hooks.stop; + delete hooks.stop; + stop( gotoEnd ); + }; + + if ( typeof type !== "string" ) { + gotoEnd = clearQueue; + clearQueue = type; + type = undefined; + } + if ( clearQueue ) { + this.queue( type || "fx", [] ); + } + + return this.each( function() { + var dequeue = true, + index = type != null && type + "queueHooks", + timers = jQuery.timers, + data = dataPriv.get( this ); + + if ( index ) { + if ( data[ index ] && data[ index ].stop ) { + stopQueue( data[ index ] ); + } + } else { + for ( index in data ) { + if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { + stopQueue( data[ index ] ); + } + } + } + + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && + ( type == null || timers[ index ].queue === type ) ) { + + timers[ index ].anim.stop( gotoEnd ); + dequeue = false; + timers.splice( index, 1 ); + } + } + + // Start the next in the queue if the last step wasn't forced. + // Timers currently will call their complete callbacks, which + // will dequeue but only if they were gotoEnd. + if ( dequeue || !gotoEnd ) { + jQuery.dequeue( this, type ); + } + } ); + }, + finish: function( type ) { + if ( type !== false ) { + type = type || "fx"; + } + return this.each( function() { + var index, + data = dataPriv.get( this ), + queue = data[ type + "queue" ], + hooks = data[ type + "queueHooks" ], + timers = jQuery.timers, + length = queue ? queue.length : 0; + + // Enable finishing flag on private data + data.finish = true; + + // Empty the queue first + jQuery.queue( this, type, [] ); + + if ( hooks && hooks.stop ) { + hooks.stop.call( this, true ); + } + + // Look for any active animations, and finish them + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && timers[ index ].queue === type ) { + timers[ index ].anim.stop( true ); + timers.splice( index, 1 ); + } + } + + // Look for any animations in the old queue and finish them + for ( index = 0; index < length; index++ ) { + if ( queue[ index ] && queue[ index ].finish ) { + queue[ index ].finish.call( this ); + } + } + + // Turn off finishing flag + delete data.finish; + } ); + } +} ); + +jQuery.each( [ "toggle", "show", "hide" ], function( _i, name ) { + var cssFn = jQuery.fn[ name ]; + jQuery.fn[ name ] = function( speed, easing, callback ) { + return speed == null || typeof speed === "boolean" ? + cssFn.apply( this, arguments ) : + this.animate( genFx( name, true ), speed, easing, callback ); + }; +} ); + +// Generate shortcuts for custom animations +jQuery.each( { + slideDown: genFx( "show" ), + slideUp: genFx( "hide" ), + slideToggle: genFx( "toggle" ), + fadeIn: { opacity: "show" }, + fadeOut: { opacity: "hide" }, + fadeToggle: { opacity: "toggle" } +}, function( name, props ) { + jQuery.fn[ name ] = function( speed, easing, callback ) { + return this.animate( props, speed, easing, callback ); + }; +} ); + +jQuery.timers = []; +jQuery.fx.tick = function() { + var timer, + i = 0, + timers = jQuery.timers; + + fxNow = Date.now(); + + for ( ; i < timers.length; i++ ) { + timer = timers[ i ]; + + // Run the timer and safely remove it when done (allowing for external removal) + if ( !timer() && timers[ i ] === timer ) { + timers.splice( i--, 1 ); + } + } + + if ( !timers.length ) { + jQuery.fx.stop(); + } + fxNow = undefined; +}; + +jQuery.fx.timer = function( timer ) { + jQuery.timers.push( timer ); + jQuery.fx.start(); +}; + +jQuery.fx.interval = 13; +jQuery.fx.start = function() { + if ( inProgress ) { + return; + } + + inProgress = true; + schedule(); +}; + +jQuery.fx.stop = function() { + inProgress = null; +}; + +jQuery.fx.speeds = { + slow: 600, + fast: 200, + + // Default speed + _default: 400 +}; + + +// Based off of the plugin by Clint Helfers, with permission. +// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ +jQuery.fn.delay = function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; + type = type || "fx"; + + return this.queue( type, function( next, hooks ) { + var timeout = window.setTimeout( next, time ); + hooks.stop = function() { + window.clearTimeout( timeout ); + }; + } ); +}; + + +( function() { + var input = document.createElement( "input" ), + select = document.createElement( "select" ), + opt = select.appendChild( document.createElement( "option" ) ); + + input.type = "checkbox"; + + // Support: Android <=4.3 only + // Default value for a checkbox should be "on" + support.checkOn = input.value !== ""; + + // Support: IE <=11 only + // Must access selectedIndex to make default options select + support.optSelected = opt.selected; + + // Support: IE <=11 only + // An input loses its value after becoming a radio + input = document.createElement( "input" ); + input.value = "t"; + input.type = "radio"; + support.radioValue = input.value === "t"; +} )(); + + +var boolHook, + attrHandle = jQuery.expr.attrHandle; + +jQuery.fn.extend( { + attr: function( name, value ) { + return access( this, jQuery.attr, name, value, arguments.length > 1 ); + }, + + removeAttr: function( name ) { + return this.each( function() { + jQuery.removeAttr( this, name ); + } ); + } +} ); + +jQuery.extend( { + attr: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set attributes on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + // Fallback to prop when attributes are not supported + if ( typeof elem.getAttribute === "undefined" ) { + return jQuery.prop( elem, name, value ); + } + + // Attribute hooks are determined by the lowercase version + // Grab necessary hook if one is defined + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + hooks = jQuery.attrHooks[ name.toLowerCase() ] || + ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); + } + + if ( value !== undefined ) { + if ( value === null ) { + jQuery.removeAttr( elem, name ); + return; + } + + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + elem.setAttribute( name, value + "" ); + return value; + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + ret = jQuery.find.attr( elem, name ); + + // Non-existent attributes return null, we normalize to undefined + return ret == null ? undefined : ret; + }, + + attrHooks: { + type: { + set: function( elem, value ) { + if ( !support.radioValue && value === "radio" && + nodeName( elem, "input" ) ) { + var val = elem.value; + elem.setAttribute( "type", value ); + if ( val ) { + elem.value = val; + } + return value; + } + } + } + }, + + removeAttr: function( elem, value ) { + var name, + i = 0, + + // Attribute names can contain non-HTML whitespace characters + // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 + attrNames = value && value.match( rnothtmlwhite ); + + if ( attrNames && elem.nodeType === 1 ) { + while ( ( name = attrNames[ i++ ] ) ) { + elem.removeAttribute( name ); + } + } + } +} ); + +// Hooks for boolean attributes +boolHook = { + set: function( elem, value, name ) { + if ( value === false ) { + + // Remove boolean attributes when set to false + jQuery.removeAttr( elem, name ); + } else { + elem.setAttribute( name, name ); + } + return name; + } +}; + +jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) { + var getter = attrHandle[ name ] || jQuery.find.attr; + + attrHandle[ name ] = function( elem, name, isXML ) { + var ret, handle, + lowercaseName = name.toLowerCase(); + + if ( !isXML ) { + + // Avoid an infinite loop by temporarily removing this function from the getter + handle = attrHandle[ lowercaseName ]; + attrHandle[ lowercaseName ] = ret; + ret = getter( elem, name, isXML ) != null ? + lowercaseName : + null; + attrHandle[ lowercaseName ] = handle; + } + return ret; + }; +} ); + + + + +var rfocusable = /^(?:input|select|textarea|button)$/i, + rclickable = /^(?:a|area)$/i; + +jQuery.fn.extend( { + prop: function( name, value ) { + return access( this, jQuery.prop, name, value, arguments.length > 1 ); + }, + + removeProp: function( name ) { + return this.each( function() { + delete this[ jQuery.propFix[ name ] || name ]; + } ); + } +} ); + +jQuery.extend( { + prop: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set properties on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + + // Fix name and attach hooks + name = jQuery.propFix[ name ] || name; + hooks = jQuery.propHooks[ name ]; + } + + if ( value !== undefined ) { + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + return ( elem[ name ] = value ); + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + return elem[ name ]; + }, + + propHooks: { + tabIndex: { + get: function( elem ) { + + // Support: IE <=9 - 11 only + // elem.tabIndex doesn't always return the + // correct value when it hasn't been explicitly set + // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + // Use proper attribute retrieval(#12072) + var tabindex = jQuery.find.attr( elem, "tabindex" ); + + if ( tabindex ) { + return parseInt( tabindex, 10 ); + } + + if ( + rfocusable.test( elem.nodeName ) || + rclickable.test( elem.nodeName ) && + elem.href + ) { + return 0; + } + + return -1; + } + } + }, + + propFix: { + "for": "htmlFor", + "class": "className" + } +} ); + +// Support: IE <=11 only +// Accessing the selectedIndex property +// forces the browser to respect setting selected +// on the option +// The getter ensures a default option is selected +// when in an optgroup +// eslint rule "no-unused-expressions" is disabled for this code +// since it considers such accessions noop +if ( !support.optSelected ) { + jQuery.propHooks.selected = { + get: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent && parent.parentNode ) { + parent.parentNode.selectedIndex; + } + return null; + }, + set: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent ) { + parent.selectedIndex; + + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + } + }; +} + +jQuery.each( [ + "tabIndex", + "readOnly", + "maxLength", + "cellSpacing", + "cellPadding", + "rowSpan", + "colSpan", + "useMap", + "frameBorder", + "contentEditable" +], function() { + jQuery.propFix[ this.toLowerCase() ] = this; +} ); + + + + + // Strip and collapse whitespace according to HTML spec + // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace + function stripAndCollapse( value ) { + var tokens = value.match( rnothtmlwhite ) || []; + return tokens.join( " " ); + } + + +function getClass( elem ) { + return elem.getAttribute && elem.getAttribute( "class" ) || ""; +} + +function classesToArray( value ) { + if ( Array.isArray( value ) ) { + return value; + } + if ( typeof value === "string" ) { + return value.match( rnothtmlwhite ) || []; + } + return []; +} + +jQuery.fn.extend( { + addClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + if ( cur.indexOf( " " + clazz + " " ) < 0 ) { + cur += clazz + " "; + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + removeClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + if ( !arguments.length ) { + return this.attr( "class", "" ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + + // This expression is here for better compressibility (see addClass) + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + + // Remove *all* instances + while ( cur.indexOf( " " + clazz + " " ) > -1 ) { + cur = cur.replace( " " + clazz + " ", " " ); + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value, + isValidValue = type === "string" || Array.isArray( value ); + + if ( typeof stateVal === "boolean" && isValidValue ) { + return stateVal ? this.addClass( value ) : this.removeClass( value ); + } + + if ( isFunction( value ) ) { + return this.each( function( i ) { + jQuery( this ).toggleClass( + value.call( this, i, getClass( this ), stateVal ), + stateVal + ); + } ); + } + + return this.each( function() { + var className, i, self, classNames; + + if ( isValidValue ) { + + // Toggle individual class names + i = 0; + self = jQuery( this ); + classNames = classesToArray( value ); + + while ( ( className = classNames[ i++ ] ) ) { + + // Check each className given, space separated list + if ( self.hasClass( className ) ) { + self.removeClass( className ); + } else { + self.addClass( className ); + } + } + + // Toggle whole class name + } else if ( value === undefined || type === "boolean" ) { + className = getClass( this ); + if ( className ) { + + // Store className if set + dataPriv.set( this, "__className__", className ); + } + + // If the element has a class name or if we're passed `false`, + // then remove the whole classname (if there was one, the above saved it). + // Otherwise bring back whatever was previously saved (if anything), + // falling back to the empty string if nothing was stored. + if ( this.setAttribute ) { + this.setAttribute( "class", + className || value === false ? + "" : + dataPriv.get( this, "__className__" ) || "" + ); + } + } + } ); + }, + + hasClass: function( selector ) { + var className, elem, + i = 0; + + className = " " + selector + " "; + while ( ( elem = this[ i++ ] ) ) { + if ( elem.nodeType === 1 && + ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { + return true; + } + } + + return false; + } +} ); + + + + +var rreturn = /\r/g; + +jQuery.fn.extend( { + val: function( value ) { + var hooks, ret, valueIsFunction, + elem = this[ 0 ]; + + if ( !arguments.length ) { + if ( elem ) { + hooks = jQuery.valHooks[ elem.type ] || + jQuery.valHooks[ elem.nodeName.toLowerCase() ]; + + if ( hooks && + "get" in hooks && + ( ret = hooks.get( elem, "value" ) ) !== undefined + ) { + return ret; + } + + ret = elem.value; + + // Handle most common string cases + if ( typeof ret === "string" ) { + return ret.replace( rreturn, "" ); + } + + // Handle cases where value is null/undef or number + return ret == null ? "" : ret; + } + + return; + } + + valueIsFunction = isFunction( value ); + + return this.each( function( i ) { + var val; + + if ( this.nodeType !== 1 ) { + return; + } + + if ( valueIsFunction ) { + val = value.call( this, i, jQuery( this ).val() ); + } else { + val = value; + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + + } else if ( typeof val === "number" ) { + val += ""; + + } else if ( Array.isArray( val ) ) { + val = jQuery.map( val, function( value ) { + return value == null ? "" : value + ""; + } ); + } + + hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; + + // If set returns undefined, fall back to normal setting + if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { + this.value = val; + } + } ); + } +} ); + +jQuery.extend( { + valHooks: { + option: { + get: function( elem ) { + + var val = jQuery.find.attr( elem, "value" ); + return val != null ? + val : + + // Support: IE <=10 - 11 only + // option.text throws exceptions (#14686, #14858) + // Strip and collapse whitespace + // https://html.spec.whatwg.org/#strip-and-collapse-whitespace + stripAndCollapse( jQuery.text( elem ) ); + } + }, + select: { + get: function( elem ) { + var value, option, i, + options = elem.options, + index = elem.selectedIndex, + one = elem.type === "select-one", + values = one ? null : [], + max = one ? index + 1 : options.length; + + if ( index < 0 ) { + i = max; + + } else { + i = one ? index : 0; + } + + // Loop through all the selected options + for ( ; i < max; i++ ) { + option = options[ i ]; + + // Support: IE <=9 only + // IE8-9 doesn't update selected after form reset (#2551) + if ( ( option.selected || i === index ) && + + // Don't return options that are disabled or in a disabled optgroup + !option.disabled && + ( !option.parentNode.disabled || + !nodeName( option.parentNode, "optgroup" ) ) ) { + + // Get the specific value for the option + value = jQuery( option ).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + return values; + }, + + set: function( elem, value ) { + var optionSet, option, + options = elem.options, + values = jQuery.makeArray( value ), + i = options.length; + + while ( i-- ) { + option = options[ i ]; + + /* eslint-disable no-cond-assign */ + + if ( option.selected = + jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 + ) { + optionSet = true; + } + + /* eslint-enable no-cond-assign */ + } + + // Force browsers to behave consistently when non-matching value is set + if ( !optionSet ) { + elem.selectedIndex = -1; + } + return values; + } + } + } +} ); + +// Radios and checkboxes getter/setter +jQuery.each( [ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = { + set: function( elem, value ) { + if ( Array.isArray( value ) ) { + return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); + } + } + }; + if ( !support.checkOn ) { + jQuery.valHooks[ this ].get = function( elem ) { + return elem.getAttribute( "value" ) === null ? "on" : elem.value; + }; + } +} ); + + + + +// Return jQuery for attributes-only inclusion + + +support.focusin = "onfocusin" in window; + + +var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + stopPropagationCallback = function( e ) { + e.stopPropagation(); + }; + +jQuery.extend( jQuery.event, { + + trigger: function( event, data, elem, onlyHandlers ) { + + var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; + + cur = lastElement = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf( "." ) > -1 ) { + + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split( "." ); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf( ":" ) < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join( "." ); + event.rnamespace = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === ( elem.ownerDocument || document ) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { + lastElement = cur; + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( + dataPriv.get( cur, "events" ) || Object.create( null ) + )[ event.type ] && + dataPriv.get( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( ( !special._default || + special._default.apply( eventPath.pop(), data ) === false ) && + acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name as the event. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + + if ( event.isPropagationStopped() ) { + lastElement.addEventListener( type, stopPropagationCallback ); + } + + elem[ type ](); + + if ( event.isPropagationStopped() ) { + lastElement.removeEventListener( type, stopPropagationCallback ); + } + + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + // Piggyback on a donor event to simulate a different one + // Used only for `focus(in | out)` events + simulate: function( type, elem, event ) { + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true + } + ); + + jQuery.event.trigger( e, null, elem ); + } + +} ); + +jQuery.fn.extend( { + + trigger: function( type, data ) { + return this.each( function() { + jQuery.event.trigger( type, data, this ); + } ); + }, + triggerHandler: function( type, data ) { + var elem = this[ 0 ]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +} ); + + +// Support: Firefox <=44 +// Firefox doesn't have focus(in | out) events +// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 +// +// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 +// focus(in | out) events fire after focus & blur events, +// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order +// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 +if ( !support.focusin ) { + jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + + // Handle: regular nodes (via `this.ownerDocument`), window + // (via `this.document`) & document (via `this`). + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + dataPriv.access( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + dataPriv.remove( doc, fix ); + + } else { + dataPriv.access( doc, fix, attaches ); + } + } + }; + } ); +} +var location = window.location; + +var nonce = { guid: Date.now() }; + +var rquery = ( /\?/ ); + + + +// Cross-browser xml parsing +jQuery.parseXML = function( data ) { + var xml; + if ( !data || typeof data !== "string" ) { + return null; + } + + // Support: IE 9 - 11 only + // IE throws on parseFromString with invalid input. + try { + xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); + } catch ( e ) { + xml = undefined; + } + + if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { + jQuery.error( "Invalid XML: " + data ); + } + return xml; +}; + + +var + rbracket = /\[\]$/, + rCRLF = /\r?\n/g, + rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, + rsubmittable = /^(?:input|select|textarea|keygen)/i; + +function buildParams( prefix, obj, traditional, add ) { + var name; + + if ( Array.isArray( obj ) ) { + + // Serialize array item. + jQuery.each( obj, function( i, v ) { + if ( traditional || rbracket.test( prefix ) ) { + + // Treat each array item as a scalar. + add( prefix, v ); + + } else { + + // Item is non-scalar (array or object), encode its numeric index. + buildParams( + prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", + v, + traditional, + add + ); + } + } ); + + } else if ( !traditional && toType( obj ) === "object" ) { + + // Serialize object item. + for ( name in obj ) { + buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); + } + + } else { + + // Serialize scalar item. + add( prefix, obj ); + } +} + +// Serialize an array of form elements or a set of +// key/values into a query string +jQuery.param = function( a, traditional ) { + var prefix, + s = [], + add = function( key, valueOrFunction ) { + + // If value is a function, invoke it and use its return value + var value = isFunction( valueOrFunction ) ? + valueOrFunction() : + valueOrFunction; + + s[ s.length ] = encodeURIComponent( key ) + "=" + + encodeURIComponent( value == null ? "" : value ); + }; + + if ( a == null ) { + return ""; + } + + // If an array was passed in, assume that it is an array of form elements. + if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { + + // Serialize the form elements + jQuery.each( a, function() { + add( this.name, this.value ); + } ); + + } else { + + // If traditional, encode the "old" way (the way 1.3.2 or older + // did it), otherwise encode params recursively. + for ( prefix in a ) { + buildParams( prefix, a[ prefix ], traditional, add ); + } + } + + // Return the resulting serialization + return s.join( "&" ); +}; + +jQuery.fn.extend( { + serialize: function() { + return jQuery.param( this.serializeArray() ); + }, + serializeArray: function() { + return this.map( function() { + + // Can add propHook for "elements" to filter or add form elements + var elements = jQuery.prop( this, "elements" ); + return elements ? jQuery.makeArray( elements ) : this; + } ) + .filter( function() { + var type = this.type; + + // Use .is( ":disabled" ) so that fieldset[disabled] works + return this.name && !jQuery( this ).is( ":disabled" ) && + rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && + ( this.checked || !rcheckableType.test( type ) ); + } ) + .map( function( _i, elem ) { + var val = jQuery( this ).val(); + + if ( val == null ) { + return null; + } + + if ( Array.isArray( val ) ) { + return jQuery.map( val, function( val ) { + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ); + } + + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ).get(); + } +} ); + + +var + r20 = /%20/g, + rhash = /#.*$/, + rantiCache = /([?&])_=[^&]*/, + rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, + + // #7653, #8125, #8152: local protocol detection + rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, + rnoContent = /^(?:GET|HEAD)$/, + rprotocol = /^\/\//, + + /* Prefilters + * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) + * 2) These are called: + * - BEFORE asking for a transport + * - AFTER param serialization (s.data is a string if s.processData is true) + * 3) key is the dataType + * 4) the catchall symbol "*" can be used + * 5) execution will start with transport dataType and THEN continue down to "*" if needed + */ + prefilters = {}, + + /* Transports bindings + * 1) key is the dataType + * 2) the catchall symbol "*" can be used + * 3) selection will start with transport dataType and THEN go to "*" if needed + */ + transports = {}, + + // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression + allTypes = "*/".concat( "*" ), + + // Anchor tag for parsing the document origin + originAnchor = document.createElement( "a" ); + originAnchor.href = location.href; + +// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport +function addToPrefiltersOrTransports( structure ) { + + // dataTypeExpression is optional and defaults to "*" + return function( dataTypeExpression, func ) { + + if ( typeof dataTypeExpression !== "string" ) { + func = dataTypeExpression; + dataTypeExpression = "*"; + } + + var dataType, + i = 0, + dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; + + if ( isFunction( func ) ) { + + // For each dataType in the dataTypeExpression + while ( ( dataType = dataTypes[ i++ ] ) ) { + + // Prepend if requested + if ( dataType[ 0 ] === "+" ) { + dataType = dataType.slice( 1 ) || "*"; + ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); + + // Otherwise append + } else { + ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); + } + } + } + }; +} + +// Base inspection function for prefilters and transports +function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { + + var inspected = {}, + seekingTransport = ( structure === transports ); + + function inspect( dataType ) { + var selected; + inspected[ dataType ] = true; + jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { + var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); + if ( typeof dataTypeOrTransport === "string" && + !seekingTransport && !inspected[ dataTypeOrTransport ] ) { + + options.dataTypes.unshift( dataTypeOrTransport ); + inspect( dataTypeOrTransport ); + return false; + } else if ( seekingTransport ) { + return !( selected = dataTypeOrTransport ); + } + } ); + return selected; + } + + return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); +} + +// A special extend for ajax options +// that takes "flat" options (not to be deep extended) +// Fixes #9887 +function ajaxExtend( target, src ) { + var key, deep, + flatOptions = jQuery.ajaxSettings.flatOptions || {}; + + for ( key in src ) { + if ( src[ key ] !== undefined ) { + ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; + } + } + if ( deep ) { + jQuery.extend( true, target, deep ); + } + + return target; +} + +/* Handles responses to an ajax request: + * - finds the right dataType (mediates between content-type and expected dataType) + * - returns the corresponding response + */ +function ajaxHandleResponses( s, jqXHR, responses ) { + + var ct, type, finalDataType, firstDataType, + contents = s.contents, + dataTypes = s.dataTypes; + + // Remove auto dataType and get content-type in the process + while ( dataTypes[ 0 ] === "*" ) { + dataTypes.shift(); + if ( ct === undefined ) { + ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); + } + } + + // Check if we're dealing with a known content-type + if ( ct ) { + for ( type in contents ) { + if ( contents[ type ] && contents[ type ].test( ct ) ) { + dataTypes.unshift( type ); + break; + } + } + } + + // Check to see if we have a response for the expected dataType + if ( dataTypes[ 0 ] in responses ) { + finalDataType = dataTypes[ 0 ]; + } else { + + // Try convertible dataTypes + for ( type in responses ) { + if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { + finalDataType = type; + break; + } + if ( !firstDataType ) { + firstDataType = type; + } + } + + // Or just use first one + finalDataType = finalDataType || firstDataType; + } + + // If we found a dataType + // We add the dataType to the list if needed + // and return the corresponding response + if ( finalDataType ) { + if ( finalDataType !== dataTypes[ 0 ] ) { + dataTypes.unshift( finalDataType ); + } + return responses[ finalDataType ]; + } +} + +/* Chain conversions given the request and the original response + * Also sets the responseXXX fields on the jqXHR instance + */ +function ajaxConvert( s, response, jqXHR, isSuccess ) { + var conv2, current, conv, tmp, prev, + converters = {}, + + // Work with a copy of dataTypes in case we need to modify it for conversion + dataTypes = s.dataTypes.slice(); + + // Create converters map with lowercased keys + if ( dataTypes[ 1 ] ) { + for ( conv in s.converters ) { + converters[ conv.toLowerCase() ] = s.converters[ conv ]; + } + } + + current = dataTypes.shift(); + + // Convert to each sequential dataType + while ( current ) { + + if ( s.responseFields[ current ] ) { + jqXHR[ s.responseFields[ current ] ] = response; + } + + // Apply the dataFilter if provided + if ( !prev && isSuccess && s.dataFilter ) { + response = s.dataFilter( response, s.dataType ); + } + + prev = current; + current = dataTypes.shift(); + + if ( current ) { + + // There's only work to do if current dataType is non-auto + if ( current === "*" ) { + + current = prev; + + // Convert response if prev dataType is non-auto and differs from current + } else if ( prev !== "*" && prev !== current ) { + + // Seek a direct converter + conv = converters[ prev + " " + current ] || converters[ "* " + current ]; + + // If none found, seek a pair + if ( !conv ) { + for ( conv2 in converters ) { + + // If conv2 outputs current + tmp = conv2.split( " " ); + if ( tmp[ 1 ] === current ) { + + // If prev can be converted to accepted input + conv = converters[ prev + " " + tmp[ 0 ] ] || + converters[ "* " + tmp[ 0 ] ]; + if ( conv ) { + + // Condense equivalence converters + if ( conv === true ) { + conv = converters[ conv2 ]; + + // Otherwise, insert the intermediate dataType + } else if ( converters[ conv2 ] !== true ) { + current = tmp[ 0 ]; + dataTypes.unshift( tmp[ 1 ] ); + } + break; + } + } + } + } + + // Apply converter (if not an equivalence) + if ( conv !== true ) { + + // Unless errors are allowed to bubble, catch and return them + if ( conv && s.throws ) { + response = conv( response ); + } else { + try { + response = conv( response ); + } catch ( e ) { + return { + state: "parsererror", + error: conv ? e : "No conversion from " + prev + " to " + current + }; + } + } + } + } + } + } + + return { state: "success", data: response }; +} + +jQuery.extend( { + + // Counter for holding the number of active queries + active: 0, + + // Last-Modified header cache for next request + lastModified: {}, + etag: {}, + + ajaxSettings: { + url: location.href, + type: "GET", + isLocal: rlocalProtocol.test( location.protocol ), + global: true, + processData: true, + async: true, + contentType: "application/x-www-form-urlencoded; charset=UTF-8", + + /* + timeout: 0, + data: null, + dataType: null, + username: null, + password: null, + cache: null, + throws: false, + traditional: false, + headers: {}, + */ + + accepts: { + "*": allTypes, + text: "text/plain", + html: "text/html", + xml: "application/xml, text/xml", + json: "application/json, text/javascript" + }, + + contents: { + xml: /\bxml\b/, + html: /\bhtml/, + json: /\bjson\b/ + }, + + responseFields: { + xml: "responseXML", + text: "responseText", + json: "responseJSON" + }, + + // Data converters + // Keys separate source (or catchall "*") and destination types with a single space + converters: { + + // Convert anything to text + "* text": String, + + // Text to html (true = no transformation) + "text html": true, + + // Evaluate text as a json expression + "text json": JSON.parse, + + // Parse text as xml + "text xml": jQuery.parseXML + }, + + // For options that shouldn't be deep extended: + // you can add your own custom options here if + // and when you create one that shouldn't be + // deep extended (see ajaxExtend) + flatOptions: { + url: true, + context: true + } + }, + + // Creates a full fledged settings object into target + // with both ajaxSettings and settings fields. + // If target is omitted, writes into ajaxSettings. + ajaxSetup: function( target, settings ) { + return settings ? + + // Building a settings object + ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : + + // Extending ajaxSettings + ajaxExtend( jQuery.ajaxSettings, target ); + }, + + ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), + ajaxTransport: addToPrefiltersOrTransports( transports ), + + // Main method + ajax: function( url, options ) { + + // If url is an object, simulate pre-1.5 signature + if ( typeof url === "object" ) { + options = url; + url = undefined; + } + + // Force options to be an object + options = options || {}; + + var transport, + + // URL without anti-cache param + cacheURL, + + // Response headers + responseHeadersString, + responseHeaders, + + // timeout handle + timeoutTimer, + + // Url cleanup var + urlAnchor, + + // Request state (becomes false upon send and true upon completion) + completed, + + // To know if global events are to be dispatched + fireGlobals, + + // Loop variable + i, + + // uncached part of the url + uncached, + + // Create the final options object + s = jQuery.ajaxSetup( {}, options ), + + // Callbacks context + callbackContext = s.context || s, + + // Context for global events is callbackContext if it is a DOM node or jQuery collection + globalEventContext = s.context && + ( callbackContext.nodeType || callbackContext.jquery ) ? + jQuery( callbackContext ) : + jQuery.event, + + // Deferreds + deferred = jQuery.Deferred(), + completeDeferred = jQuery.Callbacks( "once memory" ), + + // Status-dependent callbacks + statusCode = s.statusCode || {}, + + // Headers (they are sent all at once) + requestHeaders = {}, + requestHeadersNames = {}, + + // Default abort message + strAbort = "canceled", + + // Fake xhr + jqXHR = { + readyState: 0, + + // Builds headers hashtable if needed + getResponseHeader: function( key ) { + var match; + if ( completed ) { + if ( !responseHeaders ) { + responseHeaders = {}; + while ( ( match = rheaders.exec( responseHeadersString ) ) ) { + responseHeaders[ match[ 1 ].toLowerCase() + " " ] = + ( responseHeaders[ match[ 1 ].toLowerCase() + " " ] || [] ) + .concat( match[ 2 ] ); + } + } + match = responseHeaders[ key.toLowerCase() + " " ]; + } + return match == null ? null : match.join( ", " ); + }, + + // Raw string + getAllResponseHeaders: function() { + return completed ? responseHeadersString : null; + }, + + // Caches the header + setRequestHeader: function( name, value ) { + if ( completed == null ) { + name = requestHeadersNames[ name.toLowerCase() ] = + requestHeadersNames[ name.toLowerCase() ] || name; + requestHeaders[ name ] = value; + } + return this; + }, + + // Overrides response content-type header + overrideMimeType: function( type ) { + if ( completed == null ) { + s.mimeType = type; + } + return this; + }, + + // Status-dependent callbacks + statusCode: function( map ) { + var code; + if ( map ) { + if ( completed ) { + + // Execute the appropriate callbacks + jqXHR.always( map[ jqXHR.status ] ); + } else { + + // Lazy-add the new callbacks in a way that preserves old ones + for ( code in map ) { + statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; + } + } + } + return this; + }, + + // Cancel the request + abort: function( statusText ) { + var finalText = statusText || strAbort; + if ( transport ) { + transport.abort( finalText ); + } + done( 0, finalText ); + return this; + } + }; + + // Attach deferreds + deferred.promise( jqXHR ); + + // Add protocol if not provided (prefilters might expect it) + // Handle falsy url in the settings object (#10093: consistency with old signature) + // We also use the url parameter if available + s.url = ( ( url || s.url || location.href ) + "" ) + .replace( rprotocol, location.protocol + "//" ); + + // Alias method option to type as per ticket #12004 + s.type = options.method || options.type || s.method || s.type; + + // Extract dataTypes list + s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; + + // A cross-domain request is in order when the origin doesn't match the current origin. + if ( s.crossDomain == null ) { + urlAnchor = document.createElement( "a" ); + + // Support: IE <=8 - 11, Edge 12 - 15 + // IE throws exception on accessing the href property if url is malformed, + // e.g. http://example.com:80x/ + try { + urlAnchor.href = s.url; + + // Support: IE <=8 - 11 only + // Anchor's host property isn't correctly set when s.url is relative + urlAnchor.href = urlAnchor.href; + s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== + urlAnchor.protocol + "//" + urlAnchor.host; + } catch ( e ) { + + // If there is an error parsing the URL, assume it is crossDomain, + // it can be rejected by the transport if it is invalid + s.crossDomain = true; + } + } + + // Convert data if not already a string + if ( s.data && s.processData && typeof s.data !== "string" ) { + s.data = jQuery.param( s.data, s.traditional ); + } + + // Apply prefilters + inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); + + // If request was aborted inside a prefilter, stop there + if ( completed ) { + return jqXHR; + } + + // We can fire global events as of now if asked to + // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) + fireGlobals = jQuery.event && s.global; + + // Watch for a new set of requests + if ( fireGlobals && jQuery.active++ === 0 ) { + jQuery.event.trigger( "ajaxStart" ); + } + + // Uppercase the type + s.type = s.type.toUpperCase(); + + // Determine if request has content + s.hasContent = !rnoContent.test( s.type ); + + // Save the URL in case we're toying with the If-Modified-Since + // and/or If-None-Match header later on + // Remove hash to simplify url manipulation + cacheURL = s.url.replace( rhash, "" ); + + // More options handling for requests with no content + if ( !s.hasContent ) { + + // Remember the hash so we can put it back + uncached = s.url.slice( cacheURL.length ); + + // If data is available and should be processed, append data to url + if ( s.data && ( s.processData || typeof s.data === "string" ) ) { + cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; + + // #9682: remove data so that it's not used in an eventual retry + delete s.data; + } + + // Add or update anti-cache param if needed + if ( s.cache === false ) { + cacheURL = cacheURL.replace( rantiCache, "$1" ); + uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce.guid++ ) + + uncached; + } + + // Put hash and anti-cache on the URL that will be requested (gh-1732) + s.url = cacheURL + uncached; + + // Change '%20' to '+' if this is encoded form body content (gh-2658) + } else if ( s.data && s.processData && + ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { + s.data = s.data.replace( r20, "+" ); + } + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + if ( jQuery.lastModified[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); + } + if ( jQuery.etag[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); + } + } + + // Set the correct header, if data is being sent + if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { + jqXHR.setRequestHeader( "Content-Type", s.contentType ); + } + + // Set the Accepts header for the server, depending on the dataType + jqXHR.setRequestHeader( + "Accept", + s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? + s.accepts[ s.dataTypes[ 0 ] ] + + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : + s.accepts[ "*" ] + ); + + // Check for headers option + for ( i in s.headers ) { + jqXHR.setRequestHeader( i, s.headers[ i ] ); + } + + // Allow custom headers/mimetypes and early abort + if ( s.beforeSend && + ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { + + // Abort if not done already and return + return jqXHR.abort(); + } + + // Aborting is no longer a cancellation + strAbort = "abort"; + + // Install callbacks on deferreds + completeDeferred.add( s.complete ); + jqXHR.done( s.success ); + jqXHR.fail( s.error ); + + // Get transport + transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); + + // If no transport, we auto-abort + if ( !transport ) { + done( -1, "No Transport" ); + } else { + jqXHR.readyState = 1; + + // Send global event + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); + } + + // If request was aborted inside ajaxSend, stop there + if ( completed ) { + return jqXHR; + } + + // Timeout + if ( s.async && s.timeout > 0 ) { + timeoutTimer = window.setTimeout( function() { + jqXHR.abort( "timeout" ); + }, s.timeout ); + } + + try { + completed = false; + transport.send( requestHeaders, done ); + } catch ( e ) { + + // Rethrow post-completion exceptions + if ( completed ) { + throw e; + } + + // Propagate others as results + done( -1, e ); + } + } + + // Callback for when everything is done + function done( status, nativeStatusText, responses, headers ) { + var isSuccess, success, error, response, modified, + statusText = nativeStatusText; + + // Ignore repeat invocations + if ( completed ) { + return; + } + + completed = true; + + // Clear timeout if it exists + if ( timeoutTimer ) { + window.clearTimeout( timeoutTimer ); + } + + // Dereference transport for early garbage collection + // (no matter how long the jqXHR object will be used) + transport = undefined; + + // Cache response headers + responseHeadersString = headers || ""; + + // Set readyState + jqXHR.readyState = status > 0 ? 4 : 0; + + // Determine if successful + isSuccess = status >= 200 && status < 300 || status === 304; + + // Get response data + if ( responses ) { + response = ajaxHandleResponses( s, jqXHR, responses ); + } + + // Use a noop converter for missing script + if ( !isSuccess && jQuery.inArray( "script", s.dataTypes ) > -1 ) { + s.converters[ "text script" ] = function() {}; + } + + // Convert no matter what (that way responseXXX fields are always set) + response = ajaxConvert( s, response, jqXHR, isSuccess ); + + // If successful, handle type chaining + if ( isSuccess ) { + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + modified = jqXHR.getResponseHeader( "Last-Modified" ); + if ( modified ) { + jQuery.lastModified[ cacheURL ] = modified; + } + modified = jqXHR.getResponseHeader( "etag" ); + if ( modified ) { + jQuery.etag[ cacheURL ] = modified; + } + } + + // if no content + if ( status === 204 || s.type === "HEAD" ) { + statusText = "nocontent"; + + // if not modified + } else if ( status === 304 ) { + statusText = "notmodified"; + + // If we have data, let's convert it + } else { + statusText = response.state; + success = response.data; + error = response.error; + isSuccess = !error; + } + } else { + + // Extract error from statusText and normalize for non-aborts + error = statusText; + if ( status || !statusText ) { + statusText = "error"; + if ( status < 0 ) { + status = 0; + } + } + } + + // Set data for the fake xhr object + jqXHR.status = status; + jqXHR.statusText = ( nativeStatusText || statusText ) + ""; + + // Success/Error + if ( isSuccess ) { + deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); + } else { + deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); + } + + // Status-dependent callbacks + jqXHR.statusCode( statusCode ); + statusCode = undefined; + + if ( fireGlobals ) { + globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", + [ jqXHR, s, isSuccess ? success : error ] ); + } + + // Complete + completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); + + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); + + // Handle the global AJAX counter + if ( !( --jQuery.active ) ) { + jQuery.event.trigger( "ajaxStop" ); + } + } + } + + return jqXHR; + }, + + getJSON: function( url, data, callback ) { + return jQuery.get( url, data, callback, "json" ); + }, + + getScript: function( url, callback ) { + return jQuery.get( url, undefined, callback, "script" ); + } +} ); + +jQuery.each( [ "get", "post" ], function( _i, method ) { + jQuery[ method ] = function( url, data, callback, type ) { + + // Shift arguments if data argument was omitted + if ( isFunction( data ) ) { + type = type || callback; + callback = data; + data = undefined; + } + + // The url can be an options object (which then must have .url) + return jQuery.ajax( jQuery.extend( { + url: url, + type: method, + dataType: type, + data: data, + success: callback + }, jQuery.isPlainObject( url ) && url ) ); + }; +} ); + +jQuery.ajaxPrefilter( function( s ) { + var i; + for ( i in s.headers ) { + if ( i.toLowerCase() === "content-type" ) { + s.contentType = s.headers[ i ] || ""; + } + } +} ); + + +jQuery._evalUrl = function( url, options, doc ) { + return jQuery.ajax( { + url: url, + + // Make this explicit, since user can override this through ajaxSetup (#11264) + type: "GET", + dataType: "script", + cache: true, + async: false, + global: false, + + // Only evaluate the response if it is successful (gh-4126) + // dataFilter is not invoked for failure responses, so using it instead + // of the default converter is kludgy but it works. + converters: { + "text script": function() {} + }, + dataFilter: function( response ) { + jQuery.globalEval( response, options, doc ); + } + } ); +}; + + +jQuery.fn.extend( { + wrapAll: function( html ) { + var wrap; + + if ( this[ 0 ] ) { + if ( isFunction( html ) ) { + html = html.call( this[ 0 ] ); + } + + // The elements to wrap the target around + wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); + + if ( this[ 0 ].parentNode ) { + wrap.insertBefore( this[ 0 ] ); + } + + wrap.map( function() { + var elem = this; + + while ( elem.firstElementChild ) { + elem = elem.firstElementChild; + } + + return elem; + } ).append( this ); + } + + return this; + }, + + wrapInner: function( html ) { + if ( isFunction( html ) ) { + return this.each( function( i ) { + jQuery( this ).wrapInner( html.call( this, i ) ); + } ); + } + + return this.each( function() { + var self = jQuery( this ), + contents = self.contents(); + + if ( contents.length ) { + contents.wrapAll( html ); + + } else { + self.append( html ); + } + } ); + }, + + wrap: function( html ) { + var htmlIsFunction = isFunction( html ); + + return this.each( function( i ) { + jQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html ); + } ); + }, + + unwrap: function( selector ) { + this.parent( selector ).not( "body" ).each( function() { + jQuery( this ).replaceWith( this.childNodes ); + } ); + return this; + } +} ); + + +jQuery.expr.pseudos.hidden = function( elem ) { + return !jQuery.expr.pseudos.visible( elem ); +}; +jQuery.expr.pseudos.visible = function( elem ) { + return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); +}; + + + + +jQuery.ajaxSettings.xhr = function() { + try { + return new window.XMLHttpRequest(); + } catch ( e ) {} +}; + +var xhrSuccessStatus = { + + // File protocol always yields status code 0, assume 200 + 0: 200, + + // Support: IE <=9 only + // #1450: sometimes IE returns 1223 when it should be 204 + 1223: 204 + }, + xhrSupported = jQuery.ajaxSettings.xhr(); + +support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); +support.ajax = xhrSupported = !!xhrSupported; + +jQuery.ajaxTransport( function( options ) { + var callback, errorCallback; + + // Cross domain only allowed if supported through XMLHttpRequest + if ( support.cors || xhrSupported && !options.crossDomain ) { + return { + send: function( headers, complete ) { + var i, + xhr = options.xhr(); + + xhr.open( + options.type, + options.url, + options.async, + options.username, + options.password + ); + + // Apply custom fields if provided + if ( options.xhrFields ) { + for ( i in options.xhrFields ) { + xhr[ i ] = options.xhrFields[ i ]; + } + } + + // Override mime type if needed + if ( options.mimeType && xhr.overrideMimeType ) { + xhr.overrideMimeType( options.mimeType ); + } + + // X-Requested-With header + // For cross-domain requests, seeing as conditions for a preflight are + // akin to a jigsaw puzzle, we simply never set it to be sure. + // (it can always be set on a per-request basis or even using ajaxSetup) + // For same-domain requests, won't change header if already provided. + if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { + headers[ "X-Requested-With" ] = "XMLHttpRequest"; + } + + // Set headers + for ( i in headers ) { + xhr.setRequestHeader( i, headers[ i ] ); + } + + // Callback + callback = function( type ) { + return function() { + if ( callback ) { + callback = errorCallback = xhr.onload = + xhr.onerror = xhr.onabort = xhr.ontimeout = + xhr.onreadystatechange = null; + + if ( type === "abort" ) { + xhr.abort(); + } else if ( type === "error" ) { + + // Support: IE <=9 only + // On a manual native abort, IE9 throws + // errors on any property access that is not readyState + if ( typeof xhr.status !== "number" ) { + complete( 0, "error" ); + } else { + complete( + + // File: protocol always yields status 0; see #8605, #14207 + xhr.status, + xhr.statusText + ); + } + } else { + complete( + xhrSuccessStatus[ xhr.status ] || xhr.status, + xhr.statusText, + + // Support: IE <=9 only + // IE9 has no XHR2 but throws on binary (trac-11426) + // For XHR2 non-text, let the caller handle it (gh-2498) + ( xhr.responseType || "text" ) !== "text" || + typeof xhr.responseText !== "string" ? + { binary: xhr.response } : + { text: xhr.responseText }, + xhr.getAllResponseHeaders() + ); + } + } + }; + }; + + // Listen to events + xhr.onload = callback(); + errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" ); + + // Support: IE 9 only + // Use onreadystatechange to replace onabort + // to handle uncaught aborts + if ( xhr.onabort !== undefined ) { + xhr.onabort = errorCallback; + } else { + xhr.onreadystatechange = function() { + + // Check readyState before timeout as it changes + if ( xhr.readyState === 4 ) { + + // Allow onerror to be called first, + // but that will not handle a native abort + // Also, save errorCallback to a variable + // as xhr.onerror cannot be accessed + window.setTimeout( function() { + if ( callback ) { + errorCallback(); + } + } ); + } + }; + } + + // Create the abort callback + callback = callback( "abort" ); + + try { + + // Do send the request (this may raise an exception) + xhr.send( options.hasContent && options.data || null ); + } catch ( e ) { + + // #14683: Only rethrow if this hasn't been notified as an error yet + if ( callback ) { + throw e; + } + } + }, + + abort: function() { + if ( callback ) { + callback(); + } + } + }; + } +} ); + + + + +// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) +jQuery.ajaxPrefilter( function( s ) { + if ( s.crossDomain ) { + s.contents.script = false; + } +} ); + +// Install script dataType +jQuery.ajaxSetup( { + accepts: { + script: "text/javascript, application/javascript, " + + "application/ecmascript, application/x-ecmascript" + }, + contents: { + script: /\b(?:java|ecma)script\b/ + }, + converters: { + "text script": function( text ) { + jQuery.globalEval( text ); + return text; + } + } +} ); + +// Handle cache's special case and crossDomain +jQuery.ajaxPrefilter( "script", function( s ) { + if ( s.cache === undefined ) { + s.cache = false; + } + if ( s.crossDomain ) { + s.type = "GET"; + } +} ); + +// Bind script tag hack transport +jQuery.ajaxTransport( "script", function( s ) { + + // This transport only deals with cross domain or forced-by-attrs requests + if ( s.crossDomain || s.scriptAttrs ) { + var script, callback; + return { + send: function( _, complete ) { + script = jQuery( "\r\n"; + +// inject VBScript +document.write(IEBinaryToArray_ByteStr_Script); + +global.JSZipUtils._getBinaryFromXHR = function (xhr) { + var binary = xhr.responseBody; + var byteMapping = {}; + for ( var i = 0; i < 256; i++ ) { + for ( var j = 0; j < 256; j++ ) { + byteMapping[ String.fromCharCode( i + (j << 8) ) ] = + String.fromCharCode(i) + String.fromCharCode(j); + } + } + var rawBytes = IEBinaryToArray_ByteStr(binary); + var lastChr = IEBinaryToArray_ByteStr_Last(binary); + return rawBytes.replace(/[\s\S]/g, function( match ) { + return byteMapping[match]; + }) + lastChr; +}; + +// enforcing Stuk's coding style +// vim: set shiftwidth=4 softtabstop=4: + +},{}]},{},[1]) +; diff --git a/master/javadocs/jquery/jszip-utils/dist/jszip-utils-ie.min.js b/master/javadocs/jquery/jszip-utils/dist/jszip-utils-ie.min.js new file mode 100644 index 000000000..93d8bc8ef --- /dev/null +++ b/master/javadocs/jquery/jszip-utils/dist/jszip-utils-ie.min.js @@ -0,0 +1,10 @@ +/*! + +JSZipUtils - A collection of cross-browser utilities to go along with JSZip. + + +(c) 2014 Stuart Knightley, David Duponchel +Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip-utils/master/LICENSE.markdown. + +*/ +!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);throw new Error("Cannot find module '"+g+"'")}var j=c[g]={exports:{}};b[g][0].call(j.exports,function(a){var c=b[g][1][a];return e(c?c:a)},j,j.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g\r\n";document.write(b),a.JSZipUtils._getBinaryFromXHR=function(a){for(var b=a.responseBody,c={},d=0;256>d;d++)for(var e=0;256>e;e++)c[String.fromCharCode(d+(e<<8))]=String.fromCharCode(d)+String.fromCharCode(e);var f=IEBinaryToArray_ByteStr(b),g=IEBinaryToArray_ByteStr_Last(b);return f.replace(/[\s\S]/g,function(a){return c[a]})+g}},{}]},{},[1]); diff --git a/master/javadocs/jquery/jszip-utils/dist/jszip-utils.js b/master/javadocs/jquery/jszip-utils/dist/jszip-utils.js new file mode 100644 index 000000000..775895ec9 --- /dev/null +++ b/master/javadocs/jquery/jszip-utils/dist/jszip-utils.js @@ -0,0 +1,118 @@ +/*! + +JSZipUtils - A collection of cross-browser utilities to go along with JSZip. + + +(c) 2014 Stuart Knightley, David Duponchel +Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip-utils/master/LICENSE.markdown. + +*/ +!function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.JSZipUtils=e():"undefined"!=typeof global?global.JSZipUtils=e():"undefined"!=typeof self&&(self.JSZipUtils=e())}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o + +(c) 2014 Stuart Knightley, David Duponchel +Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip-utils/master/LICENSE.markdown. + +*/ +!function(a){"object"==typeof exports?module.exports=a():"function"==typeof define&&define.amd?define(a):"undefined"!=typeof window?window.JSZipUtils=a():"undefined"!=typeof global?global.JSZipUtils=a():"undefined"!=typeof self&&(self.JSZipUtils=a())}(function(){return function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);throw new Error("Cannot find module '"+g+"'")}var j=c[g]={exports:{}};b[g][0].call(j.exports,function(a){var c=b[g][1][a];return e(c?c:a)},j,j.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g + +(c) 2009-2016 Stuart Knightley +Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/master/LICENSE.markdown. + +JSZip uses the library pako released under the MIT license : +https://github.com/nodeca/pako/blob/master/LICENSE +*/ + +(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.JSZip = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o> 2; + enc2 = ((chr1 & 3) << 4) | (chr2 >> 4); + enc3 = remainingBytes > 1 ? (((chr2 & 15) << 2) | (chr3 >> 6)) : 64; + enc4 = remainingBytes > 2 ? (chr3 & 63) : 64; + + output.push(_keyStr.charAt(enc1) + _keyStr.charAt(enc2) + _keyStr.charAt(enc3) + _keyStr.charAt(enc4)); + + } + + return output.join(""); +}; + +// public method for decoding +exports.decode = function(input) { + var chr1, chr2, chr3; + var enc1, enc2, enc3, enc4; + var i = 0, resultIndex = 0; + + var dataUrlPrefix = "data:"; + + if (input.substr(0, dataUrlPrefix.length) === dataUrlPrefix) { + // This is a common error: people give a data url + // (data:image/png;base64,iVBOR...) with a {base64: true} and + // wonders why things don't work. + // We can detect that the string input looks like a data url but we + // *can't* be sure it is one: removing everything up to the comma would + // be too dangerous. + throw new Error("Invalid base64 input, it looks like a data url."); + } + + input = input.replace(/[^A-Za-z0-9\+\/\=]/g, ""); + + var totalLength = input.length * 3 / 4; + if(input.charAt(input.length - 1) === _keyStr.charAt(64)) { + totalLength--; + } + if(input.charAt(input.length - 2) === _keyStr.charAt(64)) { + totalLength--; + } + if (totalLength % 1 !== 0) { + // totalLength is not an integer, the length does not match a valid + // base64 content. That can happen if: + // - the input is not a base64 content + // - the input is *almost* a base64 content, with a extra chars at the + // beginning or at the end + // - the input uses a base64 variant (base64url for example) + throw new Error("Invalid base64 input, bad content length."); + } + var output; + if (support.uint8array) { + output = new Uint8Array(totalLength|0); + } else { + output = new Array(totalLength|0); + } + + while (i < input.length) { + + enc1 = _keyStr.indexOf(input.charAt(i++)); + enc2 = _keyStr.indexOf(input.charAt(i++)); + enc3 = _keyStr.indexOf(input.charAt(i++)); + enc4 = _keyStr.indexOf(input.charAt(i++)); + + chr1 = (enc1 << 2) | (enc2 >> 4); + chr2 = ((enc2 & 15) << 4) | (enc3 >> 2); + chr3 = ((enc3 & 3) << 6) | enc4; + + output[resultIndex++] = chr1; + + if (enc3 !== 64) { + output[resultIndex++] = chr2; + } + if (enc4 !== 64) { + output[resultIndex++] = chr3; + } + + } + + return output; +}; + +},{"./support":30,"./utils":32}],2:[function(require,module,exports){ +'use strict'; + +var external = require("./external"); +var DataWorker = require('./stream/DataWorker'); +var DataLengthProbe = require('./stream/DataLengthProbe'); +var Crc32Probe = require('./stream/Crc32Probe'); +var DataLengthProbe = require('./stream/DataLengthProbe'); + +/** + * Represent a compressed object, with everything needed to decompress it. + * @constructor + * @param {number} compressedSize the size of the data compressed. + * @param {number} uncompressedSize the size of the data after decompression. + * @param {number} crc32 the crc32 of the decompressed file. + * @param {object} compression the type of compression, see lib/compressions.js. + * @param {String|ArrayBuffer|Uint8Array|Buffer} data the compressed data. + */ +function CompressedObject(compressedSize, uncompressedSize, crc32, compression, data) { + this.compressedSize = compressedSize; + this.uncompressedSize = uncompressedSize; + this.crc32 = crc32; + this.compression = compression; + this.compressedContent = data; +} + +CompressedObject.prototype = { + /** + * Create a worker to get the uncompressed content. + * @return {GenericWorker} the worker. + */ + getContentWorker : function () { + var worker = new DataWorker(external.Promise.resolve(this.compressedContent)) + .pipe(this.compression.uncompressWorker()) + .pipe(new DataLengthProbe("data_length")); + + var that = this; + worker.on("end", function () { + if(this.streamInfo['data_length'] !== that.uncompressedSize) { + throw new Error("Bug : uncompressed data size mismatch"); + } + }); + return worker; + }, + /** + * Create a worker to get the compressed content. + * @return {GenericWorker} the worker. + */ + getCompressedWorker : function () { + return new DataWorker(external.Promise.resolve(this.compressedContent)) + .withStreamInfo("compressedSize", this.compressedSize) + .withStreamInfo("uncompressedSize", this.uncompressedSize) + .withStreamInfo("crc32", this.crc32) + .withStreamInfo("compression", this.compression) + ; + } +}; + +/** + * Chain the given worker with other workers to compress the content with the + * given compresion. + * @param {GenericWorker} uncompressedWorker the worker to pipe. + * @param {Object} compression the compression object. + * @param {Object} compressionOptions the options to use when compressing. + * @return {GenericWorker} the new worker compressing the content. + */ +CompressedObject.createWorkerFrom = function (uncompressedWorker, compression, compressionOptions) { + return uncompressedWorker + .pipe(new Crc32Probe()) + .pipe(new DataLengthProbe("uncompressedSize")) + .pipe(compression.compressWorker(compressionOptions)) + .pipe(new DataLengthProbe("compressedSize")) + .withStreamInfo("compression", compression); +}; + +module.exports = CompressedObject; + +},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(require,module,exports){ +'use strict'; + +var GenericWorker = require("./stream/GenericWorker"); + +exports.STORE = { + magic: "\x00\x00", + compressWorker : function (compressionOptions) { + return new GenericWorker("STORE compression"); + }, + uncompressWorker : function () { + return new GenericWorker("STORE decompression"); + } +}; +exports.DEFLATE = require('./flate'); + +},{"./flate":7,"./stream/GenericWorker":28}],4:[function(require,module,exports){ +'use strict'; + +var utils = require('./utils'); + +/** + * The following functions come from pako, from pako/lib/zlib/crc32.js + * released under the MIT license, see pako https://github.com/nodeca/pako/ + */ + +// Use ordinary array, since untyped makes no boost here +function makeTable() { + var c, table = []; + + for(var n =0; n < 256; n++){ + c = n; + for(var k =0; k < 8; k++){ + c = ((c&1) ? (0xEDB88320 ^ (c >>> 1)) : (c >>> 1)); + } + table[n] = c; + } + + return table; +} + +// Create table on load. Just 255 signed longs. Not a problem. +var crcTable = makeTable(); + + +function crc32(crc, buf, len, pos) { + var t = crcTable, end = pos + len; + + crc = crc ^ (-1); + + for (var i = pos; i < end; i++ ) { + crc = (crc >>> 8) ^ t[(crc ^ buf[i]) & 0xFF]; + } + + return (crc ^ (-1)); // >>> 0; +} + +// That's all for the pako functions. + +/** + * Compute the crc32 of a string. + * This is almost the same as the function crc32, but for strings. Using the + * same function for the two use cases leads to horrible performances. + * @param {Number} crc the starting value of the crc. + * @param {String} str the string to use. + * @param {Number} len the length of the string. + * @param {Number} pos the starting position for the crc32 computation. + * @return {Number} the computed crc32. + */ +function crc32str(crc, str, len, pos) { + var t = crcTable, end = pos + len; + + crc = crc ^ (-1); + + for (var i = pos; i < end; i++ ) { + crc = (crc >>> 8) ^ t[(crc ^ str.charCodeAt(i)) & 0xFF]; + } + + return (crc ^ (-1)); // >>> 0; +} + +module.exports = function crc32wrapper(input, crc) { + if (typeof input === "undefined" || !input.length) { + return 0; + } + + var isArray = utils.getTypeOf(input) !== "string"; + + if(isArray) { + return crc32(crc|0, input, input.length, 0); + } else { + return crc32str(crc|0, input, input.length, 0); + } +}; + +},{"./utils":32}],5:[function(require,module,exports){ +'use strict'; +exports.base64 = false; +exports.binary = false; +exports.dir = false; +exports.createFolders = true; +exports.date = null; +exports.compression = null; +exports.compressionOptions = null; +exports.comment = null; +exports.unixPermissions = null; +exports.dosPermissions = null; + +},{}],6:[function(require,module,exports){ +/* global Promise */ +'use strict'; + +// load the global object first: +// - it should be better integrated in the system (unhandledRejection in node) +// - the environment may have a custom Promise implementation (see zone.js) +var ES6Promise = null; +if (typeof Promise !== "undefined") { + ES6Promise = Promise; +} else { + ES6Promise = require("lie"); +} + +/** + * Let the user use/change some implementations. + */ +module.exports = { + Promise: ES6Promise +}; + +},{"lie":37}],7:[function(require,module,exports){ +'use strict'; +var USE_TYPEDARRAY = (typeof Uint8Array !== 'undefined') && (typeof Uint16Array !== 'undefined') && (typeof Uint32Array !== 'undefined'); + +var pako = require("pako"); +var utils = require("./utils"); +var GenericWorker = require("./stream/GenericWorker"); + +var ARRAY_TYPE = USE_TYPEDARRAY ? "uint8array" : "array"; + +exports.magic = "\x08\x00"; + +/** + * Create a worker that uses pako to inflate/deflate. + * @constructor + * @param {String} action the name of the pako function to call : either "Deflate" or "Inflate". + * @param {Object} options the options to use when (de)compressing. + */ +function FlateWorker(action, options) { + GenericWorker.call(this, "FlateWorker/" + action); + + this._pako = null; + this._pakoAction = action; + this._pakoOptions = options; + // the `meta` object from the last chunk received + // this allow this worker to pass around metadata + this.meta = {}; +} + +utils.inherits(FlateWorker, GenericWorker); + +/** + * @see GenericWorker.processChunk + */ +FlateWorker.prototype.processChunk = function (chunk) { + this.meta = chunk.meta; + if (this._pako === null) { + this._createPako(); + } + this._pako.push(utils.transformTo(ARRAY_TYPE, chunk.data), false); +}; + +/** + * @see GenericWorker.flush + */ +FlateWorker.prototype.flush = function () { + GenericWorker.prototype.flush.call(this); + if (this._pako === null) { + this._createPako(); + } + this._pako.push([], true); +}; +/** + * @see GenericWorker.cleanUp + */ +FlateWorker.prototype.cleanUp = function () { + GenericWorker.prototype.cleanUp.call(this); + this._pako = null; +}; + +/** + * Create the _pako object. + * TODO: lazy-loading this object isn't the best solution but it's the + * quickest. The best solution is to lazy-load the worker list. See also the + * issue #446. + */ +FlateWorker.prototype._createPako = function () { + this._pako = new pako[this._pakoAction]({ + raw: true, + level: this._pakoOptions.level || -1 // default compression + }); + var self = this; + this._pako.onData = function(data) { + self.push({ + data : data, + meta : self.meta + }); + }; +}; + +exports.compressWorker = function (compressionOptions) { + return new FlateWorker("Deflate", compressionOptions); +}; +exports.uncompressWorker = function () { + return new FlateWorker("Inflate", {}); +}; + +},{"./stream/GenericWorker":28,"./utils":32,"pako":38}],8:[function(require,module,exports){ +'use strict'; + +var utils = require('../utils'); +var GenericWorker = require('../stream/GenericWorker'); +var utf8 = require('../utf8'); +var crc32 = require('../crc32'); +var signature = require('../signature'); + +/** + * Transform an integer into a string in hexadecimal. + * @private + * @param {number} dec the number to convert. + * @param {number} bytes the number of bytes to generate. + * @returns {string} the result. + */ +var decToHex = function(dec, bytes) { + var hex = "", i; + for (i = 0; i < bytes; i++) { + hex += String.fromCharCode(dec & 0xff); + dec = dec >>> 8; + } + return hex; +}; + +/** + * Generate the UNIX part of the external file attributes. + * @param {Object} unixPermissions the unix permissions or null. + * @param {Boolean} isDir true if the entry is a directory, false otherwise. + * @return {Number} a 32 bit integer. + * + * adapted from http://unix.stackexchange.com/questions/14705/the-zip-formats-external-file-attribute : + * + * TTTTsstrwxrwxrwx0000000000ADVSHR + * ^^^^____________________________ file type, see zipinfo.c (UNX_*) + * ^^^_________________________ setuid, setgid, sticky + * ^^^^^^^^^________________ permissions + * ^^^^^^^^^^______ not used ? + * ^^^^^^ DOS attribute bits : Archive, Directory, Volume label, System file, Hidden, Read only + */ +var generateUnixExternalFileAttr = function (unixPermissions, isDir) { + + var result = unixPermissions; + if (!unixPermissions) { + // I can't use octal values in strict mode, hence the hexa. + // 040775 => 0x41fd + // 0100664 => 0x81b4 + result = isDir ? 0x41fd : 0x81b4; + } + return (result & 0xFFFF) << 16; +}; + +/** + * Generate the DOS part of the external file attributes. + * @param {Object} dosPermissions the dos permissions or null. + * @param {Boolean} isDir true if the entry is a directory, false otherwise. + * @return {Number} a 32 bit integer. + * + * Bit 0 Read-Only + * Bit 1 Hidden + * Bit 2 System + * Bit 3 Volume Label + * Bit 4 Directory + * Bit 5 Archive + */ +var generateDosExternalFileAttr = function (dosPermissions, isDir) { + + // the dir flag is already set for compatibility + return (dosPermissions || 0) & 0x3F; +}; + +/** + * Generate the various parts used in the construction of the final zip file. + * @param {Object} streamInfo the hash with informations about the compressed file. + * @param {Boolean} streamedContent is the content streamed ? + * @param {Boolean} streamingEnded is the stream finished ? + * @param {number} offset the current offset from the start of the zip file. + * @param {String} platform let's pretend we are this platform (change platform dependents fields) + * @param {Function} encodeFileName the function to encode the file name / comment. + * @return {Object} the zip parts. + */ +var generateZipParts = function(streamInfo, streamedContent, streamingEnded, offset, platform, encodeFileName) { + var file = streamInfo['file'], + compression = streamInfo['compression'], + useCustomEncoding = encodeFileName !== utf8.utf8encode, + encodedFileName = utils.transformTo("string", encodeFileName(file.name)), + utfEncodedFileName = utils.transformTo("string", utf8.utf8encode(file.name)), + comment = file.comment, + encodedComment = utils.transformTo("string", encodeFileName(comment)), + utfEncodedComment = utils.transformTo("string", utf8.utf8encode(comment)), + useUTF8ForFileName = utfEncodedFileName.length !== file.name.length, + useUTF8ForComment = utfEncodedComment.length !== comment.length, + dosTime, + dosDate, + extraFields = "", + unicodePathExtraField = "", + unicodeCommentExtraField = "", + dir = file.dir, + date = file.date; + + + var dataInfo = { + crc32 : 0, + compressedSize : 0, + uncompressedSize : 0 + }; + + // if the content is streamed, the sizes/crc32 are only available AFTER + // the end of the stream. + if (!streamedContent || streamingEnded) { + dataInfo.crc32 = streamInfo['crc32']; + dataInfo.compressedSize = streamInfo['compressedSize']; + dataInfo.uncompressedSize = streamInfo['uncompressedSize']; + } + + var bitflag = 0; + if (streamedContent) { + // Bit 3: the sizes/crc32 are set to zero in the local header. + // The correct values are put in the data descriptor immediately + // following the compressed data. + bitflag |= 0x0008; + } + if (!useCustomEncoding && (useUTF8ForFileName || useUTF8ForComment)) { + // Bit 11: Language encoding flag (EFS). + bitflag |= 0x0800; + } + + + var extFileAttr = 0; + var versionMadeBy = 0; + if (dir) { + // dos or unix, we set the dos dir flag + extFileAttr |= 0x00010; + } + if(platform === "UNIX") { + versionMadeBy = 0x031E; // UNIX, version 3.0 + extFileAttr |= generateUnixExternalFileAttr(file.unixPermissions, dir); + } else { // DOS or other, fallback to DOS + versionMadeBy = 0x0014; // DOS, version 2.0 + extFileAttr |= generateDosExternalFileAttr(file.dosPermissions, dir); + } + + // date + // @see http://www.delorie.com/djgpp/doc/rbinter/it/52/13.html + // @see http://www.delorie.com/djgpp/doc/rbinter/it/65/16.html + // @see http://www.delorie.com/djgpp/doc/rbinter/it/66/16.html + + dosTime = date.getUTCHours(); + dosTime = dosTime << 6; + dosTime = dosTime | date.getUTCMinutes(); + dosTime = dosTime << 5; + dosTime = dosTime | date.getUTCSeconds() / 2; + + dosDate = date.getUTCFullYear() - 1980; + dosDate = dosDate << 4; + dosDate = dosDate | (date.getUTCMonth() + 1); + dosDate = dosDate << 5; + dosDate = dosDate | date.getUTCDate(); + + if (useUTF8ForFileName) { + // set the unicode path extra field. unzip needs at least one extra + // field to correctly handle unicode path, so using the path is as good + // as any other information. This could improve the situation with + // other archive managers too. + // This field is usually used without the utf8 flag, with a non + // unicode path in the header (winrar, winzip). This helps (a bit) + // with the messy Windows' default compressed folders feature but + // breaks on p7zip which doesn't seek the unicode path extra field. + // So for now, UTF-8 everywhere ! + unicodePathExtraField = + // Version + decToHex(1, 1) + + // NameCRC32 + decToHex(crc32(encodedFileName), 4) + + // UnicodeName + utfEncodedFileName; + + extraFields += + // Info-ZIP Unicode Path Extra Field + "\x75\x70" + + // size + decToHex(unicodePathExtraField.length, 2) + + // content + unicodePathExtraField; + } + + if(useUTF8ForComment) { + + unicodeCommentExtraField = + // Version + decToHex(1, 1) + + // CommentCRC32 + decToHex(crc32(encodedComment), 4) + + // UnicodeName + utfEncodedComment; + + extraFields += + // Info-ZIP Unicode Path Extra Field + "\x75\x63" + + // size + decToHex(unicodeCommentExtraField.length, 2) + + // content + unicodeCommentExtraField; + } + + var header = ""; + + // version needed to extract + header += "\x0A\x00"; + // general purpose bit flag + header += decToHex(bitflag, 2); + // compression method + header += compression.magic; + // last mod file time + header += decToHex(dosTime, 2); + // last mod file date + header += decToHex(dosDate, 2); + // crc-32 + header += decToHex(dataInfo.crc32, 4); + // compressed size + header += decToHex(dataInfo.compressedSize, 4); + // uncompressed size + header += decToHex(dataInfo.uncompressedSize, 4); + // file name length + header += decToHex(encodedFileName.length, 2); + // extra field length + header += decToHex(extraFields.length, 2); + + + var fileRecord = signature.LOCAL_FILE_HEADER + header + encodedFileName + extraFields; + + var dirRecord = signature.CENTRAL_FILE_HEADER + + // version made by (00: DOS) + decToHex(versionMadeBy, 2) + + // file header (common to file and central directory) + header + + // file comment length + decToHex(encodedComment.length, 2) + + // disk number start + "\x00\x00" + + // internal file attributes TODO + "\x00\x00" + + // external file attributes + decToHex(extFileAttr, 4) + + // relative offset of local header + decToHex(offset, 4) + + // file name + encodedFileName + + // extra field + extraFields + + // file comment + encodedComment; + + return { + fileRecord: fileRecord, + dirRecord: dirRecord + }; +}; + +/** + * Generate the EOCD record. + * @param {Number} entriesCount the number of entries in the zip file. + * @param {Number} centralDirLength the length (in bytes) of the central dir. + * @param {Number} localDirLength the length (in bytes) of the local dir. + * @param {String} comment the zip file comment as a binary string. + * @param {Function} encodeFileName the function to encode the comment. + * @return {String} the EOCD record. + */ +var generateCentralDirectoryEnd = function (entriesCount, centralDirLength, localDirLength, comment, encodeFileName) { + var dirEnd = ""; + var encodedComment = utils.transformTo("string", encodeFileName(comment)); + + // end of central dir signature + dirEnd = signature.CENTRAL_DIRECTORY_END + + // number of this disk + "\x00\x00" + + // number of the disk with the start of the central directory + "\x00\x00" + + // total number of entries in the central directory on this disk + decToHex(entriesCount, 2) + + // total number of entries in the central directory + decToHex(entriesCount, 2) + + // size of the central directory 4 bytes + decToHex(centralDirLength, 4) + + // offset of start of central directory with respect to the starting disk number + decToHex(localDirLength, 4) + + // .ZIP file comment length + decToHex(encodedComment.length, 2) + + // .ZIP file comment + encodedComment; + + return dirEnd; +}; + +/** + * Generate data descriptors for a file entry. + * @param {Object} streamInfo the hash generated by a worker, containing informations + * on the file entry. + * @return {String} the data descriptors. + */ +var generateDataDescriptors = function (streamInfo) { + var descriptor = ""; + descriptor = signature.DATA_DESCRIPTOR + + // crc-32 4 bytes + decToHex(streamInfo['crc32'], 4) + + // compressed size 4 bytes + decToHex(streamInfo['compressedSize'], 4) + + // uncompressed size 4 bytes + decToHex(streamInfo['uncompressedSize'], 4); + + return descriptor; +}; + + +/** + * A worker to concatenate other workers to create a zip file. + * @param {Boolean} streamFiles `true` to stream the content of the files, + * `false` to accumulate it. + * @param {String} comment the comment to use. + * @param {String} platform the platform to use, "UNIX" or "DOS". + * @param {Function} encodeFileName the function to encode file names and comments. + */ +function ZipFileWorker(streamFiles, comment, platform, encodeFileName) { + GenericWorker.call(this, "ZipFileWorker"); + // The number of bytes written so far. This doesn't count accumulated chunks. + this.bytesWritten = 0; + // The comment of the zip file + this.zipComment = comment; + // The platform "generating" the zip file. + this.zipPlatform = platform; + // the function to encode file names and comments. + this.encodeFileName = encodeFileName; + // Should we stream the content of the files ? + this.streamFiles = streamFiles; + // If `streamFiles` is false, we will need to accumulate the content of the + // files to calculate sizes / crc32 (and write them *before* the content). + // This boolean indicates if we are accumulating chunks (it will change a lot + // during the lifetime of this worker). + this.accumulate = false; + // The buffer receiving chunks when accumulating content. + this.contentBuffer = []; + // The list of generated directory records. + this.dirRecords = []; + // The offset (in bytes) from the beginning of the zip file for the current source. + this.currentSourceOffset = 0; + // The total number of entries in this zip file. + this.entriesCount = 0; + // the name of the file currently being added, null when handling the end of the zip file. + // Used for the emited metadata. + this.currentFile = null; + + + + this._sources = []; +} +utils.inherits(ZipFileWorker, GenericWorker); + +/** + * @see GenericWorker.push + */ +ZipFileWorker.prototype.push = function (chunk) { + + var currentFilePercent = chunk.meta.percent || 0; + var entriesCount = this.entriesCount; + var remainingFiles = this._sources.length; + + if(this.accumulate) { + this.contentBuffer.push(chunk); + } else { + this.bytesWritten += chunk.data.length; + + GenericWorker.prototype.push.call(this, { + data : chunk.data, + meta : { + currentFile : this.currentFile, + percent : entriesCount ? (currentFilePercent + 100 * (entriesCount - remainingFiles - 1)) / entriesCount : 100 + } + }); + } +}; + +/** + * The worker started a new source (an other worker). + * @param {Object} streamInfo the streamInfo object from the new source. + */ +ZipFileWorker.prototype.openedSource = function (streamInfo) { + this.currentSourceOffset = this.bytesWritten; + this.currentFile = streamInfo['file'].name; + + var streamedContent = this.streamFiles && !streamInfo['file'].dir; + + // don't stream folders (because they don't have any content) + if(streamedContent) { + var record = generateZipParts(streamInfo, streamedContent, false, this.currentSourceOffset, this.zipPlatform, this.encodeFileName); + this.push({ + data : record.fileRecord, + meta : {percent:0} + }); + } else { + // we need to wait for the whole file before pushing anything + this.accumulate = true; + } +}; + +/** + * The worker finished a source (an other worker). + * @param {Object} streamInfo the streamInfo object from the finished source. + */ +ZipFileWorker.prototype.closedSource = function (streamInfo) { + this.accumulate = false; + var streamedContent = this.streamFiles && !streamInfo['file'].dir; + var record = generateZipParts(streamInfo, streamedContent, true, this.currentSourceOffset, this.zipPlatform, this.encodeFileName); + + this.dirRecords.push(record.dirRecord); + if(streamedContent) { + // after the streamed file, we put data descriptors + this.push({ + data : generateDataDescriptors(streamInfo), + meta : {percent:100} + }); + } else { + // the content wasn't streamed, we need to push everything now + // first the file record, then the content + this.push({ + data : record.fileRecord, + meta : {percent:0} + }); + while(this.contentBuffer.length) { + this.push(this.contentBuffer.shift()); + } + } + this.currentFile = null; +}; + +/** + * @see GenericWorker.flush + */ +ZipFileWorker.prototype.flush = function () { + + var localDirLength = this.bytesWritten; + for(var i = 0; i < this.dirRecords.length; i++) { + this.push({ + data : this.dirRecords[i], + meta : {percent:100} + }); + } + var centralDirLength = this.bytesWritten - localDirLength; + + var dirEnd = generateCentralDirectoryEnd(this.dirRecords.length, centralDirLength, localDirLength, this.zipComment, this.encodeFileName); + + this.push({ + data : dirEnd, + meta : {percent:100} + }); +}; + +/** + * Prepare the next source to be read. + */ +ZipFileWorker.prototype.prepareNextSource = function () { + this.previous = this._sources.shift(); + this.openedSource(this.previous.streamInfo); + if (this.isPaused) { + this.previous.pause(); + } else { + this.previous.resume(); + } +}; + +/** + * @see GenericWorker.registerPrevious + */ +ZipFileWorker.prototype.registerPrevious = function (previous) { + this._sources.push(previous); + var self = this; + + previous.on('data', function (chunk) { + self.processChunk(chunk); + }); + previous.on('end', function () { + self.closedSource(self.previous.streamInfo); + if(self._sources.length) { + self.prepareNextSource(); + } else { + self.end(); + } + }); + previous.on('error', function (e) { + self.error(e); + }); + return this; +}; + +/** + * @see GenericWorker.resume + */ +ZipFileWorker.prototype.resume = function () { + if(!GenericWorker.prototype.resume.call(this)) { + return false; + } + + if (!this.previous && this._sources.length) { + this.prepareNextSource(); + return true; + } + if (!this.previous && !this._sources.length && !this.generatedError) { + this.end(); + return true; + } +}; + +/** + * @see GenericWorker.error + */ +ZipFileWorker.prototype.error = function (e) { + var sources = this._sources; + if(!GenericWorker.prototype.error.call(this, e)) { + return false; + } + for(var i = 0; i < sources.length; i++) { + try { + sources[i].error(e); + } catch(e) { + // the `error` exploded, nothing to do + } + } + return true; +}; + +/** + * @see GenericWorker.lock + */ +ZipFileWorker.prototype.lock = function () { + GenericWorker.prototype.lock.call(this); + var sources = this._sources; + for(var i = 0; i < sources.length; i++) { + sources[i].lock(); + } +}; + +module.exports = ZipFileWorker; + +},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(require,module,exports){ +'use strict'; + +var compressions = require('../compressions'); +var ZipFileWorker = require('./ZipFileWorker'); + +/** + * Find the compression to use. + * @param {String} fileCompression the compression defined at the file level, if any. + * @param {String} zipCompression the compression defined at the load() level. + * @return {Object} the compression object to use. + */ +var getCompression = function (fileCompression, zipCompression) { + + var compressionName = fileCompression || zipCompression; + var compression = compressions[compressionName]; + if (!compression) { + throw new Error(compressionName + " is not a valid compression method !"); + } + return compression; +}; + +/** + * Create a worker to generate a zip file. + * @param {JSZip} zip the JSZip instance at the right root level. + * @param {Object} options to generate the zip file. + * @param {String} comment the comment to use. + */ +exports.generateWorker = function (zip, options, comment) { + + var zipFileWorker = new ZipFileWorker(options.streamFiles, comment, options.platform, options.encodeFileName); + var entriesCount = 0; + try { + + zip.forEach(function (relativePath, file) { + entriesCount++; + var compression = getCompression(file.options.compression, options.compression); + var compressionOptions = file.options.compressionOptions || options.compressionOptions || {}; + var dir = file.dir, date = file.date; + + file._compressWorker(compression, compressionOptions) + .withStreamInfo("file", { + name : relativePath, + dir : dir, + date : date, + comment : file.comment || "", + unixPermissions : file.unixPermissions, + dosPermissions : file.dosPermissions + }) + .pipe(zipFileWorker); + }); + zipFileWorker.entriesCount = entriesCount; + } catch (e) { + zipFileWorker.error(e); + } + + return zipFileWorker; +}; + +},{"../compressions":3,"./ZipFileWorker":8}],10:[function(require,module,exports){ +'use strict'; + +/** + * Representation a of zip file in js + * @constructor + */ +function JSZip() { + // if this constructor is used without `new`, it adds `new` before itself: + if(!(this instanceof JSZip)) { + return new JSZip(); + } + + if(arguments.length) { + throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide."); + } + + // object containing the files : + // { + // "folder/" : {...}, + // "folder/data.txt" : {...} + // } + this.files = {}; + + this.comment = null; + + // Where we are in the hierarchy + this.root = ""; + this.clone = function() { + var newObj = new JSZip(); + for (var i in this) { + if (typeof this[i] !== "function") { + newObj[i] = this[i]; + } + } + return newObj; + }; +} +JSZip.prototype = require('./object'); +JSZip.prototype.loadAsync = require('./load'); +JSZip.support = require('./support'); +JSZip.defaults = require('./defaults'); + +// TODO find a better way to handle this version, +// a require('package.json').version doesn't work with webpack, see #327 +JSZip.version = "3.2.0"; + +JSZip.loadAsync = function (content, options) { + return new JSZip().loadAsync(content, options); +}; + +JSZip.external = require("./external"); +module.exports = JSZip; + +},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(require,module,exports){ +'use strict'; +var utils = require('./utils'); +var external = require("./external"); +var utf8 = require('./utf8'); +var utils = require('./utils'); +var ZipEntries = require('./zipEntries'); +var Crc32Probe = require('./stream/Crc32Probe'); +var nodejsUtils = require("./nodejsUtils"); + +/** + * Check the CRC32 of an entry. + * @param {ZipEntry} zipEntry the zip entry to check. + * @return {Promise} the result. + */ +function checkEntryCRC32(zipEntry) { + return new external.Promise(function (resolve, reject) { + var worker = zipEntry.decompressed.getContentWorker().pipe(new Crc32Probe()); + worker.on("error", function (e) { + reject(e); + }) + .on("end", function () { + if (worker.streamInfo.crc32 !== zipEntry.decompressed.crc32) { + reject(new Error("Corrupted zip : CRC32 mismatch")); + } else { + resolve(); + } + }) + .resume(); + }); +} + +module.exports = function(data, options) { + var zip = this; + options = utils.extend(options || {}, { + base64: false, + checkCRC32: false, + optimizedBinaryString: false, + createFolders: false, + decodeFileName: utf8.utf8decode + }); + + if (nodejsUtils.isNode && nodejsUtils.isStream(data)) { + return external.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")); + } + + return utils.prepareContent("the loaded zip file", data, true, options.optimizedBinaryString, options.base64) + .then(function(data) { + var zipEntries = new ZipEntries(options); + zipEntries.load(data); + return zipEntries; + }).then(function checkCRC32(zipEntries) { + var promises = [external.Promise.resolve(zipEntries)]; + var files = zipEntries.files; + if (options.checkCRC32) { + for (var i = 0; i < files.length; i++) { + promises.push(checkEntryCRC32(files[i])); + } + } + return external.Promise.all(promises); + }).then(function addFiles(results) { + var zipEntries = results.shift(); + var files = zipEntries.files; + for (var i = 0; i < files.length; i++) { + var input = files[i]; + zip.file(input.fileNameStr, input.decompressed, { + binary: true, + optimizedBinaryString: true, + date: input.date, + dir: input.dir, + comment : input.fileCommentStr.length ? input.fileCommentStr : null, + unixPermissions : input.unixPermissions, + dosPermissions : input.dosPermissions, + createFolders: options.createFolders + }); + } + if (zipEntries.zipComment.length) { + zip.comment = zipEntries.zipComment; + } + + return zip; + }); +}; + +},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(require,module,exports){ +"use strict"; + +var utils = require('../utils'); +var GenericWorker = require('../stream/GenericWorker'); + +/** + * A worker that use a nodejs stream as source. + * @constructor + * @param {String} filename the name of the file entry for this stream. + * @param {Readable} stream the nodejs stream. + */ +function NodejsStreamInputAdapter(filename, stream) { + GenericWorker.call(this, "Nodejs stream input adapter for " + filename); + this._upstreamEnded = false; + this._bindStream(stream); +} + +utils.inherits(NodejsStreamInputAdapter, GenericWorker); + +/** + * Prepare the stream and bind the callbacks on it. + * Do this ASAP on node 0.10 ! A lazy binding doesn't always work. + * @param {Stream} stream the nodejs stream to use. + */ +NodejsStreamInputAdapter.prototype._bindStream = function (stream) { + var self = this; + this._stream = stream; + stream.pause(); + stream + .on("data", function (chunk) { + self.push({ + data: chunk, + meta : { + percent : 0 + } + }); + }) + .on("error", function (e) { + if(self.isPaused) { + this.generatedError = e; + } else { + self.error(e); + } + }) + .on("end", function () { + if(self.isPaused) { + self._upstreamEnded = true; + } else { + self.end(); + } + }); +}; +NodejsStreamInputAdapter.prototype.pause = function () { + if(!GenericWorker.prototype.pause.call(this)) { + return false; + } + this._stream.pause(); + return true; +}; +NodejsStreamInputAdapter.prototype.resume = function () { + if(!GenericWorker.prototype.resume.call(this)) { + return false; + } + + if(this._upstreamEnded) { + this.end(); + } else { + this._stream.resume(); + } + + return true; +}; + +module.exports = NodejsStreamInputAdapter; + +},{"../stream/GenericWorker":28,"../utils":32}],13:[function(require,module,exports){ +'use strict'; + +var Readable = require('readable-stream').Readable; + +var utils = require('../utils'); +utils.inherits(NodejsStreamOutputAdapter, Readable); + +/** +* A nodejs stream using a worker as source. +* @see the SourceWrapper in http://nodejs.org/api/stream.html +* @constructor +* @param {StreamHelper} helper the helper wrapping the worker +* @param {Object} options the nodejs stream options +* @param {Function} updateCb the update callback. +*/ +function NodejsStreamOutputAdapter(helper, options, updateCb) { + Readable.call(this, options); + this._helper = helper; + + var self = this; + helper.on("data", function (data, meta) { + if (!self.push(data)) { + self._helper.pause(); + } + if(updateCb) { + updateCb(meta); + } + }) + .on("error", function(e) { + self.emit('error', e); + }) + .on("end", function () { + self.push(null); + }); +} + + +NodejsStreamOutputAdapter.prototype._read = function() { + this._helper.resume(); +}; + +module.exports = NodejsStreamOutputAdapter; + +},{"../utils":32,"readable-stream":16}],14:[function(require,module,exports){ +'use strict'; + +module.exports = { + /** + * True if this is running in Nodejs, will be undefined in a browser. + * In a browser, browserify won't include this file and the whole module + * will be resolved an empty object. + */ + isNode : typeof Buffer !== "undefined", + /** + * Create a new nodejs Buffer from an existing content. + * @param {Object} data the data to pass to the constructor. + * @param {String} encoding the encoding to use. + * @return {Buffer} a new Buffer. + */ + newBufferFrom: function(data, encoding) { + if (Buffer.from && Buffer.from !== Uint8Array.from) { + return Buffer.from(data, encoding); + } else { + if (typeof data === "number") { + // Safeguard for old Node.js versions. On newer versions, + // Buffer.from(number) / Buffer(number, encoding) already throw. + throw new Error("The \"data\" argument must not be a number"); + } + return new Buffer(data, encoding); + } + }, + /** + * Create a new nodejs Buffer with the specified size. + * @param {Integer} size the size of the buffer. + * @return {Buffer} a new Buffer. + */ + allocBuffer: function (size) { + if (Buffer.alloc) { + return Buffer.alloc(size); + } else { + var buf = new Buffer(size); + buf.fill(0); + return buf; + } + }, + /** + * Find out if an object is a Buffer. + * @param {Object} b the object to test. + * @return {Boolean} true if the object is a Buffer, false otherwise. + */ + isBuffer : function(b){ + return Buffer.isBuffer(b); + }, + + isStream : function (obj) { + return obj && + typeof obj.on === "function" && + typeof obj.pause === "function" && + typeof obj.resume === "function"; + } +}; + +},{}],15:[function(require,module,exports){ +'use strict'; +var utf8 = require('./utf8'); +var utils = require('./utils'); +var GenericWorker = require('./stream/GenericWorker'); +var StreamHelper = require('./stream/StreamHelper'); +var defaults = require('./defaults'); +var CompressedObject = require('./compressedObject'); +var ZipObject = require('./zipObject'); +var generate = require("./generate"); +var nodejsUtils = require("./nodejsUtils"); +var NodejsStreamInputAdapter = require("./nodejs/NodejsStreamInputAdapter"); + + +/** + * Add a file in the current folder. + * @private + * @param {string} name the name of the file + * @param {String|ArrayBuffer|Uint8Array|Buffer} data the data of the file + * @param {Object} originalOptions the options of the file + * @return {Object} the new file. + */ +var fileAdd = function(name, data, originalOptions) { + // be sure sub folders exist + var dataType = utils.getTypeOf(data), + parent; + + + /* + * Correct options. + */ + + var o = utils.extend(originalOptions || {}, defaults); + o.date = o.date || new Date(); + if (o.compression !== null) { + o.compression = o.compression.toUpperCase(); + } + + if (typeof o.unixPermissions === "string") { + o.unixPermissions = parseInt(o.unixPermissions, 8); + } + + // UNX_IFDIR 0040000 see zipinfo.c + if (o.unixPermissions && (o.unixPermissions & 0x4000)) { + o.dir = true; + } + // Bit 4 Directory + if (o.dosPermissions && (o.dosPermissions & 0x0010)) { + o.dir = true; + } + + if (o.dir) { + name = forceTrailingSlash(name); + } + if (o.createFolders && (parent = parentFolder(name))) { + folderAdd.call(this, parent, true); + } + + var isUnicodeString = dataType === "string" && o.binary === false && o.base64 === false; + if (!originalOptions || typeof originalOptions.binary === "undefined") { + o.binary = !isUnicodeString; + } + + + var isCompressedEmpty = (data instanceof CompressedObject) && data.uncompressedSize === 0; + + if (isCompressedEmpty || o.dir || !data || data.length === 0) { + o.base64 = false; + o.binary = true; + data = ""; + o.compression = "STORE"; + dataType = "string"; + } + + /* + * Convert content to fit. + */ + + var zipObjectContent = null; + if (data instanceof CompressedObject || data instanceof GenericWorker) { + zipObjectContent = data; + } else if (nodejsUtils.isNode && nodejsUtils.isStream(data)) { + zipObjectContent = new NodejsStreamInputAdapter(name, data); + } else { + zipObjectContent = utils.prepareContent(name, data, o.binary, o.optimizedBinaryString, o.base64); + } + + var object = new ZipObject(name, zipObjectContent, o); + this.files[name] = object; + /* + TODO: we can't throw an exception because we have async promises + (we can have a promise of a Date() for example) but returning a + promise is useless because file(name, data) returns the JSZip + object for chaining. Should we break that to allow the user + to catch the error ? + + return external.Promise.resolve(zipObjectContent) + .then(function () { + return object; + }); + */ +}; + +/** + * Find the parent folder of the path. + * @private + * @param {string} path the path to use + * @return {string} the parent folder, or "" + */ +var parentFolder = function (path) { + if (path.slice(-1) === '/') { + path = path.substring(0, path.length - 1); + } + var lastSlash = path.lastIndexOf('/'); + return (lastSlash > 0) ? path.substring(0, lastSlash) : ""; +}; + +/** + * Returns the path with a slash at the end. + * @private + * @param {String} path the path to check. + * @return {String} the path with a trailing slash. + */ +var forceTrailingSlash = function(path) { + // Check the name ends with a / + if (path.slice(-1) !== "/") { + path += "/"; // IE doesn't like substr(-1) + } + return path; +}; + +/** + * Add a (sub) folder in the current folder. + * @private + * @param {string} name the folder's name + * @param {boolean=} [createFolders] If true, automatically create sub + * folders. Defaults to false. + * @return {Object} the new folder. + */ +var folderAdd = function(name, createFolders) { + createFolders = (typeof createFolders !== 'undefined') ? createFolders : defaults.createFolders; + + name = forceTrailingSlash(name); + + // Does this folder already exist? + if (!this.files[name]) { + fileAdd.call(this, name, null, { + dir: true, + createFolders: createFolders + }); + } + return this.files[name]; +}; + +/** +* Cross-window, cross-Node-context regular expression detection +* @param {Object} object Anything +* @return {Boolean} true if the object is a regular expression, +* false otherwise +*/ +function isRegExp(object) { + return Object.prototype.toString.call(object) === "[object RegExp]"; +} + +// return the actual prototype of JSZip +var out = { + /** + * @see loadAsync + */ + load: function() { + throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide."); + }, + + + /** + * Call a callback function for each entry at this folder level. + * @param {Function} cb the callback function: + * function (relativePath, file) {...} + * It takes 2 arguments : the relative path and the file. + */ + forEach: function(cb) { + var filename, relativePath, file; + for (filename in this.files) { + if (!this.files.hasOwnProperty(filename)) { + continue; + } + file = this.files[filename]; + relativePath = filename.slice(this.root.length, filename.length); + if (relativePath && filename.slice(0, this.root.length) === this.root) { // the file is in the current root + cb(relativePath, file); // TODO reverse the parameters ? need to be clean AND consistent with the filter search fn... + } + } + }, + + /** + * Filter nested files/folders with the specified function. + * @param {Function} search the predicate to use : + * function (relativePath, file) {...} + * It takes 2 arguments : the relative path and the file. + * @return {Array} An array of matching elements. + */ + filter: function(search) { + var result = []; + this.forEach(function (relativePath, entry) { + if (search(relativePath, entry)) { // the file matches the function + result.push(entry); + } + + }); + return result; + }, + + /** + * Add a file to the zip file, or search a file. + * @param {string|RegExp} name The name of the file to add (if data is defined), + * the name of the file to find (if no data) or a regex to match files. + * @param {String|ArrayBuffer|Uint8Array|Buffer} data The file data, either raw or base64 encoded + * @param {Object} o File options + * @return {JSZip|Object|Array} this JSZip object (when adding a file), + * a file (when searching by string) or an array of files (when searching by regex). + */ + file: function(name, data, o) { + if (arguments.length === 1) { + if (isRegExp(name)) { + var regexp = name; + return this.filter(function(relativePath, file) { + return !file.dir && regexp.test(relativePath); + }); + } + else { // text + var obj = this.files[this.root + name]; + if (obj && !obj.dir) { + return obj; + } else { + return null; + } + } + } + else { // more than one argument : we have data ! + name = this.root + name; + fileAdd.call(this, name, data, o); + } + return this; + }, + + /** + * Add a directory to the zip file, or search. + * @param {String|RegExp} arg The name of the directory to add, or a regex to search folders. + * @return {JSZip} an object with the new directory as the root, or an array containing matching folders. + */ + folder: function(arg) { + if (!arg) { + return this; + } + + if (isRegExp(arg)) { + return this.filter(function(relativePath, file) { + return file.dir && arg.test(relativePath); + }); + } + + // else, name is a new folder + var name = this.root + arg; + var newFolder = folderAdd.call(this, name); + + // Allow chaining by returning a new object with this folder as the root + var ret = this.clone(); + ret.root = newFolder.name; + return ret; + }, + + /** + * Delete a file, or a directory and all sub-files, from the zip + * @param {string} name the name of the file to delete + * @return {JSZip} this JSZip object + */ + remove: function(name) { + name = this.root + name; + var file = this.files[name]; + if (!file) { + // Look for any folders + if (name.slice(-1) !== "/") { + name += "/"; + } + file = this.files[name]; + } + + if (file && !file.dir) { + // file + delete this.files[name]; + } else { + // maybe a folder, delete recursively + var kids = this.filter(function(relativePath, file) { + return file.name.slice(0, name.length) === name; + }); + for (var i = 0; i < kids.length; i++) { + delete this.files[kids[i].name]; + } + } + + return this; + }, + + /** + * Generate the complete zip file + * @param {Object} options the options to generate the zip file : + * - compression, "STORE" by default. + * - type, "base64" by default. Values are : string, base64, uint8array, arraybuffer, blob. + * @return {String|Uint8Array|ArrayBuffer|Buffer|Blob} the zip file + */ + generate: function(options) { + throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide."); + }, + + /** + * Generate the complete zip file as an internal stream. + * @param {Object} options the options to generate the zip file : + * - compression, "STORE" by default. + * - type, "base64" by default. Values are : string, base64, uint8array, arraybuffer, blob. + * @return {StreamHelper} the streamed zip file. + */ + generateInternalStream: function(options) { + var worker, opts = {}; + try { + opts = utils.extend(options || {}, { + streamFiles: false, + compression: "STORE", + compressionOptions : null, + type: "", + platform: "DOS", + comment: null, + mimeType: 'application/zip', + encodeFileName: utf8.utf8encode + }); + + opts.type = opts.type.toLowerCase(); + opts.compression = opts.compression.toUpperCase(); + + // "binarystring" is prefered but the internals use "string". + if(opts.type === "binarystring") { + opts.type = "string"; + } + + if (!opts.type) { + throw new Error("No output type specified."); + } + + utils.checkSupport(opts.type); + + // accept nodejs `process.platform` + if( + opts.platform === 'darwin' || + opts.platform === 'freebsd' || + opts.platform === 'linux' || + opts.platform === 'sunos' + ) { + opts.platform = "UNIX"; + } + if (opts.platform === 'win32') { + opts.platform = "DOS"; + } + + var comment = opts.comment || this.comment || ""; + worker = generate.generateWorker(this, opts, comment); + } catch (e) { + worker = new GenericWorker("error"); + worker.error(e); + } + return new StreamHelper(worker, opts.type || "string", opts.mimeType); + }, + /** + * Generate the complete zip file asynchronously. + * @see generateInternalStream + */ + generateAsync: function(options, onUpdate) { + return this.generateInternalStream(options).accumulate(onUpdate); + }, + /** + * Generate the complete zip file asynchronously. + * @see generateInternalStream + */ + generateNodeStream: function(options, onUpdate) { + options = options || {}; + if (!options.type) { + options.type = "nodebuffer"; + } + return this.generateInternalStream(options).toNodejsStream(onUpdate); + } +}; +module.exports = out; + +},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(require,module,exports){ +/* + * This file is used by module bundlers (browserify/webpack/etc) when + * including a stream implementation. We use "readable-stream" to get a + * consistent behavior between nodejs versions but bundlers often have a shim + * for "stream". Using this shim greatly improve the compatibility and greatly + * reduce the final size of the bundle (only one stream implementation, not + * two). + */ +module.exports = require("stream"); + +},{"stream":undefined}],17:[function(require,module,exports){ +'use strict'; +var DataReader = require('./DataReader'); +var utils = require('../utils'); + +function ArrayReader(data) { + DataReader.call(this, data); + for(var i = 0; i < this.data.length; i++) { + data[i] = data[i] & 0xFF; + } +} +utils.inherits(ArrayReader, DataReader); +/** + * @see DataReader.byteAt + */ +ArrayReader.prototype.byteAt = function(i) { + return this.data[this.zero + i]; +}; +/** + * @see DataReader.lastIndexOfSignature + */ +ArrayReader.prototype.lastIndexOfSignature = function(sig) { + var sig0 = sig.charCodeAt(0), + sig1 = sig.charCodeAt(1), + sig2 = sig.charCodeAt(2), + sig3 = sig.charCodeAt(3); + for (var i = this.length - 4; i >= 0; --i) { + if (this.data[i] === sig0 && this.data[i + 1] === sig1 && this.data[i + 2] === sig2 && this.data[i + 3] === sig3) { + return i - this.zero; + } + } + + return -1; +}; +/** + * @see DataReader.readAndCheckSignature + */ +ArrayReader.prototype.readAndCheckSignature = function (sig) { + var sig0 = sig.charCodeAt(0), + sig1 = sig.charCodeAt(1), + sig2 = sig.charCodeAt(2), + sig3 = sig.charCodeAt(3), + data = this.readData(4); + return sig0 === data[0] && sig1 === data[1] && sig2 === data[2] && sig3 === data[3]; +}; +/** + * @see DataReader.readData + */ +ArrayReader.prototype.readData = function(size) { + this.checkOffset(size); + if(size === 0) { + return []; + } + var result = this.data.slice(this.zero + this.index, this.zero + this.index + size); + this.index += size; + return result; +}; +module.exports = ArrayReader; + +},{"../utils":32,"./DataReader":18}],18:[function(require,module,exports){ +'use strict'; +var utils = require('../utils'); + +function DataReader(data) { + this.data = data; // type : see implementation + this.length = data.length; + this.index = 0; + this.zero = 0; +} +DataReader.prototype = { + /** + * Check that the offset will not go too far. + * @param {string} offset the additional offset to check. + * @throws {Error} an Error if the offset is out of bounds. + */ + checkOffset: function(offset) { + this.checkIndex(this.index + offset); + }, + /** + * Check that the specified index will not be too far. + * @param {string} newIndex the index to check. + * @throws {Error} an Error if the index is out of bounds. + */ + checkIndex: function(newIndex) { + if (this.length < this.zero + newIndex || newIndex < 0) { + throw new Error("End of data reached (data length = " + this.length + ", asked index = " + (newIndex) + "). Corrupted zip ?"); + } + }, + /** + * Change the index. + * @param {number} newIndex The new index. + * @throws {Error} if the new index is out of the data. + */ + setIndex: function(newIndex) { + this.checkIndex(newIndex); + this.index = newIndex; + }, + /** + * Skip the next n bytes. + * @param {number} n the number of bytes to skip. + * @throws {Error} if the new index is out of the data. + */ + skip: function(n) { + this.setIndex(this.index + n); + }, + /** + * Get the byte at the specified index. + * @param {number} i the index to use. + * @return {number} a byte. + */ + byteAt: function(i) { + // see implementations + }, + /** + * Get the next number with a given byte size. + * @param {number} size the number of bytes to read. + * @return {number} the corresponding number. + */ + readInt: function(size) { + var result = 0, + i; + this.checkOffset(size); + for (i = this.index + size - 1; i >= this.index; i--) { + result = (result << 8) + this.byteAt(i); + } + this.index += size; + return result; + }, + /** + * Get the next string with a given byte size. + * @param {number} size the number of bytes to read. + * @return {string} the corresponding string. + */ + readString: function(size) { + return utils.transformTo("string", this.readData(size)); + }, + /** + * Get raw data without conversion, bytes. + * @param {number} size the number of bytes to read. + * @return {Object} the raw data, implementation specific. + */ + readData: function(size) { + // see implementations + }, + /** + * Find the last occurence of a zip signature (4 bytes). + * @param {string} sig the signature to find. + * @return {number} the index of the last occurence, -1 if not found. + */ + lastIndexOfSignature: function(sig) { + // see implementations + }, + /** + * Read the signature (4 bytes) at the current position and compare it with sig. + * @param {string} sig the expected signature + * @return {boolean} true if the signature matches, false otherwise. + */ + readAndCheckSignature: function(sig) { + // see implementations + }, + /** + * Get the next date. + * @return {Date} the date. + */ + readDate: function() { + var dostime = this.readInt(4); + return new Date(Date.UTC( + ((dostime >> 25) & 0x7f) + 1980, // year + ((dostime >> 21) & 0x0f) - 1, // month + (dostime >> 16) & 0x1f, // day + (dostime >> 11) & 0x1f, // hour + (dostime >> 5) & 0x3f, // minute + (dostime & 0x1f) << 1)); // second + } +}; +module.exports = DataReader; + +},{"../utils":32}],19:[function(require,module,exports){ +'use strict'; +var Uint8ArrayReader = require('./Uint8ArrayReader'); +var utils = require('../utils'); + +function NodeBufferReader(data) { + Uint8ArrayReader.call(this, data); +} +utils.inherits(NodeBufferReader, Uint8ArrayReader); + +/** + * @see DataReader.readData + */ +NodeBufferReader.prototype.readData = function(size) { + this.checkOffset(size); + var result = this.data.slice(this.zero + this.index, this.zero + this.index + size); + this.index += size; + return result; +}; +module.exports = NodeBufferReader; + +},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(require,module,exports){ +'use strict'; +var DataReader = require('./DataReader'); +var utils = require('../utils'); + +function StringReader(data) { + DataReader.call(this, data); +} +utils.inherits(StringReader, DataReader); +/** + * @see DataReader.byteAt + */ +StringReader.prototype.byteAt = function(i) { + return this.data.charCodeAt(this.zero + i); +}; +/** + * @see DataReader.lastIndexOfSignature + */ +StringReader.prototype.lastIndexOfSignature = function(sig) { + return this.data.lastIndexOf(sig) - this.zero; +}; +/** + * @see DataReader.readAndCheckSignature + */ +StringReader.prototype.readAndCheckSignature = function (sig) { + var data = this.readData(4); + return sig === data; +}; +/** + * @see DataReader.readData + */ +StringReader.prototype.readData = function(size) { + this.checkOffset(size); + // this will work because the constructor applied the "& 0xff" mask. + var result = this.data.slice(this.zero + this.index, this.zero + this.index + size); + this.index += size; + return result; +}; +module.exports = StringReader; + +},{"../utils":32,"./DataReader":18}],21:[function(require,module,exports){ +'use strict'; +var ArrayReader = require('./ArrayReader'); +var utils = require('../utils'); + +function Uint8ArrayReader(data) { + ArrayReader.call(this, data); +} +utils.inherits(Uint8ArrayReader, ArrayReader); +/** + * @see DataReader.readData + */ +Uint8ArrayReader.prototype.readData = function(size) { + this.checkOffset(size); + if(size === 0) { + // in IE10, when using subarray(idx, idx), we get the array [0x00] instead of []. + return new Uint8Array(0); + } + var result = this.data.subarray(this.zero + this.index, this.zero + this.index + size); + this.index += size; + return result; +}; +module.exports = Uint8ArrayReader; + +},{"../utils":32,"./ArrayReader":17}],22:[function(require,module,exports){ +'use strict'; + +var utils = require('../utils'); +var support = require('../support'); +var ArrayReader = require('./ArrayReader'); +var StringReader = require('./StringReader'); +var NodeBufferReader = require('./NodeBufferReader'); +var Uint8ArrayReader = require('./Uint8ArrayReader'); + +/** + * Create a reader adapted to the data. + * @param {String|ArrayBuffer|Uint8Array|Buffer} data the data to read. + * @return {DataReader} the data reader. + */ +module.exports = function (data) { + var type = utils.getTypeOf(data); + utils.checkSupport(type); + if (type === "string" && !support.uint8array) { + return new StringReader(data); + } + if (type === "nodebuffer") { + return new NodeBufferReader(data); + } + if (support.uint8array) { + return new Uint8ArrayReader(utils.transformTo("uint8array", data)); + } + return new ArrayReader(utils.transformTo("array", data)); +}; + +},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(require,module,exports){ +'use strict'; +exports.LOCAL_FILE_HEADER = "PK\x03\x04"; +exports.CENTRAL_FILE_HEADER = "PK\x01\x02"; +exports.CENTRAL_DIRECTORY_END = "PK\x05\x06"; +exports.ZIP64_CENTRAL_DIRECTORY_LOCATOR = "PK\x06\x07"; +exports.ZIP64_CENTRAL_DIRECTORY_END = "PK\x06\x06"; +exports.DATA_DESCRIPTOR = "PK\x07\x08"; + +},{}],24:[function(require,module,exports){ +'use strict'; + +var GenericWorker = require('./GenericWorker'); +var utils = require('../utils'); + +/** + * A worker which convert chunks to a specified type. + * @constructor + * @param {String} destType the destination type. + */ +function ConvertWorker(destType) { + GenericWorker.call(this, "ConvertWorker to " + destType); + this.destType = destType; +} +utils.inherits(ConvertWorker, GenericWorker); + +/** + * @see GenericWorker.processChunk + */ +ConvertWorker.prototype.processChunk = function (chunk) { + this.push({ + data : utils.transformTo(this.destType, chunk.data), + meta : chunk.meta + }); +}; +module.exports = ConvertWorker; + +},{"../utils":32,"./GenericWorker":28}],25:[function(require,module,exports){ +'use strict'; + +var GenericWorker = require('./GenericWorker'); +var crc32 = require('../crc32'); +var utils = require('../utils'); + +/** + * A worker which calculate the crc32 of the data flowing through. + * @constructor + */ +function Crc32Probe() { + GenericWorker.call(this, "Crc32Probe"); + this.withStreamInfo("crc32", 0); +} +utils.inherits(Crc32Probe, GenericWorker); + +/** + * @see GenericWorker.processChunk + */ +Crc32Probe.prototype.processChunk = function (chunk) { + this.streamInfo.crc32 = crc32(chunk.data, this.streamInfo.crc32 || 0); + this.push(chunk); +}; +module.exports = Crc32Probe; + +},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(require,module,exports){ +'use strict'; + +var utils = require('../utils'); +var GenericWorker = require('./GenericWorker'); + +/** + * A worker which calculate the total length of the data flowing through. + * @constructor + * @param {String} propName the name used to expose the length + */ +function DataLengthProbe(propName) { + GenericWorker.call(this, "DataLengthProbe for " + propName); + this.propName = propName; + this.withStreamInfo(propName, 0); +} +utils.inherits(DataLengthProbe, GenericWorker); + +/** + * @see GenericWorker.processChunk + */ +DataLengthProbe.prototype.processChunk = function (chunk) { + if(chunk) { + var length = this.streamInfo[this.propName] || 0; + this.streamInfo[this.propName] = length + chunk.data.length; + } + GenericWorker.prototype.processChunk.call(this, chunk); +}; +module.exports = DataLengthProbe; + + +},{"../utils":32,"./GenericWorker":28}],27:[function(require,module,exports){ +'use strict'; + +var utils = require('../utils'); +var GenericWorker = require('./GenericWorker'); + +// the size of the generated chunks +// TODO expose this as a public variable +var DEFAULT_BLOCK_SIZE = 16 * 1024; + +/** + * A worker that reads a content and emits chunks. + * @constructor + * @param {Promise} dataP the promise of the data to split + */ +function DataWorker(dataP) { + GenericWorker.call(this, "DataWorker"); + var self = this; + this.dataIsReady = false; + this.index = 0; + this.max = 0; + this.data = null; + this.type = ""; + + this._tickScheduled = false; + + dataP.then(function (data) { + self.dataIsReady = true; + self.data = data; + self.max = data && data.length || 0; + self.type = utils.getTypeOf(data); + if(!self.isPaused) { + self._tickAndRepeat(); + } + }, function (e) { + self.error(e); + }); +} + +utils.inherits(DataWorker, GenericWorker); + +/** + * @see GenericWorker.cleanUp + */ +DataWorker.prototype.cleanUp = function () { + GenericWorker.prototype.cleanUp.call(this); + this.data = null; +}; + +/** + * @see GenericWorker.resume + */ +DataWorker.prototype.resume = function () { + if(!GenericWorker.prototype.resume.call(this)) { + return false; + } + + if (!this._tickScheduled && this.dataIsReady) { + this._tickScheduled = true; + utils.delay(this._tickAndRepeat, [], this); + } + return true; +}; + +/** + * Trigger a tick a schedule an other call to this function. + */ +DataWorker.prototype._tickAndRepeat = function() { + this._tickScheduled = false; + if(this.isPaused || this.isFinished) { + return; + } + this._tick(); + if(!this.isFinished) { + utils.delay(this._tickAndRepeat, [], this); + this._tickScheduled = true; + } +}; + +/** + * Read and push a chunk. + */ +DataWorker.prototype._tick = function() { + + if(this.isPaused || this.isFinished) { + return false; + } + + var size = DEFAULT_BLOCK_SIZE; + var data = null, nextIndex = Math.min(this.max, this.index + size); + if (this.index >= this.max) { + // EOF + return this.end(); + } else { + switch(this.type) { + case "string": + data = this.data.substring(this.index, nextIndex); + break; + case "uint8array": + data = this.data.subarray(this.index, nextIndex); + break; + case "array": + case "nodebuffer": + data = this.data.slice(this.index, nextIndex); + break; + } + this.index = nextIndex; + return this.push({ + data : data, + meta : { + percent : this.max ? this.index / this.max * 100 : 0 + } + }); + } +}; + +module.exports = DataWorker; + +},{"../utils":32,"./GenericWorker":28}],28:[function(require,module,exports){ +'use strict'; + +/** + * A worker that does nothing but passing chunks to the next one. This is like + * a nodejs stream but with some differences. On the good side : + * - it works on IE 6-9 without any issue / polyfill + * - it weights less than the full dependencies bundled with browserify + * - it forwards errors (no need to declare an error handler EVERYWHERE) + * + * A chunk is an object with 2 attributes : `meta` and `data`. The former is an + * object containing anything (`percent` for example), see each worker for more + * details. The latter is the real data (String, Uint8Array, etc). + * + * @constructor + * @param {String} name the name of the stream (mainly used for debugging purposes) + */ +function GenericWorker(name) { + // the name of the worker + this.name = name || "default"; + // an object containing metadata about the workers chain + this.streamInfo = {}; + // an error which happened when the worker was paused + this.generatedError = null; + // an object containing metadata to be merged by this worker into the general metadata + this.extraStreamInfo = {}; + // true if the stream is paused (and should not do anything), false otherwise + this.isPaused = true; + // true if the stream is finished (and should not do anything), false otherwise + this.isFinished = false; + // true if the stream is locked to prevent further structure updates (pipe), false otherwise + this.isLocked = false; + // the event listeners + this._listeners = { + 'data':[], + 'end':[], + 'error':[] + }; + // the previous worker, if any + this.previous = null; +} + +GenericWorker.prototype = { + /** + * Push a chunk to the next workers. + * @param {Object} chunk the chunk to push + */ + push : function (chunk) { + this.emit("data", chunk); + }, + /** + * End the stream. + * @return {Boolean} true if this call ended the worker, false otherwise. + */ + end : function () { + if (this.isFinished) { + return false; + } + + this.flush(); + try { + this.emit("end"); + this.cleanUp(); + this.isFinished = true; + } catch (e) { + this.emit("error", e); + } + return true; + }, + /** + * End the stream with an error. + * @param {Error} e the error which caused the premature end. + * @return {Boolean} true if this call ended the worker with an error, false otherwise. + */ + error : function (e) { + if (this.isFinished) { + return false; + } + + if(this.isPaused) { + this.generatedError = e; + } else { + this.isFinished = true; + + this.emit("error", e); + + // in the workers chain exploded in the middle of the chain, + // the error event will go downward but we also need to notify + // workers upward that there has been an error. + if(this.previous) { + this.previous.error(e); + } + + this.cleanUp(); + } + return true; + }, + /** + * Add a callback on an event. + * @param {String} name the name of the event (data, end, error) + * @param {Function} listener the function to call when the event is triggered + * @return {GenericWorker} the current object for chainability + */ + on : function (name, listener) { + this._listeners[name].push(listener); + return this; + }, + /** + * Clean any references when a worker is ending. + */ + cleanUp : function () { + this.streamInfo = this.generatedError = this.extraStreamInfo = null; + this._listeners = []; + }, + /** + * Trigger an event. This will call registered callback with the provided arg. + * @param {String} name the name of the event (data, end, error) + * @param {Object} arg the argument to call the callback with. + */ + emit : function (name, arg) { + if (this._listeners[name]) { + for(var i = 0; i < this._listeners[name].length; i++) { + this._listeners[name][i].call(this, arg); + } + } + }, + /** + * Chain a worker with an other. + * @param {Worker} next the worker receiving events from the current one. + * @return {worker} the next worker for chainability + */ + pipe : function (next) { + return next.registerPrevious(this); + }, + /** + * Same as `pipe` in the other direction. + * Using an API with `pipe(next)` is very easy. + * Implementing the API with the point of view of the next one registering + * a source is easier, see the ZipFileWorker. + * @param {Worker} previous the previous worker, sending events to this one + * @return {Worker} the current worker for chainability + */ + registerPrevious : function (previous) { + if (this.isLocked) { + throw new Error("The stream '" + this + "' has already been used."); + } + + // sharing the streamInfo... + this.streamInfo = previous.streamInfo; + // ... and adding our own bits + this.mergeStreamInfo(); + this.previous = previous; + var self = this; + previous.on('data', function (chunk) { + self.processChunk(chunk); + }); + previous.on('end', function () { + self.end(); + }); + previous.on('error', function (e) { + self.error(e); + }); + return this; + }, + /** + * Pause the stream so it doesn't send events anymore. + * @return {Boolean} true if this call paused the worker, false otherwise. + */ + pause : function () { + if(this.isPaused || this.isFinished) { + return false; + } + this.isPaused = true; + + if(this.previous) { + this.previous.pause(); + } + return true; + }, + /** + * Resume a paused stream. + * @return {Boolean} true if this call resumed the worker, false otherwise. + */ + resume : function () { + if(!this.isPaused || this.isFinished) { + return false; + } + this.isPaused = false; + + // if true, the worker tried to resume but failed + var withError = false; + if(this.generatedError) { + this.error(this.generatedError); + withError = true; + } + if(this.previous) { + this.previous.resume(); + } + + return !withError; + }, + /** + * Flush any remaining bytes as the stream is ending. + */ + flush : function () {}, + /** + * Process a chunk. This is usually the method overridden. + * @param {Object} chunk the chunk to process. + */ + processChunk : function(chunk) { + this.push(chunk); + }, + /** + * Add a key/value to be added in the workers chain streamInfo once activated. + * @param {String} key the key to use + * @param {Object} value the associated value + * @return {Worker} the current worker for chainability + */ + withStreamInfo : function (key, value) { + this.extraStreamInfo[key] = value; + this.mergeStreamInfo(); + return this; + }, + /** + * Merge this worker's streamInfo into the chain's streamInfo. + */ + mergeStreamInfo : function () { + for(var key in this.extraStreamInfo) { + if (!this.extraStreamInfo.hasOwnProperty(key)) { + continue; + } + this.streamInfo[key] = this.extraStreamInfo[key]; + } + }, + + /** + * Lock the stream to prevent further updates on the workers chain. + * After calling this method, all calls to pipe will fail. + */ + lock: function () { + if (this.isLocked) { + throw new Error("The stream '" + this + "' has already been used."); + } + this.isLocked = true; + if (this.previous) { + this.previous.lock(); + } + }, + + /** + * + * Pretty print the workers chain. + */ + toString : function () { + var me = "Worker " + this.name; + if (this.previous) { + return this.previous + " -> " + me; + } else { + return me; + } + } +}; + +module.exports = GenericWorker; + +},{}],29:[function(require,module,exports){ +'use strict'; + +var utils = require('../utils'); +var ConvertWorker = require('./ConvertWorker'); +var GenericWorker = require('./GenericWorker'); +var base64 = require('../base64'); +var support = require("../support"); +var external = require("../external"); + +var NodejsStreamOutputAdapter = null; +if (support.nodestream) { + try { + NodejsStreamOutputAdapter = require('../nodejs/NodejsStreamOutputAdapter'); + } catch(e) {} +} + +/** + * Apply the final transformation of the data. If the user wants a Blob for + * example, it's easier to work with an U8intArray and finally do the + * ArrayBuffer/Blob conversion. + * @param {String} type the name of the final type + * @param {String|Uint8Array|Buffer} content the content to transform + * @param {String} mimeType the mime type of the content, if applicable. + * @return {String|Uint8Array|ArrayBuffer|Buffer|Blob} the content in the right format. + */ +function transformZipOutput(type, content, mimeType) { + switch(type) { + case "blob" : + return utils.newBlob(utils.transformTo("arraybuffer", content), mimeType); + case "base64" : + return base64.encode(content); + default : + return utils.transformTo(type, content); + } +} + +/** + * Concatenate an array of data of the given type. + * @param {String} type the type of the data in the given array. + * @param {Array} dataArray the array containing the data chunks to concatenate + * @return {String|Uint8Array|Buffer} the concatenated data + * @throws Error if the asked type is unsupported + */ +function concat (type, dataArray) { + var i, index = 0, res = null, totalLength = 0; + for(i = 0; i < dataArray.length; i++) { + totalLength += dataArray[i].length; + } + switch(type) { + case "string": + return dataArray.join(""); + case "array": + return Array.prototype.concat.apply([], dataArray); + case "uint8array": + res = new Uint8Array(totalLength); + for(i = 0; i < dataArray.length; i++) { + res.set(dataArray[i], index); + index += dataArray[i].length; + } + return res; + case "nodebuffer": + return Buffer.concat(dataArray); + default: + throw new Error("concat : unsupported type '" + type + "'"); + } +} + +/** + * Listen a StreamHelper, accumulate its content and concatenate it into a + * complete block. + * @param {StreamHelper} helper the helper to use. + * @param {Function} updateCallback a callback called on each update. Called + * with one arg : + * - the metadata linked to the update received. + * @return Promise the promise for the accumulation. + */ +function accumulate(helper, updateCallback) { + return new external.Promise(function (resolve, reject){ + var dataArray = []; + var chunkType = helper._internalType, + resultType = helper._outputType, + mimeType = helper._mimeType; + helper + .on('data', function (data, meta) { + dataArray.push(data); + if(updateCallback) { + updateCallback(meta); + } + }) + .on('error', function(err) { + dataArray = []; + reject(err); + }) + .on('end', function (){ + try { + var result = transformZipOutput(resultType, concat(chunkType, dataArray), mimeType); + resolve(result); + } catch (e) { + reject(e); + } + dataArray = []; + }) + .resume(); + }); +} + +/** + * An helper to easily use workers outside of JSZip. + * @constructor + * @param {Worker} worker the worker to wrap + * @param {String} outputType the type of data expected by the use + * @param {String} mimeType the mime type of the content, if applicable. + */ +function StreamHelper(worker, outputType, mimeType) { + var internalType = outputType; + switch(outputType) { + case "blob": + case "arraybuffer": + internalType = "uint8array"; + break; + case "base64": + internalType = "string"; + break; + } + + try { + // the type used internally + this._internalType = internalType; + // the type used to output results + this._outputType = outputType; + // the mime type + this._mimeType = mimeType; + utils.checkSupport(internalType); + this._worker = worker.pipe(new ConvertWorker(internalType)); + // the last workers can be rewired without issues but we need to + // prevent any updates on previous workers. + worker.lock(); + } catch(e) { + this._worker = new GenericWorker("error"); + this._worker.error(e); + } +} + +StreamHelper.prototype = { + /** + * Listen a StreamHelper, accumulate its content and concatenate it into a + * complete block. + * @param {Function} updateCb the update callback. + * @return Promise the promise for the accumulation. + */ + accumulate : function (updateCb) { + return accumulate(this, updateCb); + }, + /** + * Add a listener on an event triggered on a stream. + * @param {String} evt the name of the event + * @param {Function} fn the listener + * @return {StreamHelper} the current helper. + */ + on : function (evt, fn) { + var self = this; + + if(evt === "data") { + this._worker.on(evt, function (chunk) { + fn.call(self, chunk.data, chunk.meta); + }); + } else { + this._worker.on(evt, function () { + utils.delay(fn, arguments, self); + }); + } + return this; + }, + /** + * Resume the flow of chunks. + * @return {StreamHelper} the current helper. + */ + resume : function () { + utils.delay(this._worker.resume, [], this._worker); + return this; + }, + /** + * Pause the flow of chunks. + * @return {StreamHelper} the current helper. + */ + pause : function () { + this._worker.pause(); + return this; + }, + /** + * Return a nodejs stream for this helper. + * @param {Function} updateCb the update callback. + * @return {NodejsStreamOutputAdapter} the nodejs stream. + */ + toNodejsStream : function (updateCb) { + utils.checkSupport("nodestream"); + if (this._outputType !== "nodebuffer") { + // an object stream containing blob/arraybuffer/uint8array/string + // is strange and I don't know if it would be useful. + // I you find this comment and have a good usecase, please open a + // bug report ! + throw new Error(this._outputType + " is not supported by this method"); + } + + return new NodejsStreamOutputAdapter(this, { + objectMode : this._outputType !== "nodebuffer" + }, updateCb); + } +}; + + +module.exports = StreamHelper; + +},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(require,module,exports){ +'use strict'; + +exports.base64 = true; +exports.array = true; +exports.string = true; +exports.arraybuffer = typeof ArrayBuffer !== "undefined" && typeof Uint8Array !== "undefined"; +exports.nodebuffer = typeof Buffer !== "undefined"; +// contains true if JSZip can read/generate Uint8Array, false otherwise. +exports.uint8array = typeof Uint8Array !== "undefined"; + +if (typeof ArrayBuffer === "undefined") { + exports.blob = false; +} +else { + var buffer = new ArrayBuffer(0); + try { + exports.blob = new Blob([buffer], { + type: "application/zip" + }).size === 0; + } + catch (e) { + try { + var Builder = self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder; + var builder = new Builder(); + builder.append(buffer); + exports.blob = builder.getBlob('application/zip').size === 0; + } + catch (e) { + exports.blob = false; + } + } +} + +try { + exports.nodestream = !!require('readable-stream').Readable; +} catch(e) { + exports.nodestream = false; +} + +},{"readable-stream":16}],31:[function(require,module,exports){ +'use strict'; + +var utils = require('./utils'); +var support = require('./support'); +var nodejsUtils = require('./nodejsUtils'); +var GenericWorker = require('./stream/GenericWorker'); + +/** + * The following functions come from pako, from pako/lib/utils/strings + * released under the MIT license, see pako https://github.com/nodeca/pako/ + */ + +// Table with utf8 lengths (calculated by first byte of sequence) +// Note, that 5 & 6-byte values and some 4-byte values can not be represented in JS, +// because max possible codepoint is 0x10ffff +var _utf8len = new Array(256); +for (var i=0; i<256; i++) { + _utf8len[i] = (i >= 252 ? 6 : i >= 248 ? 5 : i >= 240 ? 4 : i >= 224 ? 3 : i >= 192 ? 2 : 1); +} +_utf8len[254]=_utf8len[254]=1; // Invalid sequence start + +// convert string to array (typed, when possible) +var string2buf = function (str) { + var buf, c, c2, m_pos, i, str_len = str.length, buf_len = 0; + + // count binary size + for (m_pos = 0; m_pos < str_len; m_pos++) { + c = str.charCodeAt(m_pos); + if ((c & 0xfc00) === 0xd800 && (m_pos+1 < str_len)) { + c2 = str.charCodeAt(m_pos+1); + if ((c2 & 0xfc00) === 0xdc00) { + c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00); + m_pos++; + } + } + buf_len += c < 0x80 ? 1 : c < 0x800 ? 2 : c < 0x10000 ? 3 : 4; + } + + // allocate buffer + if (support.uint8array) { + buf = new Uint8Array(buf_len); + } else { + buf = new Array(buf_len); + } + + // convert + for (i=0, m_pos = 0; i < buf_len; m_pos++) { + c = str.charCodeAt(m_pos); + if ((c & 0xfc00) === 0xd800 && (m_pos+1 < str_len)) { + c2 = str.charCodeAt(m_pos+1); + if ((c2 & 0xfc00) === 0xdc00) { + c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00); + m_pos++; + } + } + if (c < 0x80) { + /* one byte */ + buf[i++] = c; + } else if (c < 0x800) { + /* two bytes */ + buf[i++] = 0xC0 | (c >>> 6); + buf[i++] = 0x80 | (c & 0x3f); + } else if (c < 0x10000) { + /* three bytes */ + buf[i++] = 0xE0 | (c >>> 12); + buf[i++] = 0x80 | (c >>> 6 & 0x3f); + buf[i++] = 0x80 | (c & 0x3f); + } else { + /* four bytes */ + buf[i++] = 0xf0 | (c >>> 18); + buf[i++] = 0x80 | (c >>> 12 & 0x3f); + buf[i++] = 0x80 | (c >>> 6 & 0x3f); + buf[i++] = 0x80 | (c & 0x3f); + } + } + + return buf; +}; + +// Calculate max possible position in utf8 buffer, +// that will not break sequence. If that's not possible +// - (very small limits) return max size as is. +// +// buf[] - utf8 bytes array +// max - length limit (mandatory); +var utf8border = function(buf, max) { + var pos; + + max = max || buf.length; + if (max > buf.length) { max = buf.length; } + + // go back from last position, until start of sequence found + pos = max-1; + while (pos >= 0 && (buf[pos] & 0xC0) === 0x80) { pos--; } + + // Fuckup - very small and broken sequence, + // return max, because we should return something anyway. + if (pos < 0) { return max; } + + // If we came to start of buffer - that means vuffer is too small, + // return max too. + if (pos === 0) { return max; } + + return (pos + _utf8len[buf[pos]] > max) ? pos : max; +}; + +// convert array to string +var buf2string = function (buf) { + var str, i, out, c, c_len; + var len = buf.length; + + // Reserve max possible length (2 words per char) + // NB: by unknown reasons, Array is significantly faster for + // String.fromCharCode.apply than Uint16Array. + var utf16buf = new Array(len*2); + + for (out=0, i=0; i 4) { utf16buf[out++] = 0xfffd; i += c_len-1; continue; } + + // apply mask on first byte + c &= c_len === 2 ? 0x1f : c_len === 3 ? 0x0f : 0x07; + // join the rest + while (c_len > 1 && i < len) { + c = (c << 6) | (buf[i++] & 0x3f); + c_len--; + } + + // terminated by end of string? + if (c_len > 1) { utf16buf[out++] = 0xfffd; continue; } + + if (c < 0x10000) { + utf16buf[out++] = c; + } else { + c -= 0x10000; + utf16buf[out++] = 0xd800 | ((c >> 10) & 0x3ff); + utf16buf[out++] = 0xdc00 | (c & 0x3ff); + } + } + + // shrinkBuf(utf16buf, out) + if (utf16buf.length !== out) { + if(utf16buf.subarray) { + utf16buf = utf16buf.subarray(0, out); + } else { + utf16buf.length = out; + } + } + + // return String.fromCharCode.apply(null, utf16buf); + return utils.applyFromCharCode(utf16buf); +}; + + +// That's all for the pako functions. + + +/** + * Transform a javascript string into an array (typed if possible) of bytes, + * UTF-8 encoded. + * @param {String} str the string to encode + * @return {Array|Uint8Array|Buffer} the UTF-8 encoded string. + */ +exports.utf8encode = function utf8encode(str) { + if (support.nodebuffer) { + return nodejsUtils.newBufferFrom(str, "utf-8"); + } + + return string2buf(str); +}; + + +/** + * Transform a bytes array (or a representation) representing an UTF-8 encoded + * string into a javascript string. + * @param {Array|Uint8Array|Buffer} buf the data de decode + * @return {String} the decoded string. + */ +exports.utf8decode = function utf8decode(buf) { + if (support.nodebuffer) { + return utils.transformTo("nodebuffer", buf).toString("utf-8"); + } + + buf = utils.transformTo(support.uint8array ? "uint8array" : "array", buf); + + return buf2string(buf); +}; + +/** + * A worker to decode utf8 encoded binary chunks into string chunks. + * @constructor + */ +function Utf8DecodeWorker() { + GenericWorker.call(this, "utf-8 decode"); + // the last bytes if a chunk didn't end with a complete codepoint. + this.leftOver = null; +} +utils.inherits(Utf8DecodeWorker, GenericWorker); + +/** + * @see GenericWorker.processChunk + */ +Utf8DecodeWorker.prototype.processChunk = function (chunk) { + + var data = utils.transformTo(support.uint8array ? "uint8array" : "array", chunk.data); + + // 1st step, re-use what's left of the previous chunk + if (this.leftOver && this.leftOver.length) { + if(support.uint8array) { + var previousData = data; + data = new Uint8Array(previousData.length + this.leftOver.length); + data.set(this.leftOver, 0); + data.set(previousData, this.leftOver.length); + } else { + data = this.leftOver.concat(data); + } + this.leftOver = null; + } + + var nextBoundary = utf8border(data); + var usableData = data; + if (nextBoundary !== data.length) { + if (support.uint8array) { + usableData = data.subarray(0, nextBoundary); + this.leftOver = data.subarray(nextBoundary, data.length); + } else { + usableData = data.slice(0, nextBoundary); + this.leftOver = data.slice(nextBoundary, data.length); + } + } + + this.push({ + data : exports.utf8decode(usableData), + meta : chunk.meta + }); +}; + +/** + * @see GenericWorker.flush + */ +Utf8DecodeWorker.prototype.flush = function () { + if(this.leftOver && this.leftOver.length) { + this.push({ + data : exports.utf8decode(this.leftOver), + meta : {} + }); + this.leftOver = null; + } +}; +exports.Utf8DecodeWorker = Utf8DecodeWorker; + +/** + * A worker to endcode string chunks into utf8 encoded binary chunks. + * @constructor + */ +function Utf8EncodeWorker() { + GenericWorker.call(this, "utf-8 encode"); +} +utils.inherits(Utf8EncodeWorker, GenericWorker); + +/** + * @see GenericWorker.processChunk + */ +Utf8EncodeWorker.prototype.processChunk = function (chunk) { + this.push({ + data : exports.utf8encode(chunk.data), + meta : chunk.meta + }); +}; +exports.Utf8EncodeWorker = Utf8EncodeWorker; + +},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(require,module,exports){ +'use strict'; + +var support = require('./support'); +var base64 = require('./base64'); +var nodejsUtils = require('./nodejsUtils'); +var setImmediate = require('set-immediate-shim'); +var external = require("./external"); + + +/** + * Convert a string that pass as a "binary string": it should represent a byte + * array but may have > 255 char codes. Be sure to take only the first byte + * and returns the byte array. + * @param {String} str the string to transform. + * @return {Array|Uint8Array} the string in a binary format. + */ +function string2binary(str) { + var result = null; + if (support.uint8array) { + result = new Uint8Array(str.length); + } else { + result = new Array(str.length); + } + return stringToArrayLike(str, result); +} + +/** + * Create a new blob with the given content and the given type. + * @param {String|ArrayBuffer} part the content to put in the blob. DO NOT use + * an Uint8Array because the stock browser of android 4 won't accept it (it + * will be silently converted to a string, "[object Uint8Array]"). + * + * Use only ONE part to build the blob to avoid a memory leak in IE11 / Edge: + * when a large amount of Array is used to create the Blob, the amount of + * memory consumed is nearly 100 times the original data amount. + * + * @param {String} type the mime type of the blob. + * @return {Blob} the created blob. + */ +exports.newBlob = function(part, type) { + exports.checkSupport("blob"); + + try { + // Blob constructor + return new Blob([part], { + type: type + }); + } + catch (e) { + + try { + // deprecated, browser only, old way + var Builder = self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder; + var builder = new Builder(); + builder.append(part); + return builder.getBlob(type); + } + catch (e) { + + // well, fuck ?! + throw new Error("Bug : can't construct the Blob."); + } + } + + +}; +/** + * The identity function. + * @param {Object} input the input. + * @return {Object} the same input. + */ +function identity(input) { + return input; +} + +/** + * Fill in an array with a string. + * @param {String} str the string to use. + * @param {Array|ArrayBuffer|Uint8Array|Buffer} array the array to fill in (will be mutated). + * @return {Array|ArrayBuffer|Uint8Array|Buffer} the updated array. + */ +function stringToArrayLike(str, array) { + for (var i = 0; i < str.length; ++i) { + array[i] = str.charCodeAt(i) & 0xFF; + } + return array; +} + +/** + * An helper for the function arrayLikeToString. + * This contains static informations and functions that + * can be optimized by the browser JIT compiler. + */ +var arrayToStringHelper = { + /** + * Transform an array of int into a string, chunk by chunk. + * See the performances notes on arrayLikeToString. + * @param {Array|ArrayBuffer|Uint8Array|Buffer} array the array to transform. + * @param {String} type the type of the array. + * @param {Integer} chunk the chunk size. + * @return {String} the resulting string. + * @throws Error if the chunk is too big for the stack. + */ + stringifyByChunk: function(array, type, chunk) { + var result = [], k = 0, len = array.length; + // shortcut + if (len <= chunk) { + return String.fromCharCode.apply(null, array); + } + while (k < len) { + if (type === "array" || type === "nodebuffer") { + result.push(String.fromCharCode.apply(null, array.slice(k, Math.min(k + chunk, len)))); + } + else { + result.push(String.fromCharCode.apply(null, array.subarray(k, Math.min(k + chunk, len)))); + } + k += chunk; + } + return result.join(""); + }, + /** + * Call String.fromCharCode on every item in the array. + * This is the naive implementation, which generate A LOT of intermediate string. + * This should be used when everything else fail. + * @param {Array|ArrayBuffer|Uint8Array|Buffer} array the array to transform. + * @return {String} the result. + */ + stringifyByChar: function(array){ + var resultStr = ""; + for(var i = 0; i < array.length; i++) { + resultStr += String.fromCharCode(array[i]); + } + return resultStr; + }, + applyCanBeUsed : { + /** + * true if the browser accepts to use String.fromCharCode on Uint8Array + */ + uint8array : (function () { + try { + return support.uint8array && String.fromCharCode.apply(null, new Uint8Array(1)).length === 1; + } catch (e) { + return false; + } + })(), + /** + * true if the browser accepts to use String.fromCharCode on nodejs Buffer. + */ + nodebuffer : (function () { + try { + return support.nodebuffer && String.fromCharCode.apply(null, nodejsUtils.allocBuffer(1)).length === 1; + } catch (e) { + return false; + } + })() + } +}; + +/** + * Transform an array-like object to a string. + * @param {Array|ArrayBuffer|Uint8Array|Buffer} array the array to transform. + * @return {String} the result. + */ +function arrayLikeToString(array) { + // Performances notes : + // -------------------- + // String.fromCharCode.apply(null, array) is the fastest, see + // see http://jsperf.com/converting-a-uint8array-to-a-string/2 + // but the stack is limited (and we can get huge arrays !). + // + // result += String.fromCharCode(array[i]); generate too many strings ! + // + // This code is inspired by http://jsperf.com/arraybuffer-to-string-apply-performance/2 + // TODO : we now have workers that split the work. Do we still need that ? + var chunk = 65536, + type = exports.getTypeOf(array), + canUseApply = true; + if (type === "uint8array") { + canUseApply = arrayToStringHelper.applyCanBeUsed.uint8array; + } else if (type === "nodebuffer") { + canUseApply = arrayToStringHelper.applyCanBeUsed.nodebuffer; + } + + if (canUseApply) { + while (chunk > 1) { + try { + return arrayToStringHelper.stringifyByChunk(array, type, chunk); + } catch (e) { + chunk = Math.floor(chunk / 2); + } + } + } + + // no apply or chunk error : slow and painful algorithm + // default browser on android 4.* + return arrayToStringHelper.stringifyByChar(array); +} + +exports.applyFromCharCode = arrayLikeToString; + + +/** + * Copy the data from an array-like to an other array-like. + * @param {Array|ArrayBuffer|Uint8Array|Buffer} arrayFrom the origin array. + * @param {Array|ArrayBuffer|Uint8Array|Buffer} arrayTo the destination array which will be mutated. + * @return {Array|ArrayBuffer|Uint8Array|Buffer} the updated destination array. + */ +function arrayLikeToArrayLike(arrayFrom, arrayTo) { + for (var i = 0; i < arrayFrom.length; i++) { + arrayTo[i] = arrayFrom[i]; + } + return arrayTo; +} + +// a matrix containing functions to transform everything into everything. +var transform = {}; + +// string to ? +transform["string"] = { + "string": identity, + "array": function(input) { + return stringToArrayLike(input, new Array(input.length)); + }, + "arraybuffer": function(input) { + return transform["string"]["uint8array"](input).buffer; + }, + "uint8array": function(input) { + return stringToArrayLike(input, new Uint8Array(input.length)); + }, + "nodebuffer": function(input) { + return stringToArrayLike(input, nodejsUtils.allocBuffer(input.length)); + } +}; + +// array to ? +transform["array"] = { + "string": arrayLikeToString, + "array": identity, + "arraybuffer": function(input) { + return (new Uint8Array(input)).buffer; + }, + "uint8array": function(input) { + return new Uint8Array(input); + }, + "nodebuffer": function(input) { + return nodejsUtils.newBufferFrom(input); + } +}; + +// arraybuffer to ? +transform["arraybuffer"] = { + "string": function(input) { + return arrayLikeToString(new Uint8Array(input)); + }, + "array": function(input) { + return arrayLikeToArrayLike(new Uint8Array(input), new Array(input.byteLength)); + }, + "arraybuffer": identity, + "uint8array": function(input) { + return new Uint8Array(input); + }, + "nodebuffer": function(input) { + return nodejsUtils.newBufferFrom(new Uint8Array(input)); + } +}; + +// uint8array to ? +transform["uint8array"] = { + "string": arrayLikeToString, + "array": function(input) { + return arrayLikeToArrayLike(input, new Array(input.length)); + }, + "arraybuffer": function(input) { + return input.buffer; + }, + "uint8array": identity, + "nodebuffer": function(input) { + return nodejsUtils.newBufferFrom(input); + } +}; + +// nodebuffer to ? +transform["nodebuffer"] = { + "string": arrayLikeToString, + "array": function(input) { + return arrayLikeToArrayLike(input, new Array(input.length)); + }, + "arraybuffer": function(input) { + return transform["nodebuffer"]["uint8array"](input).buffer; + }, + "uint8array": function(input) { + return arrayLikeToArrayLike(input, new Uint8Array(input.length)); + }, + "nodebuffer": identity +}; + +/** + * Transform an input into any type. + * The supported output type are : string, array, uint8array, arraybuffer, nodebuffer. + * If no output type is specified, the unmodified input will be returned. + * @param {String} outputType the output type. + * @param {String|Array|ArrayBuffer|Uint8Array|Buffer} input the input to convert. + * @throws {Error} an Error if the browser doesn't support the requested output type. + */ +exports.transformTo = function(outputType, input) { + if (!input) { + // undefined, null, etc + // an empty string won't harm. + input = ""; + } + if (!outputType) { + return input; + } + exports.checkSupport(outputType); + var inputType = exports.getTypeOf(input); + var result = transform[inputType][outputType](input); + return result; +}; + +/** + * Return the type of the input. + * The type will be in a format valid for JSZip.utils.transformTo : string, array, uint8array, arraybuffer. + * @param {Object} input the input to identify. + * @return {String} the (lowercase) type of the input. + */ +exports.getTypeOf = function(input) { + if (typeof input === "string") { + return "string"; + } + if (Object.prototype.toString.call(input) === "[object Array]") { + return "array"; + } + if (support.nodebuffer && nodejsUtils.isBuffer(input)) { + return "nodebuffer"; + } + if (support.uint8array && input instanceof Uint8Array) { + return "uint8array"; + } + if (support.arraybuffer && input instanceof ArrayBuffer) { + return "arraybuffer"; + } +}; + +/** + * Throw an exception if the type is not supported. + * @param {String} type the type to check. + * @throws {Error} an Error if the browser doesn't support the requested type. + */ +exports.checkSupport = function(type) { + var supported = support[type.toLowerCase()]; + if (!supported) { + throw new Error(type + " is not supported by this platform"); + } +}; + +exports.MAX_VALUE_16BITS = 65535; +exports.MAX_VALUE_32BITS = -1; // well, "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF" is parsed as -1 + +/** + * Prettify a string read as binary. + * @param {string} str the string to prettify. + * @return {string} a pretty string. + */ +exports.pretty = function(str) { + var res = '', + code, i; + for (i = 0; i < (str || "").length; i++) { + code = str.charCodeAt(i); + res += '\\x' + (code < 16 ? "0" : "") + code.toString(16).toUpperCase(); + } + return res; +}; + +/** + * Defer the call of a function. + * @param {Function} callback the function to call asynchronously. + * @param {Array} args the arguments to give to the callback. + */ +exports.delay = function(callback, args, self) { + setImmediate(function () { + callback.apply(self || null, args || []); + }); +}; + +/** + * Extends a prototype with an other, without calling a constructor with + * side effects. Inspired by nodejs' `utils.inherits` + * @param {Function} ctor the constructor to augment + * @param {Function} superCtor the parent constructor to use + */ +exports.inherits = function (ctor, superCtor) { + var Obj = function() {}; + Obj.prototype = superCtor.prototype; + ctor.prototype = new Obj(); +}; + +/** + * Merge the objects passed as parameters into a new one. + * @private + * @param {...Object} var_args All objects to merge. + * @return {Object} a new object with the data of the others. + */ +exports.extend = function() { + var result = {}, i, attr; + for (i = 0; i < arguments.length; i++) { // arguments is not enumerable in some browsers + for (attr in arguments[i]) { + if (arguments[i].hasOwnProperty(attr) && typeof result[attr] === "undefined") { + result[attr] = arguments[i][attr]; + } + } + } + return result; +}; + +/** + * Transform arbitrary content into a Promise. + * @param {String} name a name for the content being processed. + * @param {Object} inputData the content to process. + * @param {Boolean} isBinary true if the content is not an unicode string + * @param {Boolean} isOptimizedBinaryString true if the string content only has one byte per character. + * @param {Boolean} isBase64 true if the string content is encoded with base64. + * @return {Promise} a promise in a format usable by JSZip. + */ +exports.prepareContent = function(name, inputData, isBinary, isOptimizedBinaryString, isBase64) { + + // if inputData is already a promise, this flatten it. + var promise = external.Promise.resolve(inputData).then(function(data) { + + + var isBlob = support.blob && (data instanceof Blob || ['[object File]', '[object Blob]'].indexOf(Object.prototype.toString.call(data)) !== -1); + + if (isBlob && typeof FileReader !== "undefined") { + return new external.Promise(function (resolve, reject) { + var reader = new FileReader(); + + reader.onload = function(e) { + resolve(e.target.result); + }; + reader.onerror = function(e) { + reject(e.target.error); + }; + reader.readAsArrayBuffer(data); + }); + } else { + return data; + } + }); + + return promise.then(function(data) { + var dataType = exports.getTypeOf(data); + + if (!dataType) { + return external.Promise.reject( + new Error("Can't read the data of '" + name + "'. Is it " + + "in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?") + ); + } + // special case : it's way easier to work with Uint8Array than with ArrayBuffer + if (dataType === "arraybuffer") { + data = exports.transformTo("uint8array", data); + } else if (dataType === "string") { + if (isBase64) { + data = base64.decode(data); + } + else if (isBinary) { + // optimizedBinaryString === true means that the file has already been filtered with a 0xFF mask + if (isOptimizedBinaryString !== true) { + // this is a string, not in a base64 format. + // Be sure that this is a correct "binary string" + data = string2binary(data); + } + } + } + return data; + }); +}; + +},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,"set-immediate-shim":54}],33:[function(require,module,exports){ +'use strict'; +var readerFor = require('./reader/readerFor'); +var utils = require('./utils'); +var sig = require('./signature'); +var ZipEntry = require('./zipEntry'); +var utf8 = require('./utf8'); +var support = require('./support'); +// class ZipEntries {{{ +/** + * All the entries in the zip file. + * @constructor + * @param {Object} loadOptions Options for loading the stream. + */ +function ZipEntries(loadOptions) { + this.files = []; + this.loadOptions = loadOptions; +} +ZipEntries.prototype = { + /** + * Check that the reader is on the specified signature. + * @param {string} expectedSignature the expected signature. + * @throws {Error} if it is an other signature. + */ + checkSignature: function(expectedSignature) { + if (!this.reader.readAndCheckSignature(expectedSignature)) { + this.reader.index -= 4; + var signature = this.reader.readString(4); + throw new Error("Corrupted zip or bug: unexpected signature " + "(" + utils.pretty(signature) + ", expected " + utils.pretty(expectedSignature) + ")"); + } + }, + /** + * Check if the given signature is at the given index. + * @param {number} askedIndex the index to check. + * @param {string} expectedSignature the signature to expect. + * @return {boolean} true if the signature is here, false otherwise. + */ + isSignature: function(askedIndex, expectedSignature) { + var currentIndex = this.reader.index; + this.reader.setIndex(askedIndex); + var signature = this.reader.readString(4); + var result = signature === expectedSignature; + this.reader.setIndex(currentIndex); + return result; + }, + /** + * Read the end of the central directory. + */ + readBlockEndOfCentral: function() { + this.diskNumber = this.reader.readInt(2); + this.diskWithCentralDirStart = this.reader.readInt(2); + this.centralDirRecordsOnThisDisk = this.reader.readInt(2); + this.centralDirRecords = this.reader.readInt(2); + this.centralDirSize = this.reader.readInt(4); + this.centralDirOffset = this.reader.readInt(4); + + this.zipCommentLength = this.reader.readInt(2); + // warning : the encoding depends of the system locale + // On a linux machine with LANG=en_US.utf8, this field is utf8 encoded. + // On a windows machine, this field is encoded with the localized windows code page. + var zipComment = this.reader.readData(this.zipCommentLength); + var decodeParamType = support.uint8array ? "uint8array" : "array"; + // To get consistent behavior with the generation part, we will assume that + // this is utf8 encoded unless specified otherwise. + var decodeContent = utils.transformTo(decodeParamType, zipComment); + this.zipComment = this.loadOptions.decodeFileName(decodeContent); + }, + /** + * Read the end of the Zip 64 central directory. + * Not merged with the method readEndOfCentral : + * The end of central can coexist with its Zip64 brother, + * I don't want to read the wrong number of bytes ! + */ + readBlockZip64EndOfCentral: function() { + this.zip64EndOfCentralSize = this.reader.readInt(8); + this.reader.skip(4); + // this.versionMadeBy = this.reader.readString(2); + // this.versionNeeded = this.reader.readInt(2); + this.diskNumber = this.reader.readInt(4); + this.diskWithCentralDirStart = this.reader.readInt(4); + this.centralDirRecordsOnThisDisk = this.reader.readInt(8); + this.centralDirRecords = this.reader.readInt(8); + this.centralDirSize = this.reader.readInt(8); + this.centralDirOffset = this.reader.readInt(8); + + this.zip64ExtensibleData = {}; + var extraDataSize = this.zip64EndOfCentralSize - 44, + index = 0, + extraFieldId, + extraFieldLength, + extraFieldValue; + while (index < extraDataSize) { + extraFieldId = this.reader.readInt(2); + extraFieldLength = this.reader.readInt(4); + extraFieldValue = this.reader.readData(extraFieldLength); + this.zip64ExtensibleData[extraFieldId] = { + id: extraFieldId, + length: extraFieldLength, + value: extraFieldValue + }; + } + }, + /** + * Read the end of the Zip 64 central directory locator. + */ + readBlockZip64EndOfCentralLocator: function() { + this.diskWithZip64CentralDirStart = this.reader.readInt(4); + this.relativeOffsetEndOfZip64CentralDir = this.reader.readInt(8); + this.disksCount = this.reader.readInt(4); + if (this.disksCount > 1) { + throw new Error("Multi-volumes zip are not supported"); + } + }, + /** + * Read the local files, based on the offset read in the central part. + */ + readLocalFiles: function() { + var i, file; + for (i = 0; i < this.files.length; i++) { + file = this.files[i]; + this.reader.setIndex(file.localHeaderOffset); + this.checkSignature(sig.LOCAL_FILE_HEADER); + file.readLocalPart(this.reader); + file.handleUTF8(); + file.processAttributes(); + } + }, + /** + * Read the central directory. + */ + readCentralDir: function() { + var file; + + this.reader.setIndex(this.centralDirOffset); + while (this.reader.readAndCheckSignature(sig.CENTRAL_FILE_HEADER)) { + file = new ZipEntry({ + zip64: this.zip64 + }, this.loadOptions); + file.readCentralPart(this.reader); + this.files.push(file); + } + + if (this.centralDirRecords !== this.files.length) { + if (this.centralDirRecords !== 0 && this.files.length === 0) { + // We expected some records but couldn't find ANY. + // This is really suspicious, as if something went wrong. + throw new Error("Corrupted zip or bug: expected " + this.centralDirRecords + " records in central dir, got " + this.files.length); + } else { + // We found some records but not all. + // Something is wrong but we got something for the user: no error here. + // console.warn("expected", this.centralDirRecords, "records in central dir, got", this.files.length); + } + } + }, + /** + * Read the end of central directory. + */ + readEndOfCentral: function() { + var offset = this.reader.lastIndexOfSignature(sig.CENTRAL_DIRECTORY_END); + if (offset < 0) { + // Check if the content is a truncated zip or complete garbage. + // A "LOCAL_FILE_HEADER" is not required at the beginning (auto + // extractible zip for example) but it can give a good hint. + // If an ajax request was used without responseType, we will also + // get unreadable data. + var isGarbage = !this.isSignature(0, sig.LOCAL_FILE_HEADER); + + if (isGarbage) { + throw new Error("Can't find end of central directory : is this a zip file ? " + + "If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html"); + } else { + throw new Error("Corrupted zip: can't find end of central directory"); + } + + } + this.reader.setIndex(offset); + var endOfCentralDirOffset = offset; + this.checkSignature(sig.CENTRAL_DIRECTORY_END); + this.readBlockEndOfCentral(); + + + /* extract from the zip spec : + 4) If one of the fields in the end of central directory + record is too small to hold required data, the field + should be set to -1 (0xFFFF or 0xFFFFFFFF) and the + ZIP64 format record should be created. + 5) The end of central directory record and the + Zip64 end of central directory locator record must + reside on the same disk when splitting or spanning + an archive. + */ + if (this.diskNumber === utils.MAX_VALUE_16BITS || this.diskWithCentralDirStart === utils.MAX_VALUE_16BITS || this.centralDirRecordsOnThisDisk === utils.MAX_VALUE_16BITS || this.centralDirRecords === utils.MAX_VALUE_16BITS || this.centralDirSize === utils.MAX_VALUE_32BITS || this.centralDirOffset === utils.MAX_VALUE_32BITS) { + this.zip64 = true; + + /* + Warning : the zip64 extension is supported, but ONLY if the 64bits integer read from + the zip file can fit into a 32bits integer. This cannot be solved : JavaScript represents + all numbers as 64-bit double precision IEEE 754 floating point numbers. + So, we have 53bits for integers and bitwise operations treat everything as 32bits. + see https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Operators/Bitwise_Operators + and http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf section 8.5 + */ + + // should look for a zip64 EOCD locator + offset = this.reader.lastIndexOfSignature(sig.ZIP64_CENTRAL_DIRECTORY_LOCATOR); + if (offset < 0) { + throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator"); + } + this.reader.setIndex(offset); + this.checkSignature(sig.ZIP64_CENTRAL_DIRECTORY_LOCATOR); + this.readBlockZip64EndOfCentralLocator(); + + // now the zip64 EOCD record + if (!this.isSignature(this.relativeOffsetEndOfZip64CentralDir, sig.ZIP64_CENTRAL_DIRECTORY_END)) { + // console.warn("ZIP64 end of central directory not where expected."); + this.relativeOffsetEndOfZip64CentralDir = this.reader.lastIndexOfSignature(sig.ZIP64_CENTRAL_DIRECTORY_END); + if (this.relativeOffsetEndOfZip64CentralDir < 0) { + throw new Error("Corrupted zip: can't find the ZIP64 end of central directory"); + } + } + this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir); + this.checkSignature(sig.ZIP64_CENTRAL_DIRECTORY_END); + this.readBlockZip64EndOfCentral(); + } + + var expectedEndOfCentralDirOffset = this.centralDirOffset + this.centralDirSize; + if (this.zip64) { + expectedEndOfCentralDirOffset += 20; // end of central dir 64 locator + expectedEndOfCentralDirOffset += 12 /* should not include the leading 12 bytes */ + this.zip64EndOfCentralSize; + } + + var extraBytes = endOfCentralDirOffset - expectedEndOfCentralDirOffset; + + if (extraBytes > 0) { + // console.warn(extraBytes, "extra bytes at beginning or within zipfile"); + if (this.isSignature(endOfCentralDirOffset, sig.CENTRAL_FILE_HEADER)) { + // The offsets seem wrong, but we have something at the specified offset. + // So… we keep it. + } else { + // the offset is wrong, update the "zero" of the reader + // this happens if data has been prepended (crx files for example) + this.reader.zero = extraBytes; + } + } else if (extraBytes < 0) { + throw new Error("Corrupted zip: missing " + Math.abs(extraBytes) + " bytes."); + } + }, + prepareReader: function(data) { + this.reader = readerFor(data); + }, + /** + * Read a zip file and create ZipEntries. + * @param {String|ArrayBuffer|Uint8Array|Buffer} data the binary string representing a zip file. + */ + load: function(data) { + this.prepareReader(data); + this.readEndOfCentral(); + this.readCentralDir(); + this.readLocalFiles(); + } +}; +// }}} end of ZipEntries +module.exports = ZipEntries; + +},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utf8":31,"./utils":32,"./zipEntry":34}],34:[function(require,module,exports){ +'use strict'; +var readerFor = require('./reader/readerFor'); +var utils = require('./utils'); +var CompressedObject = require('./compressedObject'); +var crc32fn = require('./crc32'); +var utf8 = require('./utf8'); +var compressions = require('./compressions'); +var support = require('./support'); + +var MADE_BY_DOS = 0x00; +var MADE_BY_UNIX = 0x03; + +/** + * Find a compression registered in JSZip. + * @param {string} compressionMethod the method magic to find. + * @return {Object|null} the JSZip compression object, null if none found. + */ +var findCompression = function(compressionMethod) { + for (var method in compressions) { + if (!compressions.hasOwnProperty(method)) { + continue; + } + if (compressions[method].magic === compressionMethod) { + return compressions[method]; + } + } + return null; +}; + +// class ZipEntry {{{ +/** + * An entry in the zip file. + * @constructor + * @param {Object} options Options of the current file. + * @param {Object} loadOptions Options for loading the stream. + */ +function ZipEntry(options, loadOptions) { + this.options = options; + this.loadOptions = loadOptions; +} +ZipEntry.prototype = { + /** + * say if the file is encrypted. + * @return {boolean} true if the file is encrypted, false otherwise. + */ + isEncrypted: function() { + // bit 1 is set + return (this.bitFlag & 0x0001) === 0x0001; + }, + /** + * say if the file has utf-8 filename/comment. + * @return {boolean} true if the filename/comment is in utf-8, false otherwise. + */ + useUTF8: function() { + // bit 11 is set + return (this.bitFlag & 0x0800) === 0x0800; + }, + /** + * Read the local part of a zip file and add the info in this object. + * @param {DataReader} reader the reader to use. + */ + readLocalPart: function(reader) { + var compression, localExtraFieldsLength; + + // we already know everything from the central dir ! + // If the central dir data are false, we are doomed. + // On the bright side, the local part is scary : zip64, data descriptors, both, etc. + // The less data we get here, the more reliable this should be. + // Let's skip the whole header and dash to the data ! + reader.skip(22); + // in some zip created on windows, the filename stored in the central dir contains \ instead of /. + // Strangely, the filename here is OK. + // I would love to treat these zip files as corrupted (see http://www.info-zip.org/FAQ.html#backslashes + // or APPNOTE#4.4.17.1, "All slashes MUST be forward slashes '/'") but there are a lot of bad zip generators... + // Search "unzip mismatching "local" filename continuing with "central" filename version" on + // the internet. + // + // I think I see the logic here : the central directory is used to display + // content and the local directory is used to extract the files. Mixing / and \ + // may be used to display \ to windows users and use / when extracting the files. + // Unfortunately, this lead also to some issues : http://seclists.org/fulldisclosure/2009/Sep/394 + this.fileNameLength = reader.readInt(2); + localExtraFieldsLength = reader.readInt(2); // can't be sure this will be the same as the central dir + // the fileName is stored as binary data, the handleUTF8 method will take care of the encoding. + this.fileName = reader.readData(this.fileNameLength); + reader.skip(localExtraFieldsLength); + + if (this.compressedSize === -1 || this.uncompressedSize === -1) { + throw new Error("Bug or corrupted zip : didn't get enough informations from the central directory " + "(compressedSize === -1 || uncompressedSize === -1)"); + } + + compression = findCompression(this.compressionMethod); + if (compression === null) { // no compression found + throw new Error("Corrupted zip : compression " + utils.pretty(this.compressionMethod) + " unknown (inner file : " + utils.transformTo("string", this.fileName) + ")"); + } + this.decompressed = new CompressedObject(this.compressedSize, this.uncompressedSize, this.crc32, compression, reader.readData(this.compressedSize)); + }, + + /** + * Read the central part of a zip file and add the info in this object. + * @param {DataReader} reader the reader to use. + */ + readCentralPart: function(reader) { + this.versionMadeBy = reader.readInt(2); + reader.skip(2); + // this.versionNeeded = reader.readInt(2); + this.bitFlag = reader.readInt(2); + this.compressionMethod = reader.readString(2); + this.date = reader.readDate(); + this.crc32 = reader.readInt(4); + this.compressedSize = reader.readInt(4); + this.uncompressedSize = reader.readInt(4); + var fileNameLength = reader.readInt(2); + this.extraFieldsLength = reader.readInt(2); + this.fileCommentLength = reader.readInt(2); + this.diskNumberStart = reader.readInt(2); + this.internalFileAttributes = reader.readInt(2); + this.externalFileAttributes = reader.readInt(4); + this.localHeaderOffset = reader.readInt(4); + + if (this.isEncrypted()) { + throw new Error("Encrypted zip are not supported"); + } + + // will be read in the local part, see the comments there + reader.skip(fileNameLength); + this.readExtraFields(reader); + this.parseZIP64ExtraField(reader); + this.fileComment = reader.readData(this.fileCommentLength); + }, + + /** + * Parse the external file attributes and get the unix/dos permissions. + */ + processAttributes: function () { + this.unixPermissions = null; + this.dosPermissions = null; + var madeBy = this.versionMadeBy >> 8; + + // Check if we have the DOS directory flag set. + // We look for it in the DOS and UNIX permissions + // but some unknown platform could set it as a compatibility flag. + this.dir = this.externalFileAttributes & 0x0010 ? true : false; + + if(madeBy === MADE_BY_DOS) { + // first 6 bits (0 to 5) + this.dosPermissions = this.externalFileAttributes & 0x3F; + } + + if(madeBy === MADE_BY_UNIX) { + this.unixPermissions = (this.externalFileAttributes >> 16) & 0xFFFF; + // the octal permissions are in (this.unixPermissions & 0x01FF).toString(8); + } + + // fail safe : if the name ends with a / it probably means a folder + if (!this.dir && this.fileNameStr.slice(-1) === '/') { + this.dir = true; + } + }, + + /** + * Parse the ZIP64 extra field and merge the info in the current ZipEntry. + * @param {DataReader} reader the reader to use. + */ + parseZIP64ExtraField: function(reader) { + + if (!this.extraFields[0x0001]) { + return; + } + + // should be something, preparing the extra reader + var extraReader = readerFor(this.extraFields[0x0001].value); + + // I really hope that these 64bits integer can fit in 32 bits integer, because js + // won't let us have more. + if (this.uncompressedSize === utils.MAX_VALUE_32BITS) { + this.uncompressedSize = extraReader.readInt(8); + } + if (this.compressedSize === utils.MAX_VALUE_32BITS) { + this.compressedSize = extraReader.readInt(8); + } + if (this.localHeaderOffset === utils.MAX_VALUE_32BITS) { + this.localHeaderOffset = extraReader.readInt(8); + } + if (this.diskNumberStart === utils.MAX_VALUE_32BITS) { + this.diskNumberStart = extraReader.readInt(4); + } + }, + /** + * Read the central part of a zip file and add the info in this object. + * @param {DataReader} reader the reader to use. + */ + readExtraFields: function(reader) { + var end = reader.index + this.extraFieldsLength, + extraFieldId, + extraFieldLength, + extraFieldValue; + + if (!this.extraFields) { + this.extraFields = {}; + } + + while (reader.index < end) { + extraFieldId = reader.readInt(2); + extraFieldLength = reader.readInt(2); + extraFieldValue = reader.readData(extraFieldLength); + + this.extraFields[extraFieldId] = { + id: extraFieldId, + length: extraFieldLength, + value: extraFieldValue + }; + } + }, + /** + * Apply an UTF8 transformation if needed. + */ + handleUTF8: function() { + var decodeParamType = support.uint8array ? "uint8array" : "array"; + if (this.useUTF8()) { + this.fileNameStr = utf8.utf8decode(this.fileName); + this.fileCommentStr = utf8.utf8decode(this.fileComment); + } else { + var upath = this.findExtraFieldUnicodePath(); + if (upath !== null) { + this.fileNameStr = upath; + } else { + // ASCII text or unsupported code page + var fileNameByteArray = utils.transformTo(decodeParamType, this.fileName); + this.fileNameStr = this.loadOptions.decodeFileName(fileNameByteArray); + } + + var ucomment = this.findExtraFieldUnicodeComment(); + if (ucomment !== null) { + this.fileCommentStr = ucomment; + } else { + // ASCII text or unsupported code page + var commentByteArray = utils.transformTo(decodeParamType, this.fileComment); + this.fileCommentStr = this.loadOptions.decodeFileName(commentByteArray); + } + } + }, + + /** + * Find the unicode path declared in the extra field, if any. + * @return {String} the unicode path, null otherwise. + */ + findExtraFieldUnicodePath: function() { + var upathField = this.extraFields[0x7075]; + if (upathField) { + var extraReader = readerFor(upathField.value); + + // wrong version + if (extraReader.readInt(1) !== 1) { + return null; + } + + // the crc of the filename changed, this field is out of date. + if (crc32fn(this.fileName) !== extraReader.readInt(4)) { + return null; + } + + return utf8.utf8decode(extraReader.readData(upathField.length - 5)); + } + return null; + }, + + /** + * Find the unicode comment declared in the extra field, if any. + * @return {String} the unicode comment, null otherwise. + */ + findExtraFieldUnicodeComment: function() { + var ucommentField = this.extraFields[0x6375]; + if (ucommentField) { + var extraReader = readerFor(ucommentField.value); + + // wrong version + if (extraReader.readInt(1) !== 1) { + return null; + } + + // the crc of the comment changed, this field is out of date. + if (crc32fn(this.fileComment) !== extraReader.readInt(4)) { + return null; + } + + return utf8.utf8decode(extraReader.readData(ucommentField.length - 5)); + } + return null; + } +}; +module.exports = ZipEntry; + +},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(require,module,exports){ +'use strict'; + +var StreamHelper = require('./stream/StreamHelper'); +var DataWorker = require('./stream/DataWorker'); +var utf8 = require('./utf8'); +var CompressedObject = require('./compressedObject'); +var GenericWorker = require('./stream/GenericWorker'); + +/** + * A simple object representing a file in the zip file. + * @constructor + * @param {string} name the name of the file + * @param {String|ArrayBuffer|Uint8Array|Buffer} data the data + * @param {Object} options the options of the file + */ +var ZipObject = function(name, data, options) { + this.name = name; + this.dir = options.dir; + this.date = options.date; + this.comment = options.comment; + this.unixPermissions = options.unixPermissions; + this.dosPermissions = options.dosPermissions; + + this._data = data; + this._dataBinary = options.binary; + // keep only the compression + this.options = { + compression : options.compression, + compressionOptions : options.compressionOptions + }; +}; + +ZipObject.prototype = { + /** + * Create an internal stream for the content of this object. + * @param {String} type the type of each chunk. + * @return StreamHelper the stream. + */ + internalStream: function (type) { + var result = null, outputType = "string"; + try { + if (!type) { + throw new Error("No output type specified."); + } + outputType = type.toLowerCase(); + var askUnicodeString = outputType === "string" || outputType === "text"; + if (outputType === "binarystring" || outputType === "text") { + outputType = "string"; + } + result = this._decompressWorker(); + + var isUnicodeString = !this._dataBinary; + + if (isUnicodeString && !askUnicodeString) { + result = result.pipe(new utf8.Utf8EncodeWorker()); + } + if (!isUnicodeString && askUnicodeString) { + result = result.pipe(new utf8.Utf8DecodeWorker()); + } + } catch (e) { + result = new GenericWorker("error"); + result.error(e); + } + + return new StreamHelper(result, outputType, ""); + }, + + /** + * Prepare the content in the asked type. + * @param {String} type the type of the result. + * @param {Function} onUpdate a function to call on each internal update. + * @return Promise the promise of the result. + */ + async: function (type, onUpdate) { + return this.internalStream(type).accumulate(onUpdate); + }, + + /** + * Prepare the content as a nodejs stream. + * @param {String} type the type of each chunk. + * @param {Function} onUpdate a function to call on each internal update. + * @return Stream the stream. + */ + nodeStream: function (type, onUpdate) { + return this.internalStream(type || "nodebuffer").toNodejsStream(onUpdate); + }, + + /** + * Return a worker for the compressed content. + * @private + * @param {Object} compression the compression object to use. + * @param {Object} compressionOptions the options to use when compressing. + * @return Worker the worker. + */ + _compressWorker: function (compression, compressionOptions) { + if ( + this._data instanceof CompressedObject && + this._data.compression.magic === compression.magic + ) { + return this._data.getCompressedWorker(); + } else { + var result = this._decompressWorker(); + if(!this._dataBinary) { + result = result.pipe(new utf8.Utf8EncodeWorker()); + } + return CompressedObject.createWorkerFrom(result, compression, compressionOptions); + } + }, + /** + * Return a worker for the decompressed content. + * @private + * @return Worker the worker. + */ + _decompressWorker : function () { + if (this._data instanceof CompressedObject) { + return this._data.getContentWorker(); + } else if (this._data instanceof GenericWorker) { + return this._data; + } else { + return new DataWorker(this._data); + } + } +}; + +var removedMethods = ["asText", "asBinary", "asNodeBuffer", "asUint8Array", "asArrayBuffer"]; +var removedFn = function () { + throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide."); +}; + +for(var i = 0; i < removedMethods.length; i++) { + ZipObject.prototype[removedMethods[i]] = removedFn; +} +module.exports = ZipObject; + +},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(require,module,exports){ +(function (global){ +'use strict'; +var Mutation = global.MutationObserver || global.WebKitMutationObserver; + +var scheduleDrain; + +{ + if (Mutation) { + var called = 0; + var observer = new Mutation(nextTick); + var element = global.document.createTextNode(''); + observer.observe(element, { + characterData: true + }); + scheduleDrain = function () { + element.data = (called = ++called % 2); + }; + } else if (!global.setImmediate && typeof global.MessageChannel !== 'undefined') { + var channel = new global.MessageChannel(); + channel.port1.onmessage = nextTick; + scheduleDrain = function () { + channel.port2.postMessage(0); + }; + } else if ('document' in global && 'onreadystatechange' in global.document.createElement('script')) { + scheduleDrain = function () { + + // Create a + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
+ +
+
-
org.mozilla.jss
+

Class CRLImportException

@@ -111,10 +135,9 @@

Class CRLImportException

  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public class CRLImportException
     extends java.lang.Exception
    Thrown if a CRL cannot be imported
    @@ -129,50 +152,58 @@

    Class CRLImportException

    • +
      +
      +
        -
      • +
      • Method Summary

          -
        • +
        • Methods inherited from class java.lang.Throwable

          addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -180,6 +211,7 @@

          Methods inherited from class java.lang.Object

      +
  • @@ -187,12 +219,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -201,32 +234,32 @@

          CRLImportException

          public CRLImportException()
        - +
        • CRLImportException

          -
          public CRLImportException(java.lang.String mesg)
          +
          public CRLImportException​(java.lang.String mesg)
        - +
        • CRLImportException

          -
          public CRLImportException(java.lang.String mesg,
          +
          public CRLImportException​(java.lang.String mesg,
                                     java.lang.Throwable cause)
        - +
        • CRLImportException

          -
          public CRLImportException(java.lang.String mesg,
          +
          public CRLImportException​(java.lang.String mesg,
                                     java.lang.Throwable cause,
                                     boolean enableSuppression,
                                     boolean writableStackTrace)
          @@ -234,21 +267,25 @@

          CRLImportException

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/CertDatabaseException.html b/master/javadocs/org/mozilla/jss/CertDatabaseException.html index 482e4fd3e..ddcc90660 100644 --- a/master/javadocs/org/mozilla/jss/CertDatabaseException.html +++ b/master/javadocs/org/mozilla/jss/CertDatabaseException.html @@ -1,11 +1,20 @@ - + CertDatabaseException (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss
    +

    Class CertDatabaseException

    @@ -111,10 +135,9 @@

    Class CertDatabaseExceptio
  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public class CertDatabaseException
     extends java.lang.Exception
    This exception is thrown if the certificate database does not exist, @@ -130,50 +153,58 @@

    Class CertDatabaseExceptio
    • +
      +
      +
        -
      • +
      • Method Summary

          -
        • +
        • Methods inherited from class java.lang.Throwable

          addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -181,6 +212,7 @@

          Methods inherited from class java.lang.Object

      +

    @@ -188,12 +220,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -202,32 +235,32 @@

          CertDatabaseException

          public CertDatabaseException()
        - +
        • CertDatabaseException

          -
          public CertDatabaseException(java.lang.String mesg)
          +
          public CertDatabaseException​(java.lang.String mesg)
        - +
        • CertDatabaseException

          -
          public CertDatabaseException(java.lang.String mesg,
          +
          public CertDatabaseException​(java.lang.String mesg,
                                        java.lang.Throwable cause)
        - +
        • CertDatabaseException

          -
          public CertDatabaseException(java.lang.String mesg,
          +
          public CertDatabaseException​(java.lang.String mesg,
                                        java.lang.Throwable cause,
                                        boolean enableSuppression,
                                        boolean writableStackTrace)
          @@ -235,21 +268,25 @@

          CertDatabaseException

      +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/CertificateUsage.html b/master/javadocs/org/mozilla/jss/CertificateUsage.html index b6aa2dd78..d31fe86d7 100644 --- a/master/javadocs/org/mozilla/jss/CertificateUsage.html +++ b/master/javadocs/org/mozilla/jss/CertificateUsage.html @@ -1,11 +1,20 @@ - + CertificateUsage (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss
    +

    Class CertificateUsage

    @@ -106,7 +130,6 @@

    Class CertificateUsage

    @@ -236,138 +284,139 @@

    Methods inherited from class java.lang.Object

    +
    + diff --git a/master/javadocs/org/mozilla/jss/CryptoManager.CertUsage.html b/master/javadocs/org/mozilla/jss/CryptoManager.CertUsage.html index 4c442e208..785dac6fc 100644 --- a/master/javadocs/org/mozilla/jss/CryptoManager.CertUsage.html +++ b/master/javadocs/org/mozilla/jss/CryptoManager.CertUsage.html @@ -1,11 +1,20 @@ - + CryptoManager.CertUsage (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss
    +

    Class CryptoManager.CertUsage

    @@ -107,10 +131,9 @@

    Class CryptoManager.Cert
  • Enclosing class:
    -
    CryptoManager
    +
    CryptoManager

    -
    public static final class CryptoManager.CertUsage
     extends java.lang.Object
    note: this is obsolete in NSS @@ -122,95 +145,115 @@

    Class CryptoManager.Cert

    @@ -225,152 +269,155 @@

    Methods inherited from class java.lang.Object

  • +
    + diff --git a/master/javadocs/org/mozilla/jss/CryptoManager.OCSPPolicy.html b/master/javadocs/org/mozilla/jss/CryptoManager.OCSPPolicy.html index c3e6134ba..22d2cf9f6 100644 --- a/master/javadocs/org/mozilla/jss/CryptoManager.OCSPPolicy.html +++ b/master/javadocs/org/mozilla/jss/CryptoManager.OCSPPolicy.html @@ -1,11 +1,20 @@ - + CryptoManager.OCSPPolicy (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss
    +

    Enum CryptoManager.OCSPPolicy

    @@ -98,7 +122,7 @@

    Enum CryptoManager.OCSPP
  • java.lang.Object
  • @@ -129,63 +152,73 @@

    Enum CryptoManager.OCSPP @@ -200,55 +234,58 @@

    Methods inherited from class java.lang.Object

    +
    + diff --git a/master/javadocs/org/mozilla/jss/CryptoManager.html b/master/javadocs/org/mozilla/jss/CryptoManager.html index 66a280a85..b5518c829 100644 --- a/master/javadocs/org/mozilla/jss/CryptoManager.html +++ b/master/javadocs/org/mozilla/jss/CryptoManager.html @@ -1,11 +1,20 @@ - + CryptoManager (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss
    +

    Class CryptoManager

    @@ -107,13 +131,12 @@

    Class CryptoManager

  • All Implemented Interfaces:
    -
    TokenSupplier
    +
    TokenSupplier

    -
    public final class CryptoManager
     extends java.lang.Object
    -implements TokenSupplier
    +implements TokenSupplier
    This class is the starting poing for the crypto package. Use it to initialize the subsystem and to lookup certs, keys, and tokens. Initialization is done with static methods, and must be done before @@ -126,102 +149,121 @@

    Class CryptoManager

    @@ -563,12 +656,13 @@

    Methods inherited from class java.lang.Object

  • +
    + diff --git a/master/javadocs/org/mozilla/jss/DatabaseCloser.html b/master/javadocs/org/mozilla/jss/DatabaseCloser.html index ace6974c7..a9db596fb 100644 --- a/master/javadocs/org/mozilla/jss/DatabaseCloser.html +++ b/master/javadocs/org/mozilla/jss/DatabaseCloser.html @@ -1,11 +1,20 @@ - + DatabaseCloser (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss
    +

    Class DatabaseCloser

    @@ -106,7 +130,6 @@

    Class DatabaseCloser


    • -
      public abstract class DatabaseCloser
       extends java.lang.Object
      A class for closing databases. Since closing the databases is @@ -120,45 +143,52 @@

      Class DatabaseCloser

      • +
          -
        • +
        • Constructor Summary

          - +
          - + + - +
          Constructors 
          Constructor and DescriptionConstructorDescription
          DatabaseCloser() +DatabaseCloser()
          Creates a new DatabaseCloser.
        +
        +
          -
        • +
        • Method Summary

          - +
          - + + - +
          All Methods Instance Methods Concrete Methods 
          Modifier and TypeMethod and DescriptionMethodDescription
          protected voidcloseDatabases() +closeDatabases()
          Closes the certificate and key databases.
            -
          • +
          • Methods inherited from class java.lang.Object

            @@ -166,6 +196,7 @@

            Methods inherited from class java.lang.Object

        +
      @@ -173,12 +204,13 @@

      Methods inherited from class java.lang.Object

      • +
          -
        • +
        • Constructor Detail

          - +
            @@ -197,40 +229,46 @@

            DatabaseCloser

        +
        +
          -
        • +
        • Method Detail

          - +
          • closeDatabases

            -
            protected void closeDatabases()
            +
            protected void closeDatabases()
            Closes the certificate and key databases. This is extremely dangerous.
        +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/InitializationValues.FIPSMode.html b/master/javadocs/org/mozilla/jss/InitializationValues.FIPSMode.html index 311106c71..899b30987 100644 --- a/master/javadocs/org/mozilla/jss/InitializationValues.FIPSMode.html +++ b/master/javadocs/org/mozilla/jss/InitializationValues.FIPSMode.html @@ -1,11 +1,20 @@ - + InitializationValues.FIPSMode (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss
    +

    Class InitializationValues.FIPSMode

    @@ -101,10 +125,9 @@

    Class Initializati
  • Enclosing class:
    -
    InitializationValues
    +
    InitializationValues

    -
    public static final class InitializationValues.FIPSMode
     extends java.lang.Object
    This class enumerates the possible modes for FIPS compliance.
    @@ -115,46 +138,53 @@

    Class Initializati

  • @@ -169,38 +200,39 @@

    Methods inherited from class java.lang.Object

    +
    + diff --git a/master/javadocs/org/mozilla/jss/InitializationValues.html b/master/javadocs/org/mozilla/jss/InitializationValues.html index 6710cd982..c3ea282a2 100644 --- a/master/javadocs/org/mozilla/jss/InitializationValues.html +++ b/master/javadocs/org/mozilla/jss/InitializationValues.html @@ -1,11 +1,20 @@ - + InitializationValues (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss
    +

    Class InitializationValues

    @@ -106,7 +130,6 @@

    Class InitializationValues<

    @@ -489,12 +572,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -508,7 +592,7 @@

          TOKEN_LENGTH

        - +
          @@ -522,7 +606,7 @@

          SLOT_LENGTH

        - +
          @@ -536,7 +620,7 @@

          MANUFACTURER_LENGTH

        - +
          @@ -550,7 +634,7 @@

          LIBRARY_LENGTH

        - +
          @@ -559,7 +643,7 @@

          configDir

          public java.lang.String configDir
        - +
          @@ -568,7 +652,7 @@

          certPrefix

          public java.lang.String certPrefix
        - +
          @@ -577,7 +661,7 @@

          keyPrefix

          public java.lang.String keyPrefix
        - +
          @@ -586,13 +670,13 @@

          secmodName

          public java.lang.String secmodName
        - +
        • passwordCallback

          -
          public PasswordCallback passwordCallback
          +
          public PasswordCallback passwordCallback
          The password callback to be used by JSS whenever a password is needed. May be NULL, in which the library will immediately fail to get a password if it tries to login automatically while @@ -602,20 +686,20 @@

          passwordCallback

          The default is a ConsolePasswordCallback.

        - + - +
          @@ -627,7 +711,7 @@

          readOnly

          the databases are opened in read-write mode.
        - +
          @@ -639,7 +723,7 @@

          ocspCheckingEnabled

          default.
        - +
          @@ -658,7 +742,7 @@

          ocspResponderURL

          If this is set, you must also set ocspResponderCertNickname
        - +
          @@ -670,7 +754,7 @@

          ocspResponderCertNickname

          Only checked when the OCSPResponder value is set.
        - +
          @@ -680,7 +764,7 @@

          installJSSProvider

          Install the JSS crypto provider. Default is true.
        - +
          @@ -690,7 +774,7 @@

          removeSunProvider

          Remove the Sun crypto provider. Default is false.
        - +
          @@ -700,7 +784,7 @@

          installJSSProviderFirst

          Whether or not to initialize the JSS provider first. Default is true.
        - +
          @@ -729,7 +813,7 @@

          initializeJavaOnly

          The default is false.

        - +
          @@ -740,7 +824,7 @@

          PKIXVerify

          to verify certificates. Default is false.
        - +
          @@ -751,7 +835,7 @@

          noCertDB

          initialize the volatile certdb. Default is false.
        - +
          @@ -763,7 +847,7 @@

          noModDB

          Default is false.
        - +
          @@ -775,7 +859,7 @@

          forceOpen

          Default is false.
        - +
          @@ -787,7 +871,7 @@

          noRootInit

          Default is false.
        - +
          @@ -798,7 +882,7 @@

          optimizeSpace

          Default is false.
        - +
          @@ -816,7 +900,7 @@

          PK11ThreadSafe

          Default is false.
        - +
          @@ -831,7 +915,7 @@

          PK11Reload

          Default is false.
        - +
          @@ -851,7 +935,7 @@

          noPK11Finalize

          Default is false.
        - +
          @@ -865,13 +949,15 @@

          cooperate

      +
      +
        -
      • +
      • Constructor Detail

        - +
          @@ -880,23 +966,23 @@

          InitializationValues

          protected InitializationValues()
        - +
        • InitializationValues

          -
          public InitializationValues(java.lang.String configDir)
          +
          public InitializationValues​(java.lang.String configDir)
          Default constructor taking only the path to the NSS DB directory.
        - +
        • InitializationValues

          -
          public InitializationValues(java.lang.String configDir,
          +
          public InitializationValues​(java.lang.String configDir,
                                       java.lang.String certPrefix,
                                       java.lang.String keyPrefix,
                                       java.lang.String secmodName)
          @@ -907,19 +993,21 @@

          InitializationValues

      +
      +
        -
      • +
      • Method Detail

        - +
        • getManufacturerID

          -
          public java.lang.String getManufacturerID()
          +
          public java.lang.String getManufacturerID()
          Returns the Manufacturer ID of the internal PKCS #11 module.

          The default is "mozilla.org ".

          @@ -928,14 +1016,14 @@

          getManufacturerID

        - +
        • setManufacturerID

          -
          public void setManufacturerID(java.lang.String s)
          -                       throws InvalidLengthException
          +
          public void setManufacturerID​(java.lang.String s)
          +                       throws InvalidLengthException
          Sets the Manufacturer ID of the internal PKCS #11 module. This value must be exactly MANUFACTURER_LENGTH characters long.
          @@ -943,18 +1031,18 @@

          setManufacturerID

          Parameters:
          s - Manufacturer ID.
          Throws:
          -
          InvalidLengthException - If s.length() is not +
          InvalidLengthException - If s.length() is not exactly MANUFACTURER_LENGTH.
        - +
        • getLibraryDescription

          -
          public java.lang.String getLibraryDescription()
          +
          public java.lang.String getLibraryDescription()
          Returns the description of the internal PKCS #11 module.

          The default is "Internal Crypto Services ".

          @@ -963,14 +1051,14 @@

          getLibraryDescription

        - +
        • setLibraryDescription

          -
          public void setLibraryDescription(java.lang.String s)
          -                           throws InvalidLengthException
          +
          public void setLibraryDescription​(java.lang.String s)
          +                           throws InvalidLengthException
          Sets the description of the internal PKCS #11 module. This value must be exactly LIBRARY_LENGTH characters long.
          @@ -978,18 +1066,18 @@

          setLibraryDescription

          Parameters:
          s - Library description.
          Throws:
          -
          InvalidLengthException - If s.length() is +
          InvalidLengthException - If s.length() is not exactly LIBRARY_LENGTH.
        - +
        • getInternalTokenDescription

          -
          public java.lang.String getInternalTokenDescription()
          +
          public java.lang.String getInternalTokenDescription()
          Returns the description of the internal PKCS #11 token.

          The default is "Internal Crypto Services Token ".

          @@ -998,32 +1086,32 @@

          getInternalTokenDescription

        - +
        • setInternalTokenDescription

          -
          public void setInternalTokenDescription(java.lang.String s)
          -                                 throws InvalidLengthException
          +
          public void setInternalTokenDescription​(java.lang.String s)
          +                                 throws InvalidLengthException
          Sets the description of the internal PKCS #11 token. This value must be exactly TOKEN_LENGTH characters long.
          Parameters:
          s - Description of internal PKCS #11 token.
          Throws:
          -
          InvalidLengthException - If s.length() is +
          InvalidLengthException - If s.length() is not exactly TOKEN_LENGTH.
        - +
        • getInternalKeyStorageTokenDescription

          -
          public java.lang.String getInternalKeyStorageTokenDescription()
          +
          public java.lang.String getInternalKeyStorageTokenDescription()
          Returns the description of the internal PKCS #11 key storage token.

          The default is "Internal Key Storage Token ".

          @@ -1032,32 +1120,32 @@

          getInternalKeyStorageTokenDescription

        - +
        • setInternalKeyStorageTokenDescription

          -
          public void setInternalKeyStorageTokenDescription(java.lang.String s)
          -                                           throws InvalidLengthException
          +
          public void setInternalKeyStorageTokenDescription​(java.lang.String s)
          +                                           throws InvalidLengthException
          Sets the description of the internal PKCS #11 key storage token. This value must be exactly TOKEN_LENGTH characters long.
          Parameters:
          s - Description of internal PKCS #11 key storage token.
          Throws:
          -
          InvalidLengthException - If s.length() is +
          InvalidLengthException - If s.length() is not exactly TOKEN_LENGTH.
        - +
        • getInternalSlotDescription

          -
          public java.lang.String getInternalSlotDescription()
          +
          public java.lang.String getInternalSlotDescription()
          Returns the description of the internal PKCS #11 slot.

          The default is "NSS Internal Cryptographic Services ".

          @@ -1066,14 +1154,14 @@

          getInternalSlotDescription

        - +
        • setInternalSlotDescription

          -
          public void setInternalSlotDescription(java.lang.String s)
          -                                throws InvalidLengthException
          +
          public void setInternalSlotDescription​(java.lang.String s)
          +                                throws InvalidLengthException
          Sets the description of the internal PKCS #11 slot. This value must be exactly SLOT_LENGTH characters long.
          @@ -1081,18 +1169,18 @@

          setInternalSlotDescription

          Parameters:
          s - Description of internal PKCS #11 slot.
          Throws:
          -
          InvalidLengthException - If s.length() is +
          InvalidLengthException - If s.length() is not exactly SLOT_LENGTH.
        - +
        • getInternalKeyStorageSlotDescription

          -
          public java.lang.String getInternalKeyStorageSlotDescription()
          +
          public java.lang.String getInternalKeyStorageSlotDescription()
          Returns the description of the internal PKCS #11 key storage slot.

          The default is "NSS Internal Private Key and Certificate Storage ".

          @@ -1101,14 +1189,14 @@

          getInternalKeyStorageSlotDescription

        - +
        • setInternalKeyStorageSlotDescription

          -
          public void setInternalKeyStorageSlotDescription(java.lang.String s)
          -                                          throws InvalidLengthException
          +
          public void setInternalKeyStorageSlotDescription​(java.lang.String s)
          +                                          throws InvalidLengthException
          Sets the description of the internal PKCS #11 key storage slot. This value must be exactly SLOT_LENGTH characters long.
          @@ -1116,18 +1204,18 @@

          setInternalKeyStorageSlotDescription

          Parameters:
          s - Description of internal PKCS #11 key storage slot.
          Throws:
          -
          InvalidLengthException - If s.length() is +
          InvalidLengthException - If s.length() is not exactly SLOT_LENGTH.
        - +
        • getFIPSSlotDescription

          -
          public java.lang.String getFIPSSlotDescription()
          +
          public java.lang.String getFIPSSlotDescription()
          Returns the description of the internal PKCS #11 FIPS slot.

          The default is "NSS FIPS 140-2 User Private Key Services".

          @@ -1137,14 +1225,14 @@

          getFIPSSlotDescription

        - +
        • setFIPSSlotDescription

          -
          public void setFIPSSlotDescription(java.lang.String s)
          -                            throws InvalidLengthException
          +
          public void setFIPSSlotDescription​(java.lang.String s)
          +                            throws InvalidLengthException
          Sets the description of the internal PKCS #11 FIPS slot. This value must be exactly SLOT_LENGTH characters long.
          @@ -1152,18 +1240,18 @@

          setFIPSSlotDescription

          Parameters:
          s - Description of internal PKCS #11 FIPS slot.
          Throws:
          -
          InvalidLengthException - If s.length() is +
          InvalidLengthException - If s.length() is not exactly SLOT_LENGTH.
        - +
        • getFIPSKeyStorageSlotDescription

          -
          public java.lang.String getFIPSKeyStorageSlotDescription()
          +
          public java.lang.String getFIPSKeyStorageSlotDescription()
          Returns the description of the internal PKCS #11 FIPS Key Storage slot.

          The default is @@ -1174,14 +1262,14 @@

          getFIPSKeyStorageSlotDescription

        - +
        • setFIPSKeyStorageSlotDescription

          -
          public void setFIPSKeyStorageSlotDescription(java.lang.String s)
          -                                      throws InvalidLengthException
          +
          public void setFIPSKeyStorageSlotDescription​(java.lang.String s)
          +                                      throws InvalidLengthException
          Sets the description of the internal PKCS #11 FIPS Key Storage slot. This value must be exactly SLOT_LENGTH characters long.
          @@ -1189,28 +1277,32 @@

          setFIPSKeyStorageSlotDescription

          Parameters:
          s - Description of internal PKCS #11 FIPS key storage slot.
          Throws:
          -
          InvalidLengthException - If s.length() is +
          InvalidLengthException - If s.length() is not exactly SLOT_LENGTH.
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/InvalidLengthException.html b/master/javadocs/org/mozilla/jss/InvalidLengthException.html index 13bf0ee2c..7861525d4 100644 --- a/master/javadocs/org/mozilla/jss/InvalidLengthException.html +++ b/master/javadocs/org/mozilla/jss/InvalidLengthException.html @@ -1,11 +1,20 @@ - + InvalidLengthException (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss
    +

    Class InvalidLengthException

    @@ -111,10 +135,9 @@

    Class InvalidLengthExcept
  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public final class InvalidLengthException
     extends java.lang.Exception
    @@ -128,50 +151,58 @@

    Class InvalidLengthExcept
    • +
      +
      +
        -
      • +
      • Method Summary

          -
        • +
        • Methods inherited from class java.lang.Throwable

          addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -179,6 +210,7 @@

          Methods inherited from class java.lang.Object

      +

  • @@ -186,12 +218,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -200,32 +233,32 @@

          InvalidLengthException

          public InvalidLengthException()
        - +
        • InvalidLengthException

          -
          public InvalidLengthException(java.lang.String mesg)
          +
          public InvalidLengthException​(java.lang.String mesg)
        - +
        • InvalidLengthException

          -
          public InvalidLengthException(java.lang.String mesg,
          +
          public InvalidLengthException​(java.lang.String mesg,
                                         java.lang.Throwable cause)
        - +
        • InvalidLengthException

          -
          public InvalidLengthException(java.lang.String mesg,
          +
          public InvalidLengthException​(java.lang.String mesg,
                                         java.lang.Throwable cause,
                                         boolean enableSuppression,
                                         boolean writableStackTrace)
          @@ -233,21 +266,25 @@

          InvalidLengthException

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/JSSLoader.html b/master/javadocs/org/mozilla/jss/JSSLoader.html index 23a92a992..ff8c1d4cd 100644 --- a/master/javadocs/org/mozilla/jss/JSSLoader.html +++ b/master/javadocs/org/mozilla/jss/JSSLoader.html @@ -1,11 +1,20 @@ - + JSSLoader (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss
    +

    Class JSSLoader

    @@ -106,7 +130,6 @@

    Class JSSLoader


    • -
      public class JSSLoader
       extends java.lang.Object
      The JSS Loader facilitates loading JSS via the Provider interface directly, @@ -178,68 +201,80 @@

      Class JSSLoader

      • +
          -
        • +
        • Field Summary

          - +
          - + + - + +
          Fields 
          Modifier and TypeField and DescriptionFieldDescription
          static org.slf4j.Loggerlogger logger 
        +
        +
          -
        • +
        • Constructor Summary

          - +
          - + + - + +
          Constructors 
          Constructor and DescriptionConstructorDescription
          JSSLoader() JSSLoader() 
        +
        +
          -
        • +
        • Method Summary

          - +
          - + + - - + + - - + +
          All Methods Static Methods Concrete Methods 
          Modifier and TypeMethod and DescriptionMethodDescription
          static CryptoManagerinit(java.io.InputStream istream) +static CryptoManagerinit​(java.io.InputStream istream)
          Initialize JSS from an InputStream.
          static CryptoManagerinit(java.lang.String config_path) +static CryptoManagerinit​(java.lang.String config_path)
          Initialize JSS from the specified path to a configuration file.
            -
          • +
          • Methods inherited from class java.lang.Object

            @@ -247,6 +282,7 @@

            Methods inherited from class java.lang.Object

        +
      @@ -254,12 +290,13 @@

      Methods inherited from class java.lang.Object

      • +
          -
        • +
        • Field Detail

          - +
            @@ -270,13 +307,15 @@

            logger

        +
        +
          -
        • +
        • Constructor Detail

          - +
            @@ -287,19 +326,21 @@

            JSSLoader

        +
        +
          -
        • +
        • Method Detail

          - +
          • init

            -
            public static CryptoManager init(java.lang.String config_path)
            +
            public static CryptoManager init​(java.lang.String config_path)
                                       throws java.lang.Exception
            Initialize JSS from the specified path to a configuration file.
            @@ -308,13 +349,13 @@

            init

          - +
          • init

            -
            public static CryptoManager init(java.io.InputStream istream)
            +
            public static CryptoManager init​(java.io.InputStream istream)
                                       throws java.lang.Exception
            Initialize JSS from an InputStream.
            @@ -325,21 +366,25 @@

            init

        +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/JSSProvider.html b/master/javadocs/org/mozilla/jss/JSSProvider.html index 8274377ad..2335e213c 100644 --- a/master/javadocs/org/mozilla/jss/JSSProvider.html +++ b/master/javadocs/org/mozilla/jss/JSSProvider.html @@ -1,11 +1,20 @@ - + JSSProvider (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss
    +

    Class JSSProvider

    @@ -98,10 +122,10 @@

    Class JSSProvider

  • java.lang.Object
    • -
    • java.util.Dictionary<K,V>
    • +
    • java.util.Dictionary<K,​V>
      • -
      • java.util.Hashtable<java.lang.Object,java.lang.Object>
      • +
      • java.util.Hashtable<java.lang.Object,​java.lang.Object>
        • java.util.Properties
        • @@ -127,10 +151,9 @@

          Class JSSProvider

        • All Implemented Interfaces:
          -
          java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,java.lang.Object>
          +
          java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,​java.lang.Object>

          -
          public final class JSSProvider
           extends java.security.Provider
          @@ -144,13 +167,14 @@

          Class JSSProvider

          • +
              -
            • +
            • Nested Class Summary

                -
              • +
              • Nested classes/interfaces inherited from class java.security.Provider

                @@ -158,25 +182,29 @@

                Nested classes/interfaces inherited from class java.security.Provider

              +
            +
              -
            • +
            • Field Summary

              - +
              - + + - + +
              Fields 
              Modifier and TypeField and DescriptionFieldDescription
              static booleanENABLE_JSSENGINE ENABLE_JSSENGINE 
                -
              • +
              • Fields inherited from class java.util.Properties

                @@ -184,89 +212,96 @@

                Fields inherited from class java.util.Properties

            +
            +
            +
            +
              -
            • +
            • Method Summary

              - +
              - + + - + - - + + - + + - + +
              All Methods Instance Methods Concrete Methods 
              Modifier and TypeMethod and DescriptionMethodDescription
              java.security.Providerconfigure(java.lang.String arg) +configure​(java.lang.String arg)
              Configure this instance of JSSProvider with the specified path to a JSS configuration properties file.
              CryptoManagergetCryptoManager() +CryptoManagergetCryptoManager()
              Return the CryptoManager this instance was initialized with.
              protected voidinitializeProvider() initializeProvider() 
              java.lang.StringtoString() toString() 
                -
              • +
              • Methods inherited from class java.security.Provider

                -clear, compute, computeIfAbsent, computeIfPresent, elements, entrySet, forEach, get, getInfo, getName, getOrDefault, getProperty, getService, getServices, getVersion, keys, keySet, load, merge, put, putAll, putIfAbsent, putService, remove, remove, removeService, replace, replace, replaceAll, values
              • +clear, compute, computeIfAbsent, computeIfPresent, elements, entrySet, forEach, get, getInfo, getName, getOrDefault, getProperty, getService, getServices, getVersion, getVersionStr, isConfigured, keys, keySet, load, merge, put, putAll, putIfAbsent, putService, remove, remove, removeService, replace, replace, replaceAll, values
                -
              • +
              • Methods inherited from class java.util.Properties

                -getProperty, list, list, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
              • +clone, contains, containsKey, containsValue, equals, getProperty, hashCode, isEmpty, list, list, load, loadFromXML, propertyNames, rehash, save, setProperty, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames
                -
              • - - -

                Methods inherited from class java.util.Hashtable

                -clone, contains, containsKey, containsValue, equals, hashCode, isEmpty, rehash, size
              • -
              -
                -
              • +
              • Methods inherited from class java.lang.Object

                @@ -274,6 +309,7 @@

                Methods inherited from class java.lang.Object

            +
  • @@ -281,12 +317,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -297,13 +334,15 @@

          ENABLE_JSSENGINE

      +
      +
        -
      • +
      • Constructor Detail

        - +
          @@ -312,22 +351,22 @@

          JSSProvider

          public JSSProvider()
        - +
        • JSSProvider

          -
          public JSSProvider(boolean initialize)
          +
          public JSSProvider​(boolean initialize)
        - +
        • JSSProvider

          -
          public JSSProvider(java.lang.String config_path)
          +
          public JSSProvider​(java.lang.String config_path)
                       throws java.lang.Exception
          Throws:
          @@ -335,13 +374,13 @@

          JSSProvider

        - +
        • JSSProvider

          -
          public JSSProvider(java.io.InputStream config)
          +
          public JSSProvider​(java.io.InputStream config)
                       throws java.lang.Exception
          Throws:
          @@ -351,19 +390,21 @@

          JSSProvider

      +
      +
        -
      • +
      • Method Detail

        - +
        • configure

          -
          public java.security.Provider configure(java.lang.String arg)
          +
          public java.security.Provider configure​(java.lang.String arg)
          Configure this instance of JSSProvider with the specified path to a JSS configuration properties file. @@ -371,34 +412,38 @@

          configure

          configuration properties file and known values. If the JSSProvider is already loaded, this is a no-op.
          +
          +
          Overrides:
          +
          configure in class java.security.Provider
          +
        - +
        • getCryptoManager

          -
          public CryptoManager getCryptoManager()
          +
          public CryptoManager getCryptoManager()
          Return the CryptoManager this instance was initialized with.
        - +
        • initializeProvider

          -
          protected void initializeProvider()
          +
          protected void initializeProvider()
        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Overrides:
          toString in class java.security.Provider
          @@ -407,21 +452,25 @@

          toString

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/KeyDatabaseException.html b/master/javadocs/org/mozilla/jss/KeyDatabaseException.html index afd227056..6f797d8a3 100644 --- a/master/javadocs/org/mozilla/jss/KeyDatabaseException.html +++ b/master/javadocs/org/mozilla/jss/KeyDatabaseException.html @@ -1,11 +1,20 @@ - + KeyDatabaseException (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss
    +

    Class KeyDatabaseException

    @@ -111,10 +135,9 @@

    Class KeyDatabaseException<
  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public class KeyDatabaseException
     extends java.lang.Exception
    This exception is thrown if the key database does not exist, or if @@ -130,50 +153,58 @@

    Class KeyDatabaseException<
    • +
      +
      +
        -
      • +
      • Method Summary

          -
        • +
        • Methods inherited from class java.lang.Throwable

          addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -181,6 +212,7 @@

          Methods inherited from class java.lang.Object

      +

    @@ -188,12 +220,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -202,32 +235,32 @@

          KeyDatabaseException

          public KeyDatabaseException()
        - +
        • KeyDatabaseException

          -
          public KeyDatabaseException(java.lang.String mesg)
          +
          public KeyDatabaseException​(java.lang.String mesg)
        - +
        • KeyDatabaseException

          -
          public KeyDatabaseException(java.lang.String mesg,
          +
          public KeyDatabaseException​(java.lang.String mesg,
                                       java.lang.Throwable cause)
        - +
        • KeyDatabaseException

          -
          public KeyDatabaseException(java.lang.String mesg,
          +
          public KeyDatabaseException​(java.lang.String mesg,
                                       java.lang.Throwable cause,
                                       boolean enableSuppression,
                                       boolean writableStackTrace)
          @@ -235,21 +268,25 @@

          KeyDatabaseException

      +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/NicknameConflictException.html b/master/javadocs/org/mozilla/jss/NicknameConflictException.html index 7b67b433a..a98aef4a7 100644 --- a/master/javadocs/org/mozilla/jss/NicknameConflictException.html +++ b/master/javadocs/org/mozilla/jss/NicknameConflictException.html @@ -1,11 +1,20 @@ - + NicknameConflictException (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss
    +

    Class NicknameConflictException

    @@ -111,10 +135,9 @@

    Class NicknameConflict
  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public final class NicknameConflictException
     extends java.lang.Exception
    @@ -128,37 +151,42 @@

    Class NicknameConflict
    • +
      +
      +
        -
      • +
      • Method Summary

          -
        • +
        • Methods inherited from class java.lang.Throwable

          addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -166,6 +194,7 @@

          Methods inherited from class java.lang.Object

      +

  • @@ -173,12 +202,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -189,21 +219,25 @@

          NicknameConflictException

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/NoSuchTokenException.html b/master/javadocs/org/mozilla/jss/NoSuchTokenException.html index 765da9df2..daf226277 100644 --- a/master/javadocs/org/mozilla/jss/NoSuchTokenException.html +++ b/master/javadocs/org/mozilla/jss/NoSuchTokenException.html @@ -1,11 +1,20 @@ - + NoSuchTokenException (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss
    +

    Class NoSuchTokenException

    @@ -111,10 +135,9 @@

    Class NoSuchTokenException<
  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public class NoSuchTokenException
     extends java.lang.Exception
    Thrown if a token cannot be found.
    @@ -129,50 +152,58 @@

    Class NoSuchTokenException<
    • +
      +
      +
        -
      • +
      • Method Summary

          -
        • +
        • Methods inherited from class java.lang.Throwable

          addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -180,6 +211,7 @@

          Methods inherited from class java.lang.Object

      +

  • @@ -187,12 +219,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -201,32 +234,32 @@

          NoSuchTokenException

          public NoSuchTokenException()
        - +
        • NoSuchTokenException

          -
          public NoSuchTokenException(java.lang.String mesg)
          +
          public NoSuchTokenException​(java.lang.String mesg)
        - +
        • NoSuchTokenException

          -
          public NoSuchTokenException(java.lang.String mesg,
          +
          public NoSuchTokenException​(java.lang.String mesg,
                                       java.lang.Throwable cause)
        - +
        • NoSuchTokenException

          -
          public NoSuchTokenException(java.lang.String mesg,
          +
          public NoSuchTokenException​(java.lang.String mesg,
                                       java.lang.Throwable cause,
                                       boolean enableSuppression,
                                       boolean writableStackTrace)
          @@ -234,21 +267,25 @@

          NoSuchTokenException

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/NotInitializedException.html b/master/javadocs/org/mozilla/jss/NotInitializedException.html index a40ce3285..1cd7ecf46 100644 --- a/master/javadocs/org/mozilla/jss/NotInitializedException.html +++ b/master/javadocs/org/mozilla/jss/NotInitializedException.html @@ -1,11 +1,20 @@ - + NotInitializedException (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss
    +

    Class NotInitializedException

    @@ -111,10 +135,9 @@

    Class NotInitializedExce
  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public final class NotInitializedException
     extends java.lang.Exception
    @@ -128,37 +151,42 @@

    Class NotInitializedExce
    • +
      +
      +
        -
      • +
      • Method Summary

          -
        • +
        • Methods inherited from class java.lang.Throwable

          addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -166,6 +194,7 @@

          Methods inherited from class java.lang.Object

      +

  • @@ -173,12 +202,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -189,21 +219,25 @@

          NotInitializedException

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/SecretDecoderRing/Decryptor.html b/master/javadocs/org/mozilla/jss/SecretDecoderRing/Decryptor.html index 7b8a1889f..634e011fb 100644 --- a/master/javadocs/org/mozilla/jss/SecretDecoderRing/Decryptor.html +++ b/master/javadocs/org/mozilla/jss/SecretDecoderRing/Decryptor.html @@ -1,11 +1,20 @@ - + Decryptor (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.SecretDecoderRing
    +

    Class Decryptor

    @@ -106,7 +130,6 @@

    Class Decryptor


    • -
      public class Decryptor
       extends java.lang.Object
      Decrypts data with the SecretDecoderRing.
      @@ -117,45 +140,52 @@

      Class Decryptor

      • +
          -
        • +
        • Constructor Summary

          - +
          - + + - +
          Constructors 
          Constructor and DescriptionConstructorDescription
          Decryptor(CryptoToken token) +Decryptor​(CryptoToken token)
          Creates a Decryptor for use with the given CryptoToken.
        +
        +
          -
        • +
        • Method Summary

          - +
          - + + - +
          All Methods Instance Methods Concrete Methods 
          Modifier and TypeMethod and DescriptionMethodDescription
          byte[]decrypt(byte[] ciphertext) +decrypt​(byte[] ciphertext)
          Decrypts the given ciphertext.
            -
          • +
          • Methods inherited from class java.lang.Object

            @@ -163,6 +193,7 @@

            Methods inherited from class java.lang.Object

        +
    @@ -170,39 +201,42 @@

    Methods inherited from class java.lang.Object

    +
    + diff --git a/master/javadocs/org/mozilla/jss/SecretDecoderRing/Encoding.Template.html b/master/javadocs/org/mozilla/jss/SecretDecoderRing/Encoding.Template.html index 617e07ade..977ee8e81 100644 --- a/master/javadocs/org/mozilla/jss/SecretDecoderRing/Encoding.Template.html +++ b/master/javadocs/org/mozilla/jss/SecretDecoderRing/Encoding.Template.html @@ -1,11 +1,20 @@ - + Encoding.Template (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.SecretDecoderRing
    +

    Class Encoding.Template

    @@ -98,7 +122,7 @@

    Class Encoding.Template

  • java.lang.Object
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/SecretDecoderRing/Encoding.html b/master/javadocs/org/mozilla/jss/SecretDecoderRing/Encoding.html index 16af71a47..4141c0ea4 100644 --- a/master/javadocs/org/mozilla/jss/SecretDecoderRing/Encoding.html +++ b/master/javadocs/org/mozilla/jss/SecretDecoderRing/Encoding.html @@ -1,11 +1,20 @@ - + Encoding (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.SecretDecoderRing
    +

    Class Encoding

    @@ -107,13 +131,12 @@

    Class Encoding

  • All Implemented Interfaces:
    -
    ASN1Value
    +
    ASN1Value

    -
    public class Encoding
     extends java.lang.Object
    -implements ASN1Value
    +implements ASN1Value
    An ASN.1 class for encoding the SecretDecoderRing result. This class is used internally by the SecretDecoderRing. You need not use this class directly in order to use the SecretDecoderRing.
    @@ -124,122 +147,144 @@

    Class Encoding

  • @@ -254,116 +300,121 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
        • TAG

          -
          public static final Tag TAG
          +
          public static final Tag TAG
      +
      +
      +
      +
        -
      • +
      • Method Detail

        - +
        • getKeyID

          -
          public byte[] getKeyID()
          +
          public byte[] getKeyID()
        - +
        • getIv

          -
          public byte[] getIv()
          +
          public byte[] getIv()
        - + - +
        • getCiphertext

          -
          public byte[] getCiphertext()
          +
          public byte[] getCiphertext()
        - +
        • getTag

          -
          public Tag getTag()
          -
          Description copied from interface: ASN1Value
          +
          public Tag getTag()
          +
          Description copied from interface: ASN1Value
          Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
          Specified by:
          -
          getTag in interface ASN1Value
          +
          getTag in interface ASN1Value
          Returns:
          Base tag.
        - +
        • encode

          -
          public void encode(java.io.OutputStream ostream)
          +
          public void encode​(java.io.OutputStream ostream)
                       throws java.io.IOException
          -
          Description copied from interface: ASN1Value
          +
          Description copied from interface: ASN1Value
          Write this value's DER encoding to an output stream using its own base tag.
          Specified by:
          -
          encode in interface ASN1Value
          +
          encode in interface ASN1Value
          Parameters:
          ostream - Output stream.
          Throws:
          @@ -371,21 +422,21 @@

          encode

        - +
        • encode

          -
          public void encode(Tag implicitTag,
          +
          public void encode​(Tag implicitTag,
                              java.io.OutputStream ostream)
                       throws java.io.IOException
          -
          Description copied from interface: ASN1Value
          +
          Description copied from interface: ASN1Value
          Write this value's DER encoding to an output stream using an implicit tag.
          Specified by:
          -
          encode in interface ASN1Value
          +
          encode in interface ASN1Value
          Parameters:
          implicitTag - Implicit tag.
          ostream - Output stream.
          @@ -394,32 +445,36 @@

          encode

        - +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/SecretDecoderRing/Encryptor.html b/master/javadocs/org/mozilla/jss/SecretDecoderRing/Encryptor.html index 61ac28260..b711098c7 100644 --- a/master/javadocs/org/mozilla/jss/SecretDecoderRing/Encryptor.html +++ b/master/javadocs/org/mozilla/jss/SecretDecoderRing/Encryptor.html @@ -1,11 +1,20 @@ - + Encryptor (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.SecretDecoderRing
    +

    Class Encryptor

    @@ -106,7 +130,6 @@

    Class Encryptor


    • -
      public class Encryptor
       extends java.lang.Object
      Encrypts data with the SecretDecoderRing.
      @@ -117,41 +140,48 @@

      Class Encryptor

    @@ -194,39 +229,42 @@

    Methods inherited from class java.lang.Object

    +
    + diff --git a/master/javadocs/org/mozilla/jss/SecretDecoderRing/KeyManager.html b/master/javadocs/org/mozilla/jss/SecretDecoderRing/KeyManager.html index ad74fadf5..2e788784f 100644 --- a/master/javadocs/org/mozilla/jss/SecretDecoderRing/KeyManager.html +++ b/master/javadocs/org/mozilla/jss/SecretDecoderRing/KeyManager.html @@ -1,11 +1,20 @@ - + KeyManager (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.SecretDecoderRing
    +

    Class KeyManager

    @@ -106,7 +130,6 @@

    Class KeyManager

    @@ -255,22 +300,23 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
        • DEFAULT_KEYGEN_ALG

          -
          public static final KeyGenAlgorithm DEFAULT_KEYGEN_ALG
          +
          public static final KeyGenAlgorithm DEFAULT_KEYGEN_ALG
          The default key generation algorithm, currently DES3.
        - +
          @@ -287,19 +333,21 @@

          DEFAULT_KEYSIZE

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • KeyManager

          -
          public KeyManager(CryptoToken token)
          +
          public KeyManager​(CryptoToken token)
          Creates a new KeyManager using the given CryptoToken.
          Parameters:
          @@ -309,20 +357,22 @@

          KeyManager

      +
      +
        -
      • +
      • Method Detail

        - +
        • generateKey

          -
          public byte[] generateKey()
          -                   throws TokenException
          +
          public byte[] generateKey()
          +                   throws TokenException
          Generates an SDR key with the default algorithm and key size. The default algorithm is stored in the constant DEFAULT_KEYGEN_ALG. The default key size is stored in the constant DEFAULT_KEYSIZE.
          @@ -333,19 +383,19 @@

          generateKey

          by the application in order to use this key for encryption in the future.
          Throws:
          -
          TokenException
          +
          TokenException
        - + - +
        • generateUniqueNamedKey

          -
          public byte[] generateUniqueNamedKey(java.lang.String nickname)
          -                              throws TokenException
          +
          public byte[] generateUniqueNamedKey​(java.lang.String nickname)
          +                              throws TokenException
          Generates an SDR key with the default algorithm and key size. and names it with the specified nickname. The default algorithm is stored in the constant DEFAULT_KEYGEN_ALG. @@ -384,20 +434,20 @@

          generateUniqueNamedKey

          by the application in order to use this key for encryption in the future.
          Throws:
          -
          TokenException
          +
          TokenException
        - +
        • generateUniqueNamedKey

          -
          public byte[] generateUniqueNamedKey(KeyGenAlgorithm alg,
          +
          public byte[] generateUniqueNamedKey​(KeyGenAlgorithm alg,
                                                int keySize,
                                                java.lang.String nickname)
          -                              throws TokenException
          + throws TokenException
          Generates an SDR key with the given algorithm, key size, and nickname.
          Parameters:
          @@ -415,19 +465,19 @@

          generateUniqueNamedKey

          by the application in order to use this key for encryption in the future.
          Throws:
          -
          TokenException
          +
          TokenException
        - + - + - +
        • lookupUniqueNamedKey

          -
          public javax.crypto.SecretKey lookupUniqueNamedKey(EncryptionAlgorithm alg,
          +
          public javax.crypto.SecretKey lookupUniqueNamedKey​(EncryptionAlgorithm alg,
                                                              java.lang.String nickname)
          -                                            throws TokenException
          + throws TokenException
          Looks up the key on this token with the given algorithm and nickname.
          Parameters:
          @@ -481,80 +531,84 @@

          lookupUniqueNamedKey

          Returns:
          The key, or null if the key is not found.
          Throws:
          -
          TokenException
          +
          TokenException
        - +
        • deleteKey

          -
          public void deleteKey(byte[] keyID)
          -               throws TokenException,
          +
          public void deleteKey​(byte[] keyID)
          +               throws TokenException,
                                 java.security.InvalidKeyException
          Deletes the key with the given keyID from this token.
          Throws:
          java.security.InvalidKeyException - If the key does not exist on this token.
          -
          TokenException
          +
          TokenException
        - +
        • deleteUniqueNamedKey

          -
          public void deleteUniqueNamedKey(java.lang.String nickname)
          -                          throws TokenException,
          +
          public void deleteUniqueNamedKey​(java.lang.String nickname)
          +                          throws TokenException,
                                            java.security.InvalidKeyException
          If it exists, delete the key with the specified nickname from this token.
          Throws:
          -
          TokenException
          +
          TokenException
          java.security.InvalidKeyException
        - +
        • deleteKey

          -
          public void deleteKey(javax.crypto.SecretKey key)
          -               throws TokenException,
          +
          public void deleteKey​(javax.crypto.SecretKey key)
          +               throws TokenException,
                                 java.security.InvalidKeyException
          Deletes this key from this token.
          Throws:
          java.security.InvalidKeyException - If the key does not reside on this token, or is not a JSS key.
          -
          TokenException
          +
          TokenException
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/SecretDecoderRing/package-frame.html b/master/javadocs/org/mozilla/jss/SecretDecoderRing/package-frame.html deleted file mode 100644 index 9955eb0cc..000000000 --- a/master/javadocs/org/mozilla/jss/SecretDecoderRing/package-frame.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - -org.mozilla.jss.SecretDecoderRing (JSS: Java Security Services) - - - - -

    org.mozilla.jss.SecretDecoderRing

    - - - diff --git a/master/javadocs/org/mozilla/jss/SecretDecoderRing/package-summary.html b/master/javadocs/org/mozilla/jss/SecretDecoderRing/package-summary.html index fea7eade3..8af324b9c 100644 --- a/master/javadocs/org/mozilla/jss/SecretDecoderRing/package-summary.html +++ b/master/javadocs/org/mozilla/jss/SecretDecoderRing/package-summary.html @@ -1,11 +1,20 @@ - + org.mozilla.jss.SecretDecoderRing (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Package org.mozilla.jss.SecretDecoderRing

    -
    -
    A facility for encrypting and decrypting small amounts of data with -a symmetric key.
    -
    -

    See: Description

    +
    + + +
    A facility for encrypting and decrypting small amounts of data with +a symmetric key. This is most commonly used for encrypting password files +to implement single sign-on. + +

    KeyManager is used to create, lookup, and delete the symmetric keys used + for SecretDecoderRing. Encryptor is used to encrypt data. Decryptor is used +to decrypt data that was previously encrypted with Encryptor. Encoding +and Encoding.Template are used internally, but they were made public +because they may occasionally be useful to applications.

    +
    • - +
      @@ -86,31 +118,31 @@

      Package org.mozilla.jss.SecretDecoderRing

      - + - + - + - + - + @@ -119,30 +151,20 @@

      Package org.mozilla.jss.SecretDecoderRing

      Class Summary 
      Class
      DecryptorDecryptor
      Decrypts data with the SecretDecoderRing.
      EncodingEncoding
      An ASN.1 class for encoding the SecretDecoderRing result.
      Encoding.TemplateEncoding.Template
      An ASN.1 class for decoding the SecretDecoderRing result.
      EncryptorEncryptor
      Encrypts data with the SecretDecoderRing.
      KeyManagerKeyManager
      Creates, finds, and deletes keys for SecretDecoderRing.
    - - - -

    Package org.mozilla.jss.SecretDecoderRing Description

    -
    A facility for encrypting and decrypting small amounts of data with -a symmetric key. This is most commonly used for encrypting password files -to implement single sign-on. - -

    KeyManager is used to create, lookup, and delete the symmetric keys used - for SecretDecoderRing. Encryptor is used to encrypt data. Decryptor is used -to decrypt data that was previously encrypted with Encryptor. Encoding -and Encoding.Template are used internally, but they were made public -because they may occasionally be useful to applications.

    +
    + diff --git a/master/javadocs/org/mozilla/jss/SecretDecoderRing/package-tree.html b/master/javadocs/org/mozilla/jss/SecretDecoderRing/package-tree.html index 7395deb3c..fc6d34c6d 100644 --- a/master/javadocs/org/mozilla/jss/SecretDecoderRing/package-tree.html +++ b/master/javadocs/org/mozilla/jss/SecretDecoderRing/package-tree.html @@ -1,11 +1,20 @@ - + org.mozilla.jss.SecretDecoderRing Class Hierarchy (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Hierarchy For Package org.mozilla.jss.SecretDecoderRing

    Package Hierarchies: @@ -75,33 +99,38 @@

    Hierarchy For Package org.mozilla.jss.SecretDecoderRing

    +

    Class Hierarchy

    +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/UserCertConflictException.html b/master/javadocs/org/mozilla/jss/UserCertConflictException.html index 880b90b27..469626c22 100644 --- a/master/javadocs/org/mozilla/jss/UserCertConflictException.html +++ b/master/javadocs/org/mozilla/jss/UserCertConflictException.html @@ -1,11 +1,20 @@ - + UserCertConflictException (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss
    +

    Class UserCertConflictException

    @@ -111,10 +135,9 @@

    Class UserCertConflict
  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public final class UserCertConflictException
     extends java.lang.Exception
    @@ -128,37 +151,42 @@

    Class UserCertConflict
    • +
      +
      +
        -
      • +
      • Method Summary

          -
        • +
        • Methods inherited from class java.lang.Throwable

          addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -166,6 +194,7 @@

          Methods inherited from class java.lang.Object

      +

  • @@ -173,12 +202,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -189,21 +219,25 @@

          UserCertConflictException

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/ANY.Template.html b/master/javadocs/org/mozilla/jss/asn1/ANY.Template.html index f36996374..f9f201aa6 100644 --- a/master/javadocs/org/mozilla/jss/asn1/ANY.Template.html +++ b/master/javadocs/org/mozilla/jss/asn1/ANY.Template.html @@ -1,11 +1,20 @@ - + ANY.Template (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class ANY.Template

    @@ -107,17 +131,16 @@

    Class ANY.Template

  • All Implemented Interfaces:
    -
    ASN1Template
    +
    ASN1Template
    Enclosing class:
    -
    ANY
    +
    ANY

    -
    public static class ANY.Template
     extends java.lang.Object
    -implements ASN1Template
    +implements ASN1Template
    A class for decoding ANY values from BER.
  • @@ -126,57 +149,66 @@

    Class ANY.Template

    • +
        -
      • +
      • Constructor Summary

        - +
        - + + - + +
        Constructors 
        Constructor and DescriptionConstructorDescription
        Template() Template() 
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - - + + - - + + - +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        ASN1Valuedecode(java.io.InputStream istream) +ASN1Valuedecode​(java.io.InputStream istream)
        Decodes an ASN1Value from the InputStream without an implicit tag.
        ASN1Valuedecode(Tag implicitTag, - java.io.InputStream istream) +ASN1Valuedecode​(Tag implicitTag, + java.io.InputStream istream)
        Decodes an ASN1Value from the InputStream with the given implicit tag.
        booleantagMatch(Tag tag) +tagMatch​(Tag tag)
        Determines whether the given tag will satisfy this template.
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -184,6 +216,7 @@

          Methods inherited from class java.lang.Object

      +
    @@ -191,12 +224,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -207,24 +241,26 @@

          Template

      +
      +
        -
      • +
      • Method Detail

        - +
        • tagMatch

          -
          public boolean tagMatch(Tag tag)
          -
          Description copied from interface: ASN1Template
          +
          public boolean tagMatch​(Tag tag)
          +
          Description copied from interface: ASN1Template
          Determines whether the given tag will satisfy this template.
          Specified by:
          -
          tagMatch in interface ASN1Template
          +
          tagMatch in interface ASN1Template
          Parameters:
          tag - Tag.
          Returns:
          @@ -232,20 +268,20 @@

          tagMatch

        - +
        • decode

          -
          public ASN1Value decode(java.io.InputStream istream)
          +
          public ASN1Value decode​(java.io.InputStream istream)
                            throws java.io.IOException,
          -                        InvalidBERException
          -
          Description copied from interface: ASN1Template
          + InvalidBERException
          +
          Description copied from interface: ASN1Template
          Decodes an ASN1Value from the InputStream without an implicit tag.
          Specified by:
          -
          decode in interface ASN1Template
          +
          decode in interface ASN1Template
          Parameters:
          istream - Must support marking (markSupported() == true). For example, ByteArrayInputStream and BufferedInputStream @@ -256,26 +292,26 @@

          decode

          ASN.1 value.
          Throws:
          java.io.IOException - If other error occurred.
          -
          InvalidBERException - If there is an invalid BER encoding.
          +
          InvalidBERException - If there is an invalid BER encoding.
        - +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/ANY.html b/master/javadocs/org/mozilla/jss/asn1/ANY.html index 74e33ed76..c54daf4db 100644 --- a/master/javadocs/org/mozilla/jss/asn1/ANY.html +++ b/master/javadocs/org/mozilla/jss/asn1/ANY.html @@ -1,11 +1,20 @@ - + ANY (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class ANY

    @@ -107,13 +131,12 @@

    Class ANY

  • All Implemented Interfaces:
    -
    ASN1Value
    +
    ASN1Value

    -
    public class ANY
     extends java.lang.Object
    -implements ASN1Value
    +implements ASN1Value
    Represents an ASN.1 ANY value. An ANY is just an arbitrary ASN.1 value. It can be thought of as the simplest implementation of the ASN1Value interface. Although they can be created @@ -130,131 +153,152 @@

    Class ANY

    @@ -269,18 +314,19 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • ANY

          -
          public ANY(Tag tag,
          +
          public ANY​(Tag tag,
                      byte[] encoded)
          Creates an ANY value, which is just a generic ASN.1 value. This method is provided for efficiency if the tag is already known, @@ -294,55 +340,57 @@

          ANY

        - +
        • ANY

          -
          public ANY(byte[] encoded)
          -    throws InvalidBERException
          +
          public ANY​(byte[] encoded)
          +    throws InvalidBERException
          Creates an ANY value, which is just a generic ASN.1 value.
          Parameters:
          encoded - The complete BER encoding of this value, including tag, form, length, and contents.
          Throws:
          -
          InvalidBERException - If there is an invalid BER encoding.
          +
          InvalidBERException - If there is an invalid BER encoding.
      +
      +
        -
      • +
      • Method Detail

        - +
        • getTag

          -
          public Tag getTag()
          +
          public Tag getTag()
          Returns the tag of this value.
          Specified by:
          -
          getTag in interface ASN1Value
          +
          getTag in interface ASN1Value
          Returns:
          Base tag.
        - +
        • getEncoded

          -
          public byte[] getEncoded()
          +
          public byte[] getEncoded()
          Returns the complete encoding of header and contents, as passed into the constructor or read from a BER input stream.
          @@ -351,53 +399,53 @@

          getEncoded

        - + - + - +
        • encode

          -
          public void encode(java.io.OutputStream ostream)
          +
          public void encode​(java.io.OutputStream ostream)
                       throws java.io.IOException
          -
          Description copied from interface: ASN1Value
          +
          Description copied from interface: ASN1Value
          Write this value's DER encoding to an output stream using its own base tag.
          Specified by:
          -
          encode in interface ASN1Value
          +
          encode in interface ASN1Value
          Parameters:
          ostream - Output stream.
          Throws:
          @@ -405,14 +453,14 @@

          encode

        - +
        • decodeWith

          -
          public ASN1Value decodeWith(ASN1Template template)
          -                     throws InvalidBERException
          +
          public ASN1Value decodeWith​(ASN1Template template)
          +                     throws InvalidBERException
          Decodes this ANY using the given template. This is useful if you originally decoded something as an ANY because you didn't know what it was, but now you know what it is supposed to be.
          @@ -423,20 +471,20 @@

          decodeWith

          The output of the given template when it is fed the encoding of this ANY.
          Throws:
          -
          InvalidBERException - If there is an invalid BER encoding.
          +
          InvalidBERException - If there is an invalid BER encoding.
        - +
        • decodeWith

          -
          public ASN1Value decodeWith(Tag implicitTag,
          -                            ASN1Template template)
          +
          public ASN1Value decodeWith​(Tag implicitTag,
          +                            ASN1Template template)
                                throws java.io.IOException,
          -                            InvalidBERException
          + InvalidBERException
          Decodes this ANY using the given template. This is useful if you originally decoded something as an ANY because you didn't know what it was, but now you know what it is supposed to be.
          @@ -448,26 +496,26 @@

          decodeWith

          The output of the given template when it is fed the encoding of this ANY.
          Throws:
          -
          InvalidBERException - If there is an invalid BER encoding.
          +
          InvalidBERException - If there is an invalid BER encoding.
          java.io.IOException - If other error occurred.
        - +
        • encode

          -
          public void encode(Tag implicitTag,
          +
          public void encode​(Tag implicitTag,
                              java.io.OutputStream ostream)
                       throws java.io.IOException
          -
          Description copied from interface: ASN1Value
          +
          Description copied from interface: ASN1Value
          Write this value's DER encoding to an output stream using an implicit tag.
          Specified by:
          -
          encode in interface ASN1Value
          +
          encode in interface ASN1Value
          Parameters:
          implicitTag - This parameter is ignored, because ANY values cannot have implicit tags.
          @@ -477,16 +525,16 @@

          encode

        - +
        • encodeWithAlternateTag

          -
          public void encodeWithAlternateTag(Tag alternateTag,
          +
          public void encodeWithAlternateTag​(Tag alternateTag,
                                              java.io.OutputStream ostream)
                                       throws java.io.IOException,
          -                                   InvalidBERException
          + InvalidBERException
          Extracts the contents from the ANY and encodes them with the provided tag.
          @@ -494,18 +542,18 @@

          encodeWithAlternateTag

          alternateTag - Alternate tag.
          ostream - Output stream.
          Throws:
          -
          InvalidBERException - If there is an invalid BER encoding.
          +
          InvalidBERException - If there is an invalid BER encoding.
          java.io.IOException - If other error occurred.
        - +
        • getTemplate

          -
          public static ANY.Template getTemplate()
          +
          public static ANY.Template getTemplate()
          Returns a singleton instance of a decoding template.
          Returns:
          @@ -515,21 +563,25 @@

          getTemplate

      +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/ASN1Header.html b/master/javadocs/org/mozilla/jss/asn1/ASN1Header.html index d4f861f39..5dfa60a40 100644 --- a/master/javadocs/org/mozilla/jss/asn1/ASN1Header.html +++ b/master/javadocs/org/mozilla/jss/asn1/ASN1Header.html @@ -1,11 +1,20 @@ - + ASN1Header (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class ASN1Header

    @@ -106,7 +130,6 @@

    Class ASN1Header


    • -
      public class ASN1Header
       extends java.lang.Object
      The portion of a BER encoding that precedes the contents octets. Consists @@ -118,49 +141,58 @@

      Class ASN1Header

      • +
        +
        +
          -
        • +
        • Constructor Summary

          - +
          - + + - + - + @@ -168,82 +200,96 @@

          Constructor Summary

          Constructors 
          Constructor and DescriptionConstructorDescription
          ASN1Header(java.io.InputStream istream) +ASN1Header​(java.io.InputStream istream)
          Gets info about the next item in the DER stream, consuming the identifier and length octets.
          ASN1Header(Tag tag, - Form form, - long contentLength) +ASN1Header​(Tag tag, + Form form, + long contentLength)
          This constructor is to be called when we are constructing an ASN1Value rather than decoding it.
        +
        +
        +
      @@ -258,45 +305,48 @@

      Methods inherited from class java.lang.Object

      • +
          -
        • +
        • Field Detail

          - +
          • PRIMITIVE

            -
            public static final Form PRIMITIVE
            +
            public static final Form PRIMITIVE
          - +
          • CONSTRUCTED

            -
            public static final Form CONSTRUCTED
            +
            public static final Form CONSTRUCTED
        +
        +
          -
        • +
        • Constructor Detail

          - +
          • ASN1Header

            -
            public ASN1Header(java.io.InputStream istream)
            -           throws InvalidBERException,
            +
            public ASN1Header​(java.io.InputStream istream)
            +           throws InvalidBERException,
                               java.io.IOException
            Gets info about the next item in the DER stream, consuming the identifier and length octets.
            @@ -304,19 +354,19 @@

            ASN1Header

            Parameters:
            istream - Input stream.
            Throws:
            -
            InvalidBERException - If there is an invalid BER encoding.
            +
            InvalidBERException - If there is an invalid BER encoding.
            java.io.IOException - If other error occurred.
          - +
          • ASN1Header

            -
            public ASN1Header(Tag tag,
            -                  Form form,
            +
            public ASN1Header​(Tag tag,
            +                  Form form,
                               long contentLength)
            This constructor is to be called when we are constructing an ASN1Value rather than decoding it.
            @@ -332,19 +382,21 @@

            ASN1Header

        +
        +
          -
        • +
        • Method Detail

          - +
          • getTotalLength

            -
            public long getTotalLength()
            +
            public long getTotalLength()
            Returns the length of the header plus the length of the contents; the total length of the DER encoding of an ASN1 value. Returns -1 if indefinite length encoding was used.
            @@ -354,22 +406,22 @@

            getTotalLength

          - +
          • getTag

            -
            public Tag getTag()
            +
            public Tag getTag()
          - +
          • getContentLength

            -
            public long getContentLength()
            +
            public long getContentLength()
            Returns -1 for indefinite length encoding.
            Returns:
            @@ -377,13 +429,13 @@

            getContentLength

          - +
          • getForm

            -
            public Form getForm()
            +
            public Form getForm()
            Returns the Form, PRIMITIVE or CONSTRUCTED.
            Returns:
            @@ -391,15 +443,15 @@

            getForm

          - +
          • lookAhead

            -
            public static ASN1Header lookAhead(java.io.InputStream derStream)
            +
            public static ASN1Header lookAhead​(java.io.InputStream derStream)
                                         throws java.io.IOException,
            -                                   InvalidBERException
            + InvalidBERException
            Returns information about the next item in the stream, but does not consume any octets.
            @@ -408,18 +460,18 @@

            lookAhead

            Returns:
            ASN.1 header.
            Throws:
            -
            InvalidBERException - If there is an invalid BER encoding.
            +
            InvalidBERException - If there is an invalid BER encoding.
            java.io.IOException - If the input stream does not support look ahead.
          - +
          • encode

            -
            public void encode(java.io.OutputStream ostream)
            +
            public void encode​(java.io.OutputStream ostream)
                         throws java.io.IOException
            Throws:
            @@ -427,22 +479,22 @@

            encode

          - +
          • encode

            -
            public byte[] encode()
            +
            public byte[] encode()
          - +
          • unsignedBigIntToByteArray

            -
            public static byte[] unsignedBigIntToByteArray(java.math.BigInteger bi)
            +
            public static byte[] unsignedBigIntToByteArray​(java.math.BigInteger bi)
            Converts an unsigned BigInteger to a minimal-length byte array. This is necessary because BigInteger.toByteArray() attaches an extra sign bit, which could cause the size of the byte representation to @@ -455,51 +507,51 @@

            unsignedBigIntToByteArray

          - +
          • validate

            -
            public void validate(Tag expectedTag,
            -                     Form expectedForm)
            -              throws InvalidBERException
            +
            public void validate​(Tag expectedTag,
            +                     Form expectedForm)
            +              throws InvalidBERException
            Verifies that this header has the given tag and form.
            Parameters:
            expectedTag - Expected tag.
            expectedForm - Expected form.
            Throws:
            -
            InvalidBERException - If the header's tag or form +
            InvalidBERException - If the header's tag or form differ from those passed in.
          - + - +
          • isEOC

            -
            public boolean isEOC()
            +
            public boolean isEOC()
            Returns:
            true if this is a BER end-of-contents marker.
            @@ -508,21 +560,25 @@

            isEOC

        +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/ASN1Template.html b/master/javadocs/org/mozilla/jss/asn1/ASN1Template.html index 6aef98007..2174ac6c6 100644 --- a/master/javadocs/org/mozilla/jss/asn1/ASN1Template.html +++ b/master/javadocs/org/mozilla/jss/asn1/ASN1Template.html @@ -1,11 +1,20 @@ - + ASN1Template (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Interface ASN1Template

    @@ -99,15 +123,14 @@

    Interface ASN1Template

  • All Known Implementing Classes:
    -
    AlgorithmIdentifier.Template, ANY.Template, Attribute.Template, Attribute.Template, AuthenticatedSafes.Template, AVA.Template, BIT_STRING.Template, BMPString.Template, BodyPartReference.Template, BOOLEAN.Template, CertBag.Template, CertId.Template, Certificate.Template, CertificateInfo.Template, CertificationRequest.Template, CertificationRequestInfo.Template, CertReqMsg.Template, CertRequest.Template, CertTemplate.Template, CharacterString.Template, CHOICE.Template, CMCCertId.Template, CMCStatusInfo.Template, CMCStatusInfoV2.Template, ContentInfo.Template, ContentInfo.Template, Control.Template, CRLDistributionPoint.Template, DecryptedPOP.Template, DigestedData.Template, DigestedData.Template, DigestInfo.Template, DigestInfo.Template, DirectoryString.Template, EncapsulatedContentInfo.Template, Encoding.Template, EncryptedContentInfo.Template, EncryptedContentInfo.Template, EncryptedData.Template, EncryptedData.Template, EncryptedKey.Template, EncryptedPOP.Template, EncryptedPrivateKeyInfo.Template, EncryptedValue.Template, ENUMERATED.Template, EnvelopedData.Template, EnvelopedData.Template, EXPLICIT.Template, ExtendedFailInfo.Template, Extension.Template, GeneralizedTime.Template, GetCert.Template, GetCRL.Template, IA5String.Template, IdentityProofV2.Template, INTEGER.Template, IssuerAndSerialNumber.Template, IssuerAndSerialNumber.Template, IssuerAndSubject.Template, LraPopWitness.Template, MacData.Template, Name.Template, NULL.Template, OBJECT_IDENTIFIER.Template, OCTET_STRING.Template, OtherInfo.Template, OtherMsg.Template, OtherReqMsg.Template, PBEParameter.Template, PendInfo.Template, PFX.Template, PKIArchiveOptions.Template, PKIData.Template, PKIPublicationInfo.Template, PKIStatusInfo.Template, PopLinkWitnessV2.Template, POPOPrivKey.Template, POPOSigningKey.Template, PrintableString.Template, PrivateKeyInfo.Template, ProofOfPossession.Template, RDN.Template, RecipientInfo.Template, RecipientInfo.Template, ResponseBody.Template, RevokeRequest.Template, RevRepContent.Template, RevRequest.Template, SafeBag.Template, SecretBag.Template, SEQUENCE.OF_Template, SEQUENCE.Template, SET.OF_Template, SET.Template, SignedAndEnvelopedData.Template, SignedAndEnvelopedData.Template, SignedData.Template, SignedData.Template, SignerIdentifier.Template, SignerInfo.Template, SignerInfo.Template, SubjectKeyIdentifier.Template, SubjectPublicKeyInfo.Template, TaggedAttribute.Template, TaggedCertificationRequest.Template, TaggedContentInfo.Template, TaggedRequest.Template, TeletexString.Template, UniversalString.Template, UTCTime.Template, UTF8String.Template
    +
    AlgorithmIdentifier.Template, ANY.Template, Attribute.Template, Attribute.Template, AuthenticatedSafes.Template, AVA.Template, BIT_STRING.Template, BMPString.Template, BodyPartReference.Template, BOOLEAN.Template, CertBag.Template, CertId.Template, Certificate.Template, CertificateInfo.Template, CertificationRequest.Template, CertificationRequestInfo.Template, CertReqMsg.Template, CertRequest.Template, CertTemplate.Template, CharacterString.Template, CHOICE.Template, CMCCertId.Template, CMCStatusInfo.Template, CMCStatusInfoV2.Template, ContentInfo.Template, ContentInfo.Template, Control.Template, CRLDistributionPoint.Template, DecryptedPOP.Template, DigestedData.Template, DigestedData.Template, DigestInfo.Template, DigestInfo.Template, DirectoryString.Template, EncapsulatedContentInfo.Template, Encoding.Template, EncryptedContentInfo.Template, EncryptedContentInfo.Template, EncryptedData.Template, EncryptedData.Template, EncryptedKey.Template, EncryptedPOP.Template, EncryptedPrivateKeyInfo.Template, EncryptedValue.Template, ENUMERATED.Template, EnvelopedData.Template, EnvelopedData.Template, EXPLICIT.Template, ExtendedFailInfo.Template, Extension.Template, GeneralizedTime.Template, GetCert.Template, GetCRL.Template, IA5String.Template, IdentityProofV2.Template, INTEGER.Template, IssuerAndSerialNumber.Template, IssuerAndSerialNumber.Template, IssuerAndSubject.Template, LraPopWitness.Template, MacData.Template, Name.Template, NULL.Template, OBJECT_IDENTIFIER.Template, OCTET_STRING.Template, OtherInfo.Template, OtherMsg.Template, OtherReqMsg.Template, PBEParameter.Template, PendInfo.Template, PFX.Template, PKIArchiveOptions.Template, PKIData.Template, PKIPublicationInfo.Template, PKIStatusInfo.Template, PopLinkWitnessV2.Template, POPOPrivKey.Template, POPOSigningKey.Template, PrintableString.Template, PrivateKeyInfo.Template, ProofOfPossession.Template, RDN.Template, RecipientInfo.Template, RecipientInfo.Template, ResponseBody.Template, RevokeRequest.Template, RevRepContent.Template, RevRequest.Template, SafeBag.Template, SecretBag.Template, SEQUENCE.OF_Template, SEQUENCE.Template, SET.OF_Template, SET.Template, SignedAndEnvelopedData.Template, SignedAndEnvelopedData.Template, SignedData.Template, SignedData.Template, SignerIdentifier.Template, SignerInfo.Template, SignerInfo.Template, SubjectKeyIdentifier.Template, SubjectPublicKeyInfo.Template, TaggedAttribute.Template, TaggedCertificationRequest.Template, TaggedContentInfo.Template, TaggedRequest.Template, TeletexString.Template, UniversalString.Template, UTCTime.Template, UTF8String.Template

    -
    public interface ASN1Template
    An interface for decoding ASN1Values from their BER encodings.
    See Also:
    -
    ASN1Value
    +
    ASN1Value
  • @@ -116,40 +139,46 @@

    Interface ASN1Template

    • +
        -
      • +
      • Method Summary

        - +
        - + + - - + + - - + + - +
        All Methods Instance Methods Abstract Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        ASN1Valuedecode(java.io.InputStream istream) +ASN1Valuedecode​(java.io.InputStream istream)
        Decodes an ASN1Value from the InputStream without an implicit tag.
        ASN1Valuedecode(Tag implicitTag, - java.io.InputStream istream) +ASN1Valuedecode​(Tag implicitTag, + java.io.InputStream istream)
        Decodes an ASN1Value from the InputStream with the given implicit tag.
        booleantagMatch(Tag tag) +tagMatch​(Tag tag)
        Determines whether the given tag will satisfy this template.
      +
    @@ -157,18 +186,19 @@

    Method Summary

    • +
        -
      • +
      • Method Detail

        - +
        • tagMatch

          -
          boolean tagMatch(Tag tag)
          +
          boolean tagMatch​(Tag tag)
          Determines whether the given tag will satisfy this template.
          Parameters:
          @@ -178,15 +208,15 @@

          tagMatch

        - +
        • decode

          -
          ASN1Value decode(java.io.InputStream istream)
          +
          ASN1Value decode​(java.io.InputStream istream)
                     throws java.io.IOException,
          -                 InvalidBERException
          + InvalidBERException
          Decodes an ASN1Value from the InputStream without an implicit tag.
          Parameters:
          @@ -198,21 +228,21 @@

          decode

          Returns:
          ASN.1 value.
          Throws:
          -
          InvalidBERException - If there is an invalid BER encoding.
          +
          InvalidBERException - If there is an invalid BER encoding.
          java.io.IOException - If other error occurred.
        - +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/ASN1Util.html b/master/javadocs/org/mozilla/jss/asn1/ASN1Util.html index 0794f3ad6..6e7f13bba 100644 --- a/master/javadocs/org/mozilla/jss/asn1/ASN1Util.html +++ b/master/javadocs/org/mozilla/jss/asn1/ASN1Util.html @@ -1,11 +1,20 @@ - + ASN1Util (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class ASN1Util

    @@ -106,7 +130,6 @@

    Class ASN1Util

    @@ -204,12 +241,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -220,69 +258,71 @@

          ASN1Util

      +
      +
        -
      • +
      • Method Detail

        - +
        • encode

          -
          public static byte[] encode(ASN1Value val)
          +
          public static byte[] encode​(ASN1Value val)
        - +
        • encode

          -
          public static byte[] encode(Tag implicitTag,
          -                            ASN1Value val)
          +
          public static byte[] encode​(Tag implicitTag,
          +                            ASN1Value val)
        - + - + - +
        • readFully

          -
          public static void readFully(byte[] bytes,
          +
          public static void readFully​(byte[] bytes,
                                        java.io.InputStream istream)
                                 throws java.io.IOException
          Fills a byte array with bytes from an input stream. This method @@ -299,13 +339,13 @@

          readFully

        - +
        • getECCurveBytesByX509PublicKeyBytes

          -
          public static byte[] getECCurveBytesByX509PublicKeyBytes(byte[] X509PubKeyBytes,
          +
          public static byte[] getECCurveBytesByX509PublicKeyBytes​(byte[] X509PubKeyBytes,
                                                                    boolean withHeader)
                                                             throws java.lang.IllegalArgumentException,
                                                                    java.lang.ArrayIndexOutOfBoundsException,
          @@ -324,13 +364,13 @@ 

          getECCurveBytesByX509PublicKeyBytes

        - +
        • getOIDdescription

          -
          public static java.lang.String getOIDdescription(byte[] oidBA)
          +
          public static java.lang.String getOIDdescription​(byte[] oidBA)
          getOIDdescription() returns a text description of the OID from OID byte array the OID byte array is expected to be without the OID Tag (6) and size @@ -345,21 +385,25 @@

          getOIDdescription

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/ASN1Value.html b/master/javadocs/org/mozilla/jss/asn1/ASN1Value.html index 723c9fd86..b5c7f796f 100644 --- a/master/javadocs/org/mozilla/jss/asn1/ASN1Value.html +++ b/master/javadocs/org/mozilla/jss/asn1/ASN1Value.html @@ -1,11 +1,20 @@ - + ASN1Value (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Interface ASN1Value

    @@ -99,15 +123,14 @@

    Interface ASN1Value

  • All Known Implementing Classes:
    -
    AlgorithmIdentifier, ANY, Attribute, Attribute, AuthenticatedSafes, AVA, BIT_STRING, BMPString, BodyPartReference, BOOLEAN, CertBag, CertId, Certificate, CertificateInfo, CertificationRequest, CertificationRequestInfo, CertifiedKeyPair, CertOrEncCert, CertRepContent, CertReqMsg, CertRequest, CertResponse, CertTemplate, CharacterString, CHOICE, CMCCertId, CMCStatusInfo, CMCStatusInfoV2, ContentInfo, ContentInfo, Control, CRLDistributionPoint, DecryptedPOP, DigestedData, DigestedData, DigestInfo, DigestInfo, DirectoryString, EncapsulatedContentInfo, Encoding, EncryptedContentInfo, EncryptedContentInfo, EncryptedData, EncryptedData, EncryptedKey, EncryptedPOP, EncryptedPrivateKeyInfo, EncryptedValue, ENUMERATED, EnvelopedData, EnvelopedData, EXPLICIT, ExtendedFailInfo, Extension, GeneralizedTime, GetCert, GetCRL, IA5String, IdentityProofV2, INTEGER, IssuerAndSerialNumber, IssuerAndSerialNumber, IssuerAndSubject, IssuingDistributionPoint, LraPopWitness, MacData, Name, NULL, OBJECT_IDENTIFIER, OCTET_STRING, OtherInfo, OtherMsg, OtherReqMsg, PBEParameter, PendInfo, PFX, PKIArchiveOptions, PKIData, PKIPublicationInfo, PKIStatusInfo, PopLinkWitnessV2, POPOPrivKey, POPOSigningKey, PrintableString, PrivateKeyInfo, ProofOfPossession, RDN, RecipientInfo, RecipientInfo, ResponseBody, RevokeRequest, RevRepContent, RevRequest, SafeBag, SecretBag, SEQUENCE, SET, SignedAndEnvelopedData, SignedAndEnvelopedData, SignedData, SignedData, SignerIdentifier, SignerInfo, SignerInfo, SubjectKeyIdentifier, SubjectPublicKeyInfo, TaggedAttribute, TaggedCertificationRequest, TaggedContentInfo, TaggedRequest, TeletexString, TimeBase, UniversalString, UTCTime, UTF8String
    +
    AlgorithmIdentifier, ANY, Attribute, Attribute, AuthenticatedSafes, AVA, BIT_STRING, BMPString, BodyPartReference, BOOLEAN, CertBag, CertId, Certificate, CertificateInfo, CertificationRequest, CertificationRequestInfo, CertifiedKeyPair, CertOrEncCert, CertRepContent, CertReqMsg, CertRequest, CertResponse, CertTemplate, CharacterString, CHOICE, CMCCertId, CMCStatusInfo, CMCStatusInfoV2, ContentInfo, ContentInfo, Control, CRLDistributionPoint, DecryptedPOP, DigestedData, DigestedData, DigestInfo, DigestInfo, DirectoryString, EncapsulatedContentInfo, Encoding, EncryptedContentInfo, EncryptedContentInfo, EncryptedData, EncryptedData, EncryptedKey, EncryptedPOP, EncryptedPrivateKeyInfo, EncryptedValue, ENUMERATED, EnvelopedData, EnvelopedData, EXPLICIT, ExtendedFailInfo, Extension, GeneralizedTime, GetCert, GetCRL, IA5String, IdentityProofV2, INTEGER, IssuerAndSerialNumber, IssuerAndSerialNumber, IssuerAndSubject, IssuingDistributionPoint, LraPopWitness, MacData, Name, NULL, OBJECT_IDENTIFIER, OCTET_STRING, OtherInfo, OtherMsg, OtherReqMsg, PBEParameter, PendInfo, PFX, PKIArchiveOptions, PKIData, PKIPublicationInfo, PKIStatusInfo, PopLinkWitnessV2, POPOPrivKey, POPOSigningKey, PrintableString, PrivateKeyInfo, ProofOfPossession, RDN, RecipientInfo, RecipientInfo, ResponseBody, RevokeRequest, RevRepContent, RevRequest, SafeBag, SecretBag, SEQUENCE, SET, SignedAndEnvelopedData, SignedAndEnvelopedData, SignedData, SignedData, SignerIdentifier, SignerInfo, SignerInfo, SubjectKeyIdentifier, SubjectPublicKeyInfo, TaggedAttribute, TaggedCertificationRequest, TaggedContentInfo, TaggedRequest, TeletexString, TimeBase, UniversalString, UTCTime, UTF8String

    -
    public interface ASN1Value
    A value that can be decoded from BER and encoded to DER.
    See Also:
    -
    ASN1Template
    +
    ASN1Template
  • @@ -116,35 +139,40 @@

    Interface ASN1Value

    • +
        -
      • +
      • Method Summary

        - +
        - + + - + - + - - + + @@ -152,6 +180,7 @@

        Method Summary

        All Methods Instance Methods Abstract Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        voidencode(java.io.OutputStream ostream) +encode​(java.io.OutputStream ostream)
        Write this value's DER encoding to an output stream using its own base tag.
        voidencode(Tag implicitTag, - java.io.OutputStream ostream) +encode​(Tag implicitTag, + java.io.OutputStream ostream)
        Write this value's DER encoding to an output stream using an implicit tag.
        TaggetTag() +TaggetTag()
        Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
      +
    @@ -159,18 +188,19 @@

    Method Summary

    • +
        -
      • +
      • Method Detail

        - +
        • getTag

          -
          Tag getTag()
          +
          Tag getTag()
          Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
          @@ -179,13 +209,13 @@

          getTag

        - +
        • encode

          -
          void encode(java.io.OutputStream ostream)
          +
          void encode​(java.io.OutputStream ostream)
                throws java.io.IOException
          Write this value's DER encoding to an output stream using its own base tag.
          @@ -197,13 +227,13 @@

          encode

        - +
        • encode

          -
          void encode(Tag implicitTag,
          +
          void encode​(Tag implicitTag,
                       java.io.OutputStream ostream)
                throws java.io.IOException
          Write this value's DER encoding to an output stream using @@ -219,21 +249,25 @@

          encode

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/BIT_STRING.Template.html b/master/javadocs/org/mozilla/jss/asn1/BIT_STRING.Template.html index 5d23eff84..cd1d1c941 100644 --- a/master/javadocs/org/mozilla/jss/asn1/BIT_STRING.Template.html +++ b/master/javadocs/org/mozilla/jss/asn1/BIT_STRING.Template.html @@ -1,11 +1,20 @@ - + BIT_STRING.Template (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class BIT_STRING.Template

    @@ -107,17 +131,16 @@

    Class BIT_STRING.Template
    All Implemented Interfaces:
    -
    ASN1Template
    +
    ASN1Template
    Enclosing class:
    -
    BIT_STRING
    +
    BIT_STRING

    -
    public static class BIT_STRING.Template
     extends java.lang.Object
    -implements ASN1Template
    +implements ASN1Template
    A class for decoding a BIT_STRING from its BER encoding.
    @@ -126,57 +149,66 @@

    Class BIT_STRING.Template
  • +
      -
    • +
    • Constructor Summary

      - +
      - + + - + +
      Constructors 
      Constructor and DescriptionConstructorDescription
      Template() Template() 
    +
    +
      -
    • +
    • Method Summary

      - +
      - + + - - + + - - + + - +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and DescriptionMethodDescription
      ASN1Valuedecode(java.io.InputStream istream) +ASN1Valuedecode​(java.io.InputStream istream)
      Decodes an ASN1Value from the InputStream without an implicit tag.
      ASN1Valuedecode(Tag implicitTag, - java.io.InputStream istream) +ASN1Valuedecode​(Tag implicitTag, + java.io.InputStream istream)
      Decodes an ASN1Value from the InputStream with the given implicit tag.
      booleantagMatch(Tag tag) +tagMatch​(Tag tag)
      Determines whether the given tag will satisfy this template.
        -
      • +
      • Methods inherited from class java.lang.Object

        @@ -184,6 +216,7 @@

        Methods inherited from class java.lang.Object

    +
  • @@ -191,12 +224,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -207,24 +241,26 @@

          Template

      +
      +
        -
      • +
      • Method Detail

        - +
        • tagMatch

          -
          public boolean tagMatch(Tag tag)
          -
          Description copied from interface: ASN1Template
          +
          public boolean tagMatch​(Tag tag)
          +
          Description copied from interface: ASN1Template
          Determines whether the given tag will satisfy this template.
          Specified by:
          -
          tagMatch in interface ASN1Template
          +
          tagMatch in interface ASN1Template
          Parameters:
          tag - Tag.
          Returns:
          @@ -232,20 +268,20 @@

          tagMatch

        - +
        • decode

          -
          public ASN1Value decode(java.io.InputStream istream)
          +
          public ASN1Value decode​(java.io.InputStream istream)
                            throws java.io.IOException,
          -                        InvalidBERException
          -
          Description copied from interface: ASN1Template
          + InvalidBERException
          +
          Description copied from interface: ASN1Template
          Decodes an ASN1Value from the InputStream without an implicit tag.
          Specified by:
          -
          decode in interface ASN1Template
          +
          decode in interface ASN1Template
          Parameters:
          istream - Must support marking (markSupported() == true). For example, ByteArrayInputStream and BufferedInputStream @@ -256,26 +292,26 @@

          decode

          ASN.1 value.
          Throws:
          java.io.IOException - If other error occurred.
          -
          InvalidBERException - If there is an invalid BER encoding.
          +
          InvalidBERException - If there is an invalid BER encoding.
        - +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/BIT_STRING.html b/master/javadocs/org/mozilla/jss/asn1/BIT_STRING.html index 613ff0c89..47c4d01be 100644 --- a/master/javadocs/org/mozilla/jss/asn1/BIT_STRING.html +++ b/master/javadocs/org/mozilla/jss/asn1/BIT_STRING.html @@ -1,11 +1,20 @@ - + BIT_STRING (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class BIT_STRING

    @@ -107,13 +131,12 @@

    Class BIT_STRING

  • All Implemented Interfaces:
    -
    ASN1Value
    +
    ASN1Value

    -
    public class BIT_STRING
     extends java.lang.Object
    -implements ASN1Value
    +implements ASN1Value
    An ASN.1 BIT STRING, which is an ordered sequence of bits. The bits are stored the same way they are encoded in BER: as an array of bytes with 0-7 unused bits at the end.
    @@ -124,153 +147,179 @@

    Class BIT_STRING

    • +
        -
      • +
      • Nested Class Summary

        - +
        - + + - +
        Nested Classes 
        Modifier and TypeClass and DescriptionClassDescription
        static class BIT_STRING.Template +BIT_STRING.Template
        A class for decoding a BIT_STRING from its BER encoding.
      +
      +
        -
      • +
      • Field Summary

        - +
        - + + - - + + + - - + + +
        Fields 
        Modifier and TypeField and DescriptionFieldDescription
        static FormFORM static FormFORM 
        static TagTAG static TagTAG 
      +
      +
        -
      • +
      • Constructor Summary

        - +
        - + + - + + - + +
        Constructors 
        Constructor and DescriptionConstructorDescription
        BIT_STRING(java.util.BitSet bs, - int numBits) -
        Constructs a BIT_STRING from a BitSet.
        -
        BIT_STRING​(byte[] bits, + int padCount) 
        BIT_STRING(byte[] bits, - int padCount) BIT_STRING​(java.util.BitSet bs, + int numBits) +
        Constructs a BIT_STRING from a BitSet.
        +
      +
      +
      +
  • @@ -285,44 +335,47 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
        • TAG

          -
          public static final Tag TAG
          +
          public static final Tag TAG
        - +
        • FORM

          -
          public static final Form FORM
          +
          public static final Form FORM
      +
      +
        -
      • +
      • Constructor Detail

        - +
        • BIT_STRING

          -
          public BIT_STRING(byte[] bits,
          +
          public BIT_STRING​(byte[] bits,
                             int padCount)
                      throws java.lang.NumberFormatException
          @@ -340,13 +393,13 @@

          BIT_STRING

        - +
        • BIT_STRING

          -
          public BIT_STRING(java.util.BitSet bs,
          +
          public BIT_STRING​(java.util.BitSet bs,
                             int numBits)
                      throws java.lang.NumberFormatException
          Constructs a BIT_STRING from a BitSet.
          @@ -365,19 +418,21 @@

          BIT_STRING

      +
      +
        -
      • +
      • Method Detail

        - +
        • getRemoveTrailingZeroes

          -
          public boolean getRemoveTrailingZeroes()
          +
          public boolean getRemoveTrailingZeroes()
          Determines whether the DER-encoding of this bitstring will have its trailing zeroes removed. Generally, DER requires that trailing zeroes be removed when the bitstring is used to hold flags, but @@ -389,13 +444,13 @@

          getRemoveTrailingZeroes

        - +
        • setRemoveTrailingZeroes

          -
          public void setRemoveTrailingZeroes(boolean removeTrailingZeroes)
          +
          public void setRemoveTrailingZeroes​(boolean removeTrailingZeroes)
          Determines whether the DER-encoding of this bitstring will have its trailing zeroes removed. Generally, DER requires that trailing zeroes be removed when the bitstring is used to hold flags, but @@ -408,13 +463,13 @@

          setRemoveTrailingZeroes

        - +
        • getBits

          -
          public byte[] getBits()
          +
          public byte[] getBits()
          Returns the bits packed into an array of bytes, with padding at the end. The array may be empty (but not null), in which case padCount must be zero. The array is referenced, @@ -425,13 +480,13 @@

          getBits

        - +
        • toBitSet

          -
          public java.util.BitSet toBitSet()
          +
          public java.util.BitSet toBitSet()
          Copies this BIT STRING into a Java BitSet. Note that BitSet.size() will not accurately reflect the number of bits in the BIT STRING, because the size of a BitSet is always rounded up to the next multiple @@ -442,13 +497,13 @@

          toBitSet

        - +
        • toBooleanArray

          -
          public boolean[] toBooleanArray()
          +
          public boolean[] toBooleanArray()
          Copies this BIT STRING into a boolean array. Each element of the array represents one bit with true for 1 and false for 0.
          @@ -458,13 +513,13 @@

          toBooleanArray

        - +
        • getPadCount

          -
          public int getPadCount()
          +
          public int getPadCount()
          Returns the number of padding bits at the end of the array. Must be in the range [0,7].
          @@ -473,38 +528,38 @@

          getPadCount

        - +
        • getTag

          -
          public Tag getTag()
          -
          Description copied from interface: ASN1Value
          +
          public Tag getTag()
          +
          Description copied from interface: ASN1Value
          Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
          Specified by:
          -
          getTag in interface ASN1Value
          +
          getTag in interface ASN1Value
          Returns:
          Base tag.
        - +
        • encode

          -
          public void encode(java.io.OutputStream ostream)
          +
          public void encode​(java.io.OutputStream ostream)
                       throws java.io.IOException
          -
          Description copied from interface: ASN1Value
          +
          Description copied from interface: ASN1Value
          Write this value's DER encoding to an output stream using its own base tag.
          Specified by:
          -
          encode in interface ASN1Value
          +
          encode in interface ASN1Value
          Parameters:
          ostream - Output stream.
          Throws:
          @@ -512,21 +567,21 @@

          encode

        - +
        • encode

          -
          public void encode(Tag implicitTag,
          +
          public void encode​(Tag implicitTag,
                              java.io.OutputStream ostream)
                       throws java.io.IOException
          -
          Description copied from interface: ASN1Value
          +
          Description copied from interface: ASN1Value
          Write this value's DER encoding to an output stream using an implicit tag.
          Specified by:
          -
          encode in interface ASN1Value
          +
          encode in interface ASN1Value
          Parameters:
          implicitTag - Implicit tag.
          ostream - Output stream.
          @@ -535,32 +590,36 @@

          encode

        - +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/BMPString.Template.html b/master/javadocs/org/mozilla/jss/asn1/BMPString.Template.html index 39f230462..abb38910d 100644 --- a/master/javadocs/org/mozilla/jss/asn1/BMPString.Template.html +++ b/master/javadocs/org/mozilla/jss/asn1/BMPString.Template.html @@ -1,11 +1,20 @@ - + BMPString.Template (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class BMPString.Template

    @@ -98,7 +122,7 @@

    Class BMPString.Template

  • java.lang.Object
  • @@ -130,91 +153,103 @@

    Class BMPString.Template

    @@ -222,12 +257,13 @@

    Methods inherited from interface org.mozilla.jss.asn1.
  • +
      -
    • +
    • Constructor Detail

      - +
        @@ -238,43 +274,45 @@

        Template

    +
    +
    +
  • +

    + diff --git a/master/javadocs/org/mozilla/jss/asn1/BMPString.html b/master/javadocs/org/mozilla/jss/asn1/BMPString.html index 83318d968..85128831c 100644 --- a/master/javadocs/org/mozilla/jss/asn1/BMPString.html +++ b/master/javadocs/org/mozilla/jss/asn1/BMPString.html @@ -1,11 +1,20 @@ - + BMPString (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class BMPString

    @@ -98,7 +122,7 @@

    Class BMPString

  • java.lang.Object
  • @@ -226,18 +263,19 @@

    Methods inherited from interface org.mozilla.jss.asn1.
  • +
      -
    • +
    • Constructor Detail

      - +
      • BMPString

        -
        public BMPString(char[] chars)
        +
        public BMPString​(char[] chars)
                   throws java.io.CharConversionException
        Creates a new BMPString from an array of Java characters.
        @@ -248,13 +286,13 @@

        BMPString

      - +
      • BMPString

        -
        public BMPString(java.lang.String s)
        +
        public BMPString​(java.lang.String s)
                   throws java.io.CharConversionException
        Creates a new BMPString from a Java String.
        @@ -267,39 +305,41 @@

        BMPString

    +
    +
      -
    • +
    • Method Detail

      - + - +
      • getTemplate

        -
        public static BMPString.Template getTemplate()
        +
        public static BMPString.Template getTemplate()
        Returns a singleton instance of BMPString.Template. This is more efficient than creating a new BMPString.Template.
        @@ -310,21 +350,25 @@

        getTemplate

    +
  • +

    + diff --git a/master/javadocs/org/mozilla/jss/asn1/BOOLEAN.Template.html b/master/javadocs/org/mozilla/jss/asn1/BOOLEAN.Template.html index 5572c899c..c92ebaf00 100644 --- a/master/javadocs/org/mozilla/jss/asn1/BOOLEAN.Template.html +++ b/master/javadocs/org/mozilla/jss/asn1/BOOLEAN.Template.html @@ -1,11 +1,20 @@ - + BOOLEAN.Template (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class BOOLEAN.Template

    @@ -107,17 +131,16 @@

    Class BOOLEAN.Template

  • All Implemented Interfaces:
    -
    ASN1Template
    +
    ASN1Template
    Enclosing class:
    -
    BOOLEAN
    +
    BOOLEAN

    -
    public static class BOOLEAN.Template
     extends java.lang.Object
    -implements ASN1Template
    +implements ASN1Template
    A Class for decoding BOOLEAN values from their BER encodings.
  • @@ -127,57 +150,66 @@

    Class BOOLEAN.Template

    • +
        -
      • +
      • Constructor Summary

        - +
        - + + - + +
        Constructors 
        Constructor and DescriptionConstructorDescription
        Template() Template() 
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - - + + - - + + - +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        ASN1Valuedecode(java.io.InputStream istream) +ASN1Valuedecode​(java.io.InputStream istream)
        Decodes an ASN1Value from the InputStream without an implicit tag.
        ASN1Valuedecode(Tag tag, - java.io.InputStream istream) +ASN1Valuedecode​(Tag tag, + java.io.InputStream istream)
        Decodes an ASN1Value from the InputStream with the given implicit tag.
        booleantagMatch(Tag tag) +tagMatch​(Tag tag)
        Determines whether the given tag will satisfy this template.
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -185,6 +217,7 @@

          Methods inherited from class java.lang.Object

      +
    @@ -192,12 +225,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -208,24 +242,26 @@

          Template

      +
      +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/BOOLEAN.html b/master/javadocs/org/mozilla/jss/asn1/BOOLEAN.html index 38cafa538..ab6d34a0e 100644 --- a/master/javadocs/org/mozilla/jss/asn1/BOOLEAN.html +++ b/master/javadocs/org/mozilla/jss/asn1/BOOLEAN.html @@ -1,11 +1,20 @@ - + BOOLEAN (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class BOOLEAN

    @@ -107,13 +131,12 @@

    Class BOOLEAN

  • All Implemented Interfaces:
    -
    ASN1Value
    +
    ASN1Value

    -
    public class BOOLEAN
     extends java.lang.Object
    -implements ASN1Value
    +implements ASN1Value
    An ASN.1 BOOLEAN value.
  • @@ -122,20 +145,23 @@

    Class BOOLEAN

    • +
        -
      • +
      • Nested Class Summary

        - +
        - + + - + @@ -143,99 +169,117 @@

        Nested Class Summary

        Nested Classes 
        Modifier and TypeClass and DescriptionClassDescription
        static class BOOLEAN.Template +BOOLEAN.Template
        A Class for decoding BOOLEAN values from their BER encodings.
      +
      +
        -
      • +
      • Field Summary

        - +
        - + + - - + + + - - + + +
        Fields 
        Modifier and TypeField and DescriptionFieldDescription
        static FormFORM static FormFORM 
        static TagTAG static TagTAG 
      +
      +
        -
      • +
      • Constructor Summary

        - +
        - + + - +
        Constructors 
        Constructor and DescriptionConstructorDescription
        BOOLEAN(boolean val) +BOOLEAN​(boolean val)
        Creates a BOOLEAN with the given value.
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - + - + - - + + - - + + + - + + - +
        All Methods Static Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        voidencode(java.io.OutputStream ostream) +encode​(java.io.OutputStream ostream)
        Write this value's DER encoding to an output stream using its own base tag.
        voidencode(Tag implicitTag, - java.io.OutputStream ostream) +encode​(Tag implicitTag, + java.io.OutputStream ostream)
        Write this value's DER encoding to an output stream using an implicit tag.
        TaggetTag() +TaggetTag()
        Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
        static BOOLEAN.TemplategetTemplate() static BOOLEAN.TemplategetTemplate() 
        booleantoBoolean() toBoolean() 
        java.lang.StringtoString() +toString()
        Returns "true" or "false".
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -243,6 +287,7 @@

          Methods inherited from class java.lang.Object

      +
    @@ -250,44 +295,47 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
        • TAG

          -
          public static final Tag TAG
          +
          public static final Tag TAG
        - +
        • FORM

          -
          public static final Form FORM
          +
          public static final Form FORM
      +
      +
        -
      • +
      • Constructor Detail

        - +
        • BOOLEAN

          -
          public BOOLEAN(boolean val)
          +
          public BOOLEAN​(boolean val)
          Creates a BOOLEAN with the given value.
          Parameters:
          @@ -297,44 +345,46 @@

          BOOLEAN

      +
      +
        -
      • +
      • Method Detail

        - +
        • getTag

          -
          public Tag getTag()
          -
          Description copied from interface: ASN1Value
          +
          public Tag getTag()
          +
          Description copied from interface: ASN1Value
          Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
          Specified by:
          -
          getTag in interface ASN1Value
          +
          getTag in interface ASN1Value
          Returns:
          Base tag.
        - +
        • encode

          -
          public void encode(java.io.OutputStream ostream)
          +
          public void encode​(java.io.OutputStream ostream)
                       throws java.io.IOException
          -
          Description copied from interface: ASN1Value
          +
          Description copied from interface: ASN1Value
          Write this value's DER encoding to an output stream using its own base tag.
          Specified by:
          -
          encode in interface ASN1Value
          +
          encode in interface ASN1Value
          Parameters:
          ostream - Output stream.
          Throws:
          @@ -342,21 +392,21 @@

          encode

        - +
        • encode

          -
          public void encode(Tag implicitTag,
          +
          public void encode​(Tag implicitTag,
                              java.io.OutputStream ostream)
                       throws java.io.IOException
          -
          Description copied from interface: ASN1Value
          +
          Description copied from interface: ASN1Value
          Write this value's DER encoding to an output stream using an implicit tag.
          Specified by:
          -
          encode in interface ASN1Value
          +
          encode in interface ASN1Value
          Parameters:
          implicitTag - Implicit tag.
          ostream - Output stream.
          @@ -365,26 +415,26 @@

          encode

        - +
        • toBoolean

          -
          public boolean toBoolean()
          +
          public boolean toBoolean()
          Returns:
          The boolean value of this BOOLEAN.
        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns "true" or "false".
          Overrides:
          @@ -392,32 +442,36 @@

          toString

        - +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/CHOICE.Template.html b/master/javadocs/org/mozilla/jss/asn1/CHOICE.Template.html index f2ded06ba..c4e5d4255 100644 --- a/master/javadocs/org/mozilla/jss/asn1/CHOICE.Template.html +++ b/master/javadocs/org/mozilla/jss/asn1/CHOICE.Template.html @@ -1,11 +1,20 @@ - + CHOICE.Template (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class CHOICE.Template

    @@ -107,17 +131,16 @@

    Class CHOICE.Template

  • All Implemented Interfaces:
    -
    ASN1Template
    +
    ASN1Template
    Enclosing class:
    -
    CHOICE
    +
    CHOICE

    -
    public static class CHOICE.Template
     extends java.lang.Object
    -implements ASN1Template
    +implements ASN1Template
    A Template for decoding ASN.1 CHOICEs
  • @@ -126,97 +149,113 @@

    Class CHOICE.Template

    @@ -231,12 +271,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -248,19 +289,21 @@

          Template

      +
      +
        -
      • +
      • Method Detail

        - +
        • addElement

          -
          public void addElement(ASN1Template template)
          +
          public void addElement​(ASN1Template template)
          Adds a new sub-template to this CHOICE template with no implicit tag.
          Parameters:
          @@ -268,14 +311,14 @@

          addElement

        - +
        • addElement

          -
          public void addElement(Tag implicitTag,
          -                       ASN1Template template)
          +
          public void addElement​(Tag implicitTag,
          +                       ASN1Template template)
          Adds a new sub-template to this CHOICE template with an implicit tag.
          Parameters:
          @@ -284,26 +327,26 @@

          addElement

        - +
        • size

          -
          public int size()
          +
          public int size()
          Returns:
          The number of elements in this CHOICE template.
        - +
        • elementAt

          -
          public ASN1Template elementAt(int index)
          +
          public ASN1Template elementAt​(int index)
          Parameters:
          index - Element index.
          @@ -312,13 +355,13 @@

          elementAt

        - +
        • implicitTagAt

          -
          public Tag implicitTagAt(int index)
          +
          public Tag implicitTagAt​(int index)
          Retrieves the implicit tag of the element at the specified index. Returns null if there is no implicit tag for this element.
          @@ -329,23 +372,23 @@

          implicitTagAt

        - +
        • removeAllElements

          -
          public void removeAllElements()
          +
          public void removeAllElements()
          Empties this CHOICE template.
        - +
        • removeElementAt

          -
          public void removeElementAt(int index)
          +
          public void removeElementAt​(int index)
          Removes the element at the specified index.
          Parameters:
          @@ -353,17 +396,17 @@

          removeElementAt

        - +
        • tagMatch

          -
          public boolean tagMatch(Tag t)
          +
          public boolean tagMatch​(Tag t)
          Determines whether the given tag will satisfy this template.
          Specified by:
          -
          tagMatch in interface ASN1Template
          +
          tagMatch in interface ASN1Template
          Parameters:
          t - The tag.
          Returns:
          @@ -371,20 +414,20 @@

          tagMatch

        - +
        • decode

          -
          public ASN1Value decode(java.io.InputStream istream)
          +
          public ASN1Value decode​(java.io.InputStream istream)
                            throws java.io.IOException,
          -                        InvalidBERException
          -
          Description copied from interface: ASN1Template
          + InvalidBERException
          +
          Description copied from interface: ASN1Template
          Decodes an ASN1Value from the InputStream without an implicit tag.
          Specified by:
          -
          decode in interface ASN1Template
          +
          decode in interface ASN1Template
          Parameters:
          istream - Must support marking (markSupported() == true). For example, ByteArrayInputStream and BufferedInputStream @@ -395,24 +438,24 @@

          decode

          ASN.1 value.
          Throws:
          java.io.IOException - If other error occurred.
          -
          InvalidBERException - If there is an invalid BER encoding.
          +
          InvalidBERException - If there is an invalid BER encoding.
        - +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/CHOICE.html b/master/javadocs/org/mozilla/jss/asn1/CHOICE.html index 32b1abadb..f67076fed 100644 --- a/master/javadocs/org/mozilla/jss/asn1/CHOICE.html +++ b/master/javadocs/org/mozilla/jss/asn1/CHOICE.html @@ -1,11 +1,20 @@ - + CHOICE (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class CHOICE

    @@ -107,13 +131,12 @@

    Class CHOICE

  • All Implemented Interfaces:
    -
    ASN1Value
    +
    ASN1Value

    -
    public class CHOICE
     extends java.lang.Object
    -implements ASN1Value
    +implements ASN1Value
    Objects of this class are generated by CHOICE.Template.decode(). It is not necessary to use them to encode a CHOICE. Since the encoding of a CHOICE is simply the encoding of the chosen element, it is easier @@ -125,94 +148,110 @@

    Class CHOICE

    @@ -227,19 +267,20 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • CHOICE

          -
          public CHOICE(Tag implicitTag,
          -              ASN1Value val)
          +
          public CHOICE​(Tag implicitTag,
          +              ASN1Value val)
          Create a CHOICE whose chosen element has an implicit tag.
          Parameters:
          @@ -248,13 +289,13 @@

          CHOICE

        - +
        • CHOICE

          -
          public CHOICE(ASN1Value val)
          +
          public CHOICE​(ASN1Value val)
          Create a CHOICE whose chosen element has no implicit tag.
          Parameters:
          @@ -264,65 +305,67 @@

          CHOICE

      +
      +
        -
      • +
      • Method Detail

        - +
        • getTag

          -
          public Tag getTag()
          +
          public Tag getTag()
          Returns the tag that the chosen element is encoded with, which is either the underlying tag of the element or an implicit tag.
          Specified by:
          -
          getTag in interface ASN1Value
          +
          getTag in interface ASN1Value
          Returns:
          Base tag.
        - +
        • getValue

          -
          public ASN1Value getValue()
          +
          public ASN1Value getValue()
          Returns:
          The chosen value.
        - + - +
        • encode

          -
          public void encode(java.io.OutputStream ostream)
          +
          public void encode​(java.io.OutputStream ostream)
                       throws java.io.IOException
          Encodes this CHOICE. This merely consists of encoding the chosen element with an implicit tag, if one was given in the constructor, or with its own underlying tag.
          Specified by:
          -
          encode in interface ASN1Value
          +
          encode in interface ASN1Value
          Parameters:
          ostream - Output stream.
          Throws:
          @@ -330,13 +373,13 @@

          encode

        - +
        • encode

          -
          public void encode(Tag implicitTag,
          +
          public void encode​(Tag implicitTag,
                              java.io.OutputStream ostream)
                       throws java.io.IOException
          Encodes this CHOICE. This merely consists of encoding the chosen @@ -344,7 +387,7 @@

          encode

          or with its own underlying tag.
          Specified by:
          -
          encode in interface ASN1Value
          +
          encode in interface ASN1Value
          Parameters:
          implicitTag - This value is ignored. The tag of a CHOICE is merely the tag of the chosen element of the CHOICE. A @@ -357,21 +400,25 @@

          encode

      +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/CharacterString.Template.html b/master/javadocs/org/mozilla/jss/asn1/CharacterString.Template.html index 775eb75a8..26df404d9 100644 --- a/master/javadocs/org/mozilla/jss/asn1/CharacterString.Template.html +++ b/master/javadocs/org/mozilla/jss/asn1/CharacterString.Template.html @@ -1,11 +1,20 @@ - + CharacterString.Template (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class CharacterString.Template

    @@ -107,21 +131,20 @@

    Class CharacterString.T
  • All Implemented Interfaces:
    -
    ASN1Template
    +
    ASN1Template
    Direct Known Subclasses:
    -
    BMPString.Template, IA5String.Template, PrintableString.Template, TeletexString.Template, UniversalString.Template, UTF8String.Template
    +
    BMPString.Template, IA5String.Template, PrintableString.Template, TeletexString.Template, UniversalString.Template, UTF8String.Template
    Enclosing class:
    -
    CharacterString
    +
    CharacterString

    -
    public abstract static class CharacterString.Template
     extends java.lang.Object
    -implements ASN1Template
    +implements ASN1Template
  • @@ -129,84 +152,97 @@

    Class CharacterString.T
    • +
        -
      • +
      • Constructor Summary

        - +
        - + + - + +
        Constructors 
        Constructor and DescriptionConstructorDescription
        Template() Template() 
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - - + + - - + + - - + + - + - - + + - + - +
        All Methods Instance Methods Abstract Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        ASN1Valuedecode(java.io.InputStream istream) +ASN1Valuedecode​(java.io.InputStream istream)
        Decodes an ASN1Value from the InputStream without an implicit tag.
        ASN1Valuedecode(Tag implicitTag, - java.io.InputStream istream) +ASN1Valuedecode​(Tag implicitTag, + java.io.InputStream istream)
        Decodes an ASN1Value from the InputStream with the given implicit tag.
        protected abstract CharacterStringgenerateInstance(char[] chars) +protected abstract CharacterStringgenerateInstance​(char[] chars)
        Must be overridden to create an instance of the subclass given a char array.
        protected abstract org.mozilla.jss.asn1.CharConvertergetCharConverter() +getCharConverter()
        Must be overridden to return the correct character converter for the subclass.
        protected abstract TaggetTag() +protected abstract TaggetTag()
        Must be overridden to return the tag for the subclass.
        abstract booleantagMatch(Tag tag) +tagMatch​(Tag tag)
        Determines whether the given tag will satisfy this template.
        protected abstract java.lang.StringtypeName() +typeName()
        Must be overridden to provide the name of the subclass, for including into error messages.
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -214,6 +250,7 @@

          Methods inherited from class java.lang.Object

      +
    @@ -221,12 +258,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -237,19 +275,21 @@

          Template

      +
      +
        -
      • +
      • Method Detail

        - +
        • getTag

          -
          protected abstract Tag getTag()
          +
          protected abstract Tag getTag()
          Must be overridden to return the tag for the subclass.
          Returns:
          @@ -257,18 +297,18 @@

          getTag

        - +
        • tagMatch

          -
          public abstract boolean tagMatch(Tag tag)
          -
          Description copied from interface: ASN1Template
          +
          public abstract boolean tagMatch​(Tag tag)
          +
          Description copied from interface: ASN1Template
          Determines whether the given tag will satisfy this template.
          Specified by:
          -
          tagMatch in interface ASN1Template
          +
          tagMatch in interface ASN1Template
          Parameters:
          tag - Tag.
          Returns:
          @@ -276,13 +316,13 @@

          tagMatch

        - +
        • getCharConverter

          -
          protected abstract org.mozilla.jss.asn1.CharConverter getCharConverter()
          +
          protected abstract org.mozilla.jss.asn1.CharConverter getCharConverter()
          Must be overridden to return the correct character converter for the subclass.
          @@ -291,13 +331,13 @@

          getCharConverter

        - +
        • generateInstance

          -
          protected abstract CharacterString generateInstance(char[] chars)
          +
          protected abstract CharacterString generateInstance​(char[] chars)
                                                        throws java.io.CharConversionException
          Must be overridden to create an instance of the subclass given a char array.
          @@ -311,13 +351,13 @@

          generateInstance

        - +
        • typeName

          -
          protected abstract java.lang.String typeName()
          +
          protected abstract java.lang.String typeName()
          Must be overridden to provide the name of the subclass, for including into error messages.
          @@ -326,20 +366,20 @@

          typeName

        - +
        • decode

          -
          public ASN1Value decode(java.io.InputStream istream)
          +
          public ASN1Value decode​(java.io.InputStream istream)
                            throws java.io.IOException,
          -                        InvalidBERException
          -
          Description copied from interface: ASN1Template
          + InvalidBERException
          +
          Description copied from interface: ASN1Template
          Decodes an ASN1Value from the InputStream without an implicit tag.
          Specified by:
          -
          decode in interface ASN1Template
          +
          decode in interface ASN1Template
          Parameters:
          istream - Must support marking (markSupported() == true). For example, ByteArrayInputStream and BufferedInputStream @@ -350,26 +390,26 @@

          decode

          ASN.1 value.
          Throws:
          java.io.IOException - If other error occurred.
          -
          InvalidBERException - If there is an invalid BER encoding.
          +
          InvalidBERException - If there is an invalid BER encoding.
        - +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/CharacterString.html b/master/javadocs/org/mozilla/jss/asn1/CharacterString.html index 0eeb75a42..db1a0433b 100644 --- a/master/javadocs/org/mozilla/jss/asn1/CharacterString.html +++ b/master/javadocs/org/mozilla/jss/asn1/CharacterString.html @@ -1,11 +1,20 @@ - + CharacterString (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class CharacterString

    @@ -107,17 +131,16 @@

    Class CharacterString

  • All Implemented Interfaces:
    -
    ASN1Value
    +
    ASN1Value
    Direct Known Subclasses:
    -
    BMPString, IA5String, PrintableString, TeletexString, UniversalString, UTF8String
    +
    BMPString, IA5String, PrintableString, TeletexString, UniversalString, UTF8String

    -
    public abstract class CharacterString
     extends java.lang.Object
    -implements ASN1Value
    +implements ASN1Value
    An abstract base class for all character string types in ASN.1.
  • @@ -126,96 +149,112 @@

    Class CharacterString

    • +
      +
      +
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - + - + - - + + - + - +
        All Methods Instance Methods Abstract Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        voidencode(java.io.OutputStream ostream) +encode​(java.io.OutputStream ostream)
        Write this value's DER encoding to an output stream using its own base tag.
        voidencode(Tag implicitTag, - java.io.OutputStream ostream) +encode​(Tag implicitTag, + java.io.OutputStream ostream)
        Write this value's DER encoding to an output stream using an implicit tag.
        abstract TaggetTag() +abstract TaggetTag()
        Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
        char[]toCharArray() +toCharArray()
        Converts this ASN.1 character string to an array of Java characters.
        java.lang.StringtoString() +toString()
        Converts this ASN.1 character string to a Java String.
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -223,6 +262,7 @@

          Methods inherited from class java.lang.Object

      +
    @@ -230,18 +270,19 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • CharacterString

          -
          protected CharacterString(char[] chars)
          +
          protected CharacterString​(char[] chars)
                              throws java.io.CharConversionException
          Throws:
          @@ -249,13 +290,13 @@

          CharacterString

        - +
        • CharacterString

          -
          protected CharacterString(java.lang.String s)
          +
          protected CharacterString​(java.lang.String s)
                              throws java.io.CharConversionException
          Throws:
          @@ -265,37 +306,39 @@

          CharacterString

      +
      +
        -
      • +
      • Method Detail

        - +
        • getTag

          -
          public abstract Tag getTag()
          -
          Description copied from interface: ASN1Value
          +
          public abstract Tag getTag()
          +
          Description copied from interface: ASN1Value
          Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
          Specified by:
          -
          getTag in interface ASN1Value
          +
          getTag in interface ASN1Value
          Returns:
          Base tag.
        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Converts this ASN.1 character string to a Java String.
          Overrides:
          @@ -305,13 +348,13 @@

          toString

        - +
        • toCharArray

          -
          public char[] toCharArray()
          +
          public char[] toCharArray()
          Converts this ASN.1 character string to an array of Java characters.
          Returns:
          @@ -319,20 +362,20 @@

          toCharArray

        - +
        • encode

          -
          public void encode(java.io.OutputStream ostream)
          +
          public void encode​(java.io.OutputStream ostream)
                       throws java.io.IOException
          -
          Description copied from interface: ASN1Value
          +
          Description copied from interface: ASN1Value
          Write this value's DER encoding to an output stream using its own base tag.
          Specified by:
          -
          encode in interface ASN1Value
          +
          encode in interface ASN1Value
          Parameters:
          ostream - Output stream.
          Throws:
          @@ -340,21 +383,21 @@

          encode

        - +
        • encode

          -
          public void encode(Tag implicitTag,
          +
          public void encode​(Tag implicitTag,
                              java.io.OutputStream ostream)
                       throws java.io.IOException
          -
          Description copied from interface: ASN1Value
          +
          Description copied from interface: ASN1Value
          Write this value's DER encoding to an output stream using an implicit tag.
          Specified by:
          -
          encode in interface ASN1Value
          +
          encode in interface ASN1Value
          Parameters:
          implicitTag - Implicit tag.
          ostream - Output stream.
          @@ -365,21 +408,25 @@

          encode

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/ENUMERATED.Template.html b/master/javadocs/org/mozilla/jss/asn1/ENUMERATED.Template.html index 1e1de1f1a..8b9d5580b 100644 --- a/master/javadocs/org/mozilla/jss/asn1/ENUMERATED.Template.html +++ b/master/javadocs/org/mozilla/jss/asn1/ENUMERATED.Template.html @@ -1,11 +1,20 @@ - + ENUMERATED.Template (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class ENUMERATED.Template

    @@ -98,7 +122,7 @@

    Class ENUMERATED.Templatejava.lang.Object
  • @@ -206,12 +238,13 @@

    Methods inherited from interface org.mozilla.jss.asn1.
  • +
      -
    • +
    • Constructor Detail

      - +
        @@ -222,26 +255,28 @@

        Template

    +
    +
    +
  • +

    + diff --git a/master/javadocs/org/mozilla/jss/asn1/ENUMERATED.html b/master/javadocs/org/mozilla/jss/asn1/ENUMERATED.html index e803c215d..40f7bf34a 100644 --- a/master/javadocs/org/mozilla/jss/asn1/ENUMERATED.html +++ b/master/javadocs/org/mozilla/jss/asn1/ENUMERATED.html @@ -1,11 +1,20 @@ - + ENUMERATED (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class ENUMERATED

    @@ -104,7 +128,7 @@

    Class ENUMERATED

  • java.math.BigInteger
    • -
    • org.mozilla.jss.asn1.INTEGER
    • +
    • org.mozilla.jss.asn1.INTEGER
      • org.mozilla.jss.asn1.ENUMERATED
      • @@ -122,13 +146,12 @@

        Class ENUMERATED

      • All Implemented Interfaces:
        -
        java.io.Serializable, java.lang.Comparable<java.math.BigInteger>, ASN1Value
        +
        java.io.Serializable, java.lang.Comparable<java.math.BigInteger>, ASN1Value

        -
        public class ENUMERATED
        -extends INTEGER
        -implements ASN1Value
        +extends INTEGER +implements ASN1Value
        Represents an ASN.1 ENUMERATED value. This has the same interface as INTEGER
        @@ -142,143 +165,161 @@

        Class ENUMERATED

        • +
            -
          • +
          • Nested Class Summary

            - +
            - + + - +
            Nested Classes 
            Modifier and TypeClass and DescriptionClassDescription
            static class ENUMERATED.Template +ENUMERATED.Template
            A template for decoding ENUMERATED values from their BER encodings.
          +
          +
            -
          • +
          • Field Summary

            - +
            - + + - - + + +
            Fields 
            Modifier and TypeField and DescriptionFieldDescription
            static TagTAG static TagTAG 
              -
            • +
            • -

              Fields inherited from class org.mozilla.jss.asn1.INTEGER

              -FORM
            • +

              Fields inherited from class org.mozilla.jss.asn1.INTEGER

              +FORM
              -
            • +
            • Fields inherited from class java.math.BigInteger

              -ONE, TEN, ZERO
            • +ONE, TEN, TWO, ZERO
          +
          +
            -
          • +
          • Constructor Summary

            - +
            - + + - +
            Constructors 
            Constructor and DescriptionConstructorDescription
            ENUMERATED(long val) +ENUMERATED​(long val)
            Creates a new ENUMERATED value from a long int.
          +
          +
            -
          • +
          • Method Summary

            - +
            - + + - - + + - - + + + - + +
            All Methods Static Methods Instance Methods Concrete Methods 
            Modifier and TypeMethod and DescriptionMethodDescription
            TaggetTag() +TaggetTag()
            Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
            static ASN1TemplategetTemplate() static ASN1TemplategetTemplate() 
            longgetValue() getValue() 
              -
            • +
            • Methods inherited from class java.math.BigInteger

              -abs, add, and, andNot, bitCount, bitLength, byteValueExact, clearBit, compareTo, divide, divideAndRemainder, doubleValue, equals, flipBit, floatValue, gcd, getLowestSetBit, hashCode, intValue, intValueExact, isProbablePrime, longValue, longValueExact, max, min, mod, modInverse, modPow, multiply, negate, nextProbablePrime, not, or, pow, probablePrime, remainder, setBit, shiftLeft, shiftRight, shortValueExact, signum, subtract, testBit, toByteArray, toString, toString, valueOf, xor
            • +abs, add, and, andNot, bitCount, bitLength, byteValueExact, clearBit, compareTo, divide, divideAndRemainder, doubleValue, equals, flipBit, floatValue, gcd, getLowestSetBit, hashCode, intValue, intValueExact, isProbablePrime, longValue, longValueExact, max, min, mod, modInverse, modPow, multiply, negate, nextProbablePrime, not, or, pow, probablePrime, remainder, setBit, shiftLeft, shiftRight, shortValueExact, signum, sqrt, sqrtAndRemainder, subtract, testBit, toByteArray, toString, toString, valueOf, xor
              -
            • +
            • Methods inherited from class java.lang.Number

              byteValue, shortValue
              -
            • +
            • Methods inherited from class java.lang.Object

              clone, finalize, getClass, notify, notifyAll, wait, wait, wait
          +
  • @@ -286,35 +327,38 @@

    Methods inherited from interface org.mozilla.jss.asn1.
  • +
      -
    • +
    • Field Detail

      - +
      • TAG

        -
        public static final Tag TAG
        +
        public static final Tag TAG
    +
    +
      -
    • +
    • Constructor Detail

      - +
      • ENUMERATED

        -
        public ENUMERATED(long val)
        +
        public ENUMERATED​(long val)
        Creates a new ENUMERATED value from a long int.
        Parameters:
        @@ -324,71 +368,77 @@

        ENUMERATED

    +
    +
      -
    • +
    • Method Detail

      - +
      • getTag

        -
        public Tag getTag()
        -
        Description copied from interface: ASN1Value
        +
        public Tag getTag()
        +
        Description copied from interface: ASN1Value
        Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
        Specified by:
        -
        getTag in interface ASN1Value
        +
        getTag in interface ASN1Value
        Overrides:
        -
        getTag in class INTEGER
        +
        getTag in class INTEGER
        Returns:
        Base tag.
      - +
      • getValue

        -
        public long getValue()
        +
        public long getValue()
        Returns:
        The value as a long int.
      - +
    +
  • +

    + diff --git a/master/javadocs/org/mozilla/jss/asn1/EXPLICIT.Template.html b/master/javadocs/org/mozilla/jss/asn1/EXPLICIT.Template.html index 59ce9e12b..40a4f9b35 100644 --- a/master/javadocs/org/mozilla/jss/asn1/EXPLICIT.Template.html +++ b/master/javadocs/org/mozilla/jss/asn1/EXPLICIT.Template.html @@ -1,11 +1,20 @@ - + EXPLICIT.Template (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class EXPLICIT.Template

    @@ -107,17 +131,16 @@

    Class EXPLICIT.Template

  • All Implemented Interfaces:
    -
    ASN1Template
    +
    ASN1Template
    Enclosing class:
    -
    EXPLICIT
    +
    EXPLICIT

    -
    public static class EXPLICIT.Template
     extends java.lang.Object
    -implements ASN1Template
    +implements ASN1Template
    A template for decoding an object wrapped in an EXPLICIT tag.
  • @@ -126,60 +149,69 @@

    Class EXPLICIT.Template

    • +
        -
      • +
      • Constructor Summary

        - +
        - + + - +
        Constructors 
        Constructor and DescriptionConstructorDescription
        Template(Tag tag, - ASN1Template content) +Template​(Tag tag, + ASN1Template content)
        Creates a template for unwrapping an object wrapped in an explicit tag.
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - - + + - - + + - +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        ASN1Valuedecode(java.io.InputStream istream) +ASN1Valuedecode​(java.io.InputStream istream)
        Decodes an ASN1Value from the InputStream without an implicit tag.
        ASN1Valuedecode(Tag implicitTag, - java.io.InputStream istream) +ASN1Valuedecode​(Tag implicitTag, + java.io.InputStream istream)
        Decodes an ASN1Value from the InputStream with the given implicit tag.
        booleantagMatch(Tag tag) +tagMatch​(Tag tag)
        Determines whether the given tag will satisfy this template.
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -187,6 +219,7 @@

          Methods inherited from class java.lang.Object

      +
    @@ -194,19 +227,20 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • Template

          -
          public Template(Tag tag,
          -                ASN1Template content)
          +
          public Template​(Tag tag,
          +                ASN1Template content)
          Creates a template for unwrapping an object wrapped in an explicit tag. For example, to decode:
          @@ -227,24 +261,26 @@ 

          Template

      +
      +
        -
      • +
      • Method Detail

        - +
        • tagMatch

          -
          public boolean tagMatch(Tag tag)
          -
          Description copied from interface: ASN1Template
          +
          public boolean tagMatch​(Tag tag)
          +
          Description copied from interface: ASN1Template
          Determines whether the given tag will satisfy this template.
          Specified by:
          -
          tagMatch in interface ASN1Template
          +
          tagMatch in interface ASN1Template
          Parameters:
          tag - Tag.
          Returns:
          @@ -252,20 +288,20 @@

          tagMatch

        - +
        • decode

          -
          public ASN1Value decode(java.io.InputStream istream)
          +
          public ASN1Value decode​(java.io.InputStream istream)
                            throws java.io.IOException,
          -                        InvalidBERException
          -
          Description copied from interface: ASN1Template
          + InvalidBERException
          +
          Description copied from interface: ASN1Template
          Decodes an ASN1Value from the InputStream without an implicit tag.
          Specified by:
          -
          decode in interface ASN1Template
          +
          decode in interface ASN1Template
          Parameters:
          istream - Must support marking (markSupported() == true). For example, ByteArrayInputStream and BufferedInputStream @@ -276,26 +312,26 @@

          decode

          ASN.1 value.
          Throws:
          java.io.IOException - If other error occurred.
          -
          InvalidBERException - If there is an invalid BER encoding.
          +
          InvalidBERException - If there is an invalid BER encoding.
        - +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/EXPLICIT.html b/master/javadocs/org/mozilla/jss/asn1/EXPLICIT.html index 8718360ce..c84a49856 100644 --- a/master/javadocs/org/mozilla/jss/asn1/EXPLICIT.html +++ b/master/javadocs/org/mozilla/jss/asn1/EXPLICIT.html @@ -1,11 +1,20 @@ - + EXPLICIT (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class EXPLICIT

    @@ -107,13 +131,12 @@

    Class EXPLICIT

  • All Implemented Interfaces:
    -
    ASN1Value
    +
    ASN1Value

    -
    public class EXPLICIT
     extends java.lang.Object
    -implements ASN1Value
    +implements ASN1Value
    An explicit tag.
  • @@ -122,110 +145,129 @@

    Class EXPLICIT

    @@ -240,36 +283,39 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
        • FORM

          -
          public static final Form FORM
          +
          public static final Form FORM
      +
      +
        -
      • +
      • Constructor Detail

        - +
        • EXPLICIT

          -
          public EXPLICIT(Tag tag,
          -                ASN1Value content)
          +
          public EXPLICIT​(Tag tag,
          +                ASN1Value content)
          Creates an EXPLICIT tag wrapping some other ASN1Value. For example, for the following ASN.1 snippet:
          @@ -289,55 +335,57 @@ 

          EXPLICIT

      +
      +
        -
      • +
      • Method Detail

        - +
        • getContent

          -
          public ASN1Value getContent()
          +
          public ASN1Value getContent()
          Returns:
          the ASN1Value that is wrapped by this EXPLICIT tag.
        - +
        • getTag

          -
          public Tag getTag()
          +
          public Tag getTag()
          Returns the Tag of this EXPLICIT tag.
          Specified by:
          -
          getTag in interface ASN1Value
          +
          getTag in interface ASN1Value
          Returns:
          Base tag.
        - +
        • encode

          -
          public void encode(java.io.OutputStream ostream)
          +
          public void encode​(java.io.OutputStream ostream)
                       throws java.io.IOException
          -
          Description copied from interface: ASN1Value
          +
          Description copied from interface: ASN1Value
          Write this value's DER encoding to an output stream using its own base tag.
          Specified by:
          -
          encode in interface ASN1Value
          +
          encode in interface ASN1Value
          Parameters:
          ostream - Output stream.
          Throws:
          @@ -345,21 +393,21 @@

          encode

        - +
        • encode

          -
          public void encode(Tag implicitTag,
          +
          public void encode​(Tag implicitTag,
                              java.io.OutputStream ostream)
                       throws java.io.IOException
          -
          Description copied from interface: ASN1Value
          +
          Description copied from interface: ASN1Value
          Write this value's DER encoding to an output stream using an implicit tag.
          Specified by:
          -
          encode in interface ASN1Value
          +
          encode in interface ASN1Value
          Parameters:
          implicitTag - Implicit tag.
          ostream - Output stream.
          @@ -368,33 +416,37 @@

          encode

        - +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/FieldNotPresentException.html b/master/javadocs/org/mozilla/jss/asn1/FieldNotPresentException.html index 8d5e0c89d..a2041963b 100644 --- a/master/javadocs/org/mozilla/jss/asn1/FieldNotPresentException.html +++ b/master/javadocs/org/mozilla/jss/asn1/FieldNotPresentException.html @@ -1,11 +1,20 @@ - + FieldNotPresentException (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class FieldNotPresentException

    @@ -111,10 +135,9 @@

    Class FieldNotPresentEx
  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public class FieldNotPresentException
     extends java.lang.Exception
    An exception thrown when an optional field is not present.
    @@ -129,50 +152,58 @@

    Class FieldNotPresentEx
    • +
      +
      +
        -
      • +
      • Method Summary

          -
        • +
        • Methods inherited from class java.lang.Throwable

          addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -180,6 +211,7 @@

          Methods inherited from class java.lang.Object

      +

  • @@ -187,12 +219,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -201,32 +234,32 @@

          FieldNotPresentException

          public FieldNotPresentException()
        - +
        • FieldNotPresentException

          -
          public FieldNotPresentException(java.lang.String mesg)
          +
          public FieldNotPresentException​(java.lang.String mesg)
        - +
        • FieldNotPresentException

          -
          public FieldNotPresentException(java.lang.String mesg,
          +
          public FieldNotPresentException​(java.lang.String mesg,
                                           java.lang.Throwable cause)
        - +
        • FieldNotPresentException

          -
          public FieldNotPresentException(java.lang.String mesg,
          +
          public FieldNotPresentException​(java.lang.String mesg,
                                           java.lang.Throwable cause,
                                           boolean enableSuppression,
                                           boolean writableStackTrace)
          @@ -234,21 +267,25 @@

          FieldNotPresentException

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/Form.html b/master/javadocs/org/mozilla/jss/asn1/Form.html index cb9f2c58d..bb0120e2d 100644 --- a/master/javadocs/org/mozilla/jss/asn1/Form.html +++ b/master/javadocs/org/mozilla/jss/asn1/Form.html @@ -1,11 +1,20 @@ - + Form (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class Form

    @@ -106,7 +130,6 @@

    Class Form


    • -
      public class Form
       extends java.lang.Object
      An enumerated type representing the forms of an ASN.1 value. @@ -118,47 +141,55 @@

      Class Form

      @@ -173,44 +205,47 @@

      Methods inherited from class java.lang.Object

      • +
          -
        • +
        • Field Detail

          - +
          • PRIMITIVE

            -
            public static final Form PRIMITIVE
            +
            public static final Form PRIMITIVE
          - +
          • CONSTRUCTED

            -
            public static final Form CONSTRUCTED
            +
            public static final Form CONSTRUCTED
        +
        +
          -
        • +
        • Method Detail

          - +
          • toString

            -
            public java.lang.String toString()
            +
            public java.lang.String toString()
            Overrides:
            toString in class java.lang.Object
            @@ -219,21 +254,25 @@

            toString

        +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/GeneralizedTime.Template.html b/master/javadocs/org/mozilla/jss/asn1/GeneralizedTime.Template.html index 43006ad82..225a222d0 100644 --- a/master/javadocs/org/mozilla/jss/asn1/GeneralizedTime.Template.html +++ b/master/javadocs/org/mozilla/jss/asn1/GeneralizedTime.Template.html @@ -1,11 +1,20 @@ - + GeneralizedTime.Template (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class GeneralizedTime.Template

    @@ -98,7 +122,7 @@

    Class GeneralizedTime.T
  • java.lang.Object
  • @@ -208,12 +242,13 @@

    Methods inherited from interface org.mozilla.jss.asn1.
  • +
      -
    • +
    • Constructor Detail

      - +
        @@ -224,39 +259,41 @@

        Template

    +
    +
    +
  • +

    + diff --git a/master/javadocs/org/mozilla/jss/asn1/GeneralizedTime.html b/master/javadocs/org/mozilla/jss/asn1/GeneralizedTime.html index ea6f734d5..70dfbc820 100644 --- a/master/javadocs/org/mozilla/jss/asn1/GeneralizedTime.html +++ b/master/javadocs/org/mozilla/jss/asn1/GeneralizedTime.html @@ -1,11 +1,20 @@ - + GeneralizedTime (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class GeneralizedTime

    @@ -98,7 +122,7 @@

    Class GeneralizedTime

  • java.lang.Object
  • @@ -250,35 +291,38 @@

    Methods inherited from interface org.mozilla.jss.asn1.
  • +
      -
    • +
    • Field Detail

      - +
      • TAG

        -
        public static final Tag TAG
        +
        public static final Tag TAG
    +
    +
      -
    • +
    • Constructor Detail

      - +
      • GeneralizedTime

        -
        public GeneralizedTime(java.util.Date date)
        +
        public GeneralizedTime​(java.util.Date date)
        Creates a GeneralizedTime from a Date.
        Parameters:
        @@ -288,71 +332,77 @@

        GeneralizedTime

    +
    +
    +
  • +

    + diff --git a/master/javadocs/org/mozilla/jss/asn1/IA5String.Template.html b/master/javadocs/org/mozilla/jss/asn1/IA5String.Template.html index dffc21b57..97412d1ee 100644 --- a/master/javadocs/org/mozilla/jss/asn1/IA5String.Template.html +++ b/master/javadocs/org/mozilla/jss/asn1/IA5String.Template.html @@ -1,11 +1,20 @@ - + IA5String.Template (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class IA5String.Template

    @@ -98,7 +122,7 @@

    Class IA5String.Template

  • java.lang.Object
  • @@ -130,91 +153,103 @@

    Class IA5String.Template

    @@ -222,12 +257,13 @@

    Methods inherited from interface org.mozilla.jss.asn1.
  • +
      -
    • +
    • Constructor Detail

      - +
        @@ -238,43 +274,45 @@

        Template

    +
    +
    +
  • +

    + diff --git a/master/javadocs/org/mozilla/jss/asn1/IA5String.html b/master/javadocs/org/mozilla/jss/asn1/IA5String.html index 68707c0a6..bde69d96e 100644 --- a/master/javadocs/org/mozilla/jss/asn1/IA5String.html +++ b/master/javadocs/org/mozilla/jss/asn1/IA5String.html @@ -1,11 +1,20 @@ - + IA5String (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class IA5String

    @@ -98,7 +122,7 @@

    Class IA5String

  • java.lang.Object
  • @@ -126,110 +149,128 @@

    Class IA5String

    @@ -237,35 +278,38 @@

    Methods inherited from interface org.mozilla.jss.asn1.
  • +
      -
    • +
    • Field Detail

      - +
      • TAG

        -
        public static final Tag TAG
        +
        public static final Tag TAG
    +
    +
      -
    • +
    • Constructor Detail

      - +
      • IA5String

        -
        public IA5String(char[] chars)
        +
        public IA5String​(char[] chars)
                   throws java.io.CharConversionException
        Throws:
        @@ -273,13 +317,13 @@

        IA5String

      - +
      • IA5String

        -
        public IA5String(java.lang.String s)
        +
        public IA5String​(java.lang.String s)
                   throws java.io.CharConversionException
        Throws:
        @@ -289,58 +333,64 @@

        IA5String

    +
    +
    +
  • +

    + diff --git a/master/javadocs/org/mozilla/jss/asn1/INTEGER.Template.html b/master/javadocs/org/mozilla/jss/asn1/INTEGER.Template.html index 3093c4a9d..6405a9a34 100644 --- a/master/javadocs/org/mozilla/jss/asn1/INTEGER.Template.html +++ b/master/javadocs/org/mozilla/jss/asn1/INTEGER.Template.html @@ -1,11 +1,20 @@ - + INTEGER.Template (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class INTEGER.Template

    @@ -107,21 +131,20 @@

    Class INTEGER.Template

  • All Implemented Interfaces:
    -
    ASN1Template
    +
    ASN1Template
    Direct Known Subclasses:
    -
    ENUMERATED.Template
    +
    ENUMERATED.Template
    Enclosing class:
    -
    INTEGER
    +
    INTEGER

    -
    public static class INTEGER.Template
     extends java.lang.Object
    -implements ASN1Template
    +implements ASN1Template
  • @@ -129,57 +152,66 @@

    Class INTEGER.Template

    • +
        -
      • +
      • Constructor Summary

        - +
        - + + - + +
        Constructors 
        Constructor and DescriptionConstructorDescription
        Template() Template() 
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - - + + - - + + - +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        ASN1Valuedecode(java.io.InputStream derStream) +ASN1Valuedecode​(java.io.InputStream derStream)
        Decodes an ASN1Value from the InputStream without an implicit tag.
        ASN1Valuedecode(Tag tag, - java.io.InputStream derStream) +ASN1Valuedecode​(Tag tag, + java.io.InputStream derStream)
        Decodes an ASN1Value from the InputStream with the given implicit tag.
        booleantagMatch(Tag tag) +tagMatch​(Tag tag)
        Determines whether the given tag will satisfy this template.
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -187,6 +219,7 @@

          Methods inherited from class java.lang.Object

      +
    @@ -194,12 +227,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -210,24 +244,26 @@

          Template

      +
      +
        -
      • +
      • Method Detail

        - +
        • tagMatch

          -
          public boolean tagMatch(Tag tag)
          -
          Description copied from interface: ASN1Template
          +
          public boolean tagMatch​(Tag tag)
          +
          Description copied from interface: ASN1Template
          Determines whether the given tag will satisfy this template.
          Specified by:
          -
          tagMatch in interface ASN1Template
          +
          tagMatch in interface ASN1Template
          Parameters:
          tag - Tag.
          Returns:
          @@ -235,20 +271,20 @@

          tagMatch

        - +
        • decode

          -
          public ASN1Value decode(java.io.InputStream derStream)
          -                 throws InvalidBERException,
          +
          public ASN1Value decode​(java.io.InputStream derStream)
          +                 throws InvalidBERException,
                                   java.io.IOException
          -
          Description copied from interface: ASN1Template
          +
          Description copied from interface: ASN1Template
          Decodes an ASN1Value from the InputStream without an implicit tag.
          Specified by:
          -
          decode in interface ASN1Template
          +
          decode in interface ASN1Template
          Parameters:
          derStream - Must support marking (markSupported() == true). For example, ByteArrayInputStream and BufferedInputStream @@ -258,27 +294,27 @@

          decode

          Returns:
          ASN.1 value.
          Throws:
          -
          InvalidBERException - If there is an invalid BER encoding.
          +
          InvalidBERException - If there is an invalid BER encoding.
          java.io.IOException - If other error occurred.
        - +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/INTEGER.html b/master/javadocs/org/mozilla/jss/asn1/INTEGER.html index f5260ccb0..7987aa9eb 100644 --- a/master/javadocs/org/mozilla/jss/asn1/INTEGER.html +++ b/master/javadocs/org/mozilla/jss/asn1/INTEGER.html @@ -1,11 +1,20 @@ - + INTEGER (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class INTEGER

    @@ -117,17 +141,16 @@

    Class INTEGER

  • All Implemented Interfaces:
    -
    java.io.Serializable, java.lang.Comparable<java.math.BigInteger>, ASN1Value
    +
    java.io.Serializable, java.lang.Comparable<java.math.BigInteger>, ASN1Value
    Direct Known Subclasses:
    -
    ENUMERATED
    +
    ENUMERATED

    -
    public class INTEGER
     extends java.math.BigInteger
    -implements ASN1Value
    +implements ASN1Value
    The ASN.1 type INTEGER. This class extends BigInteger.
    See Also:
    @@ -140,166 +163,195 @@

    Class INTEGER

    • +
      +
      +
        -
      • +
      • Field Summary

        - +
        - + + - - + + + - - + + +
        Fields 
        Modifier and TypeField and DescriptionFieldDescription
        static FormFORM static FormFORM 
        static TagTAG static TagTAG 
          -
        • +
        • Fields inherited from class java.math.BigInteger

          -ONE, TEN, ZERO
        • +ONE, TEN, TWO, ZERO
      +
      +
        -
      • +
      • Constructor Summary

        - +
        - + + - + + - + + - + + - + + - + + - + + - + + - + +
        Constructors 
        Constructor and DescriptionConstructorDescription
        INTEGER(java.math.BigInteger bi) INTEGER​(byte[] bval) 
        INTEGER(byte[] bval) INTEGER​(int sign, + byte[] mag) 
        INTEGER(int sign, - byte[] mag) INTEGER​(int bitLength, + int certainty, + java.util.Random rnd) 
        INTEGER(int bitLength, - int certainty, - java.util.Random rnd) INTEGER​(int numBits, + java.util.Random rnd) 
        INTEGER(int numBits, - java.util.Random rnd) INTEGER​(long val) 
        INTEGER(long val) INTEGER​(java.lang.String s) 
        INTEGER(java.lang.String s) INTEGER​(java.lang.String s, + int r) 
        INTEGER(java.lang.String s, - int r) INTEGER​(java.math.BigInteger bi) 
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - + + - + - + - + + - - + + - - + + + - +
        All Methods Static Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        byte[]encode() encode() 
        voidencode(java.io.OutputStream outStream) +encode​(java.io.OutputStream outStream)
        Write this value's DER encoding to an output stream using its own base tag.
        voidencode(Tag implicitTag, - java.io.OutputStream outStream) +encode​(Tag implicitTag, + java.io.OutputStream outStream)
        Write this value's DER encoding to an output stream using an implicit tag.
        longgetContentLength() getContentLength() 
        TaggetTag() +TaggetTag()
        Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
        static ASN1TemplategetTemplate() static ASN1TemplategetTemplate() 
        static voidmain(java.lang.String[] args) +main​(java.lang.String[] args)
        Tests the DER encoding and decoding of the INTEGER class.
          -
        • +
        • Methods inherited from class java.math.BigInteger

          -abs, add, and, andNot, bitCount, bitLength, byteValueExact, clearBit, compareTo, divide, divideAndRemainder, doubleValue, equals, flipBit, floatValue, gcd, getLowestSetBit, hashCode, intValue, intValueExact, isProbablePrime, longValue, longValueExact, max, min, mod, modInverse, modPow, multiply, negate, nextProbablePrime, not, or, pow, probablePrime, remainder, setBit, shiftLeft, shiftRight, shortValueExact, signum, subtract, testBit, toByteArray, toString, toString, valueOf, xor
        • +abs, add, and, andNot, bitCount, bitLength, byteValueExact, clearBit, compareTo, divide, divideAndRemainder, doubleValue, equals, flipBit, floatValue, gcd, getLowestSetBit, hashCode, intValue, intValueExact, isProbablePrime, longValue, longValueExact, max, min, mod, modInverse, modPow, multiply, negate, nextProbablePrime, not, or, pow, probablePrime, remainder, setBit, shiftLeft, shiftRight, shortValueExact, signum, sqrt, sqrtAndRemainder, subtract, testBit, toByteArray, toString, toString, valueOf, xor
          -
        • +
        • Methods inherited from class java.lang.Number

          byteValue, shortValue
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -307,6 +359,7 @@

          Methods inherited from class java.lang.Object

      +
  • @@ -314,44 +367,47 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
        • TAG

          -
          public static final Tag TAG
          +
          public static final Tag TAG
        - +
        • FORM

          -
          public static final Form FORM
          +
          public static final Form FORM
      +
      +
        -
      • +
      • Constructor Detail

        - +
        • INTEGER

          -
          public INTEGER(java.lang.String s)
          +
          public INTEGER​(java.lang.String s)
                   throws java.lang.NumberFormatException
          Throws:
          @@ -359,13 +415,13 @@

          INTEGER

        - +
        • INTEGER

          -
          public INTEGER(java.lang.String s,
          +
          public INTEGER​(java.lang.String s,
                          int r)
                   throws java.lang.NumberFormatException
          @@ -374,13 +430,13 @@

          INTEGER

        - +
        • INTEGER

          -
          public INTEGER(byte[] bval)
          +
          public INTEGER​(byte[] bval)
                   throws java.lang.NumberFormatException
          Throws:
          @@ -388,13 +444,13 @@

          INTEGER

        - +
        • INTEGER

          -
          public INTEGER(int sign,
          +
          public INTEGER​(int sign,
                          byte[] mag)
                   throws java.lang.NumberFormatException
          @@ -403,13 +459,13 @@

          INTEGER

        - +
        • INTEGER

          -
          public INTEGER(int numBits,
          +
          public INTEGER​(int numBits,
                          java.util.Random rnd)
                   throws java.lang.NumberFormatException
          @@ -418,75 +474,77 @@

          INTEGER

        - +
        • INTEGER

          -
          public INTEGER(int bitLength,
          +
          public INTEGER​(int bitLength,
                          int certainty,
                          java.util.Random rnd)
        - +
        • INTEGER

          -
          public INTEGER(long val)
          +
          public INTEGER​(long val)
        - +
        • INTEGER

          -
          public INTEGER(java.math.BigInteger bi)
          +
          public INTEGER​(java.math.BigInteger bi)
      +
      +
        -
      • +
      • Method Detail

        - +
        • getTag

          -
          public Tag getTag()
          -
          Description copied from interface: ASN1Value
          +
          public Tag getTag()
          +
          Description copied from interface: ASN1Value
          Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
          Specified by:
          -
          getTag in interface ASN1Value
          +
          getTag in interface ASN1Value
          Returns:
          Base tag.
        - +
        • encode

          -
          public void encode(java.io.OutputStream outStream)
          +
          public void encode​(java.io.OutputStream outStream)
                       throws java.io.IOException
          -
          Description copied from interface: ASN1Value
          +
          Description copied from interface: ASN1Value
          Write this value's DER encoding to an output stream using its own base tag.
          Specified by:
          -
          encode in interface ASN1Value
          +
          encode in interface ASN1Value
          Parameters:
          outStream - Output stream.
          Throws:
          @@ -494,21 +552,21 @@

          encode

        - +
        • encode

          -
          public void encode(Tag implicitTag,
          +
          public void encode​(Tag implicitTag,
                              java.io.OutputStream outStream)
                       throws java.io.IOException
          -
          Description copied from interface: ASN1Value
          +
          Description copied from interface: ASN1Value
          Write this value's DER encoding to an output stream using an implicit tag.
          Specified by:
          -
          encode in interface ASN1Value
          +
          encode in interface ASN1Value
          Parameters:
          implicitTag - Implicit tag.
          outStream - Output stream.
          @@ -517,22 +575,22 @@

          encode

        - +
        • getContentLength

          -
          public long getContentLength()
          +
          public long getContentLength()
        - +
        • encode

          -
          public byte[] encode()
          +
          public byte[] encode()
                         throws java.io.IOException
          Throws:
          @@ -540,22 +598,22 @@

          encode

        - + - +
        • main

          -
          public static void main(java.lang.String[] args)
          +
          public static void main​(java.lang.String[] args)
          Tests the DER encoding and decoding of the INTEGER class.
          Parameters:
          @@ -565,21 +623,25 @@

          main

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/InvalidBERException.EOF.html b/master/javadocs/org/mozilla/jss/asn1/InvalidBERException.EOF.html index 30412a743..e4568b3e6 100644 --- a/master/javadocs/org/mozilla/jss/asn1/InvalidBERException.EOF.html +++ b/master/javadocs/org/mozilla/jss/asn1/InvalidBERException.EOF.html @@ -1,11 +1,20 @@ - + InvalidBERException.EOF (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class InvalidBERException.EOF

    @@ -98,7 +122,7 @@

    Class InvalidBERExceptio
  • java.lang.Exception
  • @@ -204,12 +235,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -220,21 +252,25 @@

          EOF

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/InvalidBERException.InvalidChar.html b/master/javadocs/org/mozilla/jss/asn1/InvalidBERException.InvalidChar.html index e0e0ed352..da816650a 100644 --- a/master/javadocs/org/mozilla/jss/asn1/InvalidBERException.InvalidChar.html +++ b/master/javadocs/org/mozilla/jss/asn1/InvalidBERException.InvalidChar.html @@ -1,11 +1,20 @@ - + InvalidBERException.InvalidChar (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class InvalidBERException.InvalidChar

    @@ -98,7 +122,7 @@

    Class InvalidBER
  • java.lang.Exception
  • @@ -209,48 +241,53 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • InvalidChar

          -
          public InvalidChar(byte b,
          +
          public InvalidChar​(byte b,
                              int offset)
        - +
        • InvalidChar

          -
          public InvalidChar(char c,
          +
          public InvalidChar​(char c,
                              int offset)
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/InvalidBERException.html b/master/javadocs/org/mozilla/jss/asn1/InvalidBERException.html index 0f7ea767c..7b6a96745 100644 --- a/master/javadocs/org/mozilla/jss/asn1/InvalidBERException.html +++ b/master/javadocs/org/mozilla/jss/asn1/InvalidBERException.html @@ -1,11 +1,20 @@ - + InvalidBERException (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class InvalidBERException

    @@ -117,14 +141,13 @@

    Class InvalidBERException
    All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable
    Direct Known Subclasses:
    -
    InvalidBERException.EOF, InvalidBERException.InvalidChar
    +
    InvalidBERException.EOF, InvalidBERException.InvalidChar

    -
    public class InvalidBERException
     extends java.lang.Exception
    An exception thrown when BER decoding fails.
    @@ -139,83 +162,98 @@

    Class InvalidBERException
  • +
    +
    +
    +
    +
      -
    • +
    • Method Summary

      - +
      - + + - + + - + + - + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and DescriptionMethodDescription
      voidappend(java.lang.String mesg) append​(java.lang.String mesg) 
      java.lang.StringtoString() toString() 
      java.lang.StringtoStringNested() toStringNested() 
        -
      • +
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
        -
      • +
      • Methods inherited from class java.lang.Object

        @@ -223,6 +261,7 @@

        Methods inherited from class java.lang.Object

    +
  • @@ -230,86 +269,93 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • InvalidBERException

          -
          public InvalidBERException(java.lang.String mesg)
          +
          public InvalidBERException​(java.lang.String mesg)
        - +
      +
      +
        -
      • +
      • Method Detail

        - +
        • append

          -
          public void append(java.lang.String mesg)
          +
          public void append​(java.lang.String mesg)
        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Overrides:
          toString in class java.lang.Throwable
        - +
        • toStringNested

          -
          public java.lang.String toStringNested()
          +
          public java.lang.String toStringNested()
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/NULL.Template.html b/master/javadocs/org/mozilla/jss/asn1/NULL.Template.html index 77b338fa8..37b39d049 100644 --- a/master/javadocs/org/mozilla/jss/asn1/NULL.Template.html +++ b/master/javadocs/org/mozilla/jss/asn1/NULL.Template.html @@ -1,11 +1,20 @@ - + NULL.Template (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class NULL.Template

    @@ -107,17 +131,16 @@

    Class NULL.Template

  • All Implemented Interfaces:
    -
    ASN1Template
    +
    ASN1Template
    Enclosing class:
    -
    NULL
    +
    NULL

    -
    public static class NULL.Template
     extends java.lang.Object
    -implements ASN1Template
    +implements ASN1Template
  • @@ -125,61 +148,71 @@

    Class NULL.Template

    • +
        -
      • +
      • Constructor Summary

        - +
        - + + - + +
        Constructors 
        Constructor and DescriptionConstructorDescription
        Template() Template() 
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - - + + - - + + - - + + + - +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        ASN1Valuedecode(java.io.InputStream istream) +ASN1Valuedecode​(java.io.InputStream istream)
        Decodes an ASN1Value from the InputStream without an implicit tag.
        ASN1Valuedecode(Tag implicitTag, - java.io.InputStream istream) +ASN1Valuedecode​(Tag implicitTag, + java.io.InputStream istream)
        Decodes an ASN1Value from the InputStream with the given implicit tag.
        TaggetTag() TaggetTag() 
        booleantagMatch(Tag tag) +tagMatch​(Tag tag)
        Determines whether the given tag will satisfy this template.
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -187,6 +220,7 @@

          Methods inherited from class java.lang.Object

      +
    @@ -194,12 +228,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -210,33 +245,35 @@

          Template

      +
      +
        -
      • +
      • Method Detail

        - +
        • getTag

          -
          public Tag getTag()
          +
          public Tag getTag()
        - +
        • tagMatch

          -
          public boolean tagMatch(Tag tag)
          -
          Description copied from interface: ASN1Template
          +
          public boolean tagMatch​(Tag tag)
          +
          Description copied from interface: ASN1Template
          Determines whether the given tag will satisfy this template.
          Specified by:
          -
          tagMatch in interface ASN1Template
          +
          tagMatch in interface ASN1Template
          Parameters:
          tag - Tag.
          Returns:
          @@ -244,20 +281,20 @@

          tagMatch

        - +
        • decode

          -
          public ASN1Value decode(java.io.InputStream istream)
          +
          public ASN1Value decode​(java.io.InputStream istream)
                            throws java.io.IOException,
          -                        InvalidBERException
          -
          Description copied from interface: ASN1Template
          + InvalidBERException
          +
          Description copied from interface: ASN1Template
          Decodes an ASN1Value from the InputStream without an implicit tag.
          Specified by:
          -
          decode in interface ASN1Template
          +
          decode in interface ASN1Template
          Parameters:
          istream - Must support marking (markSupported() == true). For example, ByteArrayInputStream and BufferedInputStream @@ -268,26 +305,26 @@

          decode

          ASN.1 value.
          Throws:
          java.io.IOException - If other error occurred.
          -
          InvalidBERException - If there is an invalid BER encoding.
          +
          InvalidBERException - If there is an invalid BER encoding.
        - +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/NULL.html b/master/javadocs/org/mozilla/jss/asn1/NULL.html index 62ad062b8..bb9c0ad16 100644 --- a/master/javadocs/org/mozilla/jss/asn1/NULL.html +++ b/master/javadocs/org/mozilla/jss/asn1/NULL.html @@ -1,11 +1,20 @@ - + NULL (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class NULL

    @@ -107,13 +131,12 @@

    Class NULL

  • All Implemented Interfaces:
    -
    ASN1Value
    +
    ASN1Value

    -
    public class NULL
     extends java.lang.Object
    -implements ASN1Value
    +implements ASN1Value
  • @@ -121,109 +144,129 @@

    Class NULL

    • +
        -
      • +
      • Nested Class Summary

        - +
        - + + - + +
        Nested Classes 
        Modifier and TypeClass and DescriptionClassDescription
        static class NULL.Template NULL.Template 
      +
      +
        -
      • +
      • Field Summary

        - +
        - + + - - + + + - - + + +
        Fields 
        Modifier and TypeField and DescriptionFieldDescription
        static FormFORM static FormFORM 
        static TagTAG static TagTAG 
      +
      +
        -
      • +
      • Constructor Summary

        - +
        - + + - + +
        Constructors 
        Constructor and DescriptionConstructorDescription
        NULL() NULL() 
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - + - + - - + + + - - + + - - + + +
        All Methods Static Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        voidencode(java.io.OutputStream ostream) +encode​(java.io.OutputStream ostream)
        Write this value's DER encoding to an output stream using its own base tag.
        voidencode(Tag implicitTag, - java.io.OutputStream ostream) +encode​(Tag implicitTag, + java.io.OutputStream ostream)
        Write this value's DER encoding to an output stream using an implicit tag.
        static NULLgetInstance() static NULLgetInstance() 
        TaggetTag() +TaggetTag()
        Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
        static NULL.TemplategetTemplate() static NULL.TemplategetTemplate() 
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -231,6 +274,7 @@

          Methods inherited from class java.lang.Object

      +
    @@ -238,38 +282,41 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
        • TAG

          -
          public static final Tag TAG
          +
          public static final Tag TAG
        - +
        • FORM

          -
          public static final Form FORM
          +
          public static final Form FORM
      +
      +
        -
      • +
      • Constructor Detail

        - +
          @@ -280,44 +327,46 @@

          NULL

      +
      +
        -
      • +
      • Method Detail

        - +
        • getTag

          -
          public Tag getTag()
          -
          Description copied from interface: ASN1Value
          +
          public Tag getTag()
          +
          Description copied from interface: ASN1Value
          Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
          Specified by:
          -
          getTag in interface ASN1Value
          +
          getTag in interface ASN1Value
          Returns:
          Base tag.
        - +
        • encode

          -
          public void encode(java.io.OutputStream ostream)
          +
          public void encode​(java.io.OutputStream ostream)
                       throws java.io.IOException
          -
          Description copied from interface: ASN1Value
          +
          Description copied from interface: ASN1Value
          Write this value's DER encoding to an output stream using its own base tag.
          Specified by:
          -
          encode in interface ASN1Value
          +
          encode in interface ASN1Value
          Parameters:
          ostream - Output stream.
          Throws:
          @@ -325,21 +374,21 @@

          encode

        - +
        • encode

          -
          public void encode(Tag implicitTag,
          +
          public void encode​(Tag implicitTag,
                              java.io.OutputStream ostream)
                       throws java.io.IOException
          -
          Description copied from interface: ASN1Value
          +
          Description copied from interface: ASN1Value
          Write this value's DER encoding to an output stream using an implicit tag.
          Specified by:
          -
          encode in interface ASN1Value
          +
          encode in interface ASN1Value
          Parameters:
          implicitTag - Implicit tag.
          ostream - Output stream.
          @@ -348,41 +397,45 @@

          encode

        - +
        • getInstance

          -
          public static NULL getInstance()
          +
          public static NULL getInstance()
        - +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/OBJECT_IDENTIFIER.Template.html b/master/javadocs/org/mozilla/jss/asn1/OBJECT_IDENTIFIER.Template.html index e0ca14342..457acc78a 100644 --- a/master/javadocs/org/mozilla/jss/asn1/OBJECT_IDENTIFIER.Template.html +++ b/master/javadocs/org/mozilla/jss/asn1/OBJECT_IDENTIFIER.Template.html @@ -1,11 +1,20 @@ - + OBJECT_IDENTIFIER.Template (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class OBJECT_IDENTIFIER.Template

    @@ -107,17 +131,16 @@

    Class OBJECT_IDENTIFI
  • All Implemented Interfaces:
    -
    ASN1Template
    +
    ASN1Template
    Enclosing class:
    -
    OBJECT_IDENTIFIER
    +
    OBJECT_IDENTIFIER

    -
    public static class OBJECT_IDENTIFIER.Template
     extends java.lang.Object
    -implements ASN1Template
    +implements ASN1Template
  • @@ -125,69 +148,81 @@

    Class OBJECT_IDENTIFI @@ -202,12 +238,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -218,33 +255,35 @@

          Template

      +
      +
        -
      • +
      • Method Detail

        - +
        • getTag

          -
          public Tag getTag()
          +
          public Tag getTag()
        - +
        • tagMatch

          -
          public boolean tagMatch(Tag tag)
          -
          Description copied from interface: ASN1Template
          +
          public boolean tagMatch​(Tag tag)
          +
          Description copied from interface: ASN1Template
          Determines whether the given tag will satisfy this template.
          Specified by:
          -
          tagMatch in interface ASN1Template
          +
          tagMatch in interface ASN1Template
          Parameters:
          tag - Tag.
          Returns:
          @@ -252,38 +291,38 @@

          tagMatch

        - +
        • getForm

          -
          public Form getForm()
          +
          public Form getForm()
        - +
        • formMatch

          -
          public boolean formMatch(Form form)
          +
          public boolean formMatch​(Form form)
        - +
        • decode

          -
          public ASN1Value decode(java.io.InputStream istream)
          +
          public ASN1Value decode​(java.io.InputStream istream)
                            throws java.io.IOException,
          -                        InvalidBERException
          -
          Description copied from interface: ASN1Template
          + InvalidBERException
          +
          Description copied from interface: ASN1Template
          Decodes an ASN1Value from the InputStream without an implicit tag.
          Specified by:
          -
          decode in interface ASN1Template
          +
          decode in interface ASN1Template
          Parameters:
          istream - Must support marking (markSupported() == true). For example, ByteArrayInputStream and BufferedInputStream @@ -294,26 +333,26 @@

          decode

          ASN.1 value.
          Throws:
          java.io.IOException - If other error occurred.
          -
          InvalidBERException - If there is an invalid BER encoding.
          +
          InvalidBERException - If there is an invalid BER encoding.
        - +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/OBJECT_IDENTIFIER.html b/master/javadocs/org/mozilla/jss/asn1/OBJECT_IDENTIFIER.html index a2fc7c5f8..bfe6ae6c7 100644 --- a/master/javadocs/org/mozilla/jss/asn1/OBJECT_IDENTIFIER.html +++ b/master/javadocs/org/mozilla/jss/asn1/OBJECT_IDENTIFIER.html @@ -1,11 +1,20 @@ - + OBJECT_IDENTIFIER (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class OBJECT_IDENTIFIER

    @@ -107,13 +131,12 @@

    Class OBJECT_IDENTIFIER

  • All Implemented Interfaces:
    -
    ASN1Value
    +
    ASN1Value

    -
    public class OBJECT_IDENTIFIER
     extends java.lang.Object
    -implements ASN1Value
    +implements ASN1Value
  • @@ -121,362 +144,436 @@

    Class OBJECT_IDENTIFIER

    @@ -491,482 +589,485 @@

    Methods inherited from class java.lang.Object

    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/OCTET_STRING.Template.html b/master/javadocs/org/mozilla/jss/asn1/OCTET_STRING.Template.html index 744ddb48b..6897bd81d 100644 --- a/master/javadocs/org/mozilla/jss/asn1/OCTET_STRING.Template.html +++ b/master/javadocs/org/mozilla/jss/asn1/OCTET_STRING.Template.html @@ -1,11 +1,20 @@ - + OCTET_STRING.Template (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class OCTET_STRING.Template

    @@ -107,17 +131,16 @@

    Class OCTET_STRING.Templat
  • All Implemented Interfaces:
    -
    ASN1Template
    +
    ASN1Template
    Enclosing class:
    -
    OCTET_STRING
    +
    OCTET_STRING

    -
    public static class OCTET_STRING.Template
     extends java.lang.Object
    -implements ASN1Template
    +implements ASN1Template
  • @@ -125,69 +148,81 @@

    Class OCTET_STRING.Templat @@ -202,12 +238,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -218,33 +255,35 @@

          Template

      +
      +
        -
      • +
      • Method Detail

        - +
        • getTag

          -
          public Tag getTag()
          +
          public Tag getTag()
        - +
        • tagMatch

          -
          public boolean tagMatch(Tag tag)
          -
          Description copied from interface: ASN1Template
          +
          public boolean tagMatch​(Tag tag)
          +
          Description copied from interface: ASN1Template
          Determines whether the given tag will satisfy this template.
          Specified by:
          -
          tagMatch in interface ASN1Template
          +
          tagMatch in interface ASN1Template
          Parameters:
          tag - Tag.
          Returns:
          @@ -252,20 +291,20 @@

          tagMatch

        - +
        • decode

          -
          public ASN1Value decode(java.io.InputStream istream)
          +
          public ASN1Value decode​(java.io.InputStream istream)
                            throws java.io.IOException,
          -                        InvalidBERException
          -
          Description copied from interface: ASN1Template
          + InvalidBERException
          +
          Description copied from interface: ASN1Template
          Decodes an ASN1Value from the InputStream without an implicit tag.
          Specified by:
          -
          decode in interface ASN1Template
          +
          decode in interface ASN1Template
          Parameters:
          istream - Must support marking (markSupported() == true). For example, ByteArrayInputStream and BufferedInputStream @@ -276,44 +315,44 @@

          decode

          ASN.1 value.
          Throws:
          java.io.IOException - If other error occurred.
          -
          InvalidBERException - If there is an invalid BER encoding.
          +
          InvalidBERException - If there is an invalid BER encoding.
        - +
        • generateInstance

          -
          protected ASN1Value generateInstance(byte[] bytes)
          +
          protected ASN1Value generateInstance​(byte[] bytes)
        - +
        • getName

          -
          protected java.lang.String getName()
          +
          protected java.lang.String getName()
        - +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/OCTET_STRING.html b/master/javadocs/org/mozilla/jss/asn1/OCTET_STRING.html index 3d0d3922c..536526b9b 100644 --- a/master/javadocs/org/mozilla/jss/asn1/OCTET_STRING.html +++ b/master/javadocs/org/mozilla/jss/asn1/OCTET_STRING.html @@ -1,11 +1,20 @@ - + OCTET_STRING (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class OCTET_STRING

    @@ -107,13 +131,12 @@

    Class OCTET_STRING

  • All Implemented Interfaces:
    -
    ASN1Value
    +
    ASN1Value

    -
    public class OCTET_STRING
     extends java.lang.Object
    -implements ASN1Value
    +implements ASN1Value
  • @@ -121,109 +144,129 @@

    Class OCTET_STRING

    @@ -238,95 +282,100 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
        • TAG

          -
          public static final Tag TAG
          +
          public static final Tag TAG
        - +
        • FORM

          -
          public static final Form FORM
          +
          public static final Form FORM
      +
      +
        -
      • +
      • Constructor Detail

        - +
        • OCTET_STRING

          -
          public OCTET_STRING(byte[] data)
          +
          public OCTET_STRING​(byte[] data)
      +
      +
        -
      • +
      • Method Detail

        - +
        • getTag

          -
          public Tag getTag()
          -
          Description copied from interface: ASN1Value
          +
          public Tag getTag()
          +
          Description copied from interface: ASN1Value
          Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
          Specified by:
          -
          getTag in interface ASN1Value
          +
          getTag in interface ASN1Value
          Returns:
          Base tag.
        - +
        • toByteArray

          -
          public byte[] toByteArray()
          +
          public byte[] toByteArray()
        - +
        • encode

          -
          public void encode(java.io.OutputStream ostream)
          +
          public void encode​(java.io.OutputStream ostream)
                       throws java.io.IOException
          -
          Description copied from interface: ASN1Value
          +
          Description copied from interface: ASN1Value
          Write this value's DER encoding to an output stream using its own base tag.
          Specified by:
          -
          encode in interface ASN1Value
          +
          encode in interface ASN1Value
          Parameters:
          ostream - Output stream.
          Throws:
          @@ -334,21 +383,21 @@

          encode

        - +
        • encode

          -
          public void encode(Tag implicitTag,
          +
          public void encode​(Tag implicitTag,
                              java.io.OutputStream ostream)
                       throws java.io.IOException
          -
          Description copied from interface: ASN1Value
          +
          Description copied from interface: ASN1Value
          Write this value's DER encoding to an output stream using an implicit tag.
          Specified by:
          -
          encode in interface ASN1Value
          +
          encode in interface ASN1Value
          Parameters:
          implicitTag - Implicit tag.
          ostream - Output stream.
          @@ -357,32 +406,36 @@

          encode

        - +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/PrintableString.Template.html b/master/javadocs/org/mozilla/jss/asn1/PrintableString.Template.html index a3b6ef59b..341892e10 100644 --- a/master/javadocs/org/mozilla/jss/asn1/PrintableString.Template.html +++ b/master/javadocs/org/mozilla/jss/asn1/PrintableString.Template.html @@ -1,11 +1,20 @@ - + PrintableString.Template (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class PrintableString.Template

    @@ -98,7 +122,7 @@

    Class PrintableString.T
  • java.lang.Object
  • @@ -130,91 +153,103 @@

    Class PrintableString.T @@ -222,12 +257,13 @@

    Methods inherited from interface org.mozilla.jss.asn1.
  • +
      -
    • +
    • Constructor Detail

      - +
        @@ -238,43 +274,45 @@

        Template

    +
    +
    +
  • +

    + diff --git a/master/javadocs/org/mozilla/jss/asn1/PrintableString.html b/master/javadocs/org/mozilla/jss/asn1/PrintableString.html index dd87b5a43..c7a5d623c 100644 --- a/master/javadocs/org/mozilla/jss/asn1/PrintableString.html +++ b/master/javadocs/org/mozilla/jss/asn1/PrintableString.html @@ -1,11 +1,20 @@ - + PrintableString (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class PrintableString

    @@ -98,7 +122,7 @@

    Class PrintableString

  • java.lang.Object
  • @@ -126,116 +149,135 @@

    Class PrintableString

    @@ -243,44 +285,47 @@

    Methods inherited from interface org.mozilla.jss.asn1.
  • +
      -
    • +
    • Field Detail

      - +
      • TAG

        -
        public static final Tag TAG
        +
        public static final Tag TAG
      - +
      • FORM

        -
        public static final Form FORM
        +
        public static final Form FORM
    +
    +
      -
    • +
    • Constructor Detail

      - +
      • PrintableString

        -
        public PrintableString(char[] chars)
        +
        public PrintableString​(char[] chars)
                         throws java.io.CharConversionException
        Throws:
        @@ -288,13 +333,13 @@

        PrintableString

      - +
      • PrintableString

        -
        public PrintableString(java.lang.String s)
        +
        public PrintableString​(java.lang.String s)
                         throws java.io.CharConversionException
        Throws:
        @@ -304,39 +349,41 @@

        PrintableString

    +
    +
    +
  • +

    + diff --git a/master/javadocs/org/mozilla/jss/asn1/SEQUENCE.OF_Template.html b/master/javadocs/org/mozilla/jss/asn1/SEQUENCE.OF_Template.html index 91b11108b..d025ef447 100644 --- a/master/javadocs/org/mozilla/jss/asn1/SEQUENCE.OF_Template.html +++ b/master/javadocs/org/mozilla/jss/asn1/SEQUENCE.OF_Template.html @@ -1,11 +1,20 @@ - + SEQUENCE.OF_Template (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class SEQUENCE.OF_Template

    @@ -107,17 +131,16 @@

    Class SEQUENCE.OF_Template<
  • All Implemented Interfaces:
    -
    ASN1Template
    +
    ASN1Template
    Enclosing class:
    -
    SEQUENCE
    +
    SEQUENCE

    -
    public static class SEQUENCE.OF_Template
     extends java.lang.Object
    -implements ASN1Template
    +implements ASN1Template
    A Template for decoding SEQUENCE OF values. The main difference between a SEQUENCE.Template and a SEQUENCE.OF_Template is that a regular template specifies the exact ordering, number, and type of elements of the sequence, @@ -142,60 +165,70 @@

    Class SEQUENCE.OF_Template<

    @@ -210,49 +244,52 @@

    Methods inherited from class java.lang.Object

  • +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/SEQUENCE.Template.html b/master/javadocs/org/mozilla/jss/asn1/SEQUENCE.Template.html index c1b08dcac..0f6a130b4 100644 --- a/master/javadocs/org/mozilla/jss/asn1/SEQUENCE.Template.html +++ b/master/javadocs/org/mozilla/jss/asn1/SEQUENCE.Template.html @@ -1,11 +1,20 @@ - + SEQUENCE.Template (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class SEQUENCE.Template

    @@ -107,21 +131,20 @@

    Class SEQUENCE.Template

  • All Implemented Interfaces:
    -
    ASN1Template
    +
    ASN1Template
    Direct Known Subclasses:
    -
    Encoding.Template
    +
    Encoding.Template
    Enclosing class:
    -
    SEQUENCE
    +
    SEQUENCE

    -
    public static class SEQUENCE.Template
     extends java.lang.Object
    -implements ASN1Template
    +implements ASN1Template
    A class for constructing a SEQUENCE from its BER encoding. It is an ordered collection of sub-templates. Each sub-template can be marked optional, or a default value can be given.
    @@ -132,189 +155,217 @@

    Class SEQUENCE.Template

  • @@ -329,12 +381,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -345,19 +398,21 @@

          Template

      +
      +
        -
      • +
      • Method Detail

        - +
        • addElement

          -
          public void addElement(ASN1Template t)
          +
          public void addElement​(ASN1Template t)
          Adds a sub-template to the end of this SEQUENCE template. For example, if the ASN.1 included:
          @@ -375,13 +430,13 @@ 

          addElement

        - +
        • insertElementAt

          -
          public void insertElementAt(ASN1Template t,
          +
          public void insertElementAt​(ASN1Template t,
                                       int index)
          Inserts the template at the given index.
          @@ -391,14 +446,14 @@

          insertElementAt

        - +
        • addElement

          -
          public void addElement(Tag implicitTag,
          -                       ASN1Template t)
          +
          public void addElement​(Tag implicitTag,
          +                       ASN1Template t)
          Adds a sub-template to the end of this SEQUENCE template, with the given implicit tag. For example, if the ASN.1 were:
          @@ -417,14 +472,14 @@ 

          addElement

        - +
        • insertElementAt

          -
          public void insertElementAt(Tag implicit,
          -                            ASN1Template t,
          +
          public void insertElementAt​(Tag implicit,
          +                            ASN1Template t,
                                       int index)
          Inserts the template with the given implicit tag at the given index.
          @@ -435,13 +490,13 @@

          insertElementAt

        - +
        • addOptionalElement

          -
          public void addOptionalElement(ASN1Template t)
          +
          public void addOptionalElement​(ASN1Template t)
          Adds an optional sub-template. For example, if the ASN.1 were:
            MySequence ::= SEQUENCE {
          @@ -458,13 +513,13 @@ 

          addOptionalElement

        - +
        • insertOptionalElementAt

          -
          public void insertOptionalElementAt(ASN1Template t,
          +
          public void insertOptionalElementAt​(ASN1Template t,
                                               int index)
          Inserts the optional template at the given index.
          @@ -474,14 +529,14 @@

          insertOptionalElementAt

        - +
        • addOptionalElement

          -
          public void addOptionalElement(Tag implicitTag,
          -                               ASN1Template t)
          +
          public void addOptionalElement​(Tag implicitTag,
          +                               ASN1Template t)
          Adds an optional sub-template with an implicit tag. For example, if the ASN.1 were:
          @@ -500,14 +555,14 @@ 

          addOptionalElement

        - +
        • insertOptionalElementAt

          -
          public void insertOptionalElementAt(Tag implicit,
          -                                    ASN1Template t,
          +
          public void insertOptionalElementAt​(Tag implicit,
          +                                    ASN1Template t,
                                               int index)
          Inserts the optional template with the given default value at the given index.
          @@ -519,14 +574,14 @@

          insertOptionalElementAt

        - +
        • addElement

          -
          public void addElement(ASN1Template t,
          -                       ASN1Value def)
          +
          public void addElement​(ASN1Template t,
          +                       ASN1Value def)
          Adds a sub-template with a default value. For example, if the ASN.1 were:
          @@ -547,14 +602,14 @@ 

          addElement

        - +
        • insertElementAt

          -
          public void insertElementAt(ASN1Template t,
          -                            ASN1Value def,
          +
          public void insertElementAt​(ASN1Template t,
          +                            ASN1Value def,
                                       int index)
          Inserts the template with the given default value at the given index.
          @@ -566,15 +621,15 @@

          insertElementAt

        - +
        • addElement

          -
          public void addElement(Tag implicitTag,
          -                       ASN1Template t,
          -                       ASN1Value def)
          +
          public void addElement​(Tag implicitTag,
          +                       ASN1Template t,
          +                       ASN1Value def)
          Adds a sub-template with a default value and an implicit tag. For example, if the ASN.1 were:
          @@ -597,15 +652,15 @@ 

          addElement

        - +
        • insertElementAt

          -
          public void insertElementAt(Tag implicit,
          -                            ASN1Template t,
          -                            ASN1Value def,
          +
          public void insertElementAt​(Tag implicit,
          +                            ASN1Template t,
          +                            ASN1Value def,
                                       int index)
          Inserts the template with the given implicit tag and given default value at the given index.
          @@ -618,13 +673,13 @@

          insertElementAt

        - +
        • implicitTagAt

          -
          public Tag implicitTagAt(int index)
          +
          public Tag implicitTagAt​(int index)
          Returns the implicit tag of the item stored at the given index. May be NULL if no implicit tag was specified.
          @@ -635,13 +690,13 @@

          implicitTagAt

        - +
        • templateAt

          -
          public ASN1Template templateAt(int index)
          +
          public ASN1Template templateAt​(int index)
          Returns the sub-template stored at the given index.
          Parameters:
          @@ -651,13 +706,13 @@

          templateAt

        - +
        • isOptionalAt

          -
          public boolean isOptionalAt(int index)
          +
          public boolean isOptionalAt​(int index)
          Returns whether the sub-template at the given index is optional.
          Parameters:
          @@ -667,13 +722,13 @@

          isOptionalAt

        - +
        • defaultAt

          -
          public ASN1Value defaultAt(int index)
          +
          public ASN1Value defaultAt​(int index)
          Returns the default value for the sub-template at the given index. May return NULL if no default value was specified.
          @@ -684,36 +739,36 @@

          defaultAt

        - +
        • size

          -
          public int size()
          +
          public int size()
          Returns:
          The number of elements in this SEQUENCE template.
        - +
        • removeAllElements

          -
          public void removeAllElements()
          +
          public void removeAllElements()
          Removes all sub-templates from this SEQUENCE template.
        - +
        • removeElementAt

          -
          public void removeElementAt(int index)
          +
          public void removeElementAt​(int index)
          Removes the sub-template at the given index.
          Parameters:
          @@ -721,18 +776,18 @@

          removeElementAt

        - +
        • tagMatch

          -
          public boolean tagMatch(Tag tag)
          -
          Description copied from interface: ASN1Template
          +
          public boolean tagMatch​(Tag tag)
          +
          Description copied from interface: ASN1Template
          Determines whether the given tag will satisfy this template.
          Specified by:
          -
          tagMatch in interface ASN1Template
          +
          tagMatch in interface ASN1Template
          Parameters:
          tag - Tag.
          Returns:
          @@ -740,44 +795,44 @@

          tagMatch

        - + - +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/SEQUENCE.html b/master/javadocs/org/mozilla/jss/asn1/SEQUENCE.html index 8340c69a6..5b29a64bd 100644 --- a/master/javadocs/org/mozilla/jss/asn1/SEQUENCE.html +++ b/master/javadocs/org/mozilla/jss/asn1/SEQUENCE.html @@ -1,11 +1,20 @@ - + SEQUENCE (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class SEQUENCE

    @@ -98,7 +122,7 @@

    Class SEQUENCE

  • java.lang.Object
  • @@ -264,29 +307,32 @@

    Methods inherited from interface org.mozilla.jss.asn1.
  • +
      -
    • +
    • Field Detail

      - +
      • TAG

        -
        public static final Tag TAG
        +
        public static final Tag TAG
    +
    +
      -
    • +
    • Constructor Detail

      - +
        @@ -297,57 +343,59 @@

        SEQUENCE

    +
    +
      -
    • +
    • Method Detail

      - +
      • getTag

        -
        public Tag getTag()
        -
        Description copied from interface: ASN1Value
        +
        public Tag getTag()
        +
        Description copied from interface: ASN1Value
        Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
        Specified by:
        -
        getTag in interface ASN1Value
        +
        getTag in interface ASN1Value
        Overrides:
        -
        getTag in class SET
        +
        getTag in class SET
        Returns:
        Base tag.
      - + - +
      • encode

        -
        public void encode(Tag implicitTag,
        +
        public void encode​(Tag implicitTag,
                            java.io.OutputStream ostream)
                     throws java.io.IOException
        Writes the DER encoding to the given output stream, using the given implicit tag.
        Specified by:
        -
        encode in interface ASN1Value
        +
        encode in interface ASN1Value
        Overrides:
        -
        encode in class SET
        +
        encode in class SET
        Parameters:
        implicitTag - Implicit tag.
        ostream - Output stream.
        @@ -356,32 +404,36 @@

        encode

      - +
      • main

        -
        public static void main(java.lang.String[] args)
        +
        public static void main​(java.lang.String[] args)
    +
  • +

    + diff --git a/master/javadocs/org/mozilla/jss/asn1/SET.OF_Template.html b/master/javadocs/org/mozilla/jss/asn1/SET.OF_Template.html index c58226911..2f2b87ada 100644 --- a/master/javadocs/org/mozilla/jss/asn1/SET.OF_Template.html +++ b/master/javadocs/org/mozilla/jss/asn1/SET.OF_Template.html @@ -1,11 +1,20 @@ - + SET.OF_Template (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class SET.OF_Template

    @@ -107,17 +131,16 @@

    Class SET.OF_Template

  • All Implemented Interfaces:
    -
    ASN1Template
    +
    ASN1Template
    Enclosing class:
    -
    SET
    +
    SET

    -
    public static class SET.OF_Template
     extends java.lang.Object
    -implements ASN1Template
    +implements ASN1Template
    A Template for decoding SET OF values. Use this if you have a SIZE qualifier on your SET OF. The SET will consume as many instances of type as it can, rather than @@ -131,59 +154,68 @@

    Class SET.OF_Template

    • +
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - - + + - - + + - +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        ASN1Valuedecode(java.io.InputStream istream) +ASN1Valuedecode​(java.io.InputStream istream)
        Decodes a SET OF from its BER encoding.
        ASN1Valuedecode(Tag implicitTag, - java.io.InputStream istream) +ASN1Valuedecode​(Tag implicitTag, + java.io.InputStream istream)
        Decodes a SET OF with an implicit tag from its BER encoding.
        booleantagMatch(Tag tag) +tagMatch​(Tag tag)
        Determines whether the given tag will satisfy this template.
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -191,6 +223,7 @@

          Methods inherited from class java.lang.Object

      +
    @@ -198,18 +231,19 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • OF_Template

          -
          public OF_Template(ASN1Template type)
          +
          public OF_Template​(ASN1Template type)
          Creates an OF_Template with the given type. For example:
            MySet ::= SET OF INTEGER;
          @@ -227,24 +261,26 @@ 

          OF_Template

      +
      +
        -
      • +
      • Method Detail

        - +
        • tagMatch

          -
          public boolean tagMatch(Tag tag)
          -
          Description copied from interface: ASN1Template
          +
          public boolean tagMatch​(Tag tag)
          +
          Description copied from interface: ASN1Template
          Determines whether the given tag will satisfy this template.
          Specified by:
          -
          tagMatch in interface ASN1Template
          +
          tagMatch in interface ASN1Template
          Parameters:
          tag - Tag.
          Returns:
          @@ -252,19 +288,19 @@

          tagMatch

        - +
        • decode

          -
          public ASN1Value decode(java.io.InputStream istream)
          +
          public ASN1Value decode​(java.io.InputStream istream)
                            throws java.io.IOException,
          -                        InvalidBERException
          + InvalidBERException
          Decodes a SET OF from its BER encoding.
          Specified by:
          -
          decode in interface ASN1Template
          +
          decode in interface ASN1Template
          Parameters:
          istream - Must support marking (markSupported() == true). For example, ByteArrayInputStream and BufferedInputStream @@ -275,25 +311,25 @@

          decode

          ASN.1 value.
          Throws:
          java.io.IOException - If other error occurred.
          -
          InvalidBERException - If there is an invalid BER encoding.
          +
          InvalidBERException - If there is an invalid BER encoding.
        - +
      +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/SET.Template.Element.html b/master/javadocs/org/mozilla/jss/asn1/SET.Template.Element.html index b9a31be15..75b18fa5d 100644 --- a/master/javadocs/org/mozilla/jss/asn1/SET.Template.Element.html +++ b/master/javadocs/org/mozilla/jss/asn1/SET.Template.Element.html @@ -1,11 +1,20 @@ - + SET.Template.Element (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class SET.Template.Element

    @@ -107,10 +131,9 @@

    Class SET.Template.Element<
  • Enclosing class:
    -
    SET.Template
    +
    SET.Template

    -
    public static class SET.Template.Element
     extends java.lang.Object
    An element of a SET template.
    @@ -121,68 +144,80 @@

    Class SET.Template.Element<

  • @@ -197,66 +233,69 @@

    Methods inherited from class java.lang.Object

    • +
      +
      +
        -
      • +
      • Method Detail

        - +
        • isOptional

          -
          public boolean isOptional()
          +
          public boolean isOptional()
        - +
        • getImplicitTag

          -
          public Tag getImplicitTag()
          +
          public Tag getImplicitTag()
        - +
        • tagMatch

          -
          public boolean tagMatch(Tag tag)
          +
          public boolean tagMatch​(Tag tag)
          Determines whether the given tag satisfies this SET element.
          Parameters:
          @@ -266,26 +305,26 @@

          tagMatch

        - +
        • getTemplate

          -
          public ASN1Template getTemplate()
          +
          public ASN1Template getTemplate()
          Returns:
          The template for this element.
        - +
        • getDefault

          -
          public ASN1Value getDefault()
          +
          public ASN1Value getDefault()
          Returns the default value for this element, if one exists. Otherwise, returns null.
          @@ -296,21 +335,25 @@

          getDefault

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/SET.Template.html b/master/javadocs/org/mozilla/jss/asn1/SET.Template.html index e0938f239..0a8ad067e 100644 --- a/master/javadocs/org/mozilla/jss/asn1/SET.Template.html +++ b/master/javadocs/org/mozilla/jss/asn1/SET.Template.html @@ -1,11 +1,20 @@ - + SET.Template (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class SET.Template

    @@ -107,17 +131,16 @@

    Class SET.Template

  • All Implemented Interfaces:
    -
    ASN1Template
    +
    ASN1Template
    Enclosing class:
    -
    SET
    +
    SET

    -
    public static class SET.Template
     extends java.lang.Object
    -implements ASN1Template
    +implements ASN1Template
    SET.Template This class is used for decoding DER-encoded SETs.
  • @@ -127,211 +150,243 @@

    Class SET.Template

    @@ -346,12 +402,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -362,19 +419,21 @@

          Template

      +
      +
        -
      • +
      • Method Detail

        - +
        • addElement

          -
          public void addElement(ASN1Template t)
          +
          public void addElement​(ASN1Template t)
          Adds a sub-template to the end of this SET template. For example, if the ASN.1 included:
          @@ -392,13 +451,13 @@ 

          addElement

        - +
        • insertElementAt

          -
          public void insertElementAt(ASN1Template t,
          +
          public void insertElementAt​(ASN1Template t,
                                       int index)
          Inserts the template at the given index.
          @@ -408,14 +467,14 @@

          insertElementAt

        - +
        • addElement

          -
          public void addElement(Tag implicit,
          -                       ASN1Template t)
          +
          public void addElement​(Tag implicit,
          +                       ASN1Template t)
          Adds a sub-template with the given implicit tag to the end of this SET template. For example, if the ASN.1 included:
          @@ -434,14 +493,14 @@ 

          addElement

        - +
        • insertElementAt

          -
          public void insertElementAt(Tag implicit,
          -                            ASN1Template t,
          +
          public void insertElementAt​(Tag implicit,
          +                            ASN1Template t,
                                       int index)
          Inserts the template with the given implicit tag at the given index.
          @@ -452,13 +511,13 @@

          insertElementAt

        - +
        • addOptionalElement

          -
          public void addOptionalElement(ASN1Template t)
          +
          public void addOptionalElement​(ASN1Template t)
          Adds an optional sub-template to the end of this SET template. For example, if the ASN.1 included:
          @@ -476,13 +535,13 @@ 

          addOptionalElement

        - +
        • insertOptionalElementAt

          -
          public void insertOptionalElementAt(ASN1Template t,
          +
          public void insertOptionalElementAt​(ASN1Template t,
                                               int index)
          Inserts the optional template at the given index.
          @@ -492,14 +551,14 @@

          insertOptionalElementAt

        - +
        • addOptionalElement

          -
          public void addOptionalElement(Tag implicit,
          -                               ASN1Template t)
          +
          public void addOptionalElement​(Tag implicit,
          +                               ASN1Template t)
          Adds an optional sub-template with the given implicit tag to the end of this SET template. For example, if the ASN.1 included:
          @@ -518,14 +577,14 @@ 

          addOptionalElement

        - +
        • insertOptionalElementAt

          -
          public void insertOptionalElementAt(Tag implicit,
          -                                    ASN1Template t,
          +
          public void insertOptionalElementAt​(Tag implicit,
          +                                    ASN1Template t,
                                               int index)
          Inserts the optional template with the given default value at the given index.
          @@ -537,14 +596,14 @@

          insertOptionalElementAt

        - +
        • addElement

          -
          public void addElement(ASN1Template t,
          -                       ASN1Value def)
          +
          public void addElement​(ASN1Template t,
          +                       ASN1Value def)
          Adds a sub-template with the given default value to the end of this SET template. For example, if the ASN.1 included:
          @@ -563,14 +622,14 @@ 

          addElement

        - +
        • insertElementAt

          -
          public void insertElementAt(ASN1Template t,
          -                            ASN1Value def,
          +
          public void insertElementAt​(ASN1Template t,
          +                            ASN1Value def,
                                       int index)
          Inserts the template with the given default value at the given index.
          @@ -582,15 +641,15 @@

          insertElementAt

        - +
        • addElement

          -
          public void addElement(Tag implicit,
          -                       ASN1Template t,
          -                       ASN1Value def)
          +
          public void addElement​(Tag implicit,
          +                       ASN1Template t,
          +                       ASN1Value def)
          Adds a sub-template with the given default value and implicit tag to the end of this SET template. For example, if the ASN.1 included:
          @@ -610,15 +669,15 @@ 

          addElement

        - +
        • insertElementAt

          -
          public void insertElementAt(Tag implicit,
          -                            ASN1Template t,
          -                            ASN1Value def,
          +
          public void insertElementAt​(Tag implicit,
          +                            ASN1Template t,
          +                            ASN1Value def,
                                       int index)
          Inserts the template with the given implicit tag and given default value at the given index.
          @@ -631,13 +690,13 @@

          insertElementAt

        - +
        • implicitTagAt

          -
          public Tag implicitTagAt(int index)
          +
          public Tag implicitTagAt​(int index)
          Returns the implicit tag of the item stored at the given index. May be NULL if no implicit tag was specified.
          @@ -648,13 +707,13 @@

          implicitTagAt

        - +
        • templateAt

          -
          public ASN1Template templateAt(int index)
          +
          public ASN1Template templateAt​(int index)
          Returns the sub-template stored at the given index.
          Parameters:
          @@ -664,13 +723,13 @@

          templateAt

        - +
        • isOptionalAt

          -
          public boolean isOptionalAt(int index)
          +
          public boolean isOptionalAt​(int index)
          Returns true if the sub-template at the given index is optional.
          @@ -681,13 +740,13 @@

          isOptionalAt

        - +
        • defaultAt

          -
          public ASN1Value defaultAt(int index)
          +
          public ASN1Value defaultAt​(int index)
          Returns the default value for the sub-template at the given index. May return NULL if no default value was specified.
          @@ -698,48 +757,48 @@

          defaultAt

        - +
        • size

          -
          public int size()
          +
          public int size()
          Returns:
          The number of elements in the SET.
        - +
        • removeAllElements

          -
          public void removeAllElements()
          +
          public void removeAllElements()
        - +
        • removeElementAt

          -
          public void removeElementAt(int index)
          +
          public void removeElementAt​(int index)
        - +
        • tagMatch

          -
          public boolean tagMatch(Tag tag)
          +
          public boolean tagMatch​(Tag tag)
          Determines whether the given tag satisfies this template.
          Specified by:
          -
          tagMatch in interface ASN1Template
          +
          tagMatch in interface ASN1Template
          Parameters:
          tag - Tag.
          Returns:
          @@ -747,44 +806,44 @@

          tagMatch

        - + - +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/SET.html b/master/javadocs/org/mozilla/jss/asn1/SET.html index 07924d37c..0a907f455 100644 --- a/master/javadocs/org/mozilla/jss/asn1/SET.html +++ b/master/javadocs/org/mozilla/jss/asn1/SET.html @@ -1,11 +1,20 @@ - + SET (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class SET

    @@ -107,17 +131,16 @@

    Class SET

  • All Implemented Interfaces:
    -
    ASN1Value
    +
    ASN1Value
    Direct Known Subclasses:
    -
    SEQUENCE
    +
    SEQUENCE

    -
    public class SET
     extends java.lang.Object
    -implements ASN1Value
    +implements ASN1Value
    An ASN.1 SET, which is an unordered collection of ASN.1 values. It has an interface like a Java Vector, but the ordering is arbitrary. Null entries may be added; they will be skipped when encoding.
    @@ -128,26 +151,30 @@

    Class SET

  • @@ -323,30 +379,31 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
        • TAG

          -
          public static final Tag TAG
          +
          public static final Tag TAG
        - +
        • FORM

          -
          protected static final Form FORM
          +
          protected static final Form FORM
        - +
          @@ -357,13 +414,15 @@

          elements

      +
      +
        -
      • +
      • Constructor Detail

        - +
          @@ -374,37 +433,39 @@

          SET

      +
      +
        -
      • +
      • Method Detail

        - +
        • getTag

          -
          public Tag getTag()
          -
          Description copied from interface: ASN1Value
          +
          public Tag getTag()
          +
          Description copied from interface: ASN1Value
          Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
          Specified by:
          -
          getTag in interface ASN1Value
          +
          getTag in interface ASN1Value
          Returns:
          Base tag.
        - +
        • addElement

          -
          public void addElement(ASN1Value v)
          +
          public void addElement​(ASN1Value v)
          Adds an element to this SET.
          Parameters:
          @@ -412,14 +473,14 @@

          addElement

        - +
        • addElement

          -
          public void addElement(Tag implicitTag,
          -                       ASN1Value v)
          +
          public void addElement​(Tag implicitTag,
          +                       ASN1Value v)
          Adds an element to this SET with the given implicit tag. For example, if the ASN.1 were:
          @@ -439,13 +500,13 @@ 

          addElement

        - +
        • insertElementAt

          -
          public void insertElementAt(ASN1Value v,
          +
          public void insertElementAt​(ASN1Value v,
                                       int index)
          Inserts an element at the given index.
          @@ -455,14 +516,14 @@

          insertElementAt

        - +
        • insertElementAt

          -
          public void insertElementAt(Tag implicitTag,
          -                            ASN1Value v,
          +
          public void insertElementAt​(Tag implicitTag,
          +                            ASN1Value v,
                                       int index)
          Inserts an element with the given implicit tag at the given index.
          @@ -473,13 +534,13 @@

          insertElementAt

        - +
        • elementAt

          -
          public ASN1Value elementAt(int index)
          +
          public ASN1Value elementAt​(int index)
          Returns the element at the given index in the SET.
          Parameters:
          @@ -489,13 +550,13 @@

          elementAt

        - +
        • tagAt

          -
          public Tag tagAt(int index)
          +
          public Tag tagAt​(int index)
          Returns the tag of the element at the given index. If the element has an implicit tag, that is returned. Otherwise, the tag of the underlying type is returned.
          @@ -507,13 +568,13 @@

          tagAt

        - +
        • elementWithTag

          -
          public ASN1Value elementWithTag(Tag tag)
          +
          public ASN1Value elementWithTag​(Tag tag)
          Returns the element with the given Tag, or null if no element exists with the given tag.
          @@ -524,36 +585,36 @@

          elementWithTag

        - +
        • size

          -
          public int size()
          +
          public int size()
          Returns:
          The number of elements in this SET.
        - +
        • removeAllElements

          -
          public void removeAllElements()
          +
          public void removeAllElements()
          Removes all elements from this SET.
        - +
        • removeElementAt

          -
          public void removeElementAt(int index)
          +
          public void removeElementAt​(int index)
          Removes the element from the specified index.
          Parameters:
          @@ -561,18 +622,18 @@

          removeElementAt

        - +
        • encode

          -
          public void encode(java.io.OutputStream ostream)
          +
          public void encode​(java.io.OutputStream ostream)
                       throws java.io.IOException
          Writes the DER encoding to the given output stream.
          Specified by:
          -
          encode in interface ASN1Value
          +
          encode in interface ASN1Value
          Parameters:
          ostream - Output stream.
          Throws:
          @@ -580,13 +641,13 @@

          encode

        - +
        • encode

          -
          public void encode(Tag implicitTag,
          +
          public void encode​(Tag implicitTag,
                              java.io.OutputStream ostream)
                       throws java.io.IOException
          Writes the DER encoding to the given output stream, @@ -594,7 +655,7 @@

          encode

          the elements will be re-ordered either by tag or lexicographically.
          Specified by:
          -
          encode in interface ASN1Value
          +
          encode in interface ASN1Value
          Parameters:
          implicitTag - Implicit tag.
          ostream - Output stream.
          @@ -603,13 +664,13 @@

          encode

        - +
        • BERencode

          -
          public void BERencode(Tag implicitTag,
          +
          public void BERencode​(Tag implicitTag,
                                 java.io.OutputStream ostream)
                          throws java.io.IOException
          Encodes this SET without re-ordering it. This may violate @@ -623,32 +684,36 @@

          BERencode

        - +
        • main

          -
          public static void main(java.lang.String[] args)
          +
          public static void main​(java.lang.String[] args)
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/Tag.Class.html b/master/javadocs/org/mozilla/jss/asn1/Tag.Class.html index 49dba7e56..5b1eeb238 100644 --- a/master/javadocs/org/mozilla/jss/asn1/Tag.Class.html +++ b/master/javadocs/org/mozilla/jss/asn1/Tag.Class.html @@ -1,11 +1,20 @@ - + Tag.Class (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class Tag.Class

    @@ -107,10 +131,9 @@

    Class Tag.Class

  • Enclosing class:
    -
    Tag
    +
    Tag

    -
    public static class Tag.Class
     extends java.lang.Object
    An enumeration of the ASN.1 tag classes.
    @@ -121,63 +144,75 @@

    Class Tag.Class

  • @@ -192,113 +228,120 @@

    Methods inherited from class java.lang.Object

    • +
      +
      +
        -
      • +
      • Method Detail

        - +
        • toInt

          -
          public int toInt()
          +
          public int toInt()
        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Overrides:
          toString in class java.lang.Object
        - +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/Tag.html b/master/javadocs/org/mozilla/jss/asn1/Tag.html index da9a83a1c..3d959006d 100644 --- a/master/javadocs/org/mozilla/jss/asn1/Tag.html +++ b/master/javadocs/org/mozilla/jss/asn1/Tag.html @@ -1,11 +1,20 @@ - + Tag (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class Tag

    @@ -106,7 +130,6 @@

    Class Tag

    @@ -272,87 +322,90 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
        • UNIVERSAL

          -
          public static final Tag.Class UNIVERSAL
          +
          public static final Tag.Class UNIVERSAL
          A tag class.
        - +
        • APPLICATION

          -
          public static final Tag.Class APPLICATION
          +
          public static final Tag.Class APPLICATION
          A tag class.
        - +
        • CONTEXT_SPECIFIC

          -
          public static final Tag.Class CONTEXT_SPECIFIC
          +
          public static final Tag.Class CONTEXT_SPECIFIC
          A tag class.
        - +
        • PRIVATE

          -
          public static final Tag.Class PRIVATE
          +
          public static final Tag.Class PRIVATE
          A tag class.
        - +
        • END_OF_CONTENTS

          -
          public static final Tag END_OF_CONTENTS
          +
          public static final Tag END_OF_CONTENTS
          The end-of-contents marker for indefinite length encoding. It is encoded the same as an ASN.1 header whose tag is [UNIVERSAL 0].
        - +
        • EOC

          -
          public static final Tag EOC
          +
          public static final Tag EOC
          An alias for END_OF_CONTENTS.
      +
      +
        -
      • +
      • Constructor Detail

        - +
        • Tag

          -
          public Tag(Tag.Class clazz,
          +
          public Tag​(Tag.Class clazz,
                      long num)
          Creates a tag with the given class and number.
          @@ -362,13 +415,13 @@

          Tag

        - +
        • Tag

          -
          public Tag(long num)
          +
          public Tag​(long num)
          Creates a CONTEXT-SPECIFIC tag with the given tag number.
          Parameters:
          @@ -378,45 +431,47 @@

          Tag

      +
      +
        -
      • +
      • Method Detail

        - +
        • getNum

          -
          public long getNum()
          +
          public long getNum()
          Returns:
          The tag number.
        - +
        • getTagClass

          -
          public Tag.Class getTagClass()
          +
          public Tag.Class getTagClass()
          Returns:
          The tag class.
        - +
        • get

          -
          public static Tag get(long num)
          +
          public static Tag get​(long num)
          Returns an instance of a context-specific tag with the given number. The returned instance may be singleton. It is usually more efficient to call this method than create your own context-specific tag.
          @@ -428,26 +483,26 @@

          get

        - +
        • hashCode

          -
          public int hashCode()
          +
          public int hashCode()
          Overrides:
          hashCode in class java.lang.Object
        - +
        • equals

          -
          public boolean equals(java.lang.Object obj)
          +
          public boolean equals​(java.lang.Object obj)
          Compares two tags for equality. Tags are equal if they have the same class and tag number.
          @@ -460,13 +515,13 @@

          equals

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns a String representation of the tag. For example, a tag whose class was UNIVERSAL and whose number was 16 would return "UNIVERSAL 16".
          @@ -478,21 +533,25 @@

          toString

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/TeletexString.Template.html b/master/javadocs/org/mozilla/jss/asn1/TeletexString.Template.html index 0e749d499..e5c0ed3ab 100644 --- a/master/javadocs/org/mozilla/jss/asn1/TeletexString.Template.html +++ b/master/javadocs/org/mozilla/jss/asn1/TeletexString.Template.html @@ -1,11 +1,20 @@ - + TeletexString.Template (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class TeletexString.Template

    @@ -98,7 +122,7 @@

    Class TeletexString.Templ
  • java.lang.Object
  • @@ -130,91 +153,103 @@

    Class TeletexString.Templ @@ -222,12 +257,13 @@

    Methods inherited from interface org.mozilla.jss.asn1.
  • +
      -
    • +
    • Constructor Detail

      - +
        @@ -238,43 +274,45 @@

        Template

    +
    +
    +
  • +

    + diff --git a/master/javadocs/org/mozilla/jss/asn1/TeletexString.html b/master/javadocs/org/mozilla/jss/asn1/TeletexString.html index 78051fceb..919a00294 100644 --- a/master/javadocs/org/mozilla/jss/asn1/TeletexString.html +++ b/master/javadocs/org/mozilla/jss/asn1/TeletexString.html @@ -1,11 +1,20 @@ - + TeletexString (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class TeletexString

    @@ -98,7 +122,7 @@

    Class TeletexString

  • java.lang.Object
  • @@ -240,35 +281,38 @@

    Methods inherited from interface org.mozilla.jss.asn1.
  • +
      -
    • +
    • Field Detail

      - +
      • TAG

        -
        public static final Tag TAG
        +
        public static final Tag TAG
    +
    +
      -
    • +
    • Constructor Detail

      - +
      • TeletexString

        -
        public TeletexString(char[] chars)
        +
        public TeletexString​(char[] chars)
                       throws java.io.CharConversionException
        Throws:
        @@ -276,13 +320,13 @@

        TeletexString

      - +
      • TeletexString

        -
        public TeletexString(java.lang.String s)
        +
        public TeletexString​(java.lang.String s)
                       throws java.io.CharConversionException
        Throws:
        @@ -292,39 +336,41 @@

        TeletexString

    +
    +
    +
  • +

    + diff --git a/master/javadocs/org/mozilla/jss/asn1/TimeBase.Template.html b/master/javadocs/org/mozilla/jss/asn1/TimeBase.Template.html index b8a2002eb..ec9dcb7db 100644 --- a/master/javadocs/org/mozilla/jss/asn1/TimeBase.Template.html +++ b/master/javadocs/org/mozilla/jss/asn1/TimeBase.Template.html @@ -1,11 +1,20 @@ - + TimeBase.Template (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class TimeBase.Template

    @@ -107,14 +131,13 @@

    Class TimeBase.Template

  • Direct Known Subclasses:
    -
    GeneralizedTime.Template, UTCTime.Template
    +
    GeneralizedTime.Template, UTCTime.Template
    Enclosing class:
    -
    TimeBase
    +
    TimeBase

    -
    public abstract static class TimeBase.Template
     extends java.lang.Object
  • @@ -124,62 +147,74 @@

    Class TimeBase.Template

    @@ -194,12 +230,13 @@

    Methods inherited from class java.lang.Object

    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/TimeBase.html b/master/javadocs/org/mozilla/jss/asn1/TimeBase.html index c27d03906..e363c6fef 100644 --- a/master/javadocs/org/mozilla/jss/asn1/TimeBase.html +++ b/master/javadocs/org/mozilla/jss/asn1/TimeBase.html @@ -1,11 +1,20 @@ - + TimeBase (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class TimeBase

    @@ -107,17 +131,16 @@

    Class TimeBase

  • All Implemented Interfaces:
    -
    ASN1Value
    +
    ASN1Value
    Direct Known Subclasses:
    -
    GeneralizedTime, UTCTime
    +
    GeneralizedTime, UTCTime

    -
    public abstract class TimeBase
     extends java.lang.Object
    -implements ASN1Value
    +implements ASN1Value
  • @@ -125,104 +148,123 @@

    Class TimeBase

    • +
      +
      +
        -
      • +
      • Field Summary

        - +
        - + + - - + + +
        Fields 
        Modifier and TypeField and DescriptionFieldDescription
        static FormFORM static FormFORM 
      +
      +
        -
      • +
      • Constructor Summary

        - +
        - + + - + +
        Constructors 
        Constructor and DescriptionConstructorDescription
        TimeBase(java.util.Date date) TimeBase​(java.util.Date date) 
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - + - + - - + + - + + - + +
        All Methods Instance Methods Abstract Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        voidencode(java.io.OutputStream ostream) +encode​(java.io.OutputStream ostream)
        Write this value's DER encoding to an output stream using its own base tag.
        voidencode(Tag implicit, - java.io.OutputStream ostream) +encode​(Tag implicit, + java.io.OutputStream ostream)
        Write the DER-encoding of this TimeBase.
        abstract TaggetTag() +abstract TaggetTag()
        Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
        protected abstract booleanisUTC() isUTC() 
        java.util.DatetoDate() toDate() 
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -230,6 +272,7 @@

          Methods inherited from class java.lang.Object

      +
    @@ -237,95 +280,100 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
        • FORM

          -
          public static final Form FORM
          +
          public static final Form FORM
      +
      +
        -
      • +
      • Constructor Detail

        - +
        • TimeBase

          -
          public TimeBase(java.util.Date date)
          +
          public TimeBase​(java.util.Date date)
      +
      +
        -
      • +
      • Method Detail

        - +
        • getTag

          -
          public abstract Tag getTag()
          -
          Description copied from interface: ASN1Value
          +
          public abstract Tag getTag()
          +
          Description copied from interface: ASN1Value
          Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
          Specified by:
          -
          getTag in interface ASN1Value
          +
          getTag in interface ASN1Value
          Returns:
          Base tag.
        - +
        • toDate

          -
          public java.util.Date toDate()
          +
          public java.util.Date toDate()
        - +
        • isUTC

          -
          protected abstract boolean isUTC()
          +
          protected abstract boolean isUTC()
        - +
        • encode

          -
          public void encode(java.io.OutputStream ostream)
          +
          public void encode​(java.io.OutputStream ostream)
                       throws java.io.IOException
          -
          Description copied from interface: ASN1Value
          +
          Description copied from interface: ASN1Value
          Write this value's DER encoding to an output stream using its own base tag.
          Specified by:
          -
          encode in interface ASN1Value
          +
          encode in interface ASN1Value
          Parameters:
          ostream - Output stream.
          Throws:
          @@ -333,19 +381,19 @@

          encode

        - +
        • encode

          -
          public void encode(Tag implicit,
          +
          public void encode​(Tag implicit,
                              java.io.OutputStream ostream)
                       throws java.io.IOException
          Write the DER-encoding of this TimeBase.
          Specified by:
          -
          encode in interface ASN1Value
          +
          encode in interface ASN1Value
          Parameters:
          implicit - Implicit tag.
          ostream - Output stream.
          @@ -356,21 +404,25 @@

          encode

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/UTCTime.Template.html b/master/javadocs/org/mozilla/jss/asn1/UTCTime.Template.html index 7422b75c0..fd7b25e33 100644 --- a/master/javadocs/org/mozilla/jss/asn1/UTCTime.Template.html +++ b/master/javadocs/org/mozilla/jss/asn1/UTCTime.Template.html @@ -1,11 +1,20 @@ - + UTCTime.Template (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class UTCTime.Template

    @@ -98,7 +122,7 @@

    Class UTCTime.Template

  • java.lang.Object
  • @@ -130,76 +153,87 @@

    Class UTCTime.Template

    @@ -207,12 +241,13 @@

    Methods inherited from interface org.mozilla.jss.asn1.
  • +
      -
    • +
    • Constructor Detail

      - +
        @@ -223,39 +258,41 @@

        Template

    +
    +
    +
  • +

    + diff --git a/master/javadocs/org/mozilla/jss/asn1/UTCTime.html b/master/javadocs/org/mozilla/jss/asn1/UTCTime.html index c851165b2..72abdb9f2 100644 --- a/master/javadocs/org/mozilla/jss/asn1/UTCTime.html +++ b/master/javadocs/org/mozilla/jss/asn1/UTCTime.html @@ -1,11 +1,20 @@ - + UTCTime (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class UTCTime

    @@ -98,7 +122,7 @@

    Class UTCTime

  • java.lang.Object
  • @@ -126,118 +149,136 @@

    Class UTCTime

    @@ -245,104 +286,113 @@

    Methods inherited from interface org.mozilla.jss.asn1.
  • +
      -
    • +
    • Field Detail

      - +
      • TAG

        -
        public static final Tag TAG
        +
        public static final Tag TAG
    +
    +
      -
    • +
    • Constructor Detail

      - +
      • UTCTime

        -
        public UTCTime(java.util.Date date)
        +
        public UTCTime​(java.util.Date date)
    +
    +
    +
  • +

    + diff --git a/master/javadocs/org/mozilla/jss/asn1/UTF8String.Template.html b/master/javadocs/org/mozilla/jss/asn1/UTF8String.Template.html index 0dd27f15b..1273d6106 100644 --- a/master/javadocs/org/mozilla/jss/asn1/UTF8String.Template.html +++ b/master/javadocs/org/mozilla/jss/asn1/UTF8String.Template.html @@ -1,11 +1,20 @@ - + UTF8String.Template (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class UTF8String.Template

    @@ -98,7 +122,7 @@

    Class UTF8String.Templatejava.lang.Object
  • @@ -130,91 +153,103 @@

    Class UTF8String.Template
  • +
      -
    • +
    • Constructor Summary

      - +
      - + + - + +
      Constructors 
      Constructor and DescriptionConstructorDescription
      Template() Template() 
    +
    +
    +
  • @@ -222,12 +257,13 @@

    Methods inherited from interface org.mozilla.jss.asn1.
  • +
      -
    • +
    • Constructor Detail

      - +
        @@ -238,43 +274,45 @@

        Template

    +
    +
    +
  • +

    + diff --git a/master/javadocs/org/mozilla/jss/asn1/UTF8String.html b/master/javadocs/org/mozilla/jss/asn1/UTF8String.html index b92fc134e..1086887c2 100644 --- a/master/javadocs/org/mozilla/jss/asn1/UTF8String.html +++ b/master/javadocs/org/mozilla/jss/asn1/UTF8String.html @@ -1,11 +1,20 @@ - + UTF8String (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class UTF8String

    @@ -98,7 +122,7 @@

    Class UTF8String

  • java.lang.Object
  • @@ -126,116 +149,135 @@

    Class UTF8String

    @@ -243,44 +285,47 @@

    Methods inherited from interface org.mozilla.jss.asn1.
  • +
      -
    • +
    • Field Detail

      - +
      • TAG

        -
        public static final Tag TAG
        +
        public static final Tag TAG
      - +
      • FORM

        -
        public static final Form FORM
        +
        public static final Form FORM
    +
    +
      -
    • +
    • Constructor Detail

      - +
      • UTF8String

        -
        public UTF8String(char[] chars)
        +
        public UTF8String​(char[] chars)
                    throws java.io.CharConversionException
        Throws:
        @@ -288,13 +333,13 @@

        UTF8String

      - +
      • UTF8String

        -
        public UTF8String(java.lang.String s)
        +
        public UTF8String​(java.lang.String s)
                    throws java.io.CharConversionException
        Throws:
        @@ -304,39 +349,41 @@

        UTF8String

    +
    +
      -
    • +
    • Method Detail

      - + - +
      • getTemplate

        -
        public static UTF8String.Template getTemplate()
        +
        public static UTF8String.Template getTemplate()
        Returns a singleton instance of UTF8String.Template. This is more efficient than creating a new UTF8String.Template.
        @@ -347,21 +394,25 @@

        getTemplate

    +
  • +

    + diff --git a/master/javadocs/org/mozilla/jss/asn1/UniversalString.Template.html b/master/javadocs/org/mozilla/jss/asn1/UniversalString.Template.html index de1ea3a7c..033e17a72 100644 --- a/master/javadocs/org/mozilla/jss/asn1/UniversalString.Template.html +++ b/master/javadocs/org/mozilla/jss/asn1/UniversalString.Template.html @@ -1,11 +1,20 @@ - + UniversalString.Template (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class UniversalString.Template

    @@ -98,7 +122,7 @@

    Class UniversalString.T
  • java.lang.Object
  • @@ -130,91 +153,103 @@

    Class UniversalString.T @@ -222,12 +257,13 @@

    Methods inherited from interface org.mozilla.jss.asn1.
  • +
      -
    • +
    • Constructor Detail

      - +
        @@ -238,43 +274,45 @@

        Template

    +
    +
    +
  • +

    + diff --git a/master/javadocs/org/mozilla/jss/asn1/UniversalString.html b/master/javadocs/org/mozilla/jss/asn1/UniversalString.html index a548c7d0f..77ad22f67 100644 --- a/master/javadocs/org/mozilla/jss/asn1/UniversalString.html +++ b/master/javadocs/org/mozilla/jss/asn1/UniversalString.html @@ -1,11 +1,20 @@ - + UniversalString (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.asn1
    +

    Class UniversalString

    @@ -98,7 +122,7 @@

    Class UniversalString

  • java.lang.Object
  • @@ -240,35 +281,38 @@

    Methods inherited from interface org.mozilla.jss.asn1.
  • +
      -
    • +
    • Field Detail

      - +
      • TAG

        -
        public static final Tag TAG
        +
        public static final Tag TAG
    +
    +
      -
    • +
    • Constructor Detail

      - +
      • UniversalString

        -
        public UniversalString(char[] chars)
        +
        public UniversalString​(char[] chars)
                         throws java.io.CharConversionException
        Throws:
        @@ -276,13 +320,13 @@

        UniversalString

      - +
      • UniversalString

        -
        public UniversalString(java.lang.String s)
        +
        public UniversalString​(java.lang.String s)
                         throws java.io.CharConversionException
        Throws:
        @@ -292,39 +336,41 @@

        UniversalString

    +
    +
    +
  • +

    + diff --git a/master/javadocs/org/mozilla/jss/asn1/package-frame.html b/master/javadocs/org/mozilla/jss/asn1/package-frame.html deleted file mode 100644 index ea7386826..000000000 --- a/master/javadocs/org/mozilla/jss/asn1/package-frame.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - -org.mozilla.jss.asn1 (JSS: Java Security Services) - - - - -

    org.mozilla.jss.asn1

    - - - diff --git a/master/javadocs/org/mozilla/jss/asn1/package-summary.html b/master/javadocs/org/mozilla/jss/asn1/package-summary.html index b2af94ab8..b40bca3fc 100644 --- a/master/javadocs/org/mozilla/jss/asn1/package-summary.html +++ b/master/javadocs/org/mozilla/jss/asn1/package-summary.html @@ -1,11 +1,20 @@ - + org.mozilla.jss.asn1 (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Package org.mozilla.jss.asn1

    -
    -
    ASN.1 structures, BER decoding, and DER encoding.
    -
    -

    See: Description

    +
    + + +
    ASN.1 structures, BER decoding, and DER encoding.
    +
    - - - -

    Package org.mozilla.jss.asn1 Description

    -
    ASN.1 structures, BER decoding, and DER encoding.
    +
    + diff --git a/master/javadocs/org/mozilla/jss/asn1/package-tree.html b/master/javadocs/org/mozilla/jss/asn1/package-tree.html index 7c15332d7..879837db7 100644 --- a/master/javadocs/org/mozilla/jss/asn1/package-tree.html +++ b/master/javadocs/org/mozilla/jss/asn1/package-tree.html @@ -1,11 +1,20 @@ - + org.mozilla.jss.asn1 Class Hierarchy (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Hierarchy For Package org.mozilla.jss.asn1

    Package Hierarchies: @@ -75,125 +99,132 @@

    Hierarchy For Package org.mozilla.jss.asn1

    +

    Class Hierarchy

    +
    +

    Interface Hierarchy

    +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/Algorithm.html b/master/javadocs/org/mozilla/jss/crypto/Algorithm.html index 0d30efe7b..82249d130 100644 --- a/master/javadocs/org/mozilla/jss/crypto/Algorithm.html +++ b/master/javadocs/org/mozilla/jss/crypto/Algorithm.html @@ -1,11 +1,20 @@ - + Algorithm (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class Algorithm

    @@ -107,17 +131,16 @@

    Class Algorithm

  • Direct Known Subclasses:
    -
    DigestAlgorithm, EncryptionAlgorithm, KeyGenAlgorithm, KeyPairAlgorithm, KeyWrapAlgorithm, SignatureAlgorithm
    +
    DigestAlgorithm, EncryptionAlgorithm, KeyGenAlgorithm, KeyPairAlgorithm, KeyWrapAlgorithm, SignatureAlgorithm

    -
    public class Algorithm
     extends java.lang.Object
    Represents a cryptographic algorithm.
    See Also:
    -
    EncryptionAlgorithm, -SignatureAlgorithm
    +
    EncryptionAlgorithm, +SignatureAlgorithm
  • @@ -126,436 +149,535 @@

    Class Algorithm

    @@ -570,12 +693,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -585,16 +709,16 @@

          oidIndex

          Index into the SECOidTag array in Algorithm.c.
        - + - +
          @@ -607,7 +731,7 @@

          SEC_OID_PKCS1_MD2_WITH_RSA_ENCRYPTION

        - +
          @@ -620,7 +744,7 @@

          SEC_OID_PKCS1_MD5_WITH_RSA_ENCRYPTION

        - +
          @@ -633,7 +757,7 @@

          SEC_OID_PKCS1_SHA1_WITH_RSA_ENCRYPTION

        - +
          @@ -646,7 +770,7 @@

          SEC_OID_ANSIX9_DSA_SIGNATURE_WITH_SHA1_DIGEST

        - +
          @@ -659,7 +783,7 @@

          SEC_OID_PKCS1_RSA_ENCRYPTION

        - +
          @@ -672,7 +796,7 @@

          CKM_RSA_PKCS_KEY_PAIR_GEN

        - +
          @@ -685,7 +809,7 @@

          CKM_DSA_KEY_PAIR_GEN

        - +
          @@ -698,7 +822,7 @@

          SEC_OID_ANSIX9_DSA_SIGNATURE

        - +
          @@ -711,7 +835,7 @@

          SEC_OID_RC4

        - +
          @@ -724,7 +848,7 @@

          SEC_OID_DES_ECB

        - +
          @@ -737,7 +861,7 @@

          SEC_OID_DES_CBC

        - +
          @@ -750,7 +874,7 @@

          CKM_DES_CBC_PAD

        - +
          @@ -763,7 +887,7 @@

          CKM_DES3_ECB

        - +
          @@ -776,7 +900,7 @@

          SEC_OID_DES_EDE3_CBC

        - +
          @@ -789,7 +913,7 @@

          CKM_DES3_CBC_PAD

        - +
          @@ -802,7 +926,7 @@

          CKM_DES_KEY_GEN

        - +
          @@ -815,7 +939,7 @@

          CKM_DES3_KEY_GEN

        - +
          @@ -828,7 +952,7 @@

          CKM_RC4_KEY_GEN

        - +
          @@ -841,7 +965,7 @@

          SEC_OID_PKCS5_PBE_WITH_MD2_AND_DES_CBC

        - +
          @@ -854,7 +978,7 @@

          SEC_OID_PKCS5_PBE_WITH_MD5_AND_DES_CBC

        - +
          @@ -867,7 +991,7 @@

          SEC_OID_PKCS5_PBE_WITH_SHA1_AND_DES_CBC

        - +
          @@ -880,7 +1004,7 @@

          SEC_OID_PKCS12_V2_PBE_WITH_SHA1_AND_128_BIT_RC4

        - +
          @@ -893,7 +1017,7 @@

          SEC_OID_PKCS12_V2_PBE_WITH_SHA1_AND_40_BIT_RC4

        - +
          @@ -906,7 +1030,7 @@

          SEC_OID_PKCS12_V2_PBE_WITH_SHA1_AND_3KEY_TRIPLE_DES_CBC

        - +
          @@ -919,7 +1043,7 @@

          SEC_OID_MD2

        - +
          @@ -932,7 +1056,7 @@

          SEC_OID_MD5

        - +
          @@ -945,7 +1069,7 @@

          SEC_OID_SHA1

        - +
          @@ -958,7 +1082,7 @@

          CKM_SHA_1_HMAC

        - +
          @@ -971,7 +1095,7 @@

          SEC_OID_PKCS12_V2_PBE_WITH_SHA1_AND_128_BIT_RC2_CBC

        - +
          @@ -984,7 +1108,7 @@

          SEC_OID_PKCS12_V2_PBE_WITH_SHA1_AND_40_BIT_RC2_CBC

        - +
          @@ -997,7 +1121,7 @@

          SEC_OID_RC2_CBC

        - +
          @@ -1010,7 +1134,7 @@

          CKM_PBA_SHA1_WITH_SHA1_HMAC

        - +
          @@ -1023,7 +1147,7 @@

          CKM_AES_KEY_GEN

        - +
          @@ -1036,7 +1160,7 @@

          CKM_AES_ECB

        - +
          @@ -1049,7 +1173,7 @@

          CKM_AES_CBC

        - +
          @@ -1062,7 +1186,7 @@

          CKM_AES_CBC_PAD

        - +
          @@ -1075,7 +1199,7 @@

          CKM_RC2_CBC_PAD

        - +
          @@ -1088,7 +1212,7 @@

          CKM_RC2_KEY_GEN

        - +
          @@ -1101,7 +1225,7 @@

          SEC_OID_SHA256

        - +
          @@ -1114,7 +1238,7 @@

          SEC_OID_SHA384

        - +
          @@ -1127,7 +1251,7 @@

          SEC_OID_SHA512

        - +
          @@ -1140,7 +1264,7 @@

          SEC_OID_PKCS1_SHA256_WITH_RSA_ENCRYPTION

        - +
          @@ -1153,7 +1277,7 @@

          SEC_OID_PKCS1_SHA384_WITH_RSA_ENCRYPTION

        - +
          @@ -1166,7 +1290,7 @@

          SEC_OID_PKCS1_SHA512_WITH_RSA_ENCRYPTION

        - +
          @@ -1179,7 +1303,7 @@

          SEC_OID_ANSIX962_EC_PUBLIC_KEY

        - +
          @@ -1192,7 +1316,7 @@

          SEC_OID_ANSIX962_ECDSA_SHA1_SIGNATURE

        - +
          @@ -1205,7 +1329,7 @@

          CKM_EC_KEY_PAIR_GEN

        - +
          @@ -1218,7 +1342,7 @@

          SEC_OID_ANSIX962_ECDSA_SHA256_SIGNATURE

        - +
          @@ -1231,7 +1355,7 @@

          SEC_OID_ANSIX962_ECDSA_SHA384_SIGNATURE

        - +
          @@ -1244,7 +1368,7 @@

          SEC_OID_ANSIX962_ECDSA_SHA512_SIGNATURE

        - +
          @@ -1257,7 +1381,7 @@

          SEC_OID_HMAC_SHA256

        - +
          @@ -1270,7 +1394,7 @@

          SEC_OID_HMAC_SHA384

        - +
          @@ -1283,7 +1407,7 @@

          SEC_OID_HMAC_SHA512

        - +
          @@ -1296,7 +1420,7 @@

          SEC_OID_PKCS5_PBKDF2

        - +
          @@ -1309,7 +1433,7 @@

          SEC_OID_PKCS5_PBES2

        - +
          @@ -1322,7 +1446,7 @@

          SEC_OID_PKCS5_PBMAC1

        - +
          @@ -1335,7 +1459,7 @@

          SEC_OID_ANSIX962_ECDSA_SIGNATURE_SPECIFIED_DIGEST

        - +
          @@ -1348,7 +1472,7 @@

          CKM_NSS_AES_KEY_WRAP

        - +
          @@ -1361,7 +1485,7 @@

          CKM_NSS_AES_KEY_WRAP_PAD

        - +
          @@ -1374,7 +1498,7 @@

          SEC_OID_AES_128_ECB

        - +
          @@ -1387,7 +1511,7 @@

          SEC_OID_AES_128_CBC

        - +
          @@ -1400,7 +1524,7 @@

          SEC_OID_AES_192_ECB

        - +
          @@ -1413,7 +1537,7 @@

          SEC_OID_AES_192_CBC

        - +
          @@ -1426,7 +1550,7 @@

          SEC_OID_AES_256_ECB

        - +
          @@ -1439,7 +1563,7 @@

          SEC_OID_AES_256_CBC

        - +
          @@ -1452,7 +1576,7 @@

          CKM_AES_KEY_WRAP

        - +
          @@ -1465,7 +1589,7 @@

          CKM_AES_KEY_WRAP_PAD

        - +
          @@ -1478,7 +1602,7 @@

          CKM_SHA256_HMAC

        - +
          @@ -1491,7 +1615,7 @@

          CKM_SHA384_HMAC

        - +
          @@ -1504,7 +1628,7 @@

          CKM_SHA512_HMAC

        - +
          @@ -1517,7 +1641,7 @@

          CKM_AES_CMAC

        - +
          @@ -1530,7 +1654,7 @@

          CKM_GENERIC_SECRET_KEY_GEN

        - +
          @@ -1543,7 +1667,7 @@

          CKM_SP800_108_COUNTER_KDF

        - +
          @@ -1556,7 +1680,7 @@

          CKM_SP800_108_FEEDBACK_KDF

        - +
          @@ -1569,7 +1693,7 @@

          CKM_SP800_108_DOUBLE_PIPELINE_KDF

        - +
          @@ -1582,7 +1706,7 @@

          CKM_NSS_SP800_108_COUNTER_KDF_DERIVE_DATA

        - +
          @@ -1595,7 +1719,7 @@

          CKM_NSS_SP800_108_FEEDBACK_KDF_DERIVE_DATA

        - +
          @@ -1608,7 +1732,7 @@

          CKM_NSS_SP800_108_DOUBLE_PIPELINE_KDF_DERIVE_DATA

        - +
          @@ -1623,19 +1747,21 @@

          SEC_OID_PKCS1_RSA_PSS_SIGNATURE

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • Algorithm

          -
          protected Algorithm(int oidIndex,
          +
          protected Algorithm​(int oidIndex,
                               java.lang.String name)
          Parameters:
          @@ -1644,15 +1770,15 @@

          Algorithm

        - +
        • Algorithm

          -
          protected Algorithm(int oidIndex,
          +
          protected Algorithm​(int oidIndex,
                               java.lang.String name,
          -                    OBJECT_IDENTIFIER oid)
          + OBJECT_IDENTIFIER oid)
          Parameters:
          oidIndex - Index of the oid that this algorithm represents.
          @@ -1661,45 +1787,47 @@

          Algorithm

        - +
        • Algorithm

          -
          protected Algorithm(int oidIndex,
          +
          protected Algorithm​(int oidIndex,
                               java.lang.String name,
          -                    OBJECT_IDENTIFIER oid,
          +                    OBJECT_IDENTIFIER oid,
                               java.lang.Class<?> paramClass)
        - +
        • Algorithm

          -
          protected Algorithm(int oidIndex,
          +
          protected Algorithm​(int oidIndex,
                               java.lang.String name,
          -                    OBJECT_IDENTIFIER oid,
          +                    OBJECT_IDENTIFIER oid,
                               java.lang.Class<?>[] paramClasses)
      +
      +
        -
      • +
      • Method Detail

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns a String representation of the algorithm.
          Overrides:
          @@ -1707,13 +1835,13 @@

          toString

        - + - +
        • getParameterClass

          -
          @Deprecated
          +
          @Deprecated
           public java.lang.Class<?> getParameterClass()
          -
          Deprecated. Call getParameterClasses() instead.
          +
          Deprecated. +
          Call getParameterClasses() instead.
          +
          The type of parameter that this algorithm expects. Returns null if this algorithm does not take any parameters. If the algorithm can accept more than one type of parameter, @@ -1744,13 +1874,13 @@

          getParameterClass

        - +
        • getParameterClasses

          -
          public java.lang.Class<?>[] getParameterClasses()
          +
          public java.lang.Class<?>[] getParameterClasses()
          The types of parameter that this algorithm expects. Returns null if this algorithm does not take any parameters.
          @@ -1759,13 +1889,13 @@

          getParameterClasses

        - +
        • isValidParameterObject

          -
          public boolean isValidParameterObject(java.lang.Object o)
          +
          public boolean isValidParameterObject​(java.lang.Object o)
          Validates if the given Object can be used as a parameter for this algorithm.

          If null is passed in, this method will return true @@ -1779,32 +1909,36 @@

          isValidParameterObject

        - +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/AlreadyInitializedException.html b/master/javadocs/org/mozilla/jss/crypto/AlreadyInitializedException.html index 6fca1f855..3b26822f2 100644 --- a/master/javadocs/org/mozilla/jss/crypto/AlreadyInitializedException.html +++ b/master/javadocs/org/mozilla/jss/crypto/AlreadyInitializedException.html @@ -1,11 +1,20 @@ - + AlreadyInitializedException (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class AlreadyInitializedException

    @@ -111,10 +135,9 @@

    Class AlreadyInitial
  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public class AlreadyInitializedException
     extends java.lang.Exception
    This exception is thrown if an initialization operation @@ -130,50 +153,58 @@

    Class AlreadyInitial

    @@ -188,12 +220,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -202,32 +235,32 @@

          AlreadyInitializedException

          public AlreadyInitializedException()
        - +
        • AlreadyInitializedException

          -
          public AlreadyInitializedException(java.lang.String mesg)
          +
          public AlreadyInitializedException​(java.lang.String mesg)
        - +
        • AlreadyInitializedException

          -
          public AlreadyInitializedException(java.lang.String mesg,
          +
          public AlreadyInitializedException​(java.lang.String mesg,
                                              java.lang.Throwable cause)
        - +
        • AlreadyInitializedException

          -
          public AlreadyInitializedException(java.lang.String mesg,
          +
          public AlreadyInitializedException​(java.lang.String mesg,
                                              java.lang.Throwable cause,
                                              boolean enableSuppression,
                                              boolean writableStackTrace)
          @@ -235,21 +268,25 @@

          AlreadyInitializedException

      +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/BadPaddingException.html b/master/javadocs/org/mozilla/jss/crypto/BadPaddingException.html index 56d699ee3..1b6bd84e9 100644 --- a/master/javadocs/org/mozilla/jss/crypto/BadPaddingException.html +++ b/master/javadocs/org/mozilla/jss/crypto/BadPaddingException.html @@ -1,11 +1,20 @@ - + BadPaddingException (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class BadPaddingException

    @@ -121,16 +145,15 @@

    Class BadPaddingException
    All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    Deprecated.  -
    Use javax.crypto.BadPaddingException.
    -
    -
    @Deprecated
     public class BadPaddingException
     extends javax.crypto.BadPaddingException
    +
    Deprecated. +
    Use javax.crypto.BadPaddingException.
    +
    See Also:
    Serialized Form
    @@ -142,44 +165,50 @@

    Class BadPaddingException
  • +
    +
    +
      -
    • +
    • Method Summary

        -
      • +
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
        -
      • +
      • Methods inherited from class java.lang.Object

        @@ -187,6 +216,7 @@

        Methods inherited from class java.lang.Object

    +
  • @@ -194,48 +224,53 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • BadPaddingException

          public BadPaddingException()
          -
          Deprecated. 
          +
          Deprecated.
        - +
        • BadPaddingException

          -
          public BadPaddingException(java.lang.String mesg)
          -
          Deprecated. 
          +
          public BadPaddingException​(java.lang.String mesg)
          +
          Deprecated.
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/CMACAlgorithm.html b/master/javadocs/org/mozilla/jss/crypto/CMACAlgorithm.html index 23d04310e..1ee1a1e25 100644 --- a/master/javadocs/org/mozilla/jss/crypto/CMACAlgorithm.html +++ b/master/javadocs/org/mozilla/jss/crypto/CMACAlgorithm.html @@ -1,11 +1,20 @@ - + CMACAlgorithm (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class CMACAlgorithm

    @@ -98,10 +122,10 @@

    Class CMACAlgorithm

  • java.lang.Object
  • @@ -245,18 +283,19 @@

    Methods inherited from class java.lang.Object

    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/Cipher.html b/master/javadocs/org/mozilla/jss/crypto/Cipher.html index 5e58b6e2c..665df31ca 100644 --- a/master/javadocs/org/mozilla/jss/crypto/Cipher.html +++ b/master/javadocs/org/mozilla/jss/crypto/Cipher.html @@ -1,11 +1,20 @@ - + Cipher (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class Cipher

    @@ -107,10 +131,9 @@

    Class Cipher

  • Direct Known Subclasses:
    -
    PK11Cipher
    +
    PK11Cipher

    -
    public abstract class Cipher
     extends java.lang.Object
    A context for performing symmetric encryption and decryption. @@ -127,120 +150,138 @@

    Class Cipher

    • +
        -
      • +
      • Constructor Summary

        - +
        - + + - + +
        Constructors 
        Constructor and DescriptionConstructorDescription
        Cipher() Cipher() 
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - + - + - + - + - + - + - + - + - + - + - + - +
        All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        abstract byte[]doFinal() +doFinal()
        Completes an cipher operation.
        abstract byte[]doFinal(byte[] bytes) +doFinal​(byte[] bytes)
        Completes an cipher operation.
        abstract byte[]doFinal(byte[] bytes, +doFinal​(byte[] bytes, int offset, - int length) + int length)
        Completes an cipher operation.
        abstract voidinitDecrypt(SymmetricKey key) +initDecrypt​(SymmetricKey key)
        Initializes a decryption context with a symmetric key.
        abstract voidinitDecrypt(SymmetricKey key, - java.security.spec.AlgorithmParameterSpec parameters) +initDecrypt​(SymmetricKey key, + java.security.spec.AlgorithmParameterSpec parameters)
        Initializes a decryption context with a symmetric key and algorithm parameters.
        abstract voidinitEncrypt(SymmetricKey key) +initEncrypt​(SymmetricKey key)
        Initializes a encryption context with a symmetric key.
        abstract voidinitEncrypt(SymmetricKey key, - java.security.spec.AlgorithmParameterSpec parameters) +initEncrypt​(SymmetricKey key, + java.security.spec.AlgorithmParameterSpec parameters)
        Initializes an encryption context with a symmetric key and algorithm parameters.
        static byte[]pad(byte[] toBePadded, - int blockSize) +pad​(byte[] toBePadded, + int blockSize)
        Pads a byte array so that its length is a multiple of the given blocksize.
        static byte[]unPad(byte[] padded) +unPad​(byte[] padded)
        Un-pads a byte array that is padded with PKCS padding.
        static byte[]unPad(byte[] padded, - int blockSize) +unPad​(byte[] padded, + int blockSize)
        Un-pads a byte array that is padded with PKCS padding.
        abstract byte[]update(byte[] bytes) +update​(byte[] bytes)
        Updates the encryption context with additional input.
        abstract byte[]update(byte[] bytes, +update​(byte[] bytes, int offset, - int length) + int length)
        Updates the encryption context with additional plaintext.
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -248,6 +289,7 @@

          Methods inherited from class java.lang.Object

      +
    @@ -255,12 +297,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -271,101 +314,103 @@

          Cipher

      +
      +
        -
      • +
      • Method Detail

        - +
        • initEncrypt

          -
          public abstract void initEncrypt(SymmetricKey key)
          +
          public abstract void initEncrypt​(SymmetricKey key)
                                     throws java.security.InvalidKeyException,
                                            java.security.InvalidAlgorithmParameterException,
          -                                 TokenException
          + TokenException
          Initializes a encryption context with a symmetric key.
          Throws:
          java.security.InvalidKeyException
          java.security.InvalidAlgorithmParameterException
          -
          TokenException
          +
          TokenException
        - +
        • initDecrypt

          -
          public abstract void initDecrypt(SymmetricKey key)
          +
          public abstract void initDecrypt​(SymmetricKey key)
                                     throws java.security.InvalidKeyException,
                                            java.security.InvalidAlgorithmParameterException,
          -                                 TokenException
          + TokenException
          Initializes a decryption context with a symmetric key.
          Throws:
          java.security.InvalidKeyException
          java.security.InvalidAlgorithmParameterException
          -
          TokenException
          +
          TokenException
        - +
        • initEncrypt

          -
          public abstract void initEncrypt(SymmetricKey key,
          +
          public abstract void initEncrypt​(SymmetricKey key,
                                            java.security.spec.AlgorithmParameterSpec parameters)
                                     throws java.security.InvalidKeyException,
                                            java.security.InvalidAlgorithmParameterException,
          -                                 TokenException
          + TokenException
          Initializes an encryption context with a symmetric key and algorithm parameters.
          Throws:
          java.security.InvalidKeyException
          java.security.InvalidAlgorithmParameterException
          -
          TokenException
          +
          TokenException
        - +
        • initDecrypt

          -
          public abstract void initDecrypt(SymmetricKey key,
          +
          public abstract void initDecrypt​(SymmetricKey key,
                                            java.security.spec.AlgorithmParameterSpec parameters)
                                     throws java.security.InvalidKeyException,
                                            java.security.InvalidAlgorithmParameterException,
          -                                 TokenException
          + TokenException
          Initializes a decryption context with a symmetric key and algorithm parameters.
          Throws:
          java.security.InvalidKeyException
          java.security.InvalidAlgorithmParameterException
          -
          TokenException
          +
          TokenException
        - +
        • update

          -
          public abstract byte[] update(byte[] bytes)
          +
          public abstract byte[] update​(byte[] bytes)
                                  throws java.lang.IllegalStateException,
          -                              TokenException
          + TokenException
          Updates the encryption context with additional input.
          Parameters:
          @@ -375,21 +420,21 @@

          update

          Bytes of ciphertext (if encrypting) or plaintext (if decrypting).
          Throws:
          java.lang.IllegalStateException
          -
          TokenException
          +
          TokenException
        - +
        • update

          -
          public abstract byte[] update(byte[] bytes,
          +
          public abstract byte[] update​(byte[] bytes,
                                         int offset,
                                         int length)
                                  throws java.lang.IllegalStateException,
          -                              TokenException
          + TokenException
          Updates the encryption context with additional plaintext.
          Parameters:
          @@ -401,21 +446,21 @@

          update

          Bytes of ciphertext (if encrypting) or plaintext (if decrypting).
          Throws:
          java.lang.IllegalStateException
          -
          TokenException
          +
          TokenException
        - + - + - + - +
        • pad

          -
          public static byte[] pad(byte[] toBePadded,
          +
          public static byte[] pad​(byte[] toBePadded,
                                    int blockSize)
          Pads a byte array so that its length is a multiple of the given blocksize. The method of padding is the one defined in the RSA @@ -506,17 +551,17 @@

          pad

          blockSize - The block size of the encryption algorithm. Must be greater than zero.
          See Also:
          -
          unPad(byte[], int)
          +
          unPad(byte[], int)
        - +
        • unPad

          -
          public static byte[] unPad(byte[] padded,
          +
          public static byte[] unPad​(byte[] padded,
                                      int blockSize)
                               throws javax.crypto.BadPaddingException
          Un-pads a byte array that is padded with PKCS padding.
          @@ -528,17 +573,17 @@

          unPad

          Throws:
          javax.crypto.BadPaddingException
          See Also:
          -
          pad(byte[], int)
          +
          pad(byte[], int)
        - +
        • unPad

          -
          public static byte[] unPad(byte[] padded)
          +
          public static byte[] unPad​(byte[] padded)
                               throws javax.crypto.BadPaddingException
          Un-pads a byte array that is padded with PKCS padding. Since this version does not take block size as a parameter, it cannot @@ -547,27 +592,31 @@

          unPad

          Throws:
          javax.crypto.BadPaddingException
          See Also:
          -
          pad(byte[], int)
          +
          pad(byte[], int)
      +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/CryptoStore.html b/master/javadocs/org/mozilla/jss/crypto/CryptoStore.html index 89c8133d5..e0d9415a9 100644 --- a/master/javadocs/org/mozilla/jss/crypto/CryptoStore.html +++ b/master/javadocs/org/mozilla/jss/crypto/CryptoStore.html @@ -1,11 +1,20 @@ - + CryptoStore (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Interface CryptoStore

    @@ -99,10 +123,9 @@

    Interface CryptoStore

  • All Known Implementing Classes:
    -
    PK11Store
    +
    PK11Store

    -
    public interface CryptoStore
    This is an interface for a permanent repository of cryptographic objects, such as keys, certs, and passwords.
    @@ -113,117 +136,134 @@

    Interface CryptoStore

  • @@ -231,98 +271,99 @@

    Method Summary

    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/CryptoToken.html b/master/javadocs/org/mozilla/jss/crypto/CryptoToken.html index 790a86ba2..0933d2754 100644 --- a/master/javadocs/org/mozilla/jss/crypto/CryptoToken.html +++ b/master/javadocs/org/mozilla/jss/crypto/CryptoToken.html @@ -1,11 +1,20 @@ - + CryptoToken (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Interface CryptoToken

    @@ -99,10 +123,9 @@

    Interface CryptoToken

  • All Known Implementing Classes:
    -
    PK11Token
    +
    PK11Token

    -
    public interface CryptoToken
    A CryptoToken performs cryptographic operations and stores cryptographic items, such as keys and certs. It corresponds to a @@ -110,7 +133,7 @@

    Interface CryptoToken

    Instances of CryptoToken are obtained from CryptoManager.

    See Also:
    -
    CryptoManager
    +
    CryptoManager
  • @@ -119,218 +142,253 @@

    Interface CryptoToken

    @@ -338,12 +396,13 @@

    Method Summary

    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/DigestAlgorithm.html b/master/javadocs/org/mozilla/jss/crypto/DigestAlgorithm.html index 75be974d3..30f448a0a 100644 --- a/master/javadocs/org/mozilla/jss/crypto/DigestAlgorithm.html +++ b/master/javadocs/org/mozilla/jss/crypto/DigestAlgorithm.html @@ -1,11 +1,20 @@ - + DigestAlgorithm (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class DigestAlgorithm

    @@ -98,7 +122,7 @@

    Class DigestAlgorithm

  • java.lang.Object
  • @@ -125,109 +148,126 @@

    Class DigestAlgorithm

    @@ -242,103 +283,108 @@

    Methods inherited from class java.lang.Object

    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/EncryptionAlgorithm.Alg.html b/master/javadocs/org/mozilla/jss/crypto/EncryptionAlgorithm.Alg.html index ce80d1d49..17cf10baf 100644 --- a/master/javadocs/org/mozilla/jss/crypto/EncryptionAlgorithm.Alg.html +++ b/master/javadocs/org/mozilla/jss/crypto/EncryptionAlgorithm.Alg.html @@ -1,11 +1,20 @@ - + EncryptionAlgorithm.Alg (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class EncryptionAlgorithm.Alg

    @@ -107,10 +131,9 @@

    Class EncryptionAlgorith
  • Enclosing class:
    -
    EncryptionAlgorithm
    +
    EncryptionAlgorithm

    -
    public static class EncryptionAlgorithm.Alg
     extends java.lang.Object
  • @@ -120,59 +143,70 @@

    Class EncryptionAlgorith

    @@ -187,71 +222,74 @@

    Methods inherited from class java.lang.Object

    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/EncryptionAlgorithm.Mode.html b/master/javadocs/org/mozilla/jss/crypto/EncryptionAlgorithm.Mode.html index d4c68aaed..3342f90cd 100644 --- a/master/javadocs/org/mozilla/jss/crypto/EncryptionAlgorithm.Mode.html +++ b/master/javadocs/org/mozilla/jss/crypto/EncryptionAlgorithm.Mode.html @@ -1,11 +1,20 @@ - + EncryptionAlgorithm.Mode (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class EncryptionAlgorithm.Mode

    @@ -107,10 +131,9 @@

    Class EncryptionAlgorit
  • Enclosing class:
    -
    EncryptionAlgorithm
    +
    EncryptionAlgorithm

    -
    public static class EncryptionAlgorithm.Mode
     extends java.lang.Object
  • @@ -120,55 +143,65 @@

    Class EncryptionAlgorit

    @@ -183,53 +217,56 @@

    Methods inherited from class java.lang.Object

    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/EncryptionAlgorithm.Padding.html b/master/javadocs/org/mozilla/jss/crypto/EncryptionAlgorithm.Padding.html index 70d6e1d2a..f3356e8a7 100644 --- a/master/javadocs/org/mozilla/jss/crypto/EncryptionAlgorithm.Padding.html +++ b/master/javadocs/org/mozilla/jss/crypto/EncryptionAlgorithm.Padding.html @@ -1,11 +1,20 @@ - + EncryptionAlgorithm.Padding (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class EncryptionAlgorithm.Padding

    @@ -107,10 +131,9 @@

    Class EncryptionAlgo
  • Enclosing class:
    -
    EncryptionAlgorithm
    +
    EncryptionAlgorithm

    -
    public static class EncryptionAlgorithm.Padding
     extends java.lang.Object
  • @@ -120,51 +143,60 @@

    Class EncryptionAlgo

    @@ -179,57 +212,60 @@

    Methods inherited from class java.lang.Object

    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/EncryptionAlgorithm.html b/master/javadocs/org/mozilla/jss/crypto/EncryptionAlgorithm.html index 530ce8ed0..7ea53add3 100644 --- a/master/javadocs/org/mozilla/jss/crypto/EncryptionAlgorithm.html +++ b/master/javadocs/org/mozilla/jss/crypto/EncryptionAlgorithm.html @@ -1,11 +1,20 @@ - + EncryptionAlgorithm (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class EncryptionAlgorithm

    @@ -98,7 +122,7 @@

    Class EncryptionAlgorithmjava.lang.Object
  • @@ -379,246 +450,251 @@

    Methods inherited from class java.lang.Object

    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/HMACAlgorithm.html b/master/javadocs/org/mozilla/jss/crypto/HMACAlgorithm.html index ed9881800..e9e368c90 100644 --- a/master/javadocs/org/mozilla/jss/crypto/HMACAlgorithm.html +++ b/master/javadocs/org/mozilla/jss/crypto/HMACAlgorithm.html @@ -1,11 +1,20 @@ - + HMACAlgorithm (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class HMACAlgorithm

    @@ -98,10 +122,10 @@

    Class HMACAlgorithm

  • java.lang.Object
  • @@ -245,85 +283,90 @@

    Methods inherited from class java.lang.Object

    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/IVParameterSpec.html b/master/javadocs/org/mozilla/jss/crypto/IVParameterSpec.html index eef9467aa..a7a30785c 100644 --- a/master/javadocs/org/mozilla/jss/crypto/IVParameterSpec.html +++ b/master/javadocs/org/mozilla/jss/crypto/IVParameterSpec.html @@ -1,11 +1,20 @@ - + IVParameterSpec (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class IVParameterSpec

    @@ -106,10 +130,9 @@

    Class IVParameterSpec

  • All Implemented Interfaces:
    -
    java.security.spec.AlgorithmParameterSpec
    +
    java.security.spec.AlgorithmParameterSpec

    -
    public class IVParameterSpec
     extends javax.crypto.spec.IvParameterSpec
    An algorithm parameter that consists of an initialization vector (IV).
    @@ -120,42 +143,48 @@

    Class IVParameterSpec

    • +
      +
      +
        -
      • +
      • Method Summary

          -
        • +
        • Methods inherited from class javax.crypto.spec.IvParameterSpec

          getIV
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -163,6 +192,7 @@

          Methods inherited from class java.lang.Object

      +
  • @@ -170,48 +200,53 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • IVParameterSpec

          -
          public IVParameterSpec(byte[] iv)
          +
          public IVParameterSpec​(byte[] iv)
        - +
        • IVParameterSpec

          -
          public IVParameterSpec(byte[] iv,
          +
          public IVParameterSpec​(byte[] iv,
                                  int offset,
                                  int len)
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/IllegalBlockSizeException.html b/master/javadocs/org/mozilla/jss/crypto/IllegalBlockSizeException.html index ccdc80f41..bea678f4f 100644 --- a/master/javadocs/org/mozilla/jss/crypto/IllegalBlockSizeException.html +++ b/master/javadocs/org/mozilla/jss/crypto/IllegalBlockSizeException.html @@ -1,11 +1,20 @@ - + IllegalBlockSizeException (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class IllegalBlockSizeException

    @@ -111,10 +135,9 @@

    Class IllegalBlockSize
  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public class IllegalBlockSizeException
     extends java.lang.Exception
    @@ -128,37 +151,42 @@

    Class IllegalBlockSize
    • +
      +
      +
        -
      • +
      • Method Summary

          -
        • +
        • Methods inherited from class java.lang.Throwable

          addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -166,6 +194,7 @@

          Methods inherited from class java.lang.Object

      +

  • @@ -173,12 +202,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -189,21 +219,25 @@

          IllegalBlockSizeException

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/InternalCertificate.html b/master/javadocs/org/mozilla/jss/crypto/InternalCertificate.html index fd01e513c..6a8f3e699 100644 --- a/master/javadocs/org/mozilla/jss/crypto/InternalCertificate.html +++ b/master/javadocs/org/mozilla/jss/crypto/InternalCertificate.html @@ -1,11 +1,20 @@ - + InternalCertificate (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Interface InternalCertificate

    @@ -99,16 +123,15 @@

    Interface InternalCertif
  • All Superinterfaces:
    -
    X509Certificate
    +
    X509Certificate
    All Known Implementing Classes:
    -
    PK11InternalCert, PK11InternalTokenCert
    +
    PK11InternalCert, PK11InternalTokenCert

    -
    public interface InternalCertificate
    -extends X509Certificate
    +extends X509Certificate
    Certificates residing in the internal database. Their trust flags can be viewed and modified. Other types of certificates do not have trust flags.
    @@ -119,102 +142,120 @@

    Interface InternalCertif

  • @@ -222,12 +263,13 @@

    Methods inherited from interface org.mozilla.jss.crypto.
  • +
      -
    • +
    • Field Detail

      - +
        @@ -240,7 +282,7 @@

        VALID_PEER

      - +
        @@ -253,7 +295,7 @@

        TRUSTED_PEER

      - +
        @@ -266,7 +308,7 @@

        VALID_CA

      - +
        @@ -279,7 +321,7 @@

        TRUSTED_CA

      - +
        @@ -292,7 +334,7 @@

        USER

      - +
        @@ -307,19 +349,21 @@

        TRUSTED_CLIENT_CA

    +
    +
      -
    • +
    • Method Detail

      - +
      • setSSLTrust

        -
        void setSSLTrust(int trust)
        +
        void setSSLTrust​(int trust)
        Set the SSL trust flags for this certificate.
        Parameters:
        @@ -328,13 +372,13 @@

        setSSLTrust

      - +
      • setEmailTrust

        -
        void setEmailTrust(int trust)
        +
        void setEmailTrust​(int trust)
        Set the email (S/MIME) trust flags for this certificate.
        Parameters:
        @@ -343,13 +387,13 @@

        setEmailTrust

      - +
      • setObjectSigningTrust

        -
        void setObjectSigningTrust(int trust)
        +
        void setObjectSigningTrust​(int trust)
        Set the object signing trust flags for this certificate.
        Parameters:
        @@ -358,13 +402,13 @@

        setObjectSigningTrust

      - +
      • getSSLTrust

        -
        int getSSLTrust()
        +
        int getSSLTrust()
        Get the SSL trust flags for this certificate.
        Returns:
        @@ -373,13 +417,13 @@

        getSSLTrust

      - +
      • getEmailTrust

        -
        int getEmailTrust()
        +
        int getEmailTrust()
        Get the email (S/MIME) trust flags for this certificate.
        Returns:
        @@ -388,13 +432,13 @@

        getEmailTrust

      - +
      • getObjectSigningTrust

        -
        int getObjectSigningTrust()
        +
        int getObjectSigningTrust()
        Get the object signing trust flags for this certificate.
        Returns:
        @@ -405,21 +449,25 @@

        getObjectSigningTrust

    +
  • +

    + diff --git a/master/javadocs/org/mozilla/jss/crypto/InvalidDERException.html b/master/javadocs/org/mozilla/jss/crypto/InvalidDERException.html index 09fa4294a..2ba78a3c9 100644 --- a/master/javadocs/org/mozilla/jss/crypto/InvalidDERException.html +++ b/master/javadocs/org/mozilla/jss/crypto/InvalidDERException.html @@ -1,11 +1,20 @@ - + InvalidDERException (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class InvalidDERException

    @@ -111,10 +135,9 @@

    Class InvalidDERException
    All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public class InvalidDERException
     extends java.lang.Exception
    This exception is thrown when we encounter a bogus DER blob.
    @@ -129,50 +152,58 @@

    Class InvalidDERException
  • +
    +
    +
      -
    • +
    • Method Summary

        -
      • +
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
        -
      • +
      • Methods inherited from class java.lang.Object

        @@ -180,6 +211,7 @@

        Methods inherited from class java.lang.Object

    +
  • @@ -187,12 +219,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -201,32 +234,32 @@

          InvalidDERException

          public InvalidDERException()
        - +
        • InvalidDERException

          -
          public InvalidDERException(java.lang.String mesg)
          +
          public InvalidDERException​(java.lang.String mesg)
        - +
        • InvalidDERException

          -
          public InvalidDERException(java.lang.String mesg,
          +
          public InvalidDERException​(java.lang.String mesg,
                                      java.lang.Throwable cause)
        - +
        • InvalidDERException

          -
          public InvalidDERException(java.lang.String mesg,
          +
          public InvalidDERException​(java.lang.String mesg,
                                      java.lang.Throwable cause,
                                      boolean enableSuppression,
                                      boolean writableStackTrace)
          @@ -234,21 +267,25 @@

          InvalidDERException

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/InvalidKeyFormatException.html b/master/javadocs/org/mozilla/jss/crypto/InvalidKeyFormatException.html index 60838f9f2..cac61c9da 100644 --- a/master/javadocs/org/mozilla/jss/crypto/InvalidKeyFormatException.html +++ b/master/javadocs/org/mozilla/jss/crypto/InvalidKeyFormatException.html @@ -1,11 +1,20 @@ - + InvalidKeyFormatException (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class InvalidKeyFormatException

    @@ -121,10 +145,9 @@

    Class InvalidKeyFormat
  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public class InvalidKeyFormatException
     extends java.security.spec.InvalidKeySpecException
    An exception of this type is thrown if an encoded private key @@ -140,47 +163,55 @@

    Class InvalidKeyFormat

    @@ -195,12 +227,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -209,51 +242,55 @@

          InvalidKeyFormatException

          public InvalidKeyFormatException()
        - +
        • InvalidKeyFormatException

          -
          public InvalidKeyFormatException(java.lang.String mesg)
          +
          public InvalidKeyFormatException​(java.lang.String mesg)
        - +
        • InvalidKeyFormatException

          -
          public InvalidKeyFormatException(java.lang.String mesg,
          +
          public InvalidKeyFormatException​(java.lang.String mesg,
                                            java.lang.Throwable cause)
        - +
        • InvalidKeyFormatException

          -
          public InvalidKeyFormatException(java.lang.Throwable cause)
          +
          public InvalidKeyFormatException​(java.lang.Throwable cause)
      +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/JSSMessageDigest.html b/master/javadocs/org/mozilla/jss/crypto/JSSMessageDigest.html index 51ab7d127..c7c1605e5 100644 --- a/master/javadocs/org/mozilla/jss/crypto/JSSMessageDigest.html +++ b/master/javadocs/org/mozilla/jss/crypto/JSSMessageDigest.html @@ -1,11 +1,20 @@ - + JSSMessageDigest (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class JSSMessageDigest

    @@ -107,10 +131,9 @@

    Class JSSMessageDigest

  • Direct Known Subclasses:
    -
    PK11MessageDigest
    +
    PK11MessageDigest

    -
    public abstract class JSSMessageDigest
     extends java.lang.Object
    A class for performing message digesting (hashing) and MAC operations.
    @@ -121,101 +144,117 @@

    Class JSSMessageDigest

    • +
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - + - + - + - - + + + - + - + - + - + - + - +
        All Methods Instance Methods Abstract Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        byte[]digest() +digest()
        Completes digestion.
        byte[]digest(byte[] input) +digest​(byte[] input)
        Provides final data to the digest, then completes it and returns the output.
        abstract intdigest(byte[] buf, +digest​(byte[] buf, int offset, - int len) + int len)
        Completes digesting, storing the result into the provided array.
        abstract DigestAlgorithmgetAlgorithm() abstract DigestAlgorithmgetAlgorithm() 
        intgetOutputSize() +getOutputSize()
        Returns the length of the digest created by this digest's digest algorithm.
        abstract voidinitHMAC(SymmetricKey key) +initHMAC​(SymmetricKey key)
        Initializes an HMAC digest with the given symmetric key.
        abstract voidreset() +reset()
        Resets this digest for further use.
        voidupdate(byte input) +update​(byte input)
        Updates the digest with a single byte of input.
        voidupdate(byte[] input) +update​(byte[] input)
        Updates the digest with an array.
        abstract voidupdate(byte[] input, +update​(byte[] input, int offset, - int len) + int len)
        Updates the digest with a portion of an array.
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -223,6 +262,7 @@

          Methods inherited from class java.lang.Object

      +
  • @@ -230,12 +270,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -246,19 +287,21 @@

          JSSMessageDigest

      +
      +
        -
      • +
      • Method Detail

        - +
        • initHMAC

          -
          public abstract void initHMAC(SymmetricKey key)
          +
          public abstract void initHMAC​(SymmetricKey key)
                                  throws java.security.DigestException,
                                         java.security.InvalidKeyException
          Initializes an HMAC digest with the given symmetric key. This also @@ -272,13 +315,13 @@

          initHMAC

        - +
        • update

          -
          public void update(byte input)
          +
          public void update​(byte input)
                       throws java.security.DigestException
          Updates the digest with a single byte of input.
          @@ -289,13 +332,13 @@

          update

        - +
        • update

          -
          public abstract void update(byte[] input,
          +
          public abstract void update​(byte[] input,
                                       int offset,
                                       int len)
                                throws java.security.DigestException
          @@ -310,13 +353,13 @@

          update

        - +
        • update

          -
          public void update(byte[] input)
          +
          public void update​(byte[] input)
                       throws java.security.DigestException
          Updates the digest with an array.
          @@ -327,13 +370,13 @@

          update

        - +
        • digest

          -
          public byte[] digest()
          +
          public byte[] digest()
                         throws java.security.DigestException
          Completes digestion.
          @@ -344,13 +387,13 @@

          digest

        - +
        • digest

          -
          public abstract int digest(byte[] buf,
          +
          public abstract int digest​(byte[] buf,
                                      int offset,
                                      int len)
                               throws java.security.DigestException
          @@ -369,13 +412,13 @@

          digest

        - +
        • digest

          -
          public byte[] digest(byte[] input)
          +
          public byte[] digest​(byte[] input)
                         throws java.security.DigestException
          Provides final data to the digest, then completes it and returns the output.
          @@ -389,13 +432,13 @@

          digest

        - +
        • reset

          -
          public abstract void reset()
          +
          public abstract void reset()
                               throws java.security.DigestException
          Resets this digest for further use. This clears all input and output streams. If this is an HMAC digest, the HMAC key is not @@ -406,26 +449,26 @@

          reset

        - +
        • getAlgorithm

          -
          public abstract DigestAlgorithm getAlgorithm()
          +
          public abstract DigestAlgorithm getAlgorithm()
          Returns:
          The algorithm that this digest uses.
        - +
        • getOutputSize

          -
          public int getOutputSize()
          +
          public int getOutputSize()
          Returns the length of the digest created by this digest's digest algorithm.
          @@ -436,21 +479,25 @@

          getOutputSize

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/JSSSecureRandom.html b/master/javadocs/org/mozilla/jss/crypto/JSSSecureRandom.html index 59df03cfb..ccef1c691 100644 --- a/master/javadocs/org/mozilla/jss/crypto/JSSSecureRandom.html +++ b/master/javadocs/org/mozilla/jss/crypto/JSSSecureRandom.html @@ -1,11 +1,20 @@ - + JSSSecureRandom (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Interface JSSSecureRandom

    @@ -99,10 +123,9 @@

    Interface JSSSecureRandom
    All Known Implementing Classes:
    -
    PK11SecureRandom
    +
    PK11SecureRandom

    -
    public interface JSSSecureRandom
    An interface for secure random numbers.
    @@ -112,38 +135,44 @@

    Interface JSSSecureRandom
  • +
      -
    • +
    • Method Summary

      - +
      - + + - + - + - +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and DescriptionMethodDescription
      voidnextBytes(byte[] bytes) +nextBytes​(byte[] bytes)
      Retrieves random bytes and stores them in the given array.
      voidsetSeed(byte[] seed) +setSeed​(byte[] seed)
      Seed the RNG with the given seed bytes.
      voidsetSeed(long seed) +setSeed​(long seed)
      Seed the RNG with the eight bytes contained in seed.
    +
  • @@ -151,18 +180,19 @@

    Method Summary

    • +
        -
      • +
      • Method Detail

        - +
        • setSeed

          -
          void setSeed(byte[] seed)
          +
          void setSeed​(byte[] seed)
          Seed the RNG with the given seed bytes.
          Parameters:
          @@ -170,13 +200,13 @@

          setSeed

        - +
        • setSeed

          -
          void setSeed(long seed)
          +
          void setSeed​(long seed)
          Seed the RNG with the eight bytes contained in seed.
          Parameters:
          @@ -184,13 +214,13 @@

          setSeed

        - +
        • nextBytes

          -
          void nextBytes(byte[] bytes)
          +
          void nextBytes​(byte[] bytes)
          Retrieves random bytes and stores them in the given array.
          Parameters:
          @@ -200,21 +230,25 @@

          nextBytes

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/KBKDFByteArrayParam.html b/master/javadocs/org/mozilla/jss/crypto/KBKDFByteArrayParam.html index fd5a8d9f2..5804bb979 100644 --- a/master/javadocs/org/mozilla/jss/crypto/KBKDFByteArrayParam.html +++ b/master/javadocs/org/mozilla/jss/crypto/KBKDFByteArrayParam.html @@ -1,11 +1,20 @@ - + KBKDFByteArrayParam (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class KBKDFByteArrayParam

    @@ -98,10 +122,10 @@

    Class KBKDFByteArrayParamjava.lang.Object
  • @@ -234,12 +271,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -248,13 +286,13 @@

          KBKDFByteArrayParam

          public KBKDFByteArrayParam()
        - +
        • KBKDFByteArrayParam

          -
          public KBKDFByteArrayParam(byte[] data)
          +
          public KBKDFByteArrayParam​(byte[] data)
                               throws java.lang.IllegalArgumentException
          Throws:
          @@ -264,19 +302,21 @@

          KBKDFByteArrayParam

      +
      +
        -
      • +
      • Method Detail

        - +
        • setByteArray

          -
          public void setByteArray(byte[] data)
          +
          public void setByteArray​(byte[] data)
                             throws java.lang.IllegalArgumentException
          Throws:
          @@ -284,13 +324,13 @@

          setByteArray

        - +
        • zeroByteArray

          -
          public void zeroByteArray()
          +
          public void zeroByteArray()
          Zero out the copied contents of the byte array. Call this method when the contents of this byte array parameter are @@ -299,34 +339,34 @@

          zeroByteArray

          times in different KBKDF calls.
        - + - +
        • releaseNativeResources

          -
          protected void releaseNativeResources()
          +
          protected void releaseNativeResources()
                                          throws java.lang.Exception
          -
          Description copied from class: NativeEnclosure
          +
          Description copied from class: NativeEnclosure
          Called to deallocate native resources; note that mPointer.close() is called afterwards. @@ -334,7 +374,7 @@

          releaseNativeResources

          do any required cleanup here.
          Specified by:
          -
          releaseNativeResources in class NativeEnclosure
          +
          releaseNativeResources in class NativeEnclosure
          Throws:
          java.lang.Exception
          @@ -342,21 +382,25 @@

          releaseNativeResources

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/KBKDFCounterParams.html b/master/javadocs/org/mozilla/jss/crypto/KBKDFCounterParams.html index 21778187c..6291a2394 100644 --- a/master/javadocs/org/mozilla/jss/crypto/KBKDFCounterParams.html +++ b/master/javadocs/org/mozilla/jss/crypto/KBKDFCounterParams.html @@ -1,11 +1,20 @@ - + KBKDFCounterParams (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class KBKDFCounterParams

    @@ -98,10 +122,10 @@

    Class KBKDFCounterParams

  • java.lang.Object
  • @@ -130,87 +153,98 @@

    Class KBKDFCounterParams

    @@ -225,12 +260,13 @@

    Methods inherited from class java.lang.Object

    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/KBKDFDKMLengthParam.html b/master/javadocs/org/mozilla/jss/crypto/KBKDFDKMLengthParam.html index 5b300c983..5afa566b1 100644 --- a/master/javadocs/org/mozilla/jss/crypto/KBKDFDKMLengthParam.html +++ b/master/javadocs/org/mozilla/jss/crypto/KBKDFDKMLengthParam.html @@ -1,11 +1,20 @@ - + KBKDFDKMLengthParam (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class KBKDFDKMLengthParam

    @@ -98,10 +122,10 @@

    Class KBKDFDKMLengthParamjava.lang.Object
  • @@ -252,12 +292,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -266,7 +307,7 @@

          lengthMethod

          protected long lengthMethod
        - +
          @@ -275,7 +316,7 @@

          littleEndian

          protected boolean littleEndian
        - +
          @@ -286,13 +327,15 @@

          widthInBits

      +
      +
        -
      • +
      • Constructor Detail

        - +
          @@ -301,13 +344,13 @@

          KBKDFDKMLengthParam

          public KBKDFDKMLengthParam()
        - +
        • KBKDFDKMLengthParam

          -
          public KBKDFDKMLengthParam(long lengthMethod,
          +
          public KBKDFDKMLengthParam​(long lengthMethod,
                                      boolean littleEndian,
                                      long widthInBits)
                               throws java.lang.IllegalArgumentException
          @@ -319,19 +362,21 @@

          KBKDFDKMLengthParam

      +
      +
        -
      • +
      • Method Detail

        - +
        • setLengthSpec

          -
          public void setLengthSpec(long lengthMethod,
          +
          public void setLengthSpec​(long lengthMethod,
                                     boolean littleEndian,
                                     long widthInBits)
                              throws java.lang.IllegalArgumentException
          @@ -341,34 +386,34 @@

          setLengthSpec

        - + - +
        • releaseNativeResources

          -
          protected void releaseNativeResources()
          +
          protected void releaseNativeResources()
                                          throws java.lang.Exception
          -
          Description copied from class: NativeEnclosure
          +
          Description copied from class: NativeEnclosure
          Called to deallocate native resources; note that mPointer.close() is called afterwards. @@ -376,7 +421,7 @@

          releaseNativeResources

          do any required cleanup here.
          Specified by:
          -
          releaseNativeResources in class NativeEnclosure
          +
          releaseNativeResources in class NativeEnclosure
          Throws:
          java.lang.Exception
          @@ -384,21 +429,25 @@

          releaseNativeResources

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/KBKDFDataParameter.html b/master/javadocs/org/mozilla/jss/crypto/KBKDFDataParameter.html index fdf4c81c3..b172dd8cc 100644 --- a/master/javadocs/org/mozilla/jss/crypto/KBKDFDataParameter.html +++ b/master/javadocs/org/mozilla/jss/crypto/KBKDFDataParameter.html @@ -1,11 +1,20 @@ - + KBKDFDataParameter (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class KBKDFDataParameter

    @@ -92,7 +116,7 @@

    Class KBKDFDataParameter

  • java.lang.Object
  • @@ -197,12 +230,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -213,38 +247,44 @@

          type

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • KBKDFDataParameter

          -
          public KBKDFDataParameter(long type)
          +
          public KBKDFDataParameter​(long type)
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/KBKDFDerivedKey.html b/master/javadocs/org/mozilla/jss/crypto/KBKDFDerivedKey.html index 7893fe4cb..743a3521b 100644 --- a/master/javadocs/org/mozilla/jss/crypto/KBKDFDerivedKey.html +++ b/master/javadocs/org/mozilla/jss/crypto/KBKDFDerivedKey.html @@ -1,11 +1,20 @@ - + KBKDFDerivedKey (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class KBKDFDerivedKey

    @@ -98,7 +122,7 @@

    Class KBKDFDerivedKey

  • java.lang.Object
  • @@ -233,12 +273,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -247,13 +288,13 @@

          KBKDFDerivedKey

          public KBKDFDerivedKey()
        - +
        • KBKDFDerivedKey

          -
          public KBKDFDerivedKey(CKAttribute[] attrs)
          +
          public KBKDFDerivedKey​(CKAttribute[] attrs)
                           throws java.lang.IllegalArgumentException
          Throws:
          @@ -263,19 +304,21 @@

          KBKDFDerivedKey

      +
      +
        -
      • +
      • Method Detail

        - +
        • setAttributes

          -
          public void setAttributes(CKAttribute[] attrs)
          +
          public void setAttributes​(CKAttribute[] attrs)
                              throws java.lang.IllegalArgumentException
          Throws:
          @@ -283,13 +326,13 @@

          setAttributes

        - +
        • addAttribute

          -
          public void addAttribute(CKAttribute attr)
          +
          public void addAttribute​(CKAttribute attr)
                             throws java.lang.IllegalArgumentException
          Throws:
          @@ -297,34 +340,34 @@

          addAttribute

        - + - +
        • releaseNativeResources

          -
          protected void releaseNativeResources()
          +
          protected void releaseNativeResources()
                                          throws java.lang.Exception
          -
          Description copied from class: NativeEnclosure
          +
          Description copied from class: NativeEnclosure
          Called to deallocate native resources; note that mPointer.close() is called afterwards. @@ -332,19 +375,19 @@

          releaseNativeResources

          do any required cleanup here.
          Specified by:
          -
          releaseNativeResources in class NativeEnclosure
          +
          releaseNativeResources in class NativeEnclosure
          Throws:
          java.lang.Exception
        - +
        • getKey

          -
          public javax.crypto.SecretKey getKey(javax.crypto.SecretKey parent,
          +
          public javax.crypto.SecretKey getKey​(javax.crypto.SecretKey parent,
                                                long mech,
                                                boolean temporary)
                                         throws java.lang.Exception
          @@ -354,13 +397,13 @@

          getKey

        - +
        • acquireNativeResourcesInternal

          -
          protected void acquireNativeResourcesInternal()
          +
          protected void acquireNativeResourcesInternal()
                                                  throws java.lang.Exception
          Throws:
          @@ -368,13 +411,13 @@

          acquireNativeResourcesInternal

        - +
        • releaseNativeResourcesInternal

          -
          protected void releaseNativeResourcesInternal()
          +
          protected void releaseNativeResourcesInternal()
                                                  throws java.lang.Exception
          Throws:
          @@ -384,21 +427,25 @@

          releaseNativeResourcesInternal

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/KBKDFFeedbackParams.html b/master/javadocs/org/mozilla/jss/crypto/KBKDFFeedbackParams.html index 86bba4ef6..49a13302e 100644 --- a/master/javadocs/org/mozilla/jss/crypto/KBKDFFeedbackParams.html +++ b/master/javadocs/org/mozilla/jss/crypto/KBKDFFeedbackParams.html @@ -1,11 +1,20 @@ - + KBKDFFeedbackParams (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class KBKDFFeedbackParams

    @@ -98,10 +122,10 @@

    Class KBKDFFeedbackParamsjava.lang.Object
  • @@ -130,97 +153,110 @@

    Class KBKDFFeedbackParams
  • +
    +
    +
    +
    +
    +
  • @@ -235,12 +272,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -251,19 +289,21 @@

          KBKDFFeedbackParams

      +
      +
        -
      • +
      • Method Detail

        - +
        • setInitialValue

          -
          public void setInitialValue(byte[] iv)
          +
          public void setInitialValue​(byte[] iv)
                                throws java.lang.IllegalArgumentException
          Throws:
          @@ -271,13 +311,13 @@

          setInitialValue

        - +
        • zeroInitialValue

          -
          public void zeroInitialValue()
          +
          public void zeroInitialValue()
          Zero out the copiend contents of the initial value. Call this method when the contents of the initial value are sensitive @@ -286,15 +326,15 @@

          zeroInitialValue

          relevant parameters between calls.
        - +
        • validateParameters

          -
          protected void validateParameters()
          +
          protected void validateParameters()
                                      throws java.lang.IllegalArgumentException
          -
          Description copied from class: KBKDFParameterSpec
          +
          Description copied from class: KBKDFParameterSpec
          Validate all class members prior to acquiring native resources. This is implemented by the derived KBKDF modes in an effort to give @@ -302,39 +342,39 @@

          validateParameters

          derivation.
          Specified by:
          -
          validateParameters in class KBKDFParameterSpec
          +
          validateParameters in class KBKDFParameterSpec
          Throws:
          java.lang.IllegalArgumentException
        - + - +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/KBKDFIterationVariableParam.html b/master/javadocs/org/mozilla/jss/crypto/KBKDFIterationVariableParam.html index 4e5a65b1d..b74387bae 100644 --- a/master/javadocs/org/mozilla/jss/crypto/KBKDFIterationVariableParam.html +++ b/master/javadocs/org/mozilla/jss/crypto/KBKDFIterationVariableParam.html @@ -1,11 +1,20 @@ - + KBKDFIterationVariableParam (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class KBKDFIterationVariableParam

    @@ -98,10 +122,10 @@

    Class KBKDFIteration
  • java.lang.Object
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/KBKDFOptionalCounterParam.html b/master/javadocs/org/mozilla/jss/crypto/KBKDFOptionalCounterParam.html index 0fea78344..0a5b88ba2 100644 --- a/master/javadocs/org/mozilla/jss/crypto/KBKDFOptionalCounterParam.html +++ b/master/javadocs/org/mozilla/jss/crypto/KBKDFOptionalCounterParam.html @@ -1,11 +1,20 @@ - + KBKDFOptionalCounterParam (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class KBKDFOptionalCounterParam

    @@ -98,10 +122,10 @@

    Class KBKDFOptionalCou
  • java.lang.Object
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/KBKDFParameterSpec.html b/master/javadocs/org/mozilla/jss/crypto/KBKDFParameterSpec.html index 156e947e2..21704ed50 100644 --- a/master/javadocs/org/mozilla/jss/crypto/KBKDFParameterSpec.html +++ b/master/javadocs/org/mozilla/jss/crypto/KBKDFParameterSpec.html @@ -1,11 +1,20 @@ - + KBKDFParameterSpec (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class KBKDFParameterSpec

    @@ -98,7 +122,7 @@

    Class KBKDFParameterSpec

  • java.lang.Object
  • @@ -326,21 +381,22 @@

    Methods inherited from class java.lang.Object

    • +
      +
      +
        -
      • +
      • Constructor Detail

        - +
          @@ -404,19 +462,21 @@

          KBKDFParameterSpec

      +
      +
        -
      • +
      • Method Detail

        - +
        • setPRF

          -
          public void setPRF(PKCS11Algorithm prf)
          +
          public void setPRF​(PKCS11Algorithm prf)
                       throws java.lang.IllegalArgumentException
          Set the underlying pseudo-random function from a PKCS11Algorithm enum value.
          @@ -426,13 +486,13 @@

          setPRF

        - +
        • setPRF

          -
          public void setPRF(DigestAlgorithm prf)
          +
          public void setPRF​(DigestAlgorithm prf)
                       throws java.lang.IllegalArgumentException
          Set the underlying pseudo-random function from a DigestAlgorithm (HMACAlgorithm or CMACAlgorithm) instance.
          @@ -442,24 +502,24 @@

          setPRF

        - +
        • setPRF

          -
          public void setPRF(long prf)
          +
          public void setPRF​(long prf)
          Set the underlying pseudo-random function from a PKCS#11 constant; see org.mozilla.jss.pkcs11.PKCS11Constants for permitted values.
        - +
        • setPRFKey

          -
          public void setPRFKey(javax.crypto.SecretKey key)
          +
          public void setPRFKey​(javax.crypto.SecretKey key)
                          throws java.security.InvalidKeyException
          Set the base key used with the underlying PRF. @@ -470,13 +530,13 @@

          setPRFKey

        - +
        • setDerivedKeyAlgorithm

          -
          public void setDerivedKeyAlgorithm(PKCS11Algorithm algo)
          +
          public void setDerivedKeyAlgorithm​(PKCS11Algorithm algo)
                                       throws java.lang.IllegalArgumentException
          Set the algorithm for the derived key from a PKCS11Algorithm enum value.
          @@ -485,13 +545,13 @@

          setDerivedKeyAlgorithm

        - +
        • setDerivedKeyAlgorithm

          -
          public void setDerivedKeyAlgorithm(long algo)
          +
          public void setDerivedKeyAlgorithm​(long algo)
                                       throws java.lang.IllegalArgumentException
          Sets the algorithm for the derived key from a PKCS#11 value; see org.mozilla.jss.pkcs11.PKCS11Constants for constant values.
          @@ -501,26 +561,26 @@

          setDerivedKeyAlgorithm

        - +
        • setKeySize

          -
          public void setKeySize(int keySize)
          +
          public void setKeySize​(int keySize)
          Set the size of the derived key. If zero, will attempt to use the derived key algorithm's default key size.
        - +
        • setParameters

          -
          public void setParameters(KBKDFDataParameter[] params)
          +
          public void setParameters​(KBKDFDataParameter[] params)
                              throws java.lang.IllegalArgumentException
          Set parameters for key derivation. @@ -532,13 +592,13 @@

          setParameters

        - +
        • addParameter

          -
          public void addParameter(KBKDFDataParameter param)
          +
          public void addParameter​(KBKDFDataParameter param)
                             throws java.lang.IllegalArgumentException
          Appends (to the end) a new data parameter.
          @@ -547,13 +607,13 @@

          addParameter

        - +
        • setAdditionalDerivedKeys

          -
          public void setAdditionalDerivedKeys(KBKDFDerivedKey[] additional_keys)
          +
          public void setAdditionalDerivedKeys​(KBKDFDerivedKey[] additional_keys)
                                         throws java.lang.IllegalArgumentException
          Set an array of additional derived keys.
          @@ -562,13 +622,13 @@

          setAdditionalDerivedKeys

        - +
        • addAdditionalDerivedKey

          -
          public void addAdditionalDerivedKey(KBKDFDerivedKey derived_key)
          +
          public void addAdditionalDerivedKey​(KBKDFDerivedKey derived_key)
                                        throws java.lang.IllegalArgumentException
          Append (to the end) a new derived key.
          @@ -577,34 +637,34 @@

          addAdditionalDerivedKey

        - + - +
        • releaseNativeResources

          -
          protected void releaseNativeResources()
          +
          protected void releaseNativeResources()
                                          throws java.lang.Exception
          -
          Description copied from class: NativeEnclosure
          +
          Description copied from class: NativeEnclosure
          Called to deallocate native resources; note that mPointer.close() is called afterwards. @@ -612,19 +672,19 @@

          releaseNativeResources

          do any required cleanup here.
          Specified by:
          -
          releaseNativeResources in class NativeEnclosure
          +
          releaseNativeResources in class NativeEnclosure
          Throws:
          java.lang.Exception
        - +
        • acquireNativeResourcesInternal

          -
          protected abstract void acquireNativeResourcesInternal()
          +
          protected abstract void acquireNativeResourcesInternal()
                                                           throws java.lang.Exception
          Throws:
          @@ -632,13 +692,13 @@

          acquireNativeResourcesInternal

        - +
        • releaseNativeResourcesInternal

          -
          protected abstract void releaseNativeResourcesInternal()
          +
          protected abstract void releaseNativeResourcesInternal()
                                                           throws java.lang.Exception
          Throws:
          @@ -646,13 +706,13 @@

          releaseNativeResourcesInternal

        - +
        • validateParameters

          -
          protected abstract void validateParameters()
          +
          protected abstract void validateParameters()
                                               throws java.lang.IllegalArgumentException
          Validate all class members prior to acquiring native resources. @@ -667,21 +727,25 @@

          validateParameters

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/KBKDFPipelineParams.html b/master/javadocs/org/mozilla/jss/crypto/KBKDFPipelineParams.html index 50c4914db..fcc0529ff 100644 --- a/master/javadocs/org/mozilla/jss/crypto/KBKDFPipelineParams.html +++ b/master/javadocs/org/mozilla/jss/crypto/KBKDFPipelineParams.html @@ -1,11 +1,20 @@ - + KBKDFPipelineParams (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class KBKDFPipelineParams

    @@ -98,10 +122,10 @@

    Class KBKDFPipelineParamsjava.lang.Object
  • @@ -130,87 +153,98 @@

    Class KBKDFPipelineParams
  • +
    +
    +
    +
    +
    +
  • @@ -225,12 +260,13 @@

    Methods inherited from class java.lang.Object

    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/KeyAlreadyImportedException.html b/master/javadocs/org/mozilla/jss/crypto/KeyAlreadyImportedException.html index 3a884ed4f..aab17065b 100644 --- a/master/javadocs/org/mozilla/jss/crypto/KeyAlreadyImportedException.html +++ b/master/javadocs/org/mozilla/jss/crypto/KeyAlreadyImportedException.html @@ -1,11 +1,20 @@ - + KeyAlreadyImportedException (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class KeyAlreadyImportedException

    @@ -111,10 +135,9 @@

    Class KeyAlreadyImpo
  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public class KeyAlreadyImportedException
     extends java.lang.Exception
    This exception is thrown if the user tries to import a @@ -130,50 +153,58 @@

    Class KeyAlreadyImpo

    @@ -188,12 +220,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -202,32 +235,32 @@

          KeyAlreadyImportedException

          public KeyAlreadyImportedException()
        - +
        • KeyAlreadyImportedException

          -
          public KeyAlreadyImportedException(java.lang.String mesg)
          +
          public KeyAlreadyImportedException​(java.lang.String mesg)
        - +
        • KeyAlreadyImportedException

          -
          public KeyAlreadyImportedException(java.lang.String mesg,
          +
          public KeyAlreadyImportedException​(java.lang.String mesg,
                                              java.lang.Throwable cause)
        - +
        • KeyAlreadyImportedException

          -
          public KeyAlreadyImportedException(java.lang.String mesg,
          +
          public KeyAlreadyImportedException​(java.lang.String mesg,
                                              java.lang.Throwable cause,
                                              boolean enableSuppression,
                                              boolean writableStackTrace)
          @@ -235,21 +268,25 @@

          KeyAlreadyImportedException

      +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/KeyGenAlgorithm.AnyKeyStrengthValidator.html b/master/javadocs/org/mozilla/jss/crypto/KeyGenAlgorithm.AnyKeyStrengthValidator.html index dff6746b6..79586086a 100644 --- a/master/javadocs/org/mozilla/jss/crypto/KeyGenAlgorithm.AnyKeyStrengthValidator.html +++ b/master/javadocs/org/mozilla/jss/crypto/KeyGenAlgorithm.AnyKeyStrengthValidator.html @@ -1,11 +1,20 @@ - + KeyGenAlgorithm.AnyKeyStrengthValidator (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class KeyGenAlgorithm.AnyKeyStrengthValidator

    @@ -107,17 +131,16 @@

    Class Ke
  • All Implemented Interfaces:
    -
    KeyGenAlgorithm.KeyStrengthValidator
    +
    KeyGenAlgorithm.KeyStrengthValidator
    Enclosing class:
    -
    KeyGenAlgorithm
    +
    KeyGenAlgorithm

    -
    protected static class KeyGenAlgorithm.AnyKeyStrengthValidator
     extends java.lang.Object
    -implements KeyGenAlgorithm.KeyStrengthValidator
    +implements KeyGenAlgorithm.KeyStrengthValidator
  • @@ -125,43 +148,50 @@

    Class Ke @@ -176,12 +207,13 @@

    Methods inherited from class java.lang.Object

    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/KeyGenAlgorithm.FixedKeyStrengthValidator.html b/master/javadocs/org/mozilla/jss/crypto/KeyGenAlgorithm.FixedKeyStrengthValidator.html index 593e89648..1dacf2e53 100644 --- a/master/javadocs/org/mozilla/jss/crypto/KeyGenAlgorithm.FixedKeyStrengthValidator.html +++ b/master/javadocs/org/mozilla/jss/crypto/KeyGenAlgorithm.FixedKeyStrengthValidator.html @@ -1,11 +1,20 @@ - + KeyGenAlgorithm.FixedKeyStrengthValidator (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class KeyGenAlgorithm.FixedKeyStrengthValidator

    @@ -107,17 +131,16 @@

    Class
  • All Implemented Interfaces:
    -
    KeyGenAlgorithm.KeyStrengthValidator
    +
    KeyGenAlgorithm.KeyStrengthValidator
    Enclosing class:
    -
    KeyGenAlgorithm
    +
    KeyGenAlgorithm

    -
    protected static class KeyGenAlgorithm.FixedKeyStrengthValidator
     extends java.lang.Object
    -implements KeyGenAlgorithm.KeyStrengthValidator
    +implements KeyGenAlgorithm.KeyStrengthValidator
  • @@ -125,41 +148,48 @@

    Class @@ -174,58 +205,65 @@

    Methods inherited from class java.lang.Object

    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/KeyGenAlgorithm.KeyStrengthValidator.html b/master/javadocs/org/mozilla/jss/crypto/KeyGenAlgorithm.KeyStrengthValidator.html index a25c37215..c73278cfd 100644 --- a/master/javadocs/org/mozilla/jss/crypto/KeyGenAlgorithm.KeyStrengthValidator.html +++ b/master/javadocs/org/mozilla/jss/crypto/KeyGenAlgorithm.KeyStrengthValidator.html @@ -1,11 +1,20 @@ - + KeyGenAlgorithm.KeyStrengthValidator (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Interface KeyGenAlgorithm.KeyStrengthValidator

    @@ -99,14 +123,13 @@

    Interfa
  • All Known Implementing Classes:
    -
    KeyGenAlgorithm.AnyKeyStrengthValidator, KeyGenAlgorithm.FixedKeyStrengthValidator
    +
    KeyGenAlgorithm.AnyKeyStrengthValidator, KeyGenAlgorithm.FixedKeyStrengthValidator
    Enclosing class:
    -
    KeyGenAlgorithm
    +
    KeyGenAlgorithm

    -
    protected static interface KeyGenAlgorithm.KeyStrengthValidator
  • @@ -115,24 +138,28 @@

    Interfa

    @@ -140,37 +167,42 @@

    Method Summary

    • +
        -
      • +
      • Method Detail

        - +
        • isValidKeyStrength

          -
          boolean isValidKeyStrength(int strength)
          +
          boolean isValidKeyStrength​(int strength)
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/KeyGenAlgorithm.html b/master/javadocs/org/mozilla/jss/crypto/KeyGenAlgorithm.html index fd76b2ee5..e3b762d6c 100644 --- a/master/javadocs/org/mozilla/jss/crypto/KeyGenAlgorithm.html +++ b/master/javadocs/org/mozilla/jss/crypto/KeyGenAlgorithm.html @@ -1,11 +1,20 @@ - + KeyGenAlgorithm (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class KeyGenAlgorithm

    @@ -98,7 +122,7 @@

    Class KeyGenAlgorithm

  • java.lang.Object
  • @@ -313,209 +372,214 @@

    Methods inherited from class java.lang.Object

    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/KeyGenerator.CharToByteConverter.html b/master/javadocs/org/mozilla/jss/crypto/KeyGenerator.CharToByteConverter.html index 86ac0b3b9..9b98e7938 100644 --- a/master/javadocs/org/mozilla/jss/crypto/KeyGenerator.CharToByteConverter.html +++ b/master/javadocs/org/mozilla/jss/crypto/KeyGenerator.CharToByteConverter.html @@ -1,11 +1,20 @@ - + KeyGenerator.CharToByteConverter (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Interface KeyGenerator.CharToByteConverter

    @@ -99,14 +123,13 @@

    Interface K
  • All Known Implementing Classes:
    -
    PasswordConverter
    +
    PasswordConverter
    Enclosing interface:
    -
    KeyGenerator
    +
    KeyGenerator

    -
    public static interface KeyGenerator.CharToByteConverter
    An interface for converting a password of Java characters into an array of bytes. This conversion must be performed to provide a byte array @@ -121,20 +144,23 @@

    Interface K
    • +
        -
      • +
      • Method Summary

        - +
        - + + - + @@ -142,6 +168,7 @@

        Method Summary

        All Methods Instance Methods Abstract Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        byte[]convert(char[] chars) +convert​(char[] chars)
        Converts a password of Java characters into a password of bytes, using some encoding scheme.
      +

    @@ -149,18 +176,19 @@

    Method Summary

    • +
        -
      • +
      • Method Detail

        - +
        • convert

          -
          byte[] convert(char[] chars)
          +
          byte[] convert​(char[] chars)
                   throws java.io.CharConversionException
          Converts a password of Java characters into a password of bytes, using some encoding scheme. The input char array must @@ -177,21 +205,25 @@

          convert

      +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/KeyGenerator.html b/master/javadocs/org/mozilla/jss/crypto/KeyGenerator.html index 81f153b3e..6715af6a2 100644 --- a/master/javadocs/org/mozilla/jss/crypto/KeyGenerator.html +++ b/master/javadocs/org/mozilla/jss/crypto/KeyGenerator.html @@ -1,11 +1,20 @@ - + KeyGenerator (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Interface KeyGenerator

    @@ -99,10 +123,9 @@

    Interface KeyGenerator

  • All Known Implementing Classes:
    -
    PK11KeyGenerator
    +
    PK11KeyGenerator

    -
    public interface KeyGenerator
    Generates symmetric keys for encryption and decryption.
  • @@ -112,20 +135,23 @@

    Interface KeyGenerator

    @@ -203,18 +242,19 @@

    Method Summary

    • +
        -
      • +
      • Method Detail

        - +
        • initialize

          -
          void initialize(int strength)
          +
          void initialize​(int strength)
                    throws java.security.InvalidAlgorithmParameterException
          Parameters:
          @@ -224,13 +264,13 @@

          initialize

        - +
        • initialize

          -
          void initialize(java.security.spec.AlgorithmParameterSpec parameters)
          +
          void initialize​(java.security.spec.AlgorithmParameterSpec parameters)
                    throws java.security.InvalidAlgorithmParameterException
          Throws:
          @@ -238,13 +278,13 @@

          initialize

        - +
        • setKeyUsages

          -
          void setKeyUsages(SymmetricKey.Usage[] usages)
          +
          void setKeyUsages​(SymmetricKey.Usage[] usages)
          Parameters:
          usages - The operations the key will be used for after it is @@ -256,13 +296,13 @@

          setKeyUsages

        - +
        • temporaryKeys

          -
          void temporaryKeys(boolean temp)
          +
          void temporaryKeys​(boolean temp)
          Tells the generator to generate temporary or permanent keys. Temporary keys are not written permanently to the token. They are destroyed by the garbage collector. If this method is not @@ -273,13 +313,13 @@

          temporaryKeys

        - +
        • sensitiveKeys

          -
          void sensitiveKeys(boolean sensitive)
          +
          void sensitiveKeys​(boolean sensitive)
          Tells the generator to generate sensitive or insensitive keys. Certain attributes of a sensitive key cannot be revealed in plaintext outside the token. If this method is not called, the @@ -290,15 +330,15 @@

          sensitiveKeys

        - +
        • generate

          -
          SymmetricKey generate()
          +
          SymmetricKey generate()
                          throws java.lang.IllegalStateException,
          -                      TokenException,
          +                      TokenException,
                                 java.io.CharConversionException
          Generates a symmetric key.
          @@ -306,20 +346,20 @@

          generate

          Symmetric key.
          Throws:
          java.lang.IllegalStateException - If key generation failed.
          -
          TokenException - If an error occurred in the token.
          +
          TokenException - If an error occurred in the token.
          java.io.CharConversionException - If an encoding error occurred.
        - +
        • generatePBE_IV

          -
          byte[] generatePBE_IV()
          +
          byte[] generatePBE_IV()
                          throws java.lang.IllegalStateException,
          -                      TokenException,
          +                      TokenException,
                                 java.io.CharConversionException
          Generates an Initialization Vector using a PBE algorithm. In order to call this method, the algorithm must be a PBE algorithm, @@ -333,22 +373,22 @@

          generatePBE_IV

          java.lang.IllegalStateException - If the algorithm is not a PBE algorithm, or the KeyGenerator has not been initialized with an instance of PBEKeyGenParams.
          -
          TokenException - If an error occurs on the CryptoToken while +
          TokenException - If an error occurs on the CryptoToken while generating the IV.
          java.io.CharConversionException - If an encoding error occurred.
        - + - +
        • setCharToByteConverter

          -
          void setCharToByteConverter(KeyGenerator.CharToByteConverter charToByte)
          +
          void setCharToByteConverter​(KeyGenerator.CharToByteConverter charToByte)
          Sets the character to byte converter for passwords. The default conversion is UTF8 with no null termination.
          @@ -381,21 +421,25 @@

          setCharToByteConverter

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/KeyPairAlgorithm.html b/master/javadocs/org/mozilla/jss/crypto/KeyPairAlgorithm.html index 8fcfe6fbb..0d7903fde 100644 --- a/master/javadocs/org/mozilla/jss/crypto/KeyPairAlgorithm.html +++ b/master/javadocs/org/mozilla/jss/crypto/KeyPairAlgorithm.html @@ -1,11 +1,20 @@ - + KeyPairAlgorithm (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class KeyPairAlgorithm

    @@ -98,7 +122,7 @@

    Class KeyPairAlgorithm

  • java.lang.Object
  • @@ -240,108 +282,113 @@

    Methods inherited from class java.lang.Object

    • +
      +
      +
        -
      • +
      • Constructor Detail

        - +
        • KeyPairAlgorithm

          -
          protected KeyPairAlgorithm(int oidIndex,
          +
          protected KeyPairAlgorithm​(int oidIndex,
                                      java.lang.String name,
          -                           Algorithm algFamily)
          + Algorithm algFamily)
      +
      +
        -
      • +
      • Method Detail

        - +
        • getAlgFamily

          -
          public Algorithm getAlgFamily()
          +
          public Algorithm getAlgFamily()
          Returns the algorithm family for a given key pair generation algorithm. If a token supports a family and is writable, we can do keypair gen on the token even if it doesn't support the keypair gen algorithm. @@ -353,13 +400,13 @@

          getAlgFamily

        - +
        • fromString

          -
          public static KeyPairAlgorithm fromString(java.lang.String algName)
          +
          public static KeyPairAlgorithm fromString​(java.lang.String algName)
                                              throws java.security.NoSuchAlgorithmException
          Looks up a key pair generation algorithm from its name. The names are those specified in the JCA spec. For example, "RSA" and "DSA".
          @@ -376,21 +423,25 @@

          fromString

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/KeyPairGenerator.html b/master/javadocs/org/mozilla/jss/crypto/KeyPairGenerator.html index 592e0c964..ed67524d2 100644 --- a/master/javadocs/org/mozilla/jss/crypto/KeyPairGenerator.html +++ b/master/javadocs/org/mozilla/jss/crypto/KeyPairGenerator.html @@ -1,11 +1,20 @@ - + KeyPairGenerator (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class KeyPairGenerator

    @@ -106,7 +130,6 @@

    Class KeyPairGenerator

    @@ -126,131 +149,154 @@

    Class KeyPairGenerator

    @@ -265,45 +312,48 @@

    Methods inherited from class java.lang.Object

    • +
      +
      +
        -
      • +
      • Constructor Detail

        - +
        • KeyPairGenerator

          -
          public KeyPairGenerator(KeyPairAlgorithm algorithm,
          -                        KeyPairGeneratorSpi engine)
          +
          public KeyPairGenerator​(KeyPairAlgorithm algorithm,
          +                        KeyPairGeneratorSpi engine)
          Creates a new key pair generator. KeyPairGenerators should be obtained by calling CryptoToken.getKeyPairGenerator instead of calling this constructor.
          @@ -318,51 +368,53 @@

          KeyPairGenerator

      +
      +
        -
      • +
      • Method Detail

        - +
        • genKeyPair

          -
          public java.security.KeyPair genKeyPair()
          -                                 throws TokenException
          +
          public java.security.KeyPair genKeyPair()
          +                                 throws TokenException
          Generates a new key pair.
          Returns:
          A new key pair. The keys reside on the CryptoToken that provided this KeyPairGenerator.
          Throws:
          -
          TokenException - If an error occurs on the CryptoToken +
          TokenException - If an error occurs on the CryptoToken in the process of generating the key pair.
        - + - +
        • initialize

          -
          public void initialize(java.security.spec.AlgorithmParameterSpec params,
          +
          public void initialize​(java.security.spec.AlgorithmParameterSpec params,
                                  java.security.SecureRandom random)
                           throws java.security.InvalidAlgorithmParameterException
          Initializes the generator with algorithm-specific parameters. @@ -377,18 +429,18 @@

          initialize

          inappropriate for the type of key pair that is being generated, or they are not supported by this generator.
          See Also:
          -
          RSAParameterSpec, +
          RSAParameterSpec, DSAParameterSpec
        - +
        • initialize

          -
          public void initialize(java.security.spec.AlgorithmParameterSpec params)
          +
          public void initialize​(java.security.spec.AlgorithmParameterSpec params)
                           throws java.security.InvalidAlgorithmParameterException
          Initializes the generator with algorithm-specific parameters.
          @@ -399,18 +451,18 @@

          initialize

          inappropriate for the type of key pair that is being generated, or they are not supported by this generator.
          See Also:
          -
          RSAParameterSpec, +
          RSAParameterSpec, DSAParameterSpec
        - +
        • initialize

          -
          public void initialize(int strength,
          +
          public void initialize​(int strength,
                                  java.security.SecureRandom random)
          Initializes the generator with the strength of the keys. The SecureRandom parameter is ignored.
          @@ -423,13 +475,13 @@

          initialize

        - +
        • initialize

          -
          public void initialize(int strength)
          +
          public void initialize​(int strength)
          Initializes the generator with the strength of the keys.
          Parameters:
          @@ -438,13 +490,13 @@

          initialize

        - +
        • keygenOnInternalToken

          -
          public boolean keygenOnInternalToken()
          +
          public boolean keygenOnInternalToken()
          Returns:
          true if the keypair generation will take place on the @@ -456,13 +508,13 @@

          keygenOnInternalToken

        - +
        • temporaryPairs

          -
          public void temporaryPairs(boolean temp)
          +
          public void temporaryPairs​(boolean temp)
          Tells the generator to generate temporary or permanent keypairs. Temporary keys are not written permanently to the token. They are destroyed by the garbage collector. If this method is not @@ -473,13 +525,13 @@

          temporaryPairs

        - +
        • sensitivePairs

          -
          public void sensitivePairs(boolean sensitive)
          +
          public void sensitivePairs​(boolean sensitive)
          Tells the generator to generate sensitive or insensitive keypairs. Certain attributes of a sensitive key cannot be revealed in plaintext outside the token. If this method is not called, the @@ -493,13 +545,13 @@

          sensitivePairs

        - +
        • extractablePairs

          -
          public void extractablePairs(boolean extractable)
          +
          public void extractablePairs​(boolean extractable)
          Tells the generator to generate extractable or unextractable keypairs. Extractable keys can be extracted from the token after wrapping. If this method is not called, the default is token @@ -510,23 +562,23 @@

          extractablePairs

        - + - +
        • getCurveCodeByName

          -
          public int getCurveCodeByName(java.lang.String curveName)
          +
          public int getCurveCodeByName​(java.lang.String curveName)
                                  throws java.security.InvalidParameterException
          Throws:
          @@ -536,21 +588,25 @@

          getCurveCodeByName

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/KeyPairGeneratorSpi.Usage.html b/master/javadocs/org/mozilla/jss/crypto/KeyPairGeneratorSpi.Usage.html index ade18b196..4ab6a4101 100644 --- a/master/javadocs/org/mozilla/jss/crypto/KeyPairGeneratorSpi.Usage.html +++ b/master/javadocs/org/mozilla/jss/crypto/KeyPairGeneratorSpi.Usage.html @@ -1,11 +1,20 @@ - + KeyPairGeneratorSpi.Usage (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class KeyPairGeneratorSpi.Usage

    @@ -107,10 +131,9 @@

    Class KeyPairGenerator
  • Enclosing class:
    -
    KeyPairGeneratorSpi
    +
    KeyPairGeneratorSpi

    -
    public static final class KeyPairGeneratorSpi.Usage
     extends java.lang.Object
    In PKCS #11, each keypair can be marked with the operations it will @@ -128,75 +151,90 @@

    Class KeyPairGenerator

    @@ -211,126 +250,133 @@

    Methods inherited from class java.lang.Object

  • +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/KeyPairGeneratorSpi.html b/master/javadocs/org/mozilla/jss/crypto/KeyPairGeneratorSpi.html index c95ba5f7c..04b97ddcf 100644 --- a/master/javadocs/org/mozilla/jss/crypto/KeyPairGeneratorSpi.html +++ b/master/javadocs/org/mozilla/jss/crypto/KeyPairGeneratorSpi.html @@ -1,11 +1,20 @@ - + KeyPairGeneratorSpi (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class KeyPairGeneratorSpi

    @@ -107,10 +131,9 @@

    Class KeyPairGeneratorSpi
    Direct Known Subclasses:
    -
    PK11KeyPairGenerator
    +
    PK11KeyPairGenerator

    -
    public abstract class KeyPairGeneratorSpi
     extends java.lang.Object
    @@ -120,20 +143,23 @@

    Class KeyPairGeneratorSpi
  • +
      -
    • +
    • Nested Class Summary

      - +
      - + + - + @@ -141,79 +167,95 @@

      Nested Class Summary

      Nested Classes 
      Modifier and TypeClass and DescriptionClassDescription
      static class KeyPairGeneratorSpi.Usage +KeyPairGeneratorSpi.Usage
      In PKCS #11, each keypair can be marked with the operations it will be used to perform.
    +
    +
    +
    +
    +
  • @@ -228,12 +271,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -244,29 +288,31 @@

          KeyPairGeneratorSpi

      +
      +
        -
      • +
      • Method Detail

        - +
        • initialize

          -
          public abstract void initialize(int strength,
          +
          public abstract void initialize​(int strength,
                                           java.security.SecureRandom random)
        - +
        • initialize

          -
          public abstract void initialize(java.security.spec.AlgorithmParameterSpec params,
          +
          public abstract void initialize​(java.security.spec.AlgorithmParameterSpec params,
                                           java.security.SecureRandom random)
                                    throws java.security.InvalidAlgorithmParameterException
          @@ -275,27 +321,27 @@

          initialize

        - + - +
        • getCurveCodeByName

          -
          public abstract int getCurveCodeByName(java.lang.String curveName)
          +
          public abstract int getCurveCodeByName​(java.lang.String curveName)
                                           throws java.security.InvalidParameterException
          Throws:
          @@ -303,50 +349,50 @@

          getCurveCodeByName

        - +
        • temporaryPairs

          -
          public abstract void temporaryPairs(boolean temp)
          +
          public abstract void temporaryPairs​(boolean temp)
        - +
        • sensitivePairs

          -
          public abstract void sensitivePairs(boolean sensitive)
          +
          public abstract void sensitivePairs​(boolean sensitive)
        - +
        • extractablePairs

          -
          public abstract void extractablePairs(boolean extractable)
          +
          public abstract void extractablePairs​(boolean extractable)
        - +
        • keygenOnInternalToken

          -
          public abstract boolean keygenOnInternalToken()
          +
          public abstract boolean keygenOnInternalToken()
        - +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/KeyWrapAlgorithm.html b/master/javadocs/org/mozilla/jss/crypto/KeyWrapAlgorithm.html index ec3addfa4..4a9f350f6 100644 --- a/master/javadocs/org/mozilla/jss/crypto/KeyWrapAlgorithm.html +++ b/master/javadocs/org/mozilla/jss/crypto/KeyWrapAlgorithm.html @@ -1,11 +1,20 @@ - + KeyWrapAlgorithm (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class KeyWrapAlgorithm

    @@ -98,7 +122,7 @@

    Class KeyWrapAlgorithm

  • java.lang.Object
  • @@ -121,176 +144,210 @@

    Class KeyWrapAlgorithm

    @@ -305,210 +363,213 @@

    Methods inherited from class java.lang.Object

    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/KeyWrapper.html b/master/javadocs/org/mozilla/jss/crypto/KeyWrapper.html index 606e22b3c..180116f20 100644 --- a/master/javadocs/org/mozilla/jss/crypto/KeyWrapper.html +++ b/master/javadocs/org/mozilla/jss/crypto/KeyWrapper.html @@ -1,11 +1,20 @@ - + KeyWrapper (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Interface KeyWrapper

    @@ -99,10 +123,9 @@

    Interface KeyWrapper

  • All Known Implementing Classes:
    -
    PK11KeyWrapper
    +
    PK11KeyWrapper

    -
    public interface KeyWrapper
  • @@ -111,106 +134,123 @@

    Interface KeyWrapper

    @@ -218,18 +258,19 @@

    Method Summary

    • +
        -
      • +
      • Method Detail

        - +
        • initWrap

          -
          void initWrap(SymmetricKey wrappingKey,
          +
          void initWrap​(SymmetricKey wrappingKey,
                         java.security.spec.AlgorithmParameterSpec parameters)
                  throws java.security.InvalidKeyException,
                         java.security.InvalidAlgorithmParameterException
          @@ -240,13 +281,13 @@

          initWrap

        - +
        • initWrap

          -
          void initWrap(java.security.PublicKey wrappingKey,
          +
          void initWrap​(java.security.PublicKey wrappingKey,
                         java.security.spec.AlgorithmParameterSpec parameters)
                  throws java.security.InvalidKeyException,
                         java.security.InvalidAlgorithmParameterException
          @@ -257,13 +298,13 @@

          initWrap

        - +
        • initWrap

          -
          void initWrap()
          +
          void initWrap()
                  throws java.security.InvalidKeyException,
                         java.security.InvalidAlgorithmParameterException
          For wrapping keys in plaintext.
          @@ -274,13 +315,13 @@

          initWrap

        - +
        • initUnwrap

          -
          void initUnwrap(SymmetricKey unwrappingKey,
          +
          void initUnwrap​(SymmetricKey unwrappingKey,
                           java.security.spec.AlgorithmParameterSpec parameters)
                    throws java.security.InvalidKeyException,
                           java.security.InvalidAlgorithmParameterException
          @@ -291,13 +332,13 @@

          initUnwrap

        - +
        • initUnwrap

          -
          void initUnwrap(PrivateKey unwrappingKey,
          +
          void initUnwrap​(PrivateKey unwrappingKey,
                           java.security.spec.AlgorithmParameterSpec parameters)
                    throws java.security.InvalidKeyException,
                           java.security.InvalidAlgorithmParameterException
          @@ -308,13 +349,13 @@

          initUnwrap

        - +
        • initUnwrap

          -
          void initUnwrap()
          +
          void initUnwrap()
                    throws java.security.InvalidKeyException,
                           java.security.InvalidAlgorithmParameterException
          For plaintext-wrapped keys.
          @@ -325,52 +366,52 @@

          initUnwrap

        - + - + - +
        • unwrapPrivate

          -
          PrivateKey unwrapPrivate(byte[] wrapped,
          -                         PrivateKey.Type type,
          +
          PrivateKey unwrapPrivate​(byte[] wrapped,
          +                         PrivateKey.Type type,
                                    java.security.PublicKey publicKey)
          -                  throws TokenException,
          +                  throws TokenException,
                                    java.security.InvalidKeyException,
                                    java.lang.IllegalStateException
          Unwraps a private key, creating a permanent private key object. @@ -384,21 +425,21 @@

          unwrapPrivate

          Throws:
          java.security.InvalidKeyException - If the type of the public key does not match the type of the private key to be unwrapped.
          -
          TokenException
          +
          TokenException
          java.lang.IllegalStateException
        - +
        • unwrapTemporaryPrivate

          -
          PrivateKey unwrapTemporaryPrivate(byte[] wrapped,
          -                                  PrivateKey.Type type,
          +
          PrivateKey unwrapTemporaryPrivate​(byte[] wrapped,
          +                                  PrivateKey.Type type,
                                             java.security.PublicKey publicKey)
          -                           throws TokenException,
          +                           throws TokenException,
                                             java.security.InvalidKeyException,
                                             java.lang.IllegalStateException
          Unwraps a private key, creating a temporary private key object. @@ -413,22 +454,22 @@

          unwrapTemporaryPrivate

          Throws:
          java.security.InvalidKeyException - If the type of the public key does not match the type of the private key to be unwrapped.
          -
          TokenException
          +
          TokenException
          java.lang.IllegalStateException
        - + - +
        • unwrapSymmetric

          -
          SymmetricKey unwrapSymmetric(byte[] wrapped,
          -                             SymmetricKey.Type type,
          +
          SymmetricKey unwrapSymmetric​(byte[] wrapped,
          +                             SymmetricKey.Type type,
                                        int keyLength)
          -                      throws TokenException,
          +                      throws TokenException,
                                        java.lang.IllegalStateException,
                                        java.security.InvalidAlgorithmParameterException
          Unwraps a key and allows it to be used for all operations.
          @@ -467,43 +508,43 @@

          unwrapSymmetric

          only used for variable-length keys (RC4) and non-padding algorithms. Otherwise, it can be set to anything(like 0).
          Throws:
          -
          TokenException
          +
          TokenException
          java.lang.IllegalStateException
          java.security.InvalidAlgorithmParameterException
        - + - +
        • unwrapSymmetricPerm

          -
          SymmetricKey unwrapSymmetricPerm(byte[] wrapped,
          -                                 SymmetricKey.Type type,
          +
          SymmetricKey unwrapSymmetricPerm​(byte[] wrapped,
          +                                 SymmetricKey.Type type,
                                            int keyLength)
          -                          throws TokenException,
          +                          throws TokenException,
                                            java.lang.IllegalStateException,
                                            java.security.InvalidAlgorithmParameterException
          Unwraps a key and allows it to be used for all operations.
          @@ -513,7 +554,7 @@

          unwrapSymmetricPerm

          only used for variable-length keys (RC4) and non-padding algorithms. Otherwise, it can be set to anything(like 0).
          Throws:
          -
          TokenException
          +
          TokenException
          java.lang.IllegalStateException
          java.security.InvalidAlgorithmParameterException
          @@ -521,21 +562,25 @@

          unwrapSymmetricPerm

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/NoSuchItemOnTokenException.html b/master/javadocs/org/mozilla/jss/crypto/NoSuchItemOnTokenException.html index c1d403e82..f9e63173f 100644 --- a/master/javadocs/org/mozilla/jss/crypto/NoSuchItemOnTokenException.html +++ b/master/javadocs/org/mozilla/jss/crypto/NoSuchItemOnTokenException.html @@ -1,11 +1,20 @@ - + NoSuchItemOnTokenException (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class NoSuchItemOnTokenException

    @@ -111,10 +135,9 @@

    Class NoSuchItemOnTok
  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public class NoSuchItemOnTokenException
     extends java.lang.Exception
    Thrown if a cryptographic item does not exist on the token it is @@ -130,50 +153,58 @@

    Class NoSuchItemOnTok

    @@ -188,12 +220,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -202,32 +235,32 @@

          NoSuchItemOnTokenException

          public NoSuchItemOnTokenException()
        - +
        • NoSuchItemOnTokenException

          -
          public NoSuchItemOnTokenException(java.lang.String mesg)
          +
          public NoSuchItemOnTokenException​(java.lang.String mesg)
        - +
        • NoSuchItemOnTokenException

          -
          public NoSuchItemOnTokenException(java.lang.String mesg,
          +
          public NoSuchItemOnTokenException​(java.lang.String mesg,
                                             java.lang.Throwable cause)
        - +
        • NoSuchItemOnTokenException

          -
          public NoSuchItemOnTokenException(java.lang.String mesg,
          +
          public NoSuchItemOnTokenException​(java.lang.String mesg,
                                             java.lang.Throwable cause,
                                             boolean enableSuppression,
                                             boolean writableStackTrace)
          @@ -235,21 +268,25 @@

          NoSuchItemOnTokenException

      +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/NoSuchPaddingException.html b/master/javadocs/org/mozilla/jss/crypto/NoSuchPaddingException.html index e05766d89..b4b2cb7c9 100644 --- a/master/javadocs/org/mozilla/jss/crypto/NoSuchPaddingException.html +++ b/master/javadocs/org/mozilla/jss/crypto/NoSuchPaddingException.html @@ -1,11 +1,20 @@ - + NoSuchPaddingException (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class NoSuchPaddingException

    @@ -111,10 +135,9 @@

    Class NoSuchPaddingExcept
  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public class NoSuchPaddingException
     extends java.lang.Exception
    This class is a stub for javax.crypto.NoSuchPaddingException until we @@ -130,37 +153,42 @@

    Class NoSuchPaddingExcept
    • +
      +
      +
        -
      • +
      • Method Summary

          -
        • +
        • Methods inherited from class java.lang.Throwable

          addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -168,6 +196,7 @@

          Methods inherited from class java.lang.Object

      +

    @@ -175,12 +204,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -191,21 +221,25 @@

          NoSuchPaddingException

      +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/ObjectNotFoundException.html b/master/javadocs/org/mozilla/jss/crypto/ObjectNotFoundException.html index 2c4777ef6..d7b87d353 100644 --- a/master/javadocs/org/mozilla/jss/crypto/ObjectNotFoundException.html +++ b/master/javadocs/org/mozilla/jss/crypto/ObjectNotFoundException.html @@ -1,11 +1,20 @@ - + ObjectNotFoundException (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class ObjectNotFoundException

    @@ -111,10 +135,9 @@

    Class ObjectNotFoundExce
  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public class ObjectNotFoundException
     extends java.lang.Exception
    This exception is thrown whenever something isn't implemented.
    @@ -129,50 +152,58 @@

    Class ObjectNotFoundExce
    • +
      +
      +
        -
      • +
      • Method Summary

          -
        • +
        • Methods inherited from class java.lang.Throwable

          addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -180,6 +211,7 @@

          Methods inherited from class java.lang.Object

      +

  • @@ -187,12 +219,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -201,32 +234,32 @@

          ObjectNotFoundException

          public ObjectNotFoundException()
        - +
        • ObjectNotFoundException

          -
          public ObjectNotFoundException(java.lang.String mesg)
          +
          public ObjectNotFoundException​(java.lang.String mesg)
        - +
        • ObjectNotFoundException

          -
          public ObjectNotFoundException(java.lang.String mesg,
          +
          public ObjectNotFoundException​(java.lang.String mesg,
                                          java.lang.Throwable cause)
        - +
        • ObjectNotFoundException

          -
          public ObjectNotFoundException(java.lang.String mesg,
          +
          public ObjectNotFoundException​(java.lang.String mesg,
                                          java.lang.Throwable cause,
                                          boolean enableSuppression,
                                          boolean writableStackTrace)
          @@ -234,21 +267,25 @@

          ObjectNotFoundException

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/PBEAlgorithm.html b/master/javadocs/org/mozilla/jss/crypto/PBEAlgorithm.html index 91c65ad33..734af68c0 100644 --- a/master/javadocs/org/mozilla/jss/crypto/PBEAlgorithm.html +++ b/master/javadocs/org/mozilla/jss/crypto/PBEAlgorithm.html @@ -1,11 +1,20 @@ - + PBEAlgorithm (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class PBEAlgorithm

    @@ -98,10 +122,10 @@

    Class PBEAlgorithm

  • java.lang.Object
  • @@ -295,160 +343,165 @@

    Methods inherited from class java.lang.Object

    • +
      +
      +
      +
      +
        -
      • +
      • Method Detail

        - +
        • getEncryptionAlg

          -
          public EncryptionAlgorithm getEncryptionAlg()
          +
          public EncryptionAlgorithm getEncryptionAlg()
          Returns the EncryptionAlgorithm that should be used with keys generated with this PBEAlgorithm. For example, PBE_MD2_DES_CBC.getEncryptionAlg() returns EncryptionAlgorithm.DES_CBC.
        - +
        • getSaltLength

          -
          public int getSaltLength()
          +
          public int getSaltLength()
          Returns the number of bytes of salt that should be supplied when generating keys with this algorithm. @@ -461,21 +514,25 @@

          getSaltLength

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/PBEKeyGenParams.html b/master/javadocs/org/mozilla/jss/crypto/PBEKeyGenParams.html index 6ed79b568..9a1150749 100644 --- a/master/javadocs/org/mozilla/jss/crypto/PBEKeyGenParams.html +++ b/master/javadocs/org/mozilla/jss/crypto/PBEKeyGenParams.html @@ -1,11 +1,20 @@ - + PBEKeyGenParams (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class PBEKeyGenParams

    @@ -107,10 +131,9 @@

    Class PBEKeyGenParams

  • All Implemented Interfaces:
    -
    java.security.spec.AlgorithmParameterSpec, java.security.spec.KeySpec
    +
    java.security.spec.AlgorithmParameterSpec, java.security.spec.KeySpec

    -
    public class PBEKeyGenParams
     extends java.lang.Object
     implements java.security.spec.AlgorithmParameterSpec, java.security.spec.KeySpec
    @@ -121,97 +144,111 @@

    Class PBEKeyGenParams

  • @@ -226,18 +264,19 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • PBEKeyGenParams

          -
          public PBEKeyGenParams(Password pass,
          +
          public PBEKeyGenParams​(Password pass,
                                  byte[] salt,
                                  int iterations)
          Creates PBE parameters.
          @@ -253,13 +292,13 @@

          PBEKeyGenParams

        - +
        • PBEKeyGenParams

          -
          public PBEKeyGenParams(char[] pass,
          +
          public PBEKeyGenParams​(char[] pass,
                                  byte[] salt,
                                  int iterations)
          Creates PBE parameters using default encryption algorithm @@ -276,16 +315,16 @@

          PBEKeyGenParams

        - +
        • PBEKeyGenParams

          -
          public PBEKeyGenParams(char[] pass,
          +
          public PBEKeyGenParams​(char[] pass,
                                  byte[] salt,
                                  int iterations,
          -                       EncryptionAlgorithm encAlg)
          + EncryptionAlgorithm encAlg)
          Creates PBE parameters using default encryption algorithm (DES3_EDE3_CBC).
          @@ -304,74 +343,78 @@

          PBEKeyGenParams

      +
      +
        -
      • +
      • Method Detail

        - +
        • getPassword

          -
          public Password getPassword()
          +
          public Password getPassword()
          Returns a reference to the password, not a copy.
        - +
        • getSalt

          -
          public byte[] getSalt()
          +
          public byte[] getSalt()
          Returns a reference to the salt.
        - +
        • getIterations

          -
          public int getIterations()
          +
          public int getIterations()
          Returns the iteration count.
        - +
        • getEncryptionAlgorithm

          -
          public EncryptionAlgorithm getEncryptionAlgorithm()
          +
          public EncryptionAlgorithm getEncryptionAlgorithm()
          The encryption algorithm is used with SOME PBE algorithms for determining the KDF output length.
        - +
        • clear

          -
          public void clear()
          +
          public void clear()
          Clears the password. This should be called when this object is no longer needed so the password is not left around in memory.
        - +
        • finalize

          -
          @Deprecated
          +
          @Deprecated
           protected void finalize()
          -                             throws java.lang.Throwable
          -
          Deprecated. finalize() in Object has been deprecated
          + throws java.lang.Throwable
          +
          Deprecated. +
          finalize() in Object has been deprecated
          +
          Overrides:
          finalize in class java.lang.Object
          @@ -382,21 +425,25 @@

          finalize

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/PKCS11Algorithm.html b/master/javadocs/org/mozilla/jss/crypto/PKCS11Algorithm.html index 5a31c1dcc..8d1c4a158 100644 --- a/master/javadocs/org/mozilla/jss/crypto/PKCS11Algorithm.html +++ b/master/javadocs/org/mozilla/jss/crypto/PKCS11Algorithm.html @@ -1,11 +1,20 @@ - + PKCS11Algorithm (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Enum PKCS11Algorithm

    @@ -98,7 +122,7 @@

    Enum PKCS11Algorithm

  • java.lang.Object
  • @@ -125,157 +148,197 @@

    Enum PKCS11Algorithm

    @@ -290,289 +354,292 @@

    Methods inherited from class java.lang.Object

    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/PQGParamGenException.html b/master/javadocs/org/mozilla/jss/crypto/PQGParamGenException.html index 72a6e7064..4a8817898 100644 --- a/master/javadocs/org/mozilla/jss/crypto/PQGParamGenException.html +++ b/master/javadocs/org/mozilla/jss/crypto/PQGParamGenException.html @@ -1,11 +1,20 @@ - + PQGParamGenException (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class PQGParamGenException

    @@ -111,10 +135,9 @@

    Class PQGParamGenException<
  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public class PQGParamGenException
     extends java.lang.Exception
    @@ -128,50 +151,58 @@

    Class PQGParamGenException<
    • +
      +
      +
        -
      • +
      • Method Summary

          -
        • +
        • Methods inherited from class java.lang.Throwable

          addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -179,6 +210,7 @@

          Methods inherited from class java.lang.Object

      +

  • @@ -186,12 +218,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -200,32 +233,32 @@

          PQGParamGenException

          public PQGParamGenException()
        - +
        • PQGParamGenException

          -
          public PQGParamGenException(java.lang.String mesg)
          +
          public PQGParamGenException​(java.lang.String mesg)
        - +
        • PQGParamGenException

          -
          public PQGParamGenException(java.lang.String mesg,
          +
          public PQGParamGenException​(java.lang.String mesg,
                                       java.lang.Throwable cause)
        - +
        • PQGParamGenException

          -
          public PQGParamGenException(java.lang.String mesg,
          +
          public PQGParamGenException​(java.lang.String mesg,
                                       java.lang.Throwable cause,
                                       boolean enableSuppression,
                                       boolean writableStackTrace)
          @@ -233,21 +266,25 @@

          PQGParamGenException

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/PQGParams.html b/master/javadocs/org/mozilla/jss/crypto/PQGParams.html index 6e1feb6aa..0dd8f2876 100644 --- a/master/javadocs/org/mozilla/jss/crypto/PQGParams.html +++ b/master/javadocs/org/mozilla/jss/crypto/PQGParams.html @@ -1,11 +1,20 @@ - + PQGParams (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class PQGParams

    @@ -112,10 +136,9 @@

    Class PQGParams

  • All Implemented Interfaces:
    -
    java.security.interfaces.DSAParams, java.security.spec.AlgorithmParameterSpec
    +
    java.security.interfaces.DSAParams, java.security.spec.AlgorithmParameterSpec

    -
    public class PQGParams
     extends java.security.spec.DSAParameterSpec
    PQG parameters for DSA key generation, along with the seed, counter, @@ -136,23 +159,26 @@

    Class PQGParams

    • +
        -
      • +
      • Constructor Summary

        - +
        - + + - + @@ -160,65 +186,75 @@

        Constructor Summary

        Constructors 
        Constructor and DescriptionConstructorDescription
        PQGParams(java.math.BigInteger P, +PQGParams​(java.math.BigInteger P, java.math.BigInteger Q, java.math.BigInteger G, java.math.BigInteger seed, int counter, - java.math.BigInteger H) + java.math.BigInteger H)
        Creates a PQGParams object from a set of pre-computed DSA parameters.
      +
      +
      +
    @@ -233,18 +270,19 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • PQGParams

          -
          public PQGParams(java.math.BigInteger P,
          +
          public PQGParams​(java.math.BigInteger P,
                            java.math.BigInteger Q,
                            java.math.BigInteger G,
                            java.math.BigInteger seed,
          @@ -265,21 +303,23 @@ 

          PQGParams

      +
      +
        -
      • +
      • Method Detail

        - + - + - +
        • BigIntegerToUnsignedByteArray

          -
          public static byte[] BigIntegerToUnsignedByteArray(java.math.BigInteger big)
          +
          public static byte[] BigIntegerToUnsignedByteArray​(java.math.BigInteger big)
          Produces an unsigned byte-array representation of a BigInteger.

          BigInteger adds an extra sign bit to the beginning of its byte @@ -371,13 +411,13 @@

          BigIntegerToUnsignedByteArray

        - +
        • paramsAreValid

          -
          public boolean paramsAreValid()
          +
          public boolean paramsAreValid()
          Verifies the PQG parameters using the seed, counter, and H values.
          Returns:
          @@ -386,39 +426,39 @@

          paramsAreValid

        - +
        • getSeed

          -
          public java.math.BigInteger getSeed()
          +
          public java.math.BigInteger getSeed()
          Returns:
          The Seed used to generate P, Q, and G.
        - +
        • getCounter

          -
          public int getCounter()
          +
          public int getCounter()
          Returns:
          The Counter (C) used to generate P, Q, and G.
        - +
        • getH

          -
          public java.math.BigInteger getH()
          +
          public java.math.BigInteger getH()
          Returns:
          The H value used to generate P, Q, and G.
          @@ -427,21 +467,25 @@

          getH

      +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/Policy.html b/master/javadocs/org/mozilla/jss/crypto/Policy.html index 725e1ba8f..2c05e4e0e 100644 --- a/master/javadocs/org/mozilla/jss/crypto/Policy.html +++ b/master/javadocs/org/mozilla/jss/crypto/Policy.html @@ -1,11 +1,20 @@ - + Policy (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class Policy

    @@ -100,7 +124,6 @@

    Class Policy

    - +
      @@ -243,7 +284,7 @@

      RSA_MINIMUM_KEY_SIZE

      Minimum RSA key length in bits permitted by local policy.
    - +
      @@ -253,7 +294,7 @@

      RSA_MINIMUM_PUBLIC_EXPONENT

      Minimum RSA public exponent allowed by JSS.
    - +
      @@ -263,7 +304,7 @@

      DH_MINIMUM_KEY_SIZE

      Minimum DH key length in bits permitted by local policy.
    - +
      @@ -273,42 +314,44 @@

      DSA_MINIMUM_KEY_SIZE

      Minimum DSA key length in bits permitted by local policy.
    - + - +
    • TLS_MINIMUM_VERSION

      -
      public static SSLVersion TLS_MINIMUM_VERSION
      +
      public static SSLVersion TLS_MINIMUM_VERSION
    - +
    • TLS_MAXIMUM_VERSION

      -
      public static SSLVersion TLS_MAXIMUM_VERSION
      +
      public static SSLVersion TLS_MAXIMUM_VERSION
    + +
      -
    • +
    • Constructor Detail

      - +
        @@ -319,21 +362,25 @@

        Policy

    +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/PrivateKey.Type.html b/master/javadocs/org/mozilla/jss/crypto/PrivateKey.Type.html index 864a4ec97..2a26627e1 100644 --- a/master/javadocs/org/mozilla/jss/crypto/PrivateKey.Type.html +++ b/master/javadocs/org/mozilla/jss/crypto/PrivateKey.Type.html @@ -1,11 +1,20 @@ - + PrivateKey.Type (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class PrivateKey.Type

    @@ -107,10 +131,9 @@

    Class PrivateKey.Type

  • Enclosing interface:
    -
    PrivateKey
    +
    PrivateKey

    -
    public static final class PrivateKey.Type
     extends java.lang.Object
  • @@ -120,74 +143,88 @@

    Class PrivateKey.Type

    @@ -202,71 +240,74 @@

    Methods inherited from class java.lang.Object

    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/PrivateKey.html b/master/javadocs/org/mozilla/jss/crypto/PrivateKey.html index e1af222d8..2cfcf2097 100644 --- a/master/javadocs/org/mozilla/jss/crypto/PrivateKey.html +++ b/master/javadocs/org/mozilla/jss/crypto/PrivateKey.html @@ -1,11 +1,20 @@ - + PrivateKey (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Interface PrivateKey

    @@ -99,10 +123,13 @@

    Interface PrivateKey

  • All Superinterfaces:
    -
    javax.security.auth.Destroyable, java.security.Key, java.security.PrivateKey, java.io.Serializable
    +
    javax.security.auth.Destroyable, java.security.Key, java.security.PrivateKey, java.io.Serializable
    +
    +
    +
    All Known Implementing Classes:
    +
    PK11DSAPrivateKey, PK11ECPrivateKey, PK11PrivKey, PK11RSAPrivateKey

    -
    public interface PrivateKey
     extends java.security.PrivateKey
    Private Keys used by JSS. All the private keys handled by JSS are @@ -114,55 +141,65 @@

    Interface PrivateKey

    @@ -230,101 +275,104 @@

    Methods inherited from interface javax.security.auth.Destroyable

  • +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/RSAParameterSpec.html b/master/javadocs/org/mozilla/jss/crypto/RSAParameterSpec.html index ed6c30f4c..a216f77bd 100644 --- a/master/javadocs/org/mozilla/jss/crypto/RSAParameterSpec.html +++ b/master/javadocs/org/mozilla/jss/crypto/RSAParameterSpec.html @@ -1,11 +1,20 @@ - + RSAParameterSpec (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class RSAParameterSpec

    @@ -112,10 +136,9 @@

    Class RSAParameterSpec

  • All Implemented Interfaces:
    -
    java.security.spec.AlgorithmParameterSpec
    +
    java.security.spec.AlgorithmParameterSpec

    -
    public class RSAParameterSpec
     extends java.security.spec.RSAKeyGenParameterSpec
    This class specifies the parameters used for generating an RSA key pair.
    @@ -126,13 +149,14 @@

    Class RSAParameterSpec

    • +
        -
      • +
      • Field Summary

          -
        • +
        • Fields inherited from class java.security.spec.RSAKeyGenParameterSpec

          @@ -140,54 +164,62 @@

          Fields inherited from class java.security.spec.RSAKeyGenParameterSpec

        +
      +
        -
      • +
      • Constructor Summary

        - +
        - + + - +
        Constructors 
        Constructor and DescriptionConstructorDescription
        RSAParameterSpec(int keySize, - java.math.BigInteger publicExponent) +RSAParameterSpec​(int keySize, + java.math.BigInteger publicExponent)
        Creates a new RSAParameterSpec with the specified parameter values.
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        intgetKeySize() +getKeySize()
        Returns the size of the modulus in bits.
          -
        • +
        • Methods inherited from class java.security.spec.RSAKeyGenParameterSpec

          getKeyParams, getKeysize, getPublicExponent
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -195,6 +227,7 @@

          Methods inherited from class java.lang.Object

      +
  • @@ -202,18 +235,19 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • RSAParameterSpec

          -
          public RSAParameterSpec(int keySize,
          +
          public RSAParameterSpec​(int keySize,
                                   java.math.BigInteger publicExponent)
          Creates a new RSAParameterSpec with the specified parameter values.
          @@ -226,39 +260,45 @@

          RSAParameterSpec

      +
      +
        -
      • +
      • Method Detail

        - +
        • getKeySize

          -
          public int getKeySize()
          +
          public int getKeySize()
          Returns the size of the modulus in bits.
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/SecretDecoderRing.html b/master/javadocs/org/mozilla/jss/crypto/SecretDecoderRing.html index ad43496ea..51916ec0f 100644 --- a/master/javadocs/org/mozilla/jss/crypto/SecretDecoderRing.html +++ b/master/javadocs/org/mozilla/jss/crypto/SecretDecoderRing.html @@ -1,11 +1,20 @@ - + SecretDecoderRing (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class SecretDecoderRing

    @@ -106,7 +130,6 @@

    Class SecretDecoderRing


    • -
      public class SecretDecoderRing
       extends java.lang.Object
      This is a special-purpose interface for NSS. It is used for encrypting @@ -137,84 +160,98 @@

      Class SecretDecoderRing

      • +
          -
        • +
        • Field Summary

          - +
          - + + - + +
          Fields 
          Modifier and TypeField and DescriptionFieldDescription
          static java.lang.StringencodingFormat encodingFormat 
        +
        +
        +
        +
          -
        • +
        • Method Summary

          - +
          - + + - + - + - + - +
          All Methods Instance Methods Concrete Methods 
          Modifier and TypeMethod and DescriptionMethodDescription
          byte[]decrypt(byte[] ciphertext) +decrypt​(byte[] ciphertext)
          Decrypts the given ciphertext with the Secret Decoder Ring key stored in the NSS key database.
          java.lang.StringdecryptToString(byte[] ciphertext) +decryptToString​(byte[] ciphertext)
          Decrypts the given ciphertext with the Secret Decoder Ring key stored in the NSS key database, returning the original plaintext string.
          byte[]encrypt(byte[] plaintext) +encrypt​(byte[] plaintext)
          Encrypts the given plaintext with the Secret Decoder Ring key stored in the NSS key database.
          byte[]encrypt(java.lang.String plaintext) +encrypt​(java.lang.String plaintext)
          Encrypts the given plaintext string with the Secret Decoder Ring key stored in the NSS key database.
            -
          • +
          • Methods inherited from class java.lang.Object

            @@ -222,6 +259,7 @@

            Methods inherited from class java.lang.Object

        +
      @@ -229,12 +267,13 @@

      Methods inherited from class java.lang.Object

      • +
          -
        • +
        • Field Detail

          - +
            @@ -249,13 +288,15 @@

            encodingFormat

        +
        +
          -
        • +
        • Constructor Detail

          - +
            @@ -266,93 +307,99 @@

            SecretDecoderRing

        +
        +
          -
        • +
        • Method Detail

          - +
          • encrypt

            -
            public byte[] encrypt(byte[] plaintext)
            -               throws TokenException
            +
            public byte[] encrypt​(byte[] plaintext)
            +               throws TokenException
            Encrypts the given plaintext with the Secret Decoder Ring key stored in the NSS key database.
            Throws:
            -
            TokenException
            +
            TokenException
          - +
          • encrypt

            -
            public byte[] encrypt(java.lang.String plaintext)
            -               throws TokenException
            +
            public byte[] encrypt​(java.lang.String plaintext)
            +               throws TokenException
            Encrypts the given plaintext string with the Secret Decoder Ring key stored in the NSS key database.
            Throws:
            -
            TokenException
            +
            TokenException
          - +
          • decrypt

            -
            public byte[] decrypt(byte[] ciphertext)
            -               throws TokenException
            +
            public byte[] decrypt​(byte[] ciphertext)
            +               throws TokenException
            Decrypts the given ciphertext with the Secret Decoder Ring key stored in the NSS key database.
            Throws:
            -
            TokenException
            +
            TokenException
          - +
          • decryptToString

            -
            public java.lang.String decryptToString(byte[] ciphertext)
            -                                 throws TokenException
            +
            public java.lang.String decryptToString​(byte[] ciphertext)
            +                                 throws TokenException
            Decrypts the given ciphertext with the Secret Decoder Ring key stored in the NSS key database, returning the original plaintext string.
            Throws:
            -
            TokenException
            +
            TokenException
        +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/SecretKeyFacade.html b/master/javadocs/org/mozilla/jss/crypto/SecretKeyFacade.html index 3104d72e6..540afa48e 100644 --- a/master/javadocs/org/mozilla/jss/crypto/SecretKeyFacade.html +++ b/master/javadocs/org/mozilla/jss/crypto/SecretKeyFacade.html @@ -1,11 +1,20 @@ - + SecretKeyFacade (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class SecretKeyFacade

    @@ -107,10 +131,9 @@

    Class SecretKeyFacade

  • All Implemented Interfaces:
    -
    java.io.Serializable, java.security.Key, javax.crypto.SecretKey, javax.security.auth.Destroyable
    +
    java.io.Serializable, java.security.Key, javax.crypto.SecretKey, javax.security.auth.Destroyable

    -
    public class SecretKeyFacade
     extends java.lang.Object
     implements javax.crypto.SecretKey
    @@ -125,75 +148,88 @@

    Class SecretKeyFacade

  • @@ -208,78 +245,83 @@

    Methods inherited from interface javax.security.auth.Destroyable

    • +
      +
      +
      +
      +
        -
      • +
      • Method Detail

        - +
        • getAlgorithm

          -
          public java.lang.String getAlgorithm()
          +
          public java.lang.String getAlgorithm()
          Specified by:
          getAlgorithm in interface java.security.Key
        - +
        • getEncoded

          -
          public byte[] getEncoded()
          +
          public byte[] getEncoded()
          Specified by:
          getEncoded in interface java.security.Key
        - +
        • getFormat

          -
          public java.lang.String getFormat()
          +
          public java.lang.String getFormat()
          Specified by:
          getFormat in interface java.security.Key
          @@ -288,21 +330,25 @@

          getFormat

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/ShortBufferException.html b/master/javadocs/org/mozilla/jss/crypto/ShortBufferException.html index e2fc54a7b..7eadbb55d 100644 --- a/master/javadocs/org/mozilla/jss/crypto/ShortBufferException.html +++ b/master/javadocs/org/mozilla/jss/crypto/ShortBufferException.html @@ -1,11 +1,20 @@ - + ShortBufferException (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class ShortBufferException

    @@ -111,10 +135,9 @@

    Class ShortBufferException<
  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public class ShortBufferException
     extends java.lang.Exception
    This class is a placeholder for javax.crypto.ShortBufferException until @@ -130,37 +153,42 @@

    Class ShortBufferException<
    • +
      +
      +
        -
      • +
      • Method Summary

          -
        • +
        • Methods inherited from class java.lang.Throwable

          addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -168,6 +196,7 @@

          Methods inherited from class java.lang.Object

      +

    @@ -175,12 +204,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -191,21 +221,25 @@

          ShortBufferException

      +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/Signature.html b/master/javadocs/org/mozilla/jss/crypto/Signature.html index 82aa8cfa5..5b5db0f2e 100644 --- a/master/javadocs/org/mozilla/jss/crypto/Signature.html +++ b/master/javadocs/org/mozilla/jss/crypto/Signature.html @@ -1,11 +1,20 @@ - + Signature (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class Signature

    @@ -106,14 +130,13 @@

    Class Signature

    @@ -122,145 +145,169 @@

    Class Signature

    • +
      +
      +
        -
      • +
      • Constructor Summary

        - +
        - + + - + +
        Constructors 
        ModifierConstructor and DescriptionConstructorDescription
        protected Signature() Signature() 
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - + - + - - + + - + - + - + - + - + - + - + - + - + - +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        protected java.lang.Objectclone() +clone()
        Cloning is not supported yet
        java.lang.StringgetAlgorithm() +getAlgorithm()
        Returns the name of the algorithm to be used for signing.
        SignatureAlgorithmgetAlgorithmID() +SignatureAlgorithmgetAlgorithmID()
        Returns the algorithm to be used for signing.
        java.security.ProvidergetProvider() +getProvider()
        This is not supported yet.
        voidinitSign(PrivateKey privateKey) +initSign​(PrivateKey privateKey)
        Initialize the signature context for signing.
        voidinitVerify(java.security.PublicKey publicKey) +initVerify​(java.security.PublicKey publicKey)
        Initialize the signature context for verifying.
        voidsetParameter(java.security.spec.AlgorithmParameterSpec params) +setParameter​(java.security.spec.AlgorithmParameterSpec params)
        Set parameters for the signing algorithm.
        byte[]sign() +sign()
        Finish a signing operation and return the signature.
        intsign(byte[] outbuf, +sign​(byte[] outbuf, int offset, - int len) + int len)
        Finish a signing operation and store the signature in the provided buffer.
        voidupdate(byte b) +update​(byte b)
        Provide more data for a signature or verification operation.
        voidupdate(byte[] data) +update​(byte[] data)
        Provide more data for a signature or verification operation.
        voidupdate(byte[] data, +update​(byte[] data, int off, - int len) + int len)
        Provide more data for a signature or verification operation.
        booleanverify(byte[] signature) +verify​(byte[] signature)
        Finish a verification operation.
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -268,6 +315,7 @@

          Methods inherited from class java.lang.Object

      +
    @@ -275,38 +323,41 @@

    Methods inherited from class java.lang.Object

    • +
      +
      +
        -
      • +
      • Constructor Detail

        - +
          @@ -317,31 +368,33 @@

          Signature

      +
      +
        -
      • +
      • Method Detail

        - +
        • getProvider

          -
          public java.security.Provider getProvider()
          +
          public java.security.Provider getProvider()
          This is not supported yet.
        - +
        • initSign

          -
          public void initSign(PrivateKey privateKey)
          +
          public void initSign​(PrivateKey privateKey)
                         throws java.security.InvalidKeyException,
          -                     TokenException
          + TokenException
          Initialize the signature context for signing.
          Parameters:
          @@ -350,19 +403,19 @@

          initSign

          java.security.InvalidKeyException - If the key is the wrong type for the algorithm or does not exist on the token of this signature context.
          -
          TokenException - If an error occurred on the token.
          +
          TokenException - If an error occurred on the token.
        - +
        • initVerify

          -
          public void initVerify(java.security.PublicKey publicKey)
          +
          public void initVerify​(java.security.PublicKey publicKey)
                           throws java.security.InvalidKeyException,
          -                       TokenException
          + TokenException
          Initialize the signature context for verifying.
          Parameters:
          @@ -370,19 +423,19 @@

          initVerify

          Throws:
          java.security.InvalidKeyException - If the key is the wrong type for the algorithm.
          -
          TokenException - If an error occurs on the token.
          +
          TokenException - If an error occurs on the token.
        - +
        • setParameter

          -
          public void setParameter(java.security.spec.AlgorithmParameterSpec params)
          +
          public void setParameter​(java.security.spec.AlgorithmParameterSpec params)
                             throws java.security.InvalidAlgorithmParameterException,
          -                         TokenException
          + TokenException
          Set parameters for the signing algorithm. This is currently not supported or needed.
          @@ -391,19 +444,19 @@

          setParameter

          Throws:
          java.security.InvalidAlgorithmParameterException - If there is something wrong with the parameters.
          -
          TokenException - If an error occurs on the token.
          +
          TokenException - If an error occurs on the token.
        - +
        • sign

          -
          public byte[] sign()
          +
          public byte[] sign()
                       throws java.security.SignatureException,
          -                   TokenException
          + TokenException
          Finish a signing operation and return the signature.
          Returns:
          @@ -411,21 +464,21 @@

          sign

          Throws:
          java.security.SignatureException - If an error occurs with the signing operation.
          -
          TokenException - If an error occurs on the token.
          +
          TokenException - If an error occurs on the token.
        - +
        • sign

          -
          public int sign(byte[] outbuf,
          +
          public int sign​(byte[] outbuf,
                           int offset,
                           int len)
                    throws java.security.SignatureException,
          -                TokenException
          + TokenException
          Finish a signing operation and store the signature in the provided buffer.
          @@ -438,19 +491,19 @@

          sign

          Throws:
          java.security.SignatureException - If an error occurred while signing, or len was insufficient to contain the signature.
          -
          TokenException - If an error occurred on the token.
          +
          TokenException - If an error occurred on the token.
        - +
        • verify

          -
          public boolean verify(byte[] signature)
          +
          public boolean verify​(byte[] signature)
                          throws java.security.SignatureException,
          -                      TokenException
          + TokenException
          Finish a verification operation.
          Parameters:
          @@ -460,19 +513,19 @@

          verify

          Throws:
          java.security.SignatureException - If an error occurred with the verification operation
          -
          TokenException - If an error occurred on the token.
          +
          TokenException - If an error occurred on the token.
        - +
        • update

          -
          public void update(byte b)
          +
          public void update​(byte b)
                       throws java.security.SignatureException,
          -                   TokenException
          + TokenException
          Provide more data for a signature or verification operation.
          Parameters:
          @@ -480,19 +533,19 @@

          update

          Throws:
          java.security.SignatureException - If an error occurs in the signature/verifcation.
          -
          TokenException - If an error occurs on the token.
          +
          TokenException - If an error occurs on the token.
        - +
        • update

          -
          public void update(byte[] data)
          +
          public void update​(byte[] data)
                       throws java.security.SignatureException,
          -                   TokenException
          + TokenException
          Provide more data for a signature or verification operation.
          Parameters:
          @@ -500,21 +553,21 @@

          update

          Throws:
          java.security.SignatureException - If an error occurs in the signature/verifcation.
          -
          TokenException - If an error occurs on the token.
          +
          TokenException - If an error occurs on the token.
        - +
        • update

          -
          public void update(byte[] data,
          +
          public void update​(byte[] data,
                              int off,
                              int len)
                       throws java.security.SignatureException,
          -                   TokenException
          + TokenException
          Provide more data for a signature or verification operation.
          Parameters:
          @@ -524,37 +577,37 @@

          update

          Throws:
          java.security.SignatureException - If an error occurs in the signature/verification.
          -
          TokenException - If an error occurs on the token.
          +
          TokenException - If an error occurs on the token.
        - +
        • getAlgorithm

          -
          public java.lang.String getAlgorithm()
          +
          public java.lang.String getAlgorithm()
          Returns the name of the algorithm to be used for signing.
        - + - +
        • clone

          -
          protected java.lang.Object clone()
          +
          protected java.lang.Object clone()
                                     throws java.lang.CloneNotSupportedException
          Cloning is not supported yet
          @@ -567,21 +620,25 @@

          clone

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/SignatureAlgorithm.html b/master/javadocs/org/mozilla/jss/crypto/SignatureAlgorithm.html index 8b21079ed..d969c90b3 100644 --- a/master/javadocs/org/mozilla/jss/crypto/SignatureAlgorithm.html +++ b/master/javadocs/org/mozilla/jss/crypto/SignatureAlgorithm.html @@ -1,11 +1,20 @@ - + SignatureAlgorithm (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class SignatureAlgorithm

    @@ -98,7 +122,7 @@

    Class SignatureAlgorithm

  • java.lang.Object
  • @@ -307,217 +363,222 @@

    Methods inherited from class java.lang.Object

    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/SignatureSpi.html b/master/javadocs/org/mozilla/jss/crypto/SignatureSpi.html index 552b34064..7f942109e 100644 --- a/master/javadocs/org/mozilla/jss/crypto/SignatureSpi.html +++ b/master/javadocs/org/mozilla/jss/crypto/SignatureSpi.html @@ -1,11 +1,20 @@ - + SignatureSpi (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class SignatureSpi

    @@ -107,10 +131,9 @@

    Class SignatureSpi

  • Direct Known Subclasses:
    -
    PK11Signature
    +
    PK11Signature

    -
    public abstract class SignatureSpi
     extends java.lang.Object
    You don't need to use this unless you are hacking JSS.
    @@ -121,78 +144,93 @@

    Class SignatureSpi

  • @@ -207,12 +246,13 @@

    Methods inherited from class java.lang.Object

    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/SymmetricKey.NotExtractableException.html b/master/javadocs/org/mozilla/jss/crypto/SymmetricKey.NotExtractableException.html index da528506c..135b00af7 100644 --- a/master/javadocs/org/mozilla/jss/crypto/SymmetricKey.NotExtractableException.html +++ b/master/javadocs/org/mozilla/jss/crypto/SymmetricKey.NotExtractableException.html @@ -1,11 +1,20 @@ - + SymmetricKey.NotExtractableException (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class SymmetricKey.NotExtractableException

    @@ -111,14 +135,13 @@

    Class Symme
  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable
    Enclosing interface:
    -
    SymmetricKey
    +
    SymmetricKey

    -
    public static class SymmetricKey.NotExtractableException
     extends java.lang.Exception
    @@ -132,40 +155,46 @@

    Class Symme
    • +
      +
      +
        -
      • +
      • Method Summary

          -
        • +
        • Methods inherited from class java.lang.Throwable

          addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -173,6 +202,7 @@

          Methods inherited from class java.lang.Object

      +

  • @@ -180,12 +210,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -194,32 +225,36 @@

          NotExtractableException

          public NotExtractableException()
        - +
        • NotExtractableException

          -
          public NotExtractableException(java.lang.String mesg)
          +
          public NotExtractableException​(java.lang.String mesg)
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/SymmetricKey.Type.html b/master/javadocs/org/mozilla/jss/crypto/SymmetricKey.Type.html index 24e97e871..3a6b3c972 100644 --- a/master/javadocs/org/mozilla/jss/crypto/SymmetricKey.Type.html +++ b/master/javadocs/org/mozilla/jss/crypto/SymmetricKey.Type.html @@ -1,11 +1,20 @@ - + SymmetricKey.Type (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class SymmetricKey.Type

    @@ -107,10 +131,9 @@

    Class SymmetricKey.Type

  • Enclosing interface:
    -
    SymmetricKey
    +
    SymmetricKey

    -
    public static final class SymmetricKey.Type
     extends java.lang.Object
  • @@ -120,107 +143,130 @@

    Class SymmetricKey.Type

    @@ -235,156 +282,159 @@

    Methods inherited from class java.lang.Object

    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/SymmetricKey.Usage.html b/master/javadocs/org/mozilla/jss/crypto/SymmetricKey.Usage.html index ef037663e..2eb915863 100644 --- a/master/javadocs/org/mozilla/jss/crypto/SymmetricKey.Usage.html +++ b/master/javadocs/org/mozilla/jss/crypto/SymmetricKey.Usage.html @@ -1,11 +1,20 @@ - + SymmetricKey.Usage (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class SymmetricKey.Usage

    @@ -107,10 +131,9 @@

    Class SymmetricKey.Usage

  • Enclosing interface:
    -
    SymmetricKey
    +
    SymmetricKey

    -
    public static final class SymmetricKey.Usage
     extends java.lang.Object
    In PKCS #11, each key can be marked with the operations it will @@ -127,67 +150,80 @@

    Class SymmetricKey.Usage

    @@ -202,108 +239,115 @@

    Methods inherited from class java.lang.Object

  • +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/SymmetricKey.html b/master/javadocs/org/mozilla/jss/crypto/SymmetricKey.html index 789cbab98..3850928cc 100644 --- a/master/javadocs/org/mozilla/jss/crypto/SymmetricKey.html +++ b/master/javadocs/org/mozilla/jss/crypto/SymmetricKey.html @@ -1,11 +1,20 @@ - + SymmetricKey (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Interface SymmetricKey

    @@ -99,14 +123,13 @@

    Interface SymmetricKey

  • All Superinterfaces:
    -
    javax.security.auth.Destroyable, java.security.Key, javax.crypto.SecretKey, java.io.Serializable
    +
    javax.security.auth.Destroyable, java.security.Key, javax.crypto.SecretKey, java.io.Serializable
    All Known Implementing Classes:
    -
    PK11SymKey
    +
    PK11SymKey

    -
    public interface SymmetricKey
     extends javax.crypto.SecretKey
  • @@ -116,28 +139,33 @@

    Interface SymmetricKey

    @@ -276,233 +331,240 @@

    Methods inherited from interface javax.security.auth.Destroyable

    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/SymmetricKeyDeriver.html b/master/javadocs/org/mozilla/jss/crypto/SymmetricKeyDeriver.html index 746ba0f82..e462177ba 100644 --- a/master/javadocs/org/mozilla/jss/crypto/SymmetricKeyDeriver.html +++ b/master/javadocs/org/mozilla/jss/crypto/SymmetricKeyDeriver.html @@ -1,11 +1,20 @@ - + SymmetricKeyDeriver (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Interface SymmetricKeyDeriver

    @@ -99,10 +123,9 @@

    Interface SymmetricKeyDe
  • All Known Implementing Classes:
    -
    PK11SymmetricKeyDeriver
    +
    PK11SymmetricKeyDeriver

    -
    public interface SymmetricKeyDeriver
  • @@ -111,45 +134,51 @@

    Interface SymmetricKeyDe

    @@ -157,18 +186,19 @@

    Method Summary

    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/TokenCertificate.html b/master/javadocs/org/mozilla/jss/crypto/TokenCertificate.html index b40a40469..b5cec061a 100644 --- a/master/javadocs/org/mozilla/jss/crypto/TokenCertificate.html +++ b/master/javadocs/org/mozilla/jss/crypto/TokenCertificate.html @@ -1,11 +1,20 @@ - + TokenCertificate (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Interface TokenCertificate

    @@ -99,16 +123,15 @@

    Interface TokenCertificate<
  • All Superinterfaces:
    -
    X509Certificate
    +
    X509Certificate
    All Known Implementing Classes:
    -
    PK11InternalTokenCert, PK11TokenCert
    +
    PK11InternalTokenCert, PK11TokenCert

    -
    public interface TokenCertificate
    -extends X509Certificate
    +extends X509Certificate
    An X509 Certificate that lives on a PKCS #11 token. Many of the X509Certificates returned by JSS calls are actually TokenCertificates. @@ -121,39 +144,44 @@

    Interface TokenCertificate<

    @@ -161,33 +189,34 @@

    Methods inherited from interface org.mozilla.jss.crypto.
  • +
      -
    • +
    • Method Detail

      - + - +
      • getOwningToken

        -
        CryptoToken getOwningToken()
        +
        CryptoToken getOwningToken()
        Returns the CryptoToken that owns this certificate. Cryptographic operations with this key may only be performed on the token that owns the key.
        @@ -195,21 +224,25 @@

        getOwningToken

    +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/TokenException.html b/master/javadocs/org/mozilla/jss/crypto/TokenException.html index de093dc40..282e0b7a9 100644 --- a/master/javadocs/org/mozilla/jss/crypto/TokenException.html +++ b/master/javadocs/org/mozilla/jss/crypto/TokenException.html @@ -1,11 +1,20 @@ - + TokenException (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class TokenException

    @@ -111,10 +135,9 @@

    Class TokenException

  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public class TokenException
     extends java.lang.Exception
    This class indicates that an unknown error occurred on a CryptoToken. @@ -132,50 +155,58 @@

    Class TokenException

    • +
        -
      • +
      • Constructor Summary

        - +
        - + + - + + - + + - + + - +
        Constructors 
        Constructor and DescriptionConstructorDescription
        TokenException() TokenException() 
        TokenException(java.lang.String mesg) TokenException​(java.lang.String mesg) 
        TokenException(java.lang.String mesg, - java.lang.Throwable cause) TokenException​(java.lang.String mesg, + java.lang.Throwable cause) 
        TokenException(java.lang.String mesg, +TokenException​(java.lang.String mesg, java.lang.Throwable cause, boolean enableSuppression, - boolean writableStackTrace)  + boolean writableStackTrace) 
      +
      +
        -
      • +
      • Method Summary

          -
        • +
        • Methods inherited from class java.lang.Throwable

          addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -183,6 +214,7 @@

          Methods inherited from class java.lang.Object

      +
    @@ -190,12 +222,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -204,32 +237,32 @@

          TokenException

          public TokenException()
        - +
        • TokenException

          -
          public TokenException(java.lang.String mesg)
          +
          public TokenException​(java.lang.String mesg)
        - +
        • TokenException

          -
          public TokenException(java.lang.String mesg,
          +
          public TokenException​(java.lang.String mesg,
                                 java.lang.Throwable cause)
        - +
        • TokenException

          -
          public TokenException(java.lang.String mesg,
          +
          public TokenException​(java.lang.String mesg,
                                 java.lang.Throwable cause,
                                 boolean enableSuppression,
                                 boolean writableStackTrace)
          @@ -237,21 +270,25 @@

          TokenException

      +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/TokenRuntimeException.html b/master/javadocs/org/mozilla/jss/crypto/TokenRuntimeException.html index 9e5946131..0f9746013 100644 --- a/master/javadocs/org/mozilla/jss/crypto/TokenRuntimeException.html +++ b/master/javadocs/org/mozilla/jss/crypto/TokenRuntimeException.html @@ -1,11 +1,20 @@ - + TokenRuntimeException (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class TokenRuntimeException

    @@ -116,10 +140,9 @@

    Class TokenRuntimeExceptio
  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public class TokenRuntimeException
     extends java.lang.RuntimeException
    This class indicates that an unknown error occurred on a CryptoToken. @@ -137,50 +160,58 @@

    Class TokenRuntimeExceptio
    • +
      +
      +
        -
      • +
      • Method Summary

          -
        • +
        • Methods inherited from class java.lang.Throwable

          addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -188,6 +219,7 @@

          Methods inherited from class java.lang.Object

      +

    @@ -195,12 +227,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -209,32 +242,32 @@

          TokenRuntimeException

          public TokenRuntimeException()
        - +
        • TokenRuntimeException

          -
          public TokenRuntimeException(java.lang.String mesg)
          +
          public TokenRuntimeException​(java.lang.String mesg)
        - +
        • TokenRuntimeException

          -
          public TokenRuntimeException(java.lang.String mesg,
          +
          public TokenRuntimeException​(java.lang.String mesg,
                                        java.lang.Throwable cause)
        - +
        • TokenRuntimeException

          -
          public TokenRuntimeException(java.lang.String mesg,
          +
          public TokenRuntimeException​(java.lang.String mesg,
                                        java.lang.Throwable cause,
                                        boolean enableSuppression,
                                        boolean writableStackTrace)
          @@ -242,21 +275,25 @@

          TokenRuntimeException

      +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/TokenSupplier.html b/master/javadocs/org/mozilla/jss/crypto/TokenSupplier.html index 76bba22ae..dcb2d0857 100644 --- a/master/javadocs/org/mozilla/jss/crypto/TokenSupplier.html +++ b/master/javadocs/org/mozilla/jss/crypto/TokenSupplier.html @@ -1,11 +1,20 @@ - + TokenSupplier (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Interface TokenSupplier

    @@ -99,10 +123,9 @@

    Interface TokenSupplier

  • All Known Implementing Classes:
    -
    CryptoManager
    +
    CryptoManager

    -
    public interface TokenSupplier
    An interface that allows providers to access CryptoManager without actually knowing about CryptoManager. This is necessary to prevent cyclic @@ -116,36 +139,43 @@

    Interface TokenSupplier

    @@ -153,64 +183,69 @@

    Method Summary

  • +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/TokenSupplierManager.html b/master/javadocs/org/mozilla/jss/crypto/TokenSupplierManager.html index 661513482..25e9f0684 100644 --- a/master/javadocs/org/mozilla/jss/crypto/TokenSupplierManager.html +++ b/master/javadocs/org/mozilla/jss/crypto/TokenSupplierManager.html @@ -1,11 +1,20 @@ - + TokenSupplierManager (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class TokenSupplierManager

    @@ -106,7 +130,6 @@

    Class TokenSupplierManager<

    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/Tunnel.html b/master/javadocs/org/mozilla/jss/crypto/Tunnel.html index 151ba06bc..1fe795c0c 100644 --- a/master/javadocs/org/mozilla/jss/crypto/Tunnel.html +++ b/master/javadocs/org/mozilla/jss/crypto/Tunnel.html @@ -1,11 +1,20 @@ - + Tunnel (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Class Tunnel

    @@ -106,7 +130,6 @@

    Class Tunnel

    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/X509Certificate.html b/master/javadocs/org/mozilla/jss/crypto/X509Certificate.html index 4ee903410..c5546dbb5 100644 --- a/master/javadocs/org/mozilla/jss/crypto/X509Certificate.html +++ b/master/javadocs/org/mozilla/jss/crypto/X509Certificate.html @@ -1,11 +1,20 @@ - + X509Certificate (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.crypto
    +

    Interface X509Certificate

    @@ -99,14 +123,13 @@

    Interface X509Certificate
    All Known Subinterfaces:
    -
    InternalCertificate, TokenCertificate
    +
    InternalCertificate, TokenCertificate
    All Known Implementing Classes:
    -
    PK11Cert, PK11InternalCert, PK11InternalTokenCert, PK11TokenCert
    +
    PK11Cert, PK11InternalCert, PK11InternalTokenCert, PK11TokenCert

    -
    public interface X509Certificate
    Certificates handled by JSS. All certificates handled by JSS are of this type.
    @@ -117,48 +140,58 @@

    Interface X509Certificate
  • +
    +
  • @@ -166,18 +199,19 @@

    Method Summary

    • +
        -
      • +
      • Method Detail

        - +
        • getEncoded

          -
          byte[] getEncoded()
          +
          byte[] getEncoded()
                      throws java.security.cert.CertificateEncodingException
          Returns:
          @@ -187,78 +221,78 @@

          getEncoded

        - +
        • getNickname

          -
          java.lang.String getNickname()
          +
          java.lang.String getNickname()
          Returns:
          The nickname of this certificate (could be null).
        - +
        • getPublicKey

          -
          java.security.PublicKey getPublicKey()
          +
          java.security.PublicKey getPublicKey()
          Returns:
          The Public Key from this certificate.
        - +
        • getSubjectDN

          -
          java.security.Principal getSubjectDN()
          +
          java.security.Principal getSubjectDN()
          Returns:
          The RFC 1485 ASCII encoding of the Subject Name.
        - +
        • getIssuerDN

          -
          java.security.Principal getIssuerDN()
          +
          java.security.Principal getIssuerDN()
          Returns:
          The RFC 1485 ASCII encoding of the issuer's Subject Name.
        - +
        • getSerialNumber

          -
          java.math.BigInteger getSerialNumber()
          +
          java.math.BigInteger getSerialNumber()
          Returns:
          The serial number of this certificate.
        - +
        • getVersion

          -
          int getVersion()
          +
          int getVersion()
          Returns:
          the version number of this X.509 certificate. @@ -268,21 +302,25 @@

          getVersion

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/package-frame.html b/master/javadocs/org/mozilla/jss/crypto/package-frame.html deleted file mode 100644 index 4e0329c9e..000000000 --- a/master/javadocs/org/mozilla/jss/crypto/package-frame.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - - -org.mozilla.jss.crypto (JSS: Java Security Services) - - - - -

    org.mozilla.jss.crypto

    -
    -

    Interfaces

    - -

    Classes

    - -

    Enums

    - -

    Exceptions

    - -
    - - diff --git a/master/javadocs/org/mozilla/jss/crypto/package-summary.html b/master/javadocs/org/mozilla/jss/crypto/package-summary.html index d9f4f6d48..ab782205f 100644 --- a/master/javadocs/org/mozilla/jss/crypto/package-summary.html +++ b/master/javadocs/org/mozilla/jss/crypto/package-summary.html @@ -1,11 +1,20 @@ - + org.mozilla.jss.crypto (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Package org.mozilla.jss.crypto

    -
    -
    Generic cryptographic operations, such as signing and key pair generation.
    -
    -

    See: Description

    +
    + + +
    Generic cryptographic operations, such as signing and key pair generation.
    +
    - - - -

    Package org.mozilla.jss.crypto Description

    -
    Generic cryptographic operations, such as signing and key pair generation.
    +
    + diff --git a/master/javadocs/org/mozilla/jss/crypto/package-tree.html b/master/javadocs/org/mozilla/jss/crypto/package-tree.html index f4de380bd..e8bef3c0c 100644 --- a/master/javadocs/org/mozilla/jss/crypto/package-tree.html +++ b/master/javadocs/org/mozilla/jss/crypto/package-tree.html @@ -1,11 +1,20 @@ - + org.mozilla.jss.crypto Class Hierarchy (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Hierarchy For Package org.mozilla.jss.crypto

    Package Hierarchies: @@ -75,199 +99,208 @@

    Hierarchy For Package org.mozilla.jss.crypto

    +

    Class Hierarchy

    +
    +

    Interface Hierarchy

    +
    +

    Enum Hierarchy

      -
    • java.lang.Object +
    • java.lang.Object
        -
      • java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable) +
      • java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable)
    +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/extensions/AccessDescription.html b/master/javadocs/org/mozilla/jss/netscape/security/extensions/AccessDescription.html index 6ae1e05c0..4121fa0c6 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/extensions/AccessDescription.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/extensions/AccessDescription.html @@ -1,11 +1,20 @@ - + AccessDescription (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.extensions
    +

    Class AccessDescription

    @@ -107,10 +131,9 @@

    Class AccessDescription

  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public class AccessDescription
     extends java.lang.Object
     implements java.io.Serializable
    @@ -125,28 +148,32 @@

    Class AccessDescription

  • @@ -161,46 +189,51 @@

    Methods inherited from class java.lang.Object

    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/extensions/AuthInfoAccessExtension.html b/master/javadocs/org/mozilla/jss/netscape/security/extensions/AuthInfoAccessExtension.html index 08c7c7918..a9e50fdff 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/extensions/AuthInfoAccessExtension.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/extensions/AuthInfoAccessExtension.html @@ -1,11 +1,20 @@ - + AuthInfoAccessExtension (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.extensions
    +

    Class AuthInfoAccessExtension

    @@ -98,7 +122,7 @@

    Class AuthInfoAccessExte
  • java.lang.Object
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/extensions/CertInfo.html b/master/javadocs/org/mozilla/jss/netscape/security/extensions/CertInfo.html index 21d1a6830..742428102 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/extensions/CertInfo.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/extensions/CertInfo.html @@ -1,11 +1,20 @@ - + CertInfo (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.extensions
    +

    Class CertInfo

    @@ -98,7 +122,7 @@

    Class CertInfo

  • java.lang.Object
  • @@ -236,74 +276,77 @@

    Methods inherited from class java.lang.Object

    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/extensions/CertificateRenewalWindowExtension.html b/master/javadocs/org/mozilla/jss/netscape/security/extensions/CertificateRenewalWindowExtension.html index 0b4abc0e0..93983b5a3 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/extensions/CertificateRenewalWindowExtension.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/extensions/CertificateRenewalWindowExtension.html @@ -1,11 +1,20 @@ - + CertificateRenewalWindowExtension (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.extensions
    +

    Class CertificateRenewalWindowExtension

    @@ -98,7 +122,7 @@

    Class Certific
  • java.lang.Object
    • -
    • org.mozilla.jss.netscape.security.x509.Extension
    • +
    • org.mozilla.jss.netscape.security.x509.Extension
      • org.mozilla.jss.netscape.security.extensions.CertificateRenewalWindowExtension
      • @@ -112,13 +136,12 @@

        Class Certific
      • All Implemented Interfaces:
        -
        java.io.Serializable, CertAttrSet
        +
        java.io.Serializable, CertAttrSet

        -
        public class CertificateRenewalWindowExtension
        -extends Extension
        -implements CertAttrSet
        +extends Extension +implements CertAttrSet
        This represents the CertificateRenewalWindow extension as defined in draft-thayes-cert-renewal-00 @@ -136,153 +159,179 @@

        Class Certific

        @@ -297,12 +347,13 @@

        Methods inherited from class java.lang.Object

        • +
          +
          +
            -
          • +
          • Constructor Detail

            - +
            • CertificateRenewalWindowExtension

              -
              public CertificateRenewalWindowExtension(boolean critical,
              +
              public CertificateRenewalWindowExtension​(boolean critical,
                                                        java.util.Date beginTime,
                                                        java.util.Date endTime)
                                                 throws java.io.IOException
              @@ -357,22 +410,22 @@

              CertificateRenewalWindowExtension

            - +
            • CertificateRenewalWindowExtension

              -
              public CertificateRenewalWindowExtension(boolean critical)
              +
              public CertificateRenewalWindowExtension​(boolean critical)
            - +
            • CertificateRenewalWindowExtension

              -
              public CertificateRenewalWindowExtension(java.lang.Boolean critical,
              +
              public CertificateRenewalWindowExtension​(java.lang.Boolean critical,
                                                        java.lang.Object value)
                                                 throws java.io.IOException
              @@ -383,42 +436,44 @@

              CertificateRenewalWindowExtension

          +
          +
            -
          • +
          • Method Detail

            - +
            • getName

              -
              public java.lang.String getName()
              -
              Description copied from interface: CertAttrSet
              +
              public java.lang.String getName()
              +
              Description copied from interface: CertAttrSet
              Returns the name (identifier) of this CertAttrSet.
              Specified by:
              -
              getName in interface CertAttrSet
              +
              getName in interface CertAttrSet
              Returns:
              the name of this CertAttrSet.
            - +
            • set

              -
              public void set(java.lang.String name,
              +
              public void set​(java.lang.String name,
                               java.lang.Object obj)
                        throws java.security.cert.CertificateException
              Sets extension attribute.
              Specified by:
              -
              set in interface CertAttrSet
              +
              set in interface CertAttrSet
              Parameters:
              name - the name of the attribute (e.g. "x509.info.key")
              obj - the attribute object.
              @@ -427,18 +482,18 @@

              set

            - +
            • get

              -
              public java.lang.Object get(java.lang.String name)
              +
              public java.lang.Object get​(java.lang.String name)
                                    throws java.security.cert.CertificateException
              Retrieves extension attribute.
              Specified by:
              -
              get in interface CertAttrSet
              +
              get in interface CertAttrSet
              Parameters:
              name - the name of the attribute to return.
              Throws:
              @@ -446,18 +501,18 @@

              get

            - +
            • delete

              -
              public void delete(java.lang.String name)
              +
              public void delete​(java.lang.String name)
                           throws java.security.cert.CertificateException
              Deletes attribute.
              Specified by:
              -
              delete in interface CertAttrSet
              +
              delete in interface CertAttrSet
              Parameters:
              name - the name of the attribute to delete.
              Throws:
              @@ -465,18 +520,18 @@

              delete

            - +
            • decode

              -
              public void decode(java.io.InputStream in)
              +
              public void decode​(java.io.InputStream in)
                           throws java.io.IOException
              Decodes this extension.
              Specified by:
              -
              decode in interface CertAttrSet
              +
              decode in interface CertAttrSet
              Parameters:
              in - the InputStream to read the encoded attribute from.
              Throws:
              @@ -484,71 +539,71 @@

              decode

            - +
            • getAttributeNames

              -
              public java.util.Enumeration<java.lang.String> getAttributeNames()
              +
              public java.util.Enumeration<java.lang.String> getAttributeNames()
              Return an enumeration of names of attributes existing within this attribute.
              Specified by:
              -
              getAttributeNames in interface CertAttrSet
              +
              getAttributeNames in interface CertAttrSet
              Returns:
              an enumeration of the attribute names.
            - +
            • getBeginTime

              -
              public java.util.Date getBeginTime()
              +
              public java.util.Date getBeginTime()
            - +
            • getEndTime

              -
              public java.util.Date getEndTime()
              +
              public java.util.Date getEndTime()
            - +
            • setBeginTime

              -
              public void setBeginTime(java.util.Date d)
              +
              public void setBeginTime​(java.util.Date d)
            - +
            • setEndTime

              -
              public void setEndTime(java.util.Date d)
              +
              public void setEndTime​(java.util.Date d)
            - +
            • encode

              -
              public void encode(java.io.OutputStream out)
              +
              public void encode​(java.io.OutputStream out)
                           throws java.io.IOException
              Write the extension to the DerOutputStream.
              Specified by:
              -
              encode in interface CertAttrSet
              +
              encode in interface CertAttrSet
              Parameters:
              out - the DerOutputStream to write the extension to.
              Throws:
              @@ -556,19 +611,19 @@

              encode

            - +
            • toString

              -
              public java.lang.String toString()
              +
              public java.lang.String toString()
              Returns a printable representation of the CertificateRenewalWindow.
              Specified by:
              -
              toString in interface CertAttrSet
              +
              toString in interface CertAttrSet
              Overrides:
              -
              toString in class Extension
              +
              toString in class Extension
              Returns:
              value of this certificate attribute in printable form.
              @@ -577,21 +632,25 @@

              toString

          +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/extensions/CertificateScopeEntry.html b/master/javadocs/org/mozilla/jss/netscape/security/extensions/CertificateScopeEntry.html index c753f780d..1661ba72b 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/extensions/CertificateScopeEntry.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/extensions/CertificateScopeEntry.html @@ -1,11 +1,20 @@ - + CertificateScopeEntry (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.extensions
    +

    Class CertificateScopeEntry

    @@ -106,7 +130,6 @@

    Class CertificateScopeEntr

    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/extensions/CertificateScopeOfUseExtension.html b/master/javadocs/org/mozilla/jss/netscape/security/extensions/CertificateScopeOfUseExtension.html index c3aca5887..c59719353 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/extensions/CertificateScopeOfUseExtension.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/extensions/CertificateScopeOfUseExtension.html @@ -1,11 +1,20 @@ - + CertificateScopeOfUseExtension (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.extensions
    +

    Class CertificateScopeOfUseExtension

    @@ -98,7 +122,7 @@

    Class Certificate
  • java.lang.Object
    • -
    • org.mozilla.jss.netscape.security.x509.Extension
    • +
    • org.mozilla.jss.netscape.security.x509.Extension
      • org.mozilla.jss.netscape.security.extensions.CertificateScopeOfUseExtension
      • @@ -112,13 +136,12 @@

        Class Certificate
      • All Implemented Interfaces:
        -
        java.io.Serializable, CertAttrSet
        +
        java.io.Serializable, CertAttrSet

        -
        public class CertificateScopeOfUseExtension
        -extends Extension
        -implements CertAttrSet
        +extends Extension +implements CertAttrSet
        This represents the CertificateScopeOfUse extension as defined in draft-thayes-cert-scope-00 @@ -138,140 +161,163 @@

        Class Certificate

        @@ -286,12 +333,13 @@

        Methods inherited from class java.lang.Object

        • +
          +
          +
            -
          • +
          • Constructor Detail

            - +
            • CertificateScopeOfUseExtension

              -
              public CertificateScopeOfUseExtension(boolean critical,
              -                                      java.util.Vector<CertificateScopeEntry> scopeEntries)
              +
              public CertificateScopeOfUseExtension​(boolean critical,
              +                                      java.util.Vector<CertificateScopeEntry> scopeEntries)
                                              throws java.io.IOException
              Throws:
              @@ -345,22 +395,22 @@

              CertificateScopeOfUseExtension

            - +
            • CertificateScopeOfUseExtension

              -
              public CertificateScopeOfUseExtension(boolean critical)
              +
              public CertificateScopeOfUseExtension​(boolean critical)
            - +
            • CertificateScopeOfUseExtension

              -
              public CertificateScopeOfUseExtension(java.lang.Boolean critical,
              +
              public CertificateScopeOfUseExtension​(java.lang.Boolean critical,
                                                     java.lang.Object value)
                                              throws java.io.IOException
              @@ -371,51 +421,53 @@

              CertificateScopeOfUseExtension

          +
          +
            -
          • +
          • Method Detail

            - +
            • getName

              -
              public java.lang.String getName()
              -
              Description copied from interface: CertAttrSet
              +
              public java.lang.String getName()
              +
              Description copied from interface: CertAttrSet
              Returns the name (identifier) of this CertAttrSet.
              Specified by:
              -
              getName in interface CertAttrSet
              +
              getName in interface CertAttrSet
              Returns:
              the name of this CertAttrSet.
            - + - +
            • set

              -
              public void set(java.lang.String name,
              +
              public void set​(java.lang.String name,
                               java.lang.Object obj)
                        throws java.security.cert.CertificateException
              Sets extension attribute.
              Specified by:
              -
              set in interface CertAttrSet
              +
              set in interface CertAttrSet
              Parameters:
              name - the name of the attribute (e.g. "x509.info.key")
              obj - the attribute object.
              @@ -424,18 +476,18 @@

              set

            - +
            • get

              -
              public java.lang.Object get(java.lang.String name)
              +
              public java.lang.Object get​(java.lang.String name)
                                    throws java.security.cert.CertificateException
              Retrieves extension attribute.
              Specified by:
              -
              get in interface CertAttrSet
              +
              get in interface CertAttrSet
              Parameters:
              name - the name of the attribute to return.
              Throws:
              @@ -443,18 +495,18 @@

              get

            - +
            • delete

              -
              public void delete(java.lang.String name)
              +
              public void delete​(java.lang.String name)
                           throws java.security.cert.CertificateException
              Deletes attribute.
              Specified by:
              -
              delete in interface CertAttrSet
              +
              delete in interface CertAttrSet
              Parameters:
              name - the name of the attribute to delete.
              Throws:
              @@ -462,18 +514,18 @@

              delete

            - +
            • decode

              -
              public void decode(java.io.InputStream in)
              +
              public void decode​(java.io.InputStream in)
                           throws java.io.IOException
              Decodes this extension.
              Specified by:
              -
              decode in interface CertAttrSet
              +
              decode in interface CertAttrSet
              Parameters:
              in - the InputStream to read the encoded attribute from.
              Throws:
              @@ -481,35 +533,35 @@

              decode

            - +
            • getAttributeNames

              -
              public java.util.Enumeration<java.lang.String> getAttributeNames()
              +
              public java.util.Enumeration<java.lang.String> getAttributeNames()
              Return an enumeration of names of attributes existing within this attribute.
              Specified by:
              -
              getAttributeNames in interface CertAttrSet
              +
              getAttributeNames in interface CertAttrSet
              Returns:
              an enumeration of the attribute names.
            - +
            • encode

              -
              public void encode(java.io.OutputStream out)
              +
              public void encode​(java.io.OutputStream out)
                           throws java.io.IOException
              Write the extension to the DerOutputStream.
              Specified by:
              -
              encode in interface CertAttrSet
              +
              encode in interface CertAttrSet
              Parameters:
              out - the DerOutputStream to write the extension to.
              Throws:
              @@ -517,19 +569,19 @@

              encode

            - +
            • toString

              -
              public java.lang.String toString()
              +
              public java.lang.String toString()
              Returns a printable representation of the CertificateRenewalWindow.
              Specified by:
              -
              toString in interface CertAttrSet
              +
              toString in interface CertAttrSet
              Overrides:
              -
              toString in class Extension
              +
              toString in class Extension
              Returns:
              value of this certificate attribute in printable form.
              @@ -538,21 +590,25 @@

              toString

          +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/extensions/ExtendedKeyUsageExtension.html b/master/javadocs/org/mozilla/jss/netscape/security/extensions/ExtendedKeyUsageExtension.html index 39c770a63..53f7a9e4c 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/extensions/ExtendedKeyUsageExtension.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/extensions/ExtendedKeyUsageExtension.html @@ -1,11 +1,20 @@ - + ExtendedKeyUsageExtension (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.extensions
    +

    Class ExtendedKeyUsageExtension

    @@ -98,7 +122,7 @@

    Class ExtendedKeyUsage
  • java.lang.Object
  • @@ -318,12 +374,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -336,7 +393,7 @@

          OID

        - +
          @@ -349,7 +406,7 @@

          NAME

        - +
          @@ -362,7 +419,7 @@

          OID_OCSPSigning

        - +
          @@ -375,7 +432,7 @@

          OID_CODESigning

        - +
          @@ -384,16 +441,16 @@

          OID_OCSP_SIGNING_STR

          public static final int[] OID_OCSP_SIGNING_STR
        - + - +
          @@ -402,24 +459,26 @@

          OID_CODE_SIGNING_STR

          public static final int[] OID_CODE_SIGNING_STR
        - +
      +
      +
        -
      • +
      • Constructor Detail

        - +
          @@ -433,14 +492,14 @@

          ExtendedKeyUsageExtension

        - +
        • ExtendedKeyUsageExtension

          -
          public ExtendedKeyUsageExtension(boolean crit,
          -                                 java.util.Vector<ObjectIdentifier> oids)
          +
          public ExtendedKeyUsageExtension​(boolean crit,
          +                                 java.util.Vector<ObjectIdentifier> oids)
                                     throws java.io.IOException
          Throws:
          @@ -448,13 +507,13 @@

          ExtendedKeyUsageExtension

        - +
        • ExtendedKeyUsageExtension

          -
          public ExtendedKeyUsageExtension(java.lang.Boolean crit,
          +
          public ExtendedKeyUsageExtension​(java.lang.Boolean crit,
                                            java.lang.Object byteVal)
                                     throws java.io.IOException
          @@ -465,65 +524,67 @@

          ExtendedKeyUsageExtension

      +
      +
        -
      • +
      • Method Detail

        - + - + - +
        • deleteAllOIDs

          -
          public void deleteAllOIDs()
          +
          public void deleteAllOIDs()
        - + - +
        • encode

          -
          public void encode(DerOutputStream out)
          +
          public void encode​(DerOutputStream out)
                       throws java.io.IOException
          -
          Description copied from class: Extension
          +
          Description copied from class: Extension
          Write the extension to the DerOutputStream.
          Overrides:
          -
          encode in class Extension
          +
          encode in class Extension
          Parameters:
          out - the DerOutputStream to write the extension to.
          Throws:
          @@ -531,40 +592,40 @@

          encode

        - + - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.security.cert.CertificateException,
                              java.io.IOException
          -
          Description copied from interface: CertAttrSet
          +
          Description copied from interface: CertAttrSet
          Decodes the attribute in the input stream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to read the encoded attribute from.
          Throws:
          @@ -573,21 +634,21 @@

          decode

        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.security.cert.CertificateException,
                              java.io.IOException
          -
          Description copied from interface: CertAttrSet
          +
          Description copied from interface: CertAttrSet
          Encodes the attribute to the output stream in a format that can be parsed by the decode method.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the OutputStream to encode the attribute to.
          Throws:
          @@ -596,21 +657,21 @@

          encode

        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.security.cert.CertificateException,
                           java.io.IOException
          -
          Description copied from interface: CertAttrSet
          +
          Description copied from interface: CertAttrSet
          Sets an attribute value within this CertAttrSet.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the name of the attribute (e.g. "x509.info.key")
          obj - the attribute object.
          @@ -620,20 +681,20 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.security.cert.CertificateException,
                                       java.io.IOException
          -
          Description copied from interface: CertAttrSet
          +
          Description copied from interface: CertAttrSet
          Gets an attribute value for this CertAttrSet.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the name of the attribute to return.
          Throws:
          @@ -642,55 +703,55 @@

          get

        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          -
          Description copied from interface: CertAttrSet
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          Description copied from interface: CertAttrSet
          Returns an enumeration of the names of the attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getName

          -
          public java.lang.String getName()
          -
          Description copied from interface: CertAttrSet
          +
          public java.lang.String getName()
          +
          Description copied from interface: CertAttrSet
          Returns the name (identifier) of this CertAttrSet.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.security.cert.CertificateException,
                              java.io.IOException
          -
          Description copied from interface: CertAttrSet
          +
          Description copied from interface: CertAttrSet
          Deletes an attribute value from this CertAttrSet.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the name of the attribute to delete.
          Throws:
          @@ -701,21 +762,25 @@

          delete

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/extensions/GenericASN1Extension.html b/master/javadocs/org/mozilla/jss/netscape/security/extensions/GenericASN1Extension.html index 9487e8eb4..9709a0d48 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/extensions/GenericASN1Extension.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/extensions/GenericASN1Extension.html @@ -1,11 +1,20 @@ - + GenericASN1Extension (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.extensions
    +

    Class GenericASN1Extension

    @@ -98,7 +122,7 @@

    Class GenericASN1Extension<
  • java.lang.Object
  • @@ -342,12 +401,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -360,7 +420,7 @@

          MAX_ATTR

        - +
          @@ -373,7 +433,7 @@

          PROP_CRITICAL

        - +
          @@ -386,7 +446,7 @@

          PROP_NAME

        - +
          @@ -399,7 +459,7 @@

          PROP_OID

        - +
          @@ -412,7 +472,7 @@

          PROP_PATTERN

        - +
          @@ -425,7 +485,7 @@

          PROP_ATTRIBUTE

        - +
          @@ -438,7 +498,7 @@

          PROP_TYPE

        - +
          @@ -451,7 +511,7 @@

          PROP_SOURCE

        - +
          @@ -464,7 +524,7 @@

          PROP_VALUE

        - +
          @@ -477,7 +537,7 @@

          PROP_PREDICATE

        - +
          @@ -486,16 +546,16 @@

          OID

          public java.lang.String OID
        - +
        • mConfig

          -
          public static java.util.Hashtable<java.lang.String,java.lang.String> mConfig
          +
          public static java.util.Hashtable<java.lang.String,​java.lang.String> mConfig
        - +
          @@ -506,23 +566,25 @@

          pattern

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • GenericASN1Extension

          -
          public GenericASN1Extension(java.lang.String name,
          +
          public GenericASN1Extension​(java.lang.String name,
                                       java.lang.String oid,
                                       java.lang.String pattern,
                                       boolean critical,
          -                            java.util.Hashtable<java.lang.String,java.lang.String> config)
          +                            java.util.Hashtable<java.lang.String,​java.lang.String> config)
                                throws java.io.IOException,
                                       java.text.ParseException
          Create a GenericASN1Extension with the value and oid. @@ -540,13 +602,13 @@

          GenericASN1Extension

        - +
        • GenericASN1Extension

          -
          public GenericASN1Extension(java.util.Hashtable<java.lang.String,java.lang.String> config)
          +
          public GenericASN1Extension​(java.util.Hashtable<java.lang.String,​java.lang.String> config)
                                throws java.io.IOException,
                                       java.text.ParseException
          Create a GenericASN1Extension with the value and oid. @@ -560,13 +622,13 @@

          GenericASN1Extension

        - +
        • GenericASN1Extension

          -
          public GenericASN1Extension(java.lang.Boolean critical,
          +
          public GenericASN1Extension​(java.lang.Boolean critical,
                                       java.lang.Object value)
                                throws java.io.IOException
          Create the extension from the passed DER encoded value of the same.
          @@ -581,25 +643,27 @@

          GenericASN1Extension

      +
      +
        -
      • +
      • Method Detail

        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.io.IOException
          Set the attribute value.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the name of the attribute (e.g. "x509.info.key")
          obj - the attribute object.
          @@ -608,18 +672,18 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.io.IOException
          Get the attribute value.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the name of the attribute to return.
          Throws:
          @@ -627,18 +691,18 @@

          get

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.io.IOException
          Delete the attribute value.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the name of the attribute to delete.
          Throws:
          @@ -646,37 +710,37 @@

          delete

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns a printable representation of the GenericASN1Extension.
          Specified by:
          -
          toString in interface CertAttrSet
          +
          toString in interface CertAttrSet
          Overrides:
          -
          toString in class Extension
          +
          toString in class Extension
          Returns:
          value of this certificate attribute in printable form.
        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.io.IOException
          Decode the extension from the InputStream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to unmarshal the contents from.
          Throws:
          @@ -684,18 +748,18 @@

          decode

        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.io.IOException
          Write the extension to the DerOutputStream.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the DerOutputStream to write the extension to.
          Throws:
          @@ -703,64 +767,64 @@

          encode

        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Return the name of this attribute.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
        - +
        • setName

          -
          public void setName(java.lang.String name)
          +
          public void setName​(java.lang.String name)
          Set the name of this attribute.
        - +
        • getOID

          -
          public java.lang.String getOID()
          +
          public java.lang.String getOID()
          Return the OID of this attribute.
        - +
        • setOID

          -
          public void setOID(java.lang.String oid)
          +
          public void setOID​(java.lang.String oid)
          Set the OID of this attribute.
        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          Return an enumeration of names of attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
          @@ -768,21 +832,25 @@

          getAttributeNames

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/extensions/InhibitAnyPolicyExtension.html b/master/javadocs/org/mozilla/jss/netscape/security/extensions/InhibitAnyPolicyExtension.html index 1591c39b7..2c763dfcd 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/extensions/InhibitAnyPolicyExtension.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/extensions/InhibitAnyPolicyExtension.html @@ -1,11 +1,20 @@ - + InhibitAnyPolicyExtension (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.extensions
    +

    Class InhibitAnyPolicyExtension

    @@ -98,7 +122,7 @@

    Class InhibitAnyPolicy
  • java.lang.Object
    • -
    • org.mozilla.jss.netscape.security.x509.Extension
    • +
    • org.mozilla.jss.netscape.security.x509.Extension
      • org.mozilla.jss.netscape.security.extensions.InhibitAnyPolicyExtension
      • @@ -112,13 +136,12 @@

        Class InhibitAnyPolicy
      • All Implemented Interfaces:
        -
        java.io.Serializable, CertAttrSet
        +
        java.io.Serializable, CertAttrSet

        -
        public class InhibitAnyPolicyExtension
        -extends Extension
        -implements CertAttrSet
        +extends Extension +implements CertAttrSet
        RFC3280: id-ce-inhibitAnyPolicy OBJECT IDENTIFIER ::= { id-ce 54 } @@ -137,141 +160,164 @@

        Class InhibitAnyPolicy

        @@ -286,12 +333,13 @@

        Methods inherited from class java.lang.Object

        • +
            -
          • +
          • Field Detail

            - +
              @@ -304,7 +352,7 @@

              OID

            - +
              @@ -319,13 +367,15 @@

              NAME

          +
          +
            -
          • +
          • Constructor Detail

            - +
              @@ -339,14 +389,14 @@

              InhibitAnyPolicyExtension

            - +
            • InhibitAnyPolicyExtension

              -
              public InhibitAnyPolicyExtension(boolean crit,
              -                                 BigInt skipCerts)
              +
              public InhibitAnyPolicyExtension​(boolean crit,
              +                                 BigInt skipCerts)
                                         throws java.io.IOException
              Throws:
              @@ -354,13 +404,13 @@

              InhibitAnyPolicyExtension

            - +
            • InhibitAnyPolicyExtension

              -
              public InhibitAnyPolicyExtension(java.lang.Boolean crit,
              +
              public InhibitAnyPolicyExtension​(java.lang.Boolean crit,
                                                java.lang.Object value)
                                         throws java.io.IOException
              @@ -371,68 +421,70 @@

              InhibitAnyPolicyExtension

          +
          +
            -
          • +
          • Method Detail

            - + - +
            • getSkipCerts

              -
              public BigInt getSkipCerts()
              +
              public BigInt getSkipCerts()
            - + - +
            • decode

              -
              public void decode(java.io.InputStream in)
              +
              public void decode​(java.io.InputStream in)
                           throws java.security.cert.CertificateException,
                                  java.io.IOException
              -
              Description copied from interface: CertAttrSet
              +
              Description copied from interface: CertAttrSet
              Decodes the attribute in the input stream.
              Specified by:
              -
              decode in interface CertAttrSet
              +
              decode in interface CertAttrSet
              Parameters:
              in - the InputStream to read the encoded attribute from.
              Throws:
              @@ -441,21 +493,21 @@

              decode

            - +
            • set

              -
              public void set(java.lang.String name,
              +
              public void set​(java.lang.String name,
                               java.lang.Object obj)
                        throws java.security.cert.CertificateException,
                               java.io.IOException
              -
              Description copied from interface: CertAttrSet
              +
              Description copied from interface: CertAttrSet
              Sets an attribute value within this CertAttrSet.
              Specified by:
              -
              set in interface CertAttrSet
              +
              set in interface CertAttrSet
              Parameters:
              name - the name of the attribute (e.g. "x509.info.key")
              obj - the attribute object.
              @@ -465,20 +517,20 @@

              set

            - +
            • get

              -
              public java.lang.Object get(java.lang.String name)
              +
              public java.lang.Object get​(java.lang.String name)
                                    throws java.security.cert.CertificateException,
                                           java.io.IOException
              -
              Description copied from interface: CertAttrSet
              +
              Description copied from interface: CertAttrSet
              Gets an attribute value for this CertAttrSet.
              Specified by:
              -
              get in interface CertAttrSet
              +
              get in interface CertAttrSet
              Parameters:
              name - the name of the attribute to return.
              Throws:
              @@ -487,55 +539,55 @@

              get

            - +
            • getAttributeNames

              -
              public java.util.Enumeration<java.lang.String> getAttributeNames()
              -
              Description copied from interface: CertAttrSet
              +
              public java.util.Enumeration<java.lang.String> getAttributeNames()
              +
              Description copied from interface: CertAttrSet
              Returns an enumeration of the names of the attributes existing within this attribute.
              Specified by:
              -
              getAttributeNames in interface CertAttrSet
              +
              getAttributeNames in interface CertAttrSet
              Returns:
              an enumeration of the attribute names.
            - +
            • getName

              -
              public java.lang.String getName()
              -
              Description copied from interface: CertAttrSet
              +
              public java.lang.String getName()
              +
              Description copied from interface: CertAttrSet
              Returns the name (identifier) of this CertAttrSet.
              Specified by:
              -
              getName in interface CertAttrSet
              +
              getName in interface CertAttrSet
              Returns:
              the name of this CertAttrSet.
            - +
            • delete

              -
              public void delete(java.lang.String name)
              +
              public void delete​(java.lang.String name)
                           throws java.security.cert.CertificateException,
                                  java.io.IOException
              -
              Description copied from interface: CertAttrSet
              +
              Description copied from interface: CertAttrSet
              Deletes an attribute value from this CertAttrSet.
              Specified by:
              -
              delete in interface CertAttrSet
              +
              delete in interface CertAttrSet
              Parameters:
              name - the name of the attribute to delete.
              Throws:
              @@ -544,20 +596,20 @@

              delete

            - +
            • encode

              -
              public void encode(java.io.OutputStream out)
              +
              public void encode​(java.io.OutputStream out)
                           throws java.io.IOException
              -
              Description copied from interface: CertAttrSet
              +
              Description copied from interface: CertAttrSet
              Encodes the attribute to the output stream in a format that can be parsed by the decode method.
              Specified by:
              -
              encode in interface CertAttrSet
              +
              encode in interface CertAttrSet
              Parameters:
              out - the OutputStream to encode the attribute to.
              Throws:
              @@ -567,21 +619,25 @@

              encode

          +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/extensions/KerberosName.html b/master/javadocs/org/mozilla/jss/netscape/security/extensions/KerberosName.html index e2c3fbd51..32f8bb8a0 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/extensions/KerberosName.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/extensions/KerberosName.html @@ -1,11 +1,20 @@ - + KerberosName (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.extensions
    +

    Class KerberosName

    @@ -106,7 +130,6 @@

    Class KerberosName


    • -
      public class KerberosName
       extends java.lang.Object
      This represents a KerberosName as defined in @@ -128,80 +151,95 @@

      Class KerberosName

      • +
        +
        +
          -
        • +
        • Constructor Summary

          - +
          - + + - +
          Constructors 
          Constructor and DescriptionConstructorDescription
          KerberosName(java.lang.String realm, +KerberosName​(java.lang.String realm, int name_type, - java.util.Vector<java.lang.String> name_strings)  + java.util.Vector<java.lang.String> name_strings) 
        +
        +
          -
        • +
        • Method Summary

          - +
          - + + - + - + + - + + - + +
          All Methods Static Methods Instance Methods Concrete Methods 
          Modifier and TypeMethod and DescriptionMethodDescription
          voidencode(java.io.OutputStream out) +encode​(java.io.OutputStream out)
          Write the extension to the DerOutputStream.
          static voidmain(java.lang.String[] argv) main​(java.lang.String[] argv) 
          byte[]toByteArray() toByteArray() 
          java.lang.StringtoString() toString() 
            -
          • +
          • Methods inherited from class java.lang.Object

            @@ -209,6 +247,7 @@

            Methods inherited from class java.lang.Object

        +
      @@ -216,12 +255,13 @@

      Methods inherited from class java.lang.Object

      • +
          -
        • +
        • Field Detail

          - +
            @@ -230,49 +270,53 @@

            OID

            public static final int[] OID
          - +
        +
        +
          -
        • +
        • Constructor Detail

          - +
          • KerberosName

            -
            public KerberosName(java.lang.String realm,
            +
            public KerberosName​(java.lang.String realm,
                                 int name_type,
                                 java.util.Vector<java.lang.String> name_strings)
        +
        +
          -
        • +
        • Method Detail

          - +
          • encode

            -
            public void encode(java.io.OutputStream out)
            +
            public void encode​(java.io.OutputStream out)
                         throws java.io.IOException
            Write the extension to the DerOutputStream.
            @@ -283,13 +327,13 @@

            encode

          - +
          • toByteArray

            -
            public byte[] toByteArray()
            +
            public byte[] toByteArray()
                                throws java.io.IOException
            Throws:
            @@ -297,45 +341,49 @@

            toByteArray

          - +
          • toString

            -
            public java.lang.String toString()
            +
            public java.lang.String toString()
            Overrides:
            toString in class java.lang.Object
          - +
          • main

            -
            public static void main(java.lang.String[] argv)
            +
            public static void main​(java.lang.String[] argv)
        +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/extensions/NSCertTypeExtension.html b/master/javadocs/org/mozilla/jss/netscape/security/extensions/NSCertTypeExtension.html index 2eadcbaaf..056a33005 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/extensions/NSCertTypeExtension.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/extensions/NSCertTypeExtension.html @@ -1,11 +1,20 @@ - + NSCertTypeExtension (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.extensions
    +

    Class NSCertTypeExtension

    @@ -98,7 +122,7 @@

    Class NSCertTypeExtensionjava.lang.Object
  • @@ -384,22 +451,23 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
        • CertType_Id

          -
          public static final ObjectIdentifier CertType_Id
          +
          public static final ObjectIdentifier CertType_Id
          Identifies the particular public key used to sign the certificate.
        - +
          @@ -413,7 +481,7 @@

          NAME

        - +
          @@ -426,7 +494,7 @@

          SSL_CLIENT

        - +
          @@ -439,7 +507,7 @@

          SSL_SERVER

        - +
          @@ -452,7 +520,7 @@

          EMAIL

        - +
          @@ -465,7 +533,7 @@

          OBJECT_SIGNING

        - +
          @@ -478,7 +546,7 @@

          SSL_CA

        - +
          @@ -491,7 +559,7 @@

          EMAIL_CA

        - +
          @@ -504,7 +572,7 @@

          OBJECT_SIGNING_CA

        - +
          @@ -518,7 +586,7 @@

          SSL_CLIENT_BIT

        - +
          @@ -531,7 +599,7 @@

          SSL_SERVER_BIT

        - +
          @@ -544,7 +612,7 @@

          EMAIL_BIT

        - +
          @@ -557,7 +625,7 @@

          OBJECT_SIGNING_BIT

        - +
          @@ -570,7 +638,7 @@

          SSL_CA_BIT

        - +
          @@ -583,7 +651,7 @@

          EMAIL_CA_BIT

        - +
          @@ -596,7 +664,7 @@

          OBJECT_SIGNING_CA_BIT

        - +
          @@ -609,7 +677,7 @@

          NBITS

        - +
          @@ -626,40 +694,42 @@

          IDENT

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • NSCertTypeExtension

          -
          public NSCertTypeExtension(boolean critical,
          +
          public NSCertTypeExtension​(boolean critical,
                                      boolean[] bits)
          Create NSCertTypeExtension from boolean array. The criticality is set to false.
        - +
        • NSCertTypeExtension

          -
          public NSCertTypeExtension(boolean[] bits)
          +
          public NSCertTypeExtension​(boolean[] bits)
        - +
        • NSCertTypeExtension

          -
          public NSCertTypeExtension(boolean critical,
          +
          public NSCertTypeExtension​(boolean critical,
                                      byte[] bitString)
                               throws java.io.IOException
          Create a NSCertTypeExtension with the passed bit settings. @@ -672,13 +742,13 @@

          NSCertTypeExtension

        - +
        • NSCertTypeExtension

          -
          public NSCertTypeExtension(byte[] bitString)
          +
          public NSCertTypeExtension​(byte[] bitString)
                               throws java.io.IOException
          Throws:
          @@ -686,13 +756,13 @@

          NSCertTypeExtension

        - +
        • NSCertTypeExtension

          -
          public NSCertTypeExtension(java.lang.Boolean critical,
          +
          public NSCertTypeExtension​(java.lang.Boolean critical,
                                      java.lang.Object value)
                               throws java.io.IOException
          Create the extension from the passed DER encoded value of the same.
          @@ -705,7 +775,7 @@

          NSCertTypeExtension

        - +
          @@ -717,19 +787,21 @@

          NSCertTypeExtension

      +
      +
        -
      • +
      • Method Detail

        - +
        • isSet

          -
          public boolean isSet(int position)
          +
          public boolean isSet​(int position)
          Check if bit is set.
          Parameters:
          @@ -737,30 +809,30 @@

          isSet

        - +
        • set

          -
          public void set(int position,
          +
          public void set​(int position,
                           boolean val)
          Set the bit at the specified position.
        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.security.cert.CertificateException
          Set the attribute value.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the name of the attribute (e.g. "x509.info.key")
          obj - the attribute object.
          @@ -769,18 +841,18 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.security.cert.CertificateException
          Get the attribute value.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the name of the attribute to return.
          Throws:
          @@ -788,18 +860,18 @@

          get

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.security.cert.CertificateException
          Delete the attribute value.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the name of the attribute to delete.
          Throws:
          @@ -807,37 +879,37 @@

          delete

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns a printable representation of the NSCertType.
          Specified by:
          -
          toString in interface CertAttrSet
          +
          toString in interface CertAttrSet
          Overrides:
          -
          toString in class Extension
          +
          toString in class Extension
          Returns:
          value of this certificate attribute in printable form.
        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.io.IOException
          Decode the extension from the InputStream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to unmarshal the contents from.
          Throws:
          @@ -845,18 +917,18 @@

          decode

        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.io.IOException
          Write the extension to the DerOutputStream.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the DerOutputStream to write the extension to.
          Throws:
          @@ -864,65 +936,69 @@

          encode

        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          Return an enumeration of names of attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Return the name of this attribute.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
        - +
        • main

          -
          public static void main(java.lang.String[] argv)
          +
          public static void main​(java.lang.String[] argv)
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/extensions/OCSPNoCheckExtension.html b/master/javadocs/org/mozilla/jss/netscape/security/extensions/OCSPNoCheckExtension.html index 79a4ccff8..81d6cd9b9 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/extensions/OCSPNoCheckExtension.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/extensions/OCSPNoCheckExtension.html @@ -1,11 +1,20 @@ - + OCSPNoCheckExtension (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.extensions
    +

    Class OCSPNoCheckExtension

    @@ -98,7 +122,7 @@

    Class OCSPNoCheckExtension<
  • java.lang.Object
  • @@ -281,12 +328,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -299,7 +347,7 @@

          OID

        - +
          @@ -314,13 +362,15 @@

          NAME

      +
      +
        -
      • +
      • Constructor Detail

        - +
          @@ -334,13 +384,13 @@

          OCSPNoCheckExtension

        - +
        • OCSPNoCheckExtension

          -
          public OCSPNoCheckExtension(java.lang.Boolean crit)
          +
          public OCSPNoCheckExtension​(java.lang.Boolean crit)
                                throws java.io.IOException
          Throws:
          @@ -348,50 +398,52 @@

          OCSPNoCheckExtension

        - +
        • OCSPNoCheckExtension

          -
          public OCSPNoCheckExtension(java.lang.Boolean crit,
          +
          public OCSPNoCheckExtension​(java.lang.Boolean crit,
                                       java.lang.Object byteVal)
      +
      +
        -
      • +
      • Method Detail

        - + - +
        • encode

          -
          public void encode(DerOutputStream out)
          +
          public void encode​(DerOutputStream out)
                       throws java.io.IOException
          -
          Description copied from class: Extension
          +
          Description copied from class: Extension
          Write the extension to the DerOutputStream.
          Overrides:
          -
          encode in class Extension
          +
          encode in class Extension
          Parameters:
          out - the DerOutputStream to write the extension to.
          Throws:
          @@ -399,40 +451,40 @@

          encode

        - + - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.security.cert.CertificateException,
                              java.io.IOException
          -
          Description copied from interface: CertAttrSet
          +
          Description copied from interface: CertAttrSet
          Decodes the attribute in the input stream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to read the encoded attribute from.
          Throws:
          @@ -441,21 +493,21 @@

          decode

        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.security.cert.CertificateException,
                              java.io.IOException
          -
          Description copied from interface: CertAttrSet
          +
          Description copied from interface: CertAttrSet
          Encodes the attribute to the output stream in a format that can be parsed by the decode method.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the OutputStream to encode the attribute to.
          Throws:
          @@ -464,21 +516,21 @@

          encode

        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.security.cert.CertificateException,
                           java.io.IOException
          -
          Description copied from interface: CertAttrSet
          +
          Description copied from interface: CertAttrSet
          Sets an attribute value within this CertAttrSet.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the name of the attribute (e.g. "x509.info.key")
          obj - the attribute object.
          @@ -488,20 +540,20 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.security.cert.CertificateException,
                                       java.io.IOException
          -
          Description copied from interface: CertAttrSet
          +
          Description copied from interface: CertAttrSet
          Gets an attribute value for this CertAttrSet.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the name of the attribute to return.
          Throws:
          @@ -510,55 +562,55 @@

          get

        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          -
          Description copied from interface: CertAttrSet
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          Description copied from interface: CertAttrSet
          Returns an enumeration of the names of the attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getName

          -
          public java.lang.String getName()
          -
          Description copied from interface: CertAttrSet
          +
          public java.lang.String getName()
          +
          Description copied from interface: CertAttrSet
          Returns the name (identifier) of this CertAttrSet.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.security.cert.CertificateException,
                              java.io.IOException
          -
          Description copied from interface: CertAttrSet
          +
          Description copied from interface: CertAttrSet
          Deletes an attribute value from this CertAttrSet.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the name of the attribute to delete.
          Throws:
          @@ -569,21 +621,25 @@

          delete

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/extensions/PresenceServerExtension.html b/master/javadocs/org/mozilla/jss/netscape/security/extensions/PresenceServerExtension.html index 0f240e7f8..89eff43ea 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/extensions/PresenceServerExtension.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/extensions/PresenceServerExtension.html @@ -1,11 +1,20 @@ - + PresenceServerExtension (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.extensions
    +

    Class PresenceServerExtension

    @@ -98,7 +122,7 @@

    Class PresenceServerExte
  • java.lang.Object
  • @@ -339,12 +396,13 @@

    Methods inherited from interface org.mozilla.jss.netscape.security.x509
    • +
        -
      • +
      • Field Detail

        - +
          @@ -359,19 +417,21 @@

          OID

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • PresenceServerExtension

          -
          public PresenceServerExtension(java.lang.Boolean critical,
          +
          public PresenceServerExtension​(java.lang.Boolean critical,
                                          java.lang.Object value)
                                   throws java.io.IOException
          @@ -380,13 +440,13 @@

          PresenceServerExtension

        - +
        • PresenceServerExtension

          -
          public PresenceServerExtension(boolean critical,
          +
          public PresenceServerExtension​(boolean critical,
                                          int version,
                                          java.lang.String streetAddress,
                                          java.lang.String telephoneNumber,
          @@ -405,100 +465,102 @@ 

          PresenceServerExtension

      +
      +
        -
      • +
      • Method Detail

        - +
        • getVersion

          -
          public int getVersion()
          +
          public int getVersion()
        - +
        • getStreetAddress

          -
          public java.lang.String getStreetAddress()
          +
          public java.lang.String getStreetAddress()
        - +
        • getTelephoneNumber

          -
          public java.lang.String getTelephoneNumber()
          +
          public java.lang.String getTelephoneNumber()
        - +
        • getRFC822

          -
          public java.lang.String getRFC822()
          +
          public java.lang.String getRFC822()
        - +
        • getID

          -
          public java.lang.String getID()
          +
          public java.lang.String getID()
        - +
        • getHostName

          -
          public java.lang.String getHostName()
          +
          public java.lang.String getHostName()
        - +
        • getPortNumber

          -
          public int getPortNumber()
          +
          public int getPortNumber()
        - +
        • getMaxUsers

          -
          public int getMaxUsers()
          +
          public int getMaxUsers()
        - +
        • getServiceLevel

          -
          public int getServiceLevel()
          +
          public int getServiceLevel()
        - +
        • encodeThis

          -
          public void encodeThis()
          +
          public void encodeThis()
                           throws java.io.IOException
          Throws:
          @@ -506,13 +568,13 @@

          encodeThis

        - +
        • decodeThis

          -
          public void decodeThis()
          +
          public void decodeThis()
                           throws java.io.IOException
          Throws:
          @@ -520,20 +582,20 @@

          decodeThis

        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.security.cert.CertificateException,
                              java.io.IOException
          -
          Description copied from interface: CertAttrSet
          +
          Description copied from interface: CertAttrSet
          Decodes the attribute in the input stream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to read the encoded attribute from.
          Throws:
          @@ -542,21 +604,21 @@

          decode

        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.security.cert.CertificateException,
                              java.io.IOException
          -
          Description copied from interface: CertAttrSet
          +
          Description copied from interface: CertAttrSet
          Encodes the attribute to the output stream in a format that can be parsed by the decode method.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the OutputStream to encode the attribute to.
          Throws:
          @@ -565,19 +627,19 @@

          encode

        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.io.IOException
          Set the attribute value.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the name of the attribute (e.g. "x509.info.key")
          obj - the attribute object.
          @@ -586,18 +648,18 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.io.IOException
          Get the attribute value.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the name of the attribute to return.
          Throws:
          @@ -605,18 +667,18 @@

          get

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.io.IOException
          Delete the attribute value.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the name of the attribute to delete.
          Throws:
          @@ -624,96 +686,100 @@

          delete

        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          -
          Description copied from interface: CertAttrSet
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          Description copied from interface: CertAttrSet
          Returns an enumeration of the names of the attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Return the name of this attribute.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
        - +
        • setName

          -
          public void setName(java.lang.String name)
          +
          public void setName​(java.lang.String name)
          Set the name of this attribute.
        - +
        • getOID

          -
          public java.lang.String getOID()
          +
          public java.lang.String getOID()
          Return the OID of this attribute.
        - +
        • setOID

          -
          public void setOID(java.lang.String oid)
          +
          public void setOID​(java.lang.String oid)
          Set the OID of this attribute.
        - +
        • main

          -
          public static void main(java.lang.String[] args)
          +
          public static void main​(java.lang.String[] args)
      +
    +

    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/extensions/SubjectInfoAccessExtension.html b/master/javadocs/org/mozilla/jss/netscape/security/extensions/SubjectInfoAccessExtension.html index 4bb25fe72..149983c9b 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/extensions/SubjectInfoAccessExtension.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/extensions/SubjectInfoAccessExtension.html @@ -1,11 +1,20 @@ - + SubjectInfoAccessExtension (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.extensions
    +

    Class SubjectInfoAccessExtension

    @@ -98,7 +122,7 @@

    Class SubjectInfoAcce
  • java.lang.Object
  • @@ -313,12 +366,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -331,7 +385,7 @@

          NAME

        - +
          @@ -340,16 +394,16 @@

          OID_OCSP

          public static final int[] OID_OCSP
        - + - +
          @@ -358,16 +412,16 @@

          OID_CA_ISSUERS

          public static final int[] OID_CA_ISSUERS
        - + - +
          @@ -376,30 +430,32 @@

          OID

          public static final int[] OID
        - +
      +
      +
        -
      • +
      • Constructor Detail

        - +
        • SubjectInfoAccessExtension

          -
          public SubjectInfoAccessExtension(boolean critical)
          +
          public SubjectInfoAccessExtension​(boolean critical)
          Create the extension from the passed DER encoded value of the same.
          Parameters:
          @@ -407,13 +463,13 @@

          SubjectInfoAccessExtension

        - +
        • SubjectInfoAccessExtension

          -
          public SubjectInfoAccessExtension(java.lang.Boolean critical,
          +
          public SubjectInfoAccessExtension​(java.lang.Boolean critical,
                                             java.lang.Object value)
                                      throws java.io.IOException
          Create the extension from the passed DER encoded value of the same.
          @@ -428,25 +484,27 @@

          SubjectInfoAccessExtension

      +
      +
        -
      • +
      • Method Detail

        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.security.cert.CertificateException
          Sets extension attribute.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the name of the attribute (e.g. "x509.info.key")
          obj - the attribute object.
          @@ -455,18 +513,18 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.security.cert.CertificateException
          Retrieves extension attribute.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the name of the attribute to return.
          Throws:
          @@ -474,18 +532,18 @@

          get

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.security.cert.CertificateException
          Deletes attribute.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the name of the attribute to delete.
          Throws:
          @@ -493,18 +551,18 @@

          delete

        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.io.IOException
          Decodes this extension.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to read the encoded attribute from.
          Throws:
          @@ -512,81 +570,81 @@

          decode

        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          Return an enumeration of names of attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Return the name of this attribute.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
        - + - + - +
        • numberOfAccessDescription

          -
          public int numberOfAccessDescription()
          +
          public int numberOfAccessDescription()
          Returns the number of access description.
        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.io.IOException
          Write the extension to the DerOutputStream.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the DerOutputStream to write the extension to.
          Throws:
          @@ -594,51 +652,55 @@

          encode

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns a printable representation of the AuthInfoAccess.
          Specified by:
          -
          toString in interface CertAttrSet
          +
          toString in interface CertAttrSet
          Overrides:
          -
          toString in class Extension
          +
          toString in class Extension
          Returns:
          value of this certificate attribute in printable form.
        - +
        • main

          -
          public static void main(java.lang.String[] argv)
          +
          public static void main​(java.lang.String[] argv)
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/extensions/package-frame.html b/master/javadocs/org/mozilla/jss/netscape/security/extensions/package-frame.html deleted file mode 100644 index c6491db80..000000000 --- a/master/javadocs/org/mozilla/jss/netscape/security/extensions/package-frame.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - -org.mozilla.jss.netscape.security.extensions (JSS: Java Security Services) - - - - -

    org.mozilla.jss.netscape.security.extensions

    - - - diff --git a/master/javadocs/org/mozilla/jss/netscape/security/extensions/package-summary.html b/master/javadocs/org/mozilla/jss/netscape/security/extensions/package-summary.html index 3ea3fc024..a864f3635 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/extensions/package-summary.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/extensions/package-summary.html @@ -1,11 +1,20 @@ - + org.mozilla.jss.netscape.security.extensions (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Package org.mozilla.jss.netscape.security.extensions

    • - +
      @@ -81,18 +105,18 @@

      Package org.mozilla.jss.netscape.security

      - + - + - + - + - + - + - + - + - + - + - + - + - + - +
      Class Summary 
      Class
      AccessDescriptionAccessDescription  
      AuthInfoAccessExtensionAuthInfoAccessExtension
      This represents the authority information access extension as defined in RFC2459.
      CertificateRenewalWindowExtensionCertificateRenewalWindowExtension
      This represents the CertificateRenewalWindow extension as defined in draft-thayes-cert-renewal-00 @@ -103,7 +127,7 @@

      Package org.mozilla.jss.netscape.security

      CertificateScopeEntryCertificateScopeEntry
      This represents the CertificateScopeOfUse extension as defined in draft-thayes-cert-scope-00 @@ -116,7 +140,7 @@

      Package org.mozilla.jss.netscape.security

      CertificateScopeOfUseExtensionCertificateScopeOfUseExtension
      This represents the CertificateScopeOfUse extension as defined in draft-thayes-cert-scope-00 @@ -129,26 +153,26 @@

      Package org.mozilla.jss.netscape.security

      CertInfoCertInfo
      Extends X509CertInfo class so that minimal fields are initialized at creation time so an object of this type is always serializable.
      ExtendedKeyUsageExtensionExtendedKeyUsageExtension
      This represents the extended key usage extension.
      GenericASN1ExtensionGenericASN1Extension
      Represent the AsnInteger Extension.
      InhibitAnyPolicyExtensionInhibitAnyPolicyExtension
      RFC3280: @@ -160,35 +184,31 @@

      Package org.mozilla.jss.netscape.security

      KerberosNameKerberosName
      This represents a KerberosName as defined in RFC 1510.
      NSCertTypeExtensionNSCertTypeExtension
      NSCertTypeExtension - Represents Netscape Certificate Type Extension - - - This deprecated extension, if present, defines both the purpose (e.g., encipherment, signature, certificate signing) - and the application (e.g., SSL, S/Mime or Object Signing of the key contained in the certificate.
      + Represents Netscape Certificate Type Extension
      OCSPNoCheckExtensionOCSPNoCheckExtension
      This represents the OCSPNoCheck extension.
      PresenceServerExtensionPresenceServerExtension  
      SubjectInfoAccessExtensionSubjectInfoAccessExtension
      This represents the subject information access extension as defined in RFC3280.
      @@ -199,16 +219,19 @@

      Package org.mozilla.jss.netscape.security + + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/extensions/package-tree.html b/master/javadocs/org/mozilla/jss/netscape/security/extensions/package-tree.html index 7d40c98e0..644a3928b 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/extensions/package-tree.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/extensions/package-tree.html @@ -1,11 +1,20 @@ - + org.mozilla.jss.netscape.security.extensions Class Hierarchy (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
      + +
      +

      Hierarchy For Package org.mozilla.jss.netscape.security.extensions

      Package Hierarchies: @@ -75,46 +99,51 @@

      Hierarchy For Package org.mozilla.jss.netscape.security.extens

      +

      Class Hierarchy

      +
      +
      + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/pkcs/ContentInfo.html b/master/javadocs/org/mozilla/jss/netscape/security/pkcs/ContentInfo.html index 506bf4d73..66b5934d1 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/pkcs/ContentInfo.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/pkcs/ContentInfo.html @@ -1,11 +1,20 @@ - + ContentInfo (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
      + +
      +
      -
      org.mozilla.jss.netscape.security.pkcs
      +

      Class ContentInfo

      @@ -106,7 +130,6 @@

      Class ContentInfo

      @@ -237,142 +284,147 @@

      Methods inherited from class java.lang.Object

      +
      + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/pkcs/EncodingException.html b/master/javadocs/org/mozilla/jss/netscape/security/pkcs/EncodingException.html index 97117fcf4..8834c9ab2 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/pkcs/EncodingException.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/pkcs/EncodingException.html @@ -1,11 +1,20 @@ - + EncodingException (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
      + +
      +
      -
      org.mozilla.jss.netscape.security.pkcs
      +

      Class EncodingException

      @@ -111,10 +135,9 @@

      Class EncodingException

    • All Implemented Interfaces:
      -
      java.io.Serializable
      +
      java.io.Serializable

      -
      public class EncodingException
       extends java.lang.Exception
      @@ -128,50 +151,58 @@

      Class EncodingException

      • +
        +
        +
          -
        • +
        • Method Summary

            -
          • +
          • Methods inherited from class java.lang.Throwable

            addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
            -
          • +
          • Methods inherited from class java.lang.Object

            @@ -179,6 +210,7 @@

            Methods inherited from class java.lang.Object

        +
    • @@ -186,12 +218,13 @@

      Methods inherited from class java.lang.Object

      • +
          -
        • +
        • Constructor Detail

          - +
            @@ -200,32 +233,32 @@

            EncodingException

            public EncodingException()
          - +
          • EncodingException

            -
            public EncodingException(java.lang.String mesg)
            +
            public EncodingException​(java.lang.String mesg)
          - +
          • EncodingException

            -
            public EncodingException(java.lang.String mesg,
            +
            public EncodingException​(java.lang.String mesg,
                                      java.lang.Throwable cause)
          - +
          • EncodingException

            -
            public EncodingException(java.lang.String mesg,
            +
            public EncodingException​(java.lang.String mesg,
                                      java.lang.Throwable cause,
                                      boolean enableSuppression,
                                      boolean writableStackTrace)
            @@ -233,21 +266,25 @@

            EncodingException

        +
      +
      + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS10.html b/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS10.html index 4d5648042..522b9732f 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS10.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS10.html @@ -1,11 +1,20 @@ - + PKCS10 (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
      + +
      +
      -
      org.mozilla.jss.netscape.security.pkcs
      +

      Class PKCS10

      @@ -106,7 +130,6 @@

      Class PKCS10


      • -
        public class PKCS10
         extends java.lang.Object
        PKCS #10 certificate requests are created and sent to Certificate @@ -142,124 +165,145 @@

        Class PKCS10

        @@ -274,12 +319,13 @@

        Methods inherited from class java.lang.Object

        • +
            -
          • +
          • Field Detail

            - +
              @@ -290,19 +336,21 @@

              logger

          +
          +
            -
          • +
          • Constructor Detail

            - +
            • PKCS10

              -
              public PKCS10(X509Key publicKey)
              +
              public PKCS10​(X509Key publicKey)
              Constructs an unsigned PKCS #10 certificate request. Before this request may be used, it must be encoded and signed. Then it must be retrieved in some conventional format (e.g. string).
              @@ -313,14 +361,14 @@

              PKCS10

            - +
            • PKCS10

              -
              public PKCS10(X509Key publicKey,
              -              PKCS10Attributes attributes)
              +
              public PKCS10​(X509Key publicKey,
              +              PKCS10Attributes attributes)
              Constructs an unsigned PKCS #10 certificate request. Before this request may be used, it must be encoded and signed. Then it must be retrieved in some conventional format (e.g. string).
              @@ -333,13 +381,13 @@

              PKCS10

            - +
            • PKCS10

              -
              public PKCS10(byte[] data,
              +
              public PKCS10​(byte[] data,
                             boolean sigver)
                      throws java.io.IOException,
                             java.security.SignatureException,
              @@ -362,13 +410,13 @@ 

              PKCS10

            - +
            • PKCS10

              -
              public PKCS10(byte[] data)
              +
              public PKCS10​(byte[] data)
                      throws java.io.IOException,
                             java.security.SignatureException,
                             java.security.NoSuchAlgorithmException,
              @@ -384,19 +432,21 @@ 

              PKCS10

          +
          +
            -
          • +
          • Method Detail

            - +
            • encodeAndSign

              -
              public void encodeAndSign(X500Signer requester)
              +
              public void encodeAndSign​(X500Signer requester)
                                  throws java.security.cert.CertificateException,
                                         java.io.IOException,
                                         java.security.SignatureException
              @@ -413,43 +463,43 @@

              encodeAndSign

            - +
            • getSubjectName

              -
              public X500Name getSubjectName()
              +
              public X500Name getSubjectName()
              Returns the subject's name.
            - +
            • getSubjectPublicKeyInfo

              -
              public X509Key getSubjectPublicKeyInfo()
              +
              public X509Key getSubjectPublicKeyInfo()
              Returns the subject's public key.
            - + - +
            • toByteArray

              -
              public byte[] toByteArray()
              +
              public byte[] toByteArray()
              Returns the encoded and signed certificate request as a DER-encoded byte array.
              @@ -459,13 +509,13 @@

              toByteArray

            - +
            • print

              -
              public void print(java.io.PrintStream out)
              +
              public void print​(java.io.PrintStream out)
                          throws java.io.IOException,
                                 java.security.SignatureException
              Prints an E-Mailable version of the certificate request on the print @@ -485,13 +535,13 @@

              print

            - +
            • toString

              -
              public java.lang.String toString()
              +
              public java.lang.String toString()
              Provides a short description of this request.
              Overrides:
              @@ -499,33 +549,37 @@

              toString

            - +
            • getCertRequestInfo

              -
              public byte[] getCertRequestInfo()
              +
              public byte[] getCertRequestInfo()
              Retrieve the PKCS10 CertificateRequestInfo as a byte array
          +
      +
      + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS10Attribute.html b/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS10Attribute.html index 0947dd34b..3440b2bea 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS10Attribute.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS10Attribute.html @@ -1,11 +1,20 @@ - + PKCS10Attribute (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
      + +
      +
      -
      org.mozilla.jss.netscape.security.pkcs
      +

      Class PKCS10Attribute

      @@ -107,13 +131,12 @@

      Class PKCS10Attribute

    • All Implemented Interfaces:
      -
      java.io.Serializable, DerEncoder
      +
      java.io.Serializable, DerEncoder

      -
      public class PKCS10Attribute
       extends java.lang.Object
      -implements DerEncoder, java.io.Serializable
      +implements DerEncoder, java.io.Serializable
      Represent a PKCS Attribute.

      @@ -144,109 +167,128 @@

      Class PKCS10Attribute

      @@ -261,38 +304,41 @@

      Methods inherited from class java.lang.Object

      • +
        +
        +
          -
        • +
        • Constructor Detail

          - +
            @@ -302,13 +348,13 @@

            PKCS10Attribute

            Default constructor. Used only by sub-classes.
          - +
          • PKCS10Attribute

            -
            public PKCS10Attribute(DerValue derVal)
            +
            public PKCS10Attribute​(DerValue derVal)
                             throws java.io.IOException
            Constructs an attribute from a DER encoded array of bytes.
            @@ -317,14 +363,14 @@

            PKCS10Attribute

          - +
          • PKCS10Attribute

            -
            public PKCS10Attribute(ObjectIdentifier attributeId,
            -                       CertAttrSet attributeValue)
            +
            public PKCS10Attribute​(ObjectIdentifier attributeId,
            +                       CertAttrSet attributeValue)
            Constructs an attribute from individual components of ObjectIdentifier and the DER encoded value.
            @@ -334,13 +380,13 @@

            PKCS10Attribute

          - +
          • PKCS10Attribute

            -
            public PKCS10Attribute(PKCS10Attribute attr)
            +
            public PKCS10Attribute​(PKCS10Attribute attr)
            Constructs an attribute from another attribute. To be used for creating decoded subclasses.
            @@ -351,19 +397,21 @@

            PKCS10Attribute

        +
        +
          -
        • +
        • Method Detail

          - +
          • encode

            -
            public void encode(java.io.OutputStream out)
            +
            public void encode​(java.io.OutputStream out)
                         throws java.security.cert.CertificateException,
                                java.io.IOException
            Write the output to the DerOutputStream.
            @@ -376,19 +424,19 @@

            encode

          - +
          • derEncode

            -
            public void derEncode(java.io.OutputStream out)
            +
            public void derEncode​(java.io.OutputStream out)
                            throws java.io.IOException
            DER encode this object onto an output stream. Implements the DerEncoder interface.
            Specified by:
            -
            derEncode in interface DerEncoder
            +
            derEncode in interface DerEncoder
            Parameters:
            out - the OutputStream on which to write the DER encoding.
            Throws:
            @@ -396,33 +444,33 @@

            derEncode

          - + - +
          • getAttributeValue

            -
            public CertAttrSet getAttributeValue()
            +
            public CertAttrSet getAttributeValue()
            Returns the attribute value as an byte array for further processing.
          - +
          • toString

            -
            public java.lang.String toString()
            +
            public java.lang.String toString()
            Returns the attribute in user readable form.
            Overrides:
            @@ -432,21 +480,25 @@

            toString

        +
    • +
      + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS10Attributes.html b/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS10Attributes.html index bea487da3..9b947c385 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS10Attributes.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS10Attributes.html @@ -1,11 +1,20 @@ - + PKCS10Attributes (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
      + +
      +
      -
      org.mozilla.jss.netscape.security.pkcs
      +

      Class PKCS10Attributes

      @@ -104,7 +128,7 @@

      Class PKCS10Attributes

    • java.util.AbstractList<E>
      • -
      • java.util.Vector<PKCS10Attribute>
      • +
      • java.util.Vector<PKCS10Attribute>
        • org.mozilla.jss.netscape.security.pkcs.PKCS10Attributes
        • @@ -122,13 +146,12 @@

          Class PKCS10Attributes

        • All Implemented Interfaces:
          -
          java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<PKCS10Attribute>, java.util.Collection<PKCS10Attribute>, java.util.List<PKCS10Attribute>, java.util.RandomAccess, DerEncoder
          +
          java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<PKCS10Attribute>, java.util.Collection<PKCS10Attribute>, java.util.List<PKCS10Attribute>, java.util.RandomAccess, DerEncoder

          -
          public class PKCS10Attributes
          -extends java.util.Vector<PKCS10Attribute>
          -implements DerEncoder
          +extends java.util.Vector<PKCS10Attribute> +implements DerEncoder
          This class defines the PKCS10 attributes for the request.
          See Also:
          @@ -141,31 +164,34 @@

          Class PKCS10Attributes

          • +
              -
            • +
            • Field Summary

              - +
              - + + - + +
              Fields 
              Modifier and TypeField and DescriptionFieldDescription
              static org.slf4j.Loggerlogger logger 
                -
              • +
              • Fields inherited from class java.util.Vector

                capacityIncrement, elementCount, elementData
                -
              • +
              • Fields inherited from class java.util.AbstractList

                @@ -173,112 +199,129 @@

                Fields inherited from class java.util.AbstractList

            +
            +
            +
            +
              -
            • +
            • Method Summary

              - +
              - + + - + - + - + - + + - - + + - - + + - + + - +
              All Methods Instance Methods Concrete Methods 
              Modifier and TypeMethod and DescriptionMethodDescription
              voiddeleteAttribute(java.lang.String name) +deleteAttribute​(java.lang.String name)
              Delete the attribute value.
              voidderEncode(java.io.OutputStream out) +derEncode​(java.io.OutputStream out)
              Encode the attributes in DER form to the stream.
              voidencode(java.io.OutputStream out) +encode​(java.io.OutputStream out)
              Encode the attributes in DER form to the stream.
              booleanequals(java.lang.Object obj) equals​(java.lang.Object obj) 
              PKCS10AttributegetAttribute(java.lang.String name) +PKCS10AttributegetAttribute​(java.lang.String name)
              Get the attribute value.
              java.util.Enumeration<PKCS10Attribute>getElements() +java.util.Enumeration<PKCS10Attribute>getElements()
              Return an enumeration of names of attributes existing within this attribute.
              inthashCode() hashCode() 
              voidsetAttribute(java.lang.String name, - PKCS10Attribute attr) +setAttribute​(java.lang.String name, + PKCS10Attribute attr)
              Set the attribute value.
                -
              • +
              • Methods inherited from class java.util.Vector

                add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, firstElement, forEach, get, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSize
                -
              • +
              • Methods inherited from class java.lang.Object

                finalize, getClass, notify, notifyAll, wait, wait, wait
                -
              • +
              • Methods inherited from interface java.util.Collection

                -parallelStream, stream
              • +parallelStream, stream, toArray
            +
    • @@ -286,12 +329,13 @@

      Methods inherited from interface java.util.Collection

      • +
          -
        • +
        • Field Detail

          - +
            @@ -302,13 +346,15 @@

            logger

        +
        +
          -
        • +
        • Constructor Detail

          - +
            @@ -318,13 +364,13 @@

            PKCS10Attributes

            Default constructor for the certificate attribute.
          - +
          • PKCS10Attributes

            -
            public PKCS10Attributes(DerInputStream in)
            +
            public PKCS10Attributes​(DerInputStream in)
                              throws java.io.IOException
            Create the object, decoding the values from the passed DER stream.
            @@ -337,19 +383,21 @@

            PKCS10Attributes

        +
        +
          -
        • +
        • Method Detail

          - +
          • encode

            -
            public void encode(java.io.OutputStream out)
            +
            public void encode​(java.io.OutputStream out)
                         throws java.io.IOException
            Encode the attributes in DER form to the stream.
            @@ -360,19 +408,19 @@

            encode

          - +
          • derEncode

            -
            public void derEncode(java.io.OutputStream out)
            +
            public void derEncode​(java.io.OutputStream out)
                            throws java.io.IOException
            Encode the attributes in DER form to the stream. Implements the DerEncoder interface.
            Specified by:
            -
            derEncode in interface DerEncoder
            +
            derEncode in interface DerEncoder
            Parameters:
            out - the OutputStream to marshal the contents to.
            Throws:
            @@ -380,14 +428,14 @@

            derEncode

          - +
          • setAttribute

            -
            public void setAttribute(java.lang.String name,
            -                         PKCS10Attribute attr)
            +
            public void setAttribute​(java.lang.String name,
            +                         PKCS10Attribute attr)
                               throws java.io.IOException
            Set the attribute value.
            @@ -396,13 +444,13 @@

            setAttribute

          - +
          • getAttribute

            -
            public PKCS10Attribute getAttribute(java.lang.String name)
            +
            public PKCS10Attribute getAttribute​(java.lang.String name)
                                          throws java.io.IOException
            Get the attribute value.
            @@ -411,13 +459,13 @@

            getAttribute

          - +
          • deleteAttribute

            -
            public void deleteAttribute(java.lang.String name)
            +
            public void deleteAttribute​(java.lang.String name)
                                  throws java.io.IOException
            Delete the attribute value.
            @@ -426,68 +474,72 @@

            deleteAttribute

          - +
          • getElements

            -
            public java.util.Enumeration<PKCS10Attribute> getElements()
            +
            public java.util.Enumeration<PKCS10Attribute> getElements()
            Return an enumeration of names of attributes existing within this attribute.
          - + - +
          • equals

            -
            public boolean equals(java.lang.Object obj)
            +
            public boolean equals​(java.lang.Object obj)
            Specified by:
            -
            equals in interface java.util.Collection<PKCS10Attribute>
            +
            equals in interface java.util.Collection<PKCS10Attribute>
            Specified by:
            -
            equals in interface java.util.List<PKCS10Attribute>
            +
            equals in interface java.util.List<PKCS10Attribute>
            Overrides:
            -
            equals in class java.util.Vector<PKCS10Attribute>
            +
            equals in class java.util.Vector<PKCS10Attribute>
        +
      +
      + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS12.html b/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS12.html index f2d45d25d..41bbb5be0 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS12.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS12.html @@ -1,11 +1,20 @@ - + PKCS12 (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
      + +
      +
      -
      org.mozilla.jss.netscape.security.pkcs
      +

      Class PKCS12

      @@ -106,7 +130,6 @@

      Class PKCS12

      @@ -286,48 +346,49 @@

      Methods inherited from class java.lang.Object

      • +
        +
        +
          -
        • +
        • Constructor Detail

          - +
            @@ -476,38 +539,40 @@

            PKCS12

        +
        +
          -
        • +
        • Method Detail

          - +
          • isFlagEnabled

            -
            public static boolean isFlagEnabled(int flag,
            +
            public static boolean isFlagEnabled​(int flag,
                                                 int flags)
          - +
          • encodeFlags

            -
            public static java.lang.String encodeFlags(int flags)
            +
            public static java.lang.String encodeFlags​(int flags)
          - +
          • decodeFlags

            -
            public static int decodeFlags(java.lang.String flags)
            +
            public static int decodeFlags​(java.lang.String flags)
                                    throws java.lang.Exception
            Throws:
            @@ -515,95 +580,95 @@

            decodeFlags

          - +
          • getKeyInfos

            -
            public java.util.Collection<PKCS12KeyInfo> getKeyInfos()
            +
            public java.util.Collection<PKCS12KeyInfo> getKeyInfos()
          - + - + - +
          • removeKeyInfoByID

            -
            public PKCS12KeyInfo removeKeyInfoByID(byte[] id)
            +
            public PKCS12KeyInfo removeKeyInfoByID​(byte[] id)
          - + - +
          • addCertInfo

            -
            public void addCertInfo(PKCS12CertInfo certInfo,
            +
            public void addCertInfo​(PKCS12CertInfo certInfo,
                                     boolean replace)
          - + - +
          • getCertInfoByKeyID

            -
            public PKCS12CertInfo getCertInfoByKeyID(byte[] keyID)
            +
            public PKCS12CertInfo getCertInfoByKeyID​(byte[] keyID)
          - +
          • getCertInfosByFriendlyName

            -
            public java.util.Collection<PKCS12CertInfo> getCertInfosByFriendlyName(java.lang.String friendlyName)
            +
            public java.util.Collection<PKCS12CertInfo> getCertInfosByFriendlyName​(java.lang.String friendlyName)
          - +
          • removeCertInfoByFriendlyName

            -
            public void removeCertInfoByFriendlyName(java.lang.String friendlyName)
            +
            public void removeCertInfoByFriendlyName​(java.lang.String friendlyName)
                                               throws java.lang.Exception
            Throws:
            @@ -613,21 +678,25 @@

            removeCertInfoByFriendlyName

        +
      +
      + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS12CertInfo.html b/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS12CertInfo.html index 565fbf049..947eb991d 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS12CertInfo.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS12CertInfo.html @@ -1,11 +1,20 @@ - + PKCS12CertInfo (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
      + +
      +
      -
      org.mozilla.jss.netscape.security.pkcs
      +

      Class PKCS12CertInfo

      @@ -106,7 +130,6 @@

      Class PKCS12CertInfo

      @@ -201,12 +241,13 @@

      Methods inherited from class java.lang.Object

      • +
          -
        • +
        • Constructor Detail

          - +
            @@ -217,119 +258,125 @@

            PKCS12CertInfo

        +
        +
          -
        • +
        • Method Detail

          - +
          • getID

            -
            public byte[] getID()
            +
            public byte[] getID()
          - +
          • setID

            -
            public void setID(byte[] id)
            +
            public void setID​(byte[] id)
          - + - + - +
          • getFriendlyName

            -
            public java.lang.String getFriendlyName()
            +
            public java.lang.String getFriendlyName()
          - +
          • setFriendlyName

            -
            public void setFriendlyName(java.lang.String friendlyName)
            +
            public void setFriendlyName​(java.lang.String friendlyName)
          - +
          • getTrustFlags

            -
            public java.lang.String getTrustFlags()
            +
            public java.lang.String getTrustFlags()
          - +
          • setTrustFlags

            -
            public void setTrustFlags(java.lang.String trustFlags)
            +
            public void setTrustFlags​(java.lang.String trustFlags)
          - +
          • getKeyID

            -
            public byte[] getKeyID()
            +
            public byte[] getKeyID()
          - +
          • setKeyID

            -
            public void setKeyID(byte[] keyID)
            +
            public void setKeyID​(byte[] keyID)
        +
      +
      + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS12KeyInfo.html b/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS12KeyInfo.html index ebd8b497d..3add24210 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS12KeyInfo.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS12KeyInfo.html @@ -1,11 +1,20 @@ - + PKCS12KeyInfo (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
      + +
      +
      -
      org.mozilla.jss.netscape.security.pkcs
      +

      Class PKCS12KeyInfo

      @@ -106,7 +130,6 @@

      Class PKCS12KeyInfo


      • -
        public class PKCS12KeyInfo
         extends java.lang.Object
        This object is used for carrying key info around. @@ -125,71 +148,85 @@

        Class PKCS12KeyInfo

        @@ -204,12 +242,13 @@

        Methods inherited from class java.lang.Object

        • +
            -
          • +
          • Constructor Detail

            - +
              @@ -218,24 +257,24 @@

              PKCS12KeyInfo

              public PKCS12KeyInfo()
            - +
            • PKCS12KeyInfo

              -
              public PKCS12KeyInfo(PrivateKey k)
              +
              public PKCS12KeyInfo​(PrivateKey k)
              Construct with a PrivateKey. This constructor is used for moving the PrivateKey handle around during export.
            - +
            • PKCS12KeyInfo

              -
              public PKCS12KeyInfo(byte[] epkiBytes)
              +
              public PKCS12KeyInfo​(byte[] epkiBytes)
              Construct with a (serialised) EncrypedPrivateKeyInfo. This constructor is used for moving the EPKI data around during import.
              @@ -243,83 +282,89 @@

              PKCS12KeyInfo

          +
          +
            -
          • +
          • Method Detail

            - + - +
            • getEncryptedPrivateKeyInfoBytes

              -
              public byte[] getEncryptedPrivateKeyInfoBytes()
              +
              public byte[] getEncryptedPrivateKeyInfoBytes()
            - +
            • getID

              -
              public byte[] getID()
              +
              public byte[] getID()
            - +
            • setID

              -
              public void setID(byte[] id)
              +
              public void setID​(byte[] id)
            - +
            • getFriendlyName

              -
              public java.lang.String getFriendlyName()
              +
              public java.lang.String getFriendlyName()
            - +
            • setFriendlyName

              -
              public void setFriendlyName(java.lang.String friendlyName)
              +
              public void setFriendlyName​(java.lang.String friendlyName)
          +
      +
      + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS12Util.html b/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS12Util.html index 20cd76293..20020b22d 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS12Util.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS12Util.html @@ -1,11 +1,20 @@ - + PKCS12Util (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
      + +
      +
      -
      org.mozilla.jss.netscape.security.pkcs
      +

      Class PKCS12Util

      @@ -106,7 +130,6 @@

      Class PKCS12Util

      @@ -417,12 +496,13 @@

      Methods inherited from class java.lang.Object

      • +
          -
        • +
        • Field Detail

          - +
            @@ -435,34 +515,34 @@

            NO_ENCRYPTION

          - +
          • SUPPORTED_CERT_ENCRYPTIONS

            -
            public static final java.util.List<PBEAlgorithm> SUPPORTED_CERT_ENCRYPTIONS
            +
            public static final java.util.List<PBEAlgorithm> SUPPORTED_CERT_ENCRYPTIONS
          - +
          • SUPPORTED_KEY_ENCRYPTIONS

            -
            public static final java.util.List<PBEAlgorithm> SUPPORTED_KEY_ENCRYPTIONS
            +
            public static final java.util.List<PBEAlgorithm> SUPPORTED_KEY_ENCRYPTIONS
          - +
          • DEFAULT_CERT_ENCRYPTION

            -
            public static final PBEAlgorithm DEFAULT_CERT_ENCRYPTION
            +
            public static final PBEAlgorithm DEFAULT_CERT_ENCRYPTION
          - +
            @@ -475,16 +555,16 @@

            DEFAULT_CERT_ENCRYPTION_NAME

          - +
          • DEFAULT_KEY_ENCRYPTION

            -
            public static final PBEAlgorithm DEFAULT_KEY_ENCRYPTION
            +
            public static final PBEAlgorithm DEFAULT_KEY_ENCRYPTION
          - +
            @@ -495,13 +575,15 @@

            DEFAULT_KEY_ENCRYPTION_NAME

        +
        +
          -
        • +
        • Constructor Detail

          - +
            @@ -517,19 +599,21 @@

            PKCS12Util

        +
        +
          -
        • +
        • Method Detail

          - +
          • setCertEncryption

            -
            public void setCertEncryption(java.lang.String name)
            +
            public void setCertEncryption​(java.lang.String name)
                                    throws java.lang.Exception
            Throws:
            @@ -537,13 +621,13 @@

            setCertEncryption

          - +
          • setCertEncryption

            -
            public void setCertEncryption(PBEAlgorithm algorithm)
            +
            public void setCertEncryption​(PBEAlgorithm algorithm)
                                    throws java.lang.Exception
            Throws:
            @@ -551,22 +635,22 @@

            setCertEncryption

          - + - +
          • setKeyEncryption

            -
            public void setKeyEncryption(java.lang.String name)
            +
            public void setKeyEncryption​(java.lang.String name)
                                   throws java.lang.Exception
            Throws:
            @@ -574,13 +658,13 @@

            setKeyEncryption

          - +
          • setKeyEncryption

            -
            public void setKeyEncryption(PBEAlgorithm algorithm)
            +
            public void setKeyEncryption​(PBEAlgorithm algorithm)
                                   throws java.lang.Exception
            Throws:
            @@ -588,49 +672,49 @@

            setKeyEncryption

          - + - +
          • isTrustFlagsEnabled

            -
            public boolean isTrustFlagsEnabled()
            +
            public boolean isTrustFlagsEnabled()
          - +
          • setTrustFlagsEnabled

            -
            public void setTrustFlagsEnabled(boolean trustFlagsEnabled)
            +
            public void setTrustFlagsEnabled​(boolean trustFlagsEnabled)
          - + - +
          • setTrustFlags

            -
            public void setTrustFlags(X509Certificate cert,
            +
            public void setTrustFlags​(X509Certificate cert,
                                       java.lang.String trustFlags)
                                throws java.lang.Exception
            @@ -639,15 +723,15 @@

            setTrustFlags

          - +
          • addKeyBag

            -
            public void addKeyBag(PKCS12KeyInfo keyInfo,
            -                      Password password,
            -                      SEQUENCE encSafeContents)
            +
            public void addKeyBag​(PKCS12KeyInfo keyInfo,
            +                      Password password,
            +                      SEQUENCE encSafeContents)
                            throws java.lang.Exception
            Add a private key to the PKCS #12 object. @@ -673,15 +757,15 @@

            addKeyBag

          - + - + - +
          • addCertBag

            -
            public void addCertBag(PKCS12CertInfo certInfo,
            -                       SEQUENCE safeContents)
            +
            public void addCertBag​(PKCS12CertInfo certInfo,
            +                       SEQUENCE safeContents)
                             throws java.lang.Exception
            Throws:
            @@ -720,13 +804,13 @@

            addCertBag

          - +
          • loadFromNSS

            -
            public void loadFromNSS(PKCS12 pkcs12)
            +
            public void loadFromNSS​(PKCS12 pkcs12)
                              throws java.lang.Exception
            Throws:
            @@ -734,13 +818,13 @@

            loadFromNSS

          - +
          • loadFromNSS

            -
            public void loadFromNSS(PKCS12 pkcs12,
            +
            public void loadFromNSS​(PKCS12 pkcs12,
                                     boolean includeKey,
                                     boolean includeChain)
                              throws java.lang.Exception
            @@ -750,13 +834,13 @@

            loadFromNSS

          - +
          • loadCertFromNSS

            -
            public void loadCertFromNSS(PKCS12 pkcs12,
            +
            public void loadCertFromNSS​(PKCS12 pkcs12,
                                         java.lang.String nickname,
                                         boolean includeKey,
                                         boolean includeChain)
            @@ -767,13 +851,13 @@ 

            loadCertFromNSS

          - +
          • loadCertFromNSS

            -
            public void loadCertFromNSS(PKCS12 pkcs12,
            +
            public void loadCertFromNSS​(PKCS12 pkcs12,
                                         java.lang.String nickname,
                                         boolean includeKey,
                                         boolean includeChain,
            @@ -785,14 +869,14 @@ 

            loadCertFromNSS

          - +
          • loadCertFromNSS

            -
            public void loadCertFromNSS(PKCS12 pkcs12,
            -                            X509Certificate cert,
            +
            public void loadCertFromNSS​(PKCS12 pkcs12,
            +                            X509Certificate cert,
                                         boolean includeKey,
                                         boolean includeChain)
                                  throws java.lang.Exception
            @@ -802,14 +886,14 @@

            loadCertFromNSS

          - +
          • loadCertFromNSS

            -
            public void loadCertFromNSS(PKCS12 pkcs12,
            -                            X509Certificate cert,
            +
            public void loadCertFromNSS​(PKCS12 pkcs12,
            +                            X509Certificate cert,
                                         boolean includeKey,
                                         boolean includeChain,
                                         java.lang.String friendlyName)
            @@ -820,13 +904,13 @@ 

            loadCertFromNSS

          - + - + - + - + - +
          • generatePFX

            -
            public PFX generatePFX(PKCS12 pkcs12,
            -                       Password password)
            +
            public PFX generatePFX​(PKCS12 pkcs12,
            +                       Password password)
                             throws java.lang.Exception
            Throws:
            @@ -895,15 +979,15 @@

            generatePFX

          - +
          • storeIntoFile

            -
            public void storeIntoFile(PKCS12 pkcs12,
            +
            public void storeIntoFile​(PKCS12 pkcs12,
                                       java.lang.String filename,
            -                          Password password)
            +                          Password password)
                                throws java.lang.Exception
            Throws:
            @@ -911,14 +995,14 @@

            storeIntoFile

          - +
          • getKeyInfo

            -
            public PKCS12KeyInfo getKeyInfo(SafeBag bag,
            -                                Password password)
            +
            public PKCS12KeyInfo getKeyInfo​(SafeBag bag,
            +                                Password password)
                                      throws java.lang.Exception
            Loads key bags (for IMPORT and other operations on existing PKCS #12 files). Does not decrypt EncryptedPrivateKeyInfo @@ -930,13 +1014,13 @@

            getKeyInfo

          - + - +
          • getKeyInfos

            -
            public void getKeyInfos(PKCS12 pkcs12,
            -                        PFX pfx,
            -                        Password password)
            +
            public void getKeyInfos​(PKCS12 pkcs12,
            +                        PFX pfx,
            +                        Password password)
                              throws java.lang.Exception
            Throws:
            @@ -960,15 +1044,15 @@

            getKeyInfos

          - +
          • getCertInfos

            -
            public void getCertInfos(PKCS12 pkcs12,
            -                         PFX pfx,
            -                         Password password)
            +
            public void getCertInfos​(PKCS12 pkcs12,
            +                         PFX pfx,
            +                         Password password)
                               throws java.lang.Exception
            Throws:
            @@ -976,14 +1060,14 @@

            getCertInfos

          - +
          • loadFromFile

            -
            public PKCS12 loadFromFile(java.lang.String filename,
            -                           Password password)
            +
            public PKCS12 loadFromFile​(java.lang.String filename,
            +                           Password password)
                                 throws java.lang.Exception
            Throws:
            @@ -991,14 +1075,14 @@

            loadFromFile

          - +
          • loadFromByteArray

            -
            public PKCS12 loadFromByteArray(byte[] b,
            -                                Password password)
            +
            public PKCS12 loadFromByteArray​(byte[] b,
            +                                Password password)
                                      throws java.lang.Exception
            Throws:
            @@ -1006,13 +1090,13 @@

            loadFromByteArray

          - +
          • loadFromFile

            -
            public PKCS12 loadFromFile(java.lang.String filename)
            +
            public PKCS12 loadFromFile​(java.lang.String filename)
                                 throws java.lang.Exception
            Throws:
            @@ -1020,22 +1104,22 @@

            loadFromFile

          - +
          • getPrivateKeyType

            -
            public PrivateKey.Type getPrivateKeyType(java.security.PublicKey publicKey)
            +
            public PrivateKey.Type getPrivateKeyType​(java.security.PublicKey publicKey)
          - +
          • getCertBySubjectDN

            -
            public PKCS12CertInfo getCertBySubjectDN(PKCS12 pkcs12,
            +
            public PKCS12CertInfo getCertBySubjectDN​(PKCS12 pkcs12,
                                                      java.lang.String subjectDN)
                                               throws java.security.cert.CertificateException
            @@ -1044,16 +1128,16 @@

            getCertBySubjectDN

          - +
          • importKey

            -
            public void importKey(PKCS12 pkcs12,
            -                      Password password,
            +
            public void importKey​(PKCS12 pkcs12,
            +                      Password password,
                                   java.lang.String nickname,
            -                      PKCS12KeyInfo keyInfo)
            +                      PKCS12KeyInfo keyInfo)
                            throws java.lang.Exception
            Throws:
            @@ -1061,15 +1145,15 @@

            importKey

          - +
          • storeCertIntoNSS

            -
            public void storeCertIntoNSS(PKCS12 pkcs12,
            -                             Password password,
            -                             PKCS12CertInfo certInfo,
            +
            public void storeCertIntoNSS​(PKCS12 pkcs12,
            +                             Password password,
            +                             PKCS12CertInfo certInfo,
                                          boolean overwrite)
                                   throws java.lang.Exception
            Store a certificate (and key, if present) in NSSDB.
            @@ -1079,14 +1163,14 @@

            storeCertIntoNSS

          - +
          • storeCertIntoNSS

            -
            public void storeCertIntoNSS(PKCS12 pkcs12,
            -                             Password password,
            +
            public void storeCertIntoNSS​(PKCS12 pkcs12,
            +                             Password password,
                                          java.lang.String nickname,
                                          boolean overwrite)
                                   throws java.lang.Exception
            @@ -1096,14 +1180,14 @@

            storeCertIntoNSS

          - +
          • storeIntoNSS

            -
            public void storeIntoNSS(PKCS12 pkcs12,
            -                         Password password,
            +
            public void storeIntoNSS​(PKCS12 pkcs12,
            +                         Password password,
                                      boolean overwrite)
                               throws java.lang.Exception
            @@ -1114,21 +1198,25 @@

            storeIntoNSS

        +
      +
      + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS7.html b/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS7.html index dc2910756..4d501ad24 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS7.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS7.html @@ -1,11 +1,20 @@ - + PKCS7 (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
      + +
      +
      -
      org.mozilla.jss.netscape.security.pkcs
      +

      Class PKCS7

      @@ -106,7 +130,6 @@

      Class PKCS7


      • -
        public class PKCS7
         extends java.lang.Object
        PKCS7 as defined in RSA Laboratories PKCS7 Technical Note. Profile @@ -121,124 +144,146 @@

        Class PKCS7

        @@ -320,12 +376,13 @@

        Methods inherited from class java.lang.Object

        • +
            -
          • +
          • Field Detail

            - +
              @@ -338,7 +395,7 @@

              HEADER

            - +
              @@ -353,20 +410,22 @@

              FOOTER

          +
          +
            -
          • +
          • Constructor Detail

            - +
            • PKCS7

              -
              public PKCS7(java.io.InputStream in)
              -      throws ParsingException,
              +
              public PKCS7​(java.io.InputStream in)
              +      throws ParsingException,
                            java.io.IOException
              Unmarshals a PKCS7 block from its encoded form, parsing the encoded bytes from the InputStream.
              @@ -374,76 +433,76 @@

              PKCS7

              Parameters:
              in - an input stream holding at least one PKCS7 block.
              Throws:
              -
              ParsingException - on parsing errors.
              +
              ParsingException - on parsing errors.
              java.io.IOException - on other errors.
            - + - +
            • PKCS7

              -
              public PKCS7(byte[] bytes)
              -      throws ParsingException
              +
              public PKCS7​(byte[] bytes)
              +      throws ParsingException
              Unmarshals a PKCS7 block from its encoded form, parsing the encoded bytes.
              Parameters:
              bytes - the encoded bytes.
              Throws:
              -
              ParsingException - on parsing errors.
              +
              ParsingException - on parsing errors.
            - +
            • PKCS7

              -
              public PKCS7(java.lang.String input)
              -      throws ParsingException,
              +
              public PKCS7​(java.lang.String input)
              +      throws ParsingException,
                            java.io.IOException
              Unmarshals a PKCS7 block from PEM format.
              Parameters:
              input - the PKCS7 block in PEM format.
              Throws:
              -
              ParsingException - on parsing errors.
              +
              ParsingException - on parsing errors.
              java.io.IOException
            - +
            • PKCS7

              -
              public PKCS7(AlgorithmId[] digestAlgorithmIds,
              -             ContentInfo contentInfo,
              +
              public PKCS7​(AlgorithmId[] digestAlgorithmIds,
              +             ContentInfo contentInfo,
                            java.security.cert.X509Certificate[] certificates,
              -             SignerInfo[] signerInfos)
              + SignerInfo[] signerInfos)
              Construct an initialized PKCS7 block.
              Parameters:
              @@ -454,13 +513,13 @@

              PKCS7

            - +
            • PKCS7

              -
              public PKCS7(java.security.cert.X509Certificate[] certs)
              +
              public PKCS7​(java.security.cert.X509Certificate[] certs)
              Construct PKCS7 from an array of certificates.
              Parameters:
              @@ -470,19 +529,21 @@

              PKCS7

          +
          +
            -
          • +
          • Method Detail

            - +
            • encodeSignedData

              -
              public void encodeSignedData(java.io.OutputStream out)
              +
              public void encodeSignedData​(java.io.OutputStream out)
                                     throws java.io.IOException
              Encodes the signed data to an output stream.
              @@ -493,13 +554,13 @@

              encodeSignedData

            - +
            • encodeSignedData

              -
              public void encodeSignedData(java.io.OutputStream out,
              +
              public void encodeSignedData​(java.io.OutputStream out,
                                            boolean sort)
                                     throws java.io.IOException
              Like method above but not sorted.
              @@ -509,13 +570,13 @@

              encodeSignedData

            - +
            • encodeSignedData

              -
              public void encodeSignedData(DerOutputStream out)
              +
              public void encodeSignedData​(DerOutputStream out)
                                     throws java.io.IOException
              encode signed data, sort certs by default.
              @@ -524,13 +585,13 @@

              encodeSignedData

            - +
            • encodeSignedData

              -
              public void encodeSignedData(DerOutputStream out,
              +
              public void encodeSignedData​(DerOutputStream out,
                                            boolean sort)
                                     throws java.io.IOException
              Encodes the signed data to a DerOutputStream.
              @@ -542,13 +603,13 @@

              encodeSignedData

            - +
            • verify

              -
              public SignerInfo verify(SignerInfo info,
              +
              public SignerInfo verify​(SignerInfo info,
                                        byte[] bytes)
                                 throws java.security.NoSuchAlgorithmException,
                                        java.security.SignatureException
              @@ -563,13 +624,13 @@

              verify

            - +
            • verify

              -
              public SignerInfo[] verify(byte[] bytes)
              +
              public SignerInfo[] verify​(byte[] bytes)
                                   throws java.security.NoSuchAlgorithmException,
                                          java.security.SignatureException
              Returns all signerInfos which self-verify.
              @@ -582,13 +643,13 @@

              verify

            - +
            • verify

              -
              public SignerInfo[] verify()
              +
              public SignerInfo[] verify()
                                   throws java.security.NoSuchAlgorithmException,
                                          java.security.SignatureException
              Returns all signerInfos which self-verify.
              @@ -599,64 +660,64 @@

              verify

            - +
            • getVersion

              -
              public BigInt getVersion()
              +
              public BigInt getVersion()
              Returns the version number of this PKCS7 block.
            - +
            • getDigestAlgorithmIds

              -
              public AlgorithmId[] getDigestAlgorithmIds()
              +
              public AlgorithmId[] getDigestAlgorithmIds()
              Returns the message digest algorithms specified in this PKCS7 block.
            - +
            • getContentInfo

              -
              public ContentInfo getContentInfo()
              +
              public ContentInfo getContentInfo()
              Returns the content information specified in this PKCS7 block.
            - +
            • getCertificates

              -
              public java.security.cert.X509Certificate[] getCertificates()
              +
              public java.security.cert.X509Certificate[] getCertificates()
              Returns the X.509 certificates listed in this PKCS7 block.
            - +
            • getSignerInfos

              -
              public SignerInfo[] getSignerInfos()
              +
              public SignerInfo[] getSignerInfos()
              Returns the signer's information specified in this PKCS7 block.
            - +
            • getCertificate

              -
              public java.security.cert.X509Certificate getCertificate(BigInt serial,
              -                                                         X500Name name)
              +
              public java.security.cert.X509Certificate getCertificate​(BigInt serial,
              +                                                         X500Name name)
              Returns the X.509 certificate listed in this PKCS7 block which has a matching serial number and Issuer name, or null if one is not found.
              @@ -667,13 +728,13 @@

              getCertificate

            - +
            • getBytes

              -
              public byte[] getBytes()
              +
              public byte[] getBytes()
                               throws java.io.IOException
              Throws:
              @@ -681,13 +742,13 @@

              getBytes

            - +
            • toPEMString

              -
              public java.lang.String toPEMString()
              +
              public java.lang.String toPEMString()
                                            throws java.io.IOException
              Throws:
              @@ -695,13 +756,13 @@

              toPEMString

            - +
            • toString

              -
              public java.lang.String toString()
              +
              public java.lang.String toString()
              Returns the PKCS7 block in a printable string form.
              Overrides:
              @@ -711,21 +772,25 @@

              toString

          +
      +
      + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS8Key.html b/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS8Key.html index 8431e664e..cce2cad8f 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS8Key.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS8Key.html @@ -1,11 +1,20 @@ - + PKCS8Key (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
      + +
      +
      -
      org.mozilla.jss.netscape.security.pkcs
      +

      Class PKCS8Key

      @@ -107,14 +131,13 @@

      Class PKCS8Key

    • All Implemented Interfaces:
      -
      java.io.Serializable, java.security.Key, java.security.PrivateKey, javax.security.auth.Destroyable
      +
      java.io.Serializable, java.security.Key, java.security.PrivateKey, javax.security.auth.Destroyable
      Direct Known Subclasses:
      -
      DSAPrivateKey
      +
      DSAPrivateKey

      -
      public class PKCS8Key
       extends java.lang.Object
       implements java.security.PrivateKey
      @@ -130,156 +153,183 @@

      Class PKCS8Key

    • @@ -294,21 +345,22 @@

      Methods inherited from interface javax.security.auth.Destroyable

      • +
          -
        • +
        • Field Detail

          - + - +
            @@ -317,7 +369,7 @@

            key

            protected byte[] key
          - +
            @@ -326,7 +378,7 @@

            encodedKey

            protected byte[] encodedKey
          - +
            @@ -337,13 +389,15 @@

            VERSION

        +
        +
          -
        • +
        • Constructor Detail

          - +
            @@ -357,19 +411,21 @@

            PKCS8Key

        +
        +
          -
        • +
        • Method Detail

          - +
          • parse

            -
            public static PKCS8Key parse(DerValue in)
            +
            public static PKCS8Key parse​(DerValue in)
                                   throws java.io.IOException
            Construct PKCS#8 subject public key from a DER value. If the runtime environment is configured with a specific class for @@ -388,13 +444,13 @@

            parse

          - +
          • parseKeyBits

            -
            protected void parseKeyBits()
            +
            protected void parseKeyBits()
                                  throws java.io.IOException,
                                         java.security.InvalidKeyException
            Parse the key bits. This may be redefined by subclasses to take @@ -413,13 +469,13 @@

            parseKeyBits

          - +
          • buildPKCS8Key

            -
            public static PKCS8Key buildPKCS8Key(AlgorithmId algid,
            +
            public static PKCS8Key buildPKCS8Key​(AlgorithmId algid,
                                                  byte[] key)
                                           throws java.io.IOException,
                                                  java.security.InvalidKeyException
            @@ -430,13 +486,13 @@

            buildPKCS8Key

          - +
          • getAlgorithm

            -
            public java.lang.String getAlgorithm()
            +
            public java.lang.String getAlgorithm()
            Returns the algorithm to be used with this key.
            Specified by:
            @@ -444,23 +500,23 @@

            getAlgorithm

          - +
          • getAlgorithmId

            -
            public AlgorithmId getAlgorithmId()
            +
            public AlgorithmId getAlgorithmId()
            Returns the algorithm ID to be used with this key.
          - +
          • encode

            -
            public final void encode(DerOutputStream out)
            +
            public final void encode​(DerOutputStream out)
                               throws java.io.IOException
            PKCS#8 sequence on the DER output stream.
            @@ -469,13 +525,13 @@

            encode

          - +
          • getEncoded

            -
            public byte[] getEncoded()
            +
            public byte[] getEncoded()
            Returns the DER-encoded form of the key as a byte array.
            Specified by:
            @@ -483,13 +539,13 @@

            getEncoded

          - +
          • getFormat

            -
            public java.lang.String getFormat()
            +
            public java.lang.String getFormat()
            Returns the format for this key: "PKCS#8"
            Specified by:
            @@ -497,13 +553,13 @@

            getFormat

          - +
          • encode

            -
            public byte[] encode()
            +
            public byte[] encode()
                           throws java.security.InvalidKeyException
            Returns the DER-encoded form of the key as a byte array.
            @@ -512,26 +568,26 @@

            encode

          - +
          • toString

            -
            public java.lang.String toString()
            +
            public java.lang.String toString()
            Overrides:
            toString in class java.lang.Object
          - +
          • decode

            -
            public void decode(java.io.InputStream in)
            +
            public void decode​(java.io.InputStream in)
                         throws java.security.InvalidKeyException
            Initialize an PKCS8Key object from an input stream. The data on that input stream must be encoded using DER, obeying the @@ -551,13 +607,13 @@

            decode

          - +
          • decode

            -
            public void decode(byte[] encodedKey)
            +
            public void decode​(byte[] encodedKey)
                         throws java.security.InvalidKeyException
            Throws:
            @@ -565,13 +621,13 @@

            decode

          - +
          • equals

            -
            public boolean equals(java.lang.Object object)
            +
            public boolean equals​(java.lang.Object object)
            Compares two private keys. This returns false if the object with which to compare is not of type Key. Otherwise, the encoding of this key object is compared with the @@ -587,13 +643,13 @@

            equals

          - +
          • hashCode

            -
            public int hashCode()
            +
            public int hashCode()
            Calculates a hash code value for this object. Objects which are equal will also have the same hashcode.
            @@ -604,21 +660,25 @@

            hashCode

        +
      +
      + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS9Attribute.html b/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS9Attribute.html index 6ed675a8b..52a2ce658 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS9Attribute.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS9Attribute.html @@ -1,11 +1,20 @@ - + PKCS9Attribute (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
      + +
      +
      -
      org.mozilla.jss.netscape.security.pkcs
      +

      Class PKCS9Attribute

      @@ -107,13 +131,12 @@

      Class PKCS9Attribute

    • All Implemented Interfaces:
      -
      DerEncoder
      +
      DerEncoder

      -
      public class PKCS9Attribute
       extends java.lang.Object
      -implements DerEncoder
      +implements DerEncoder
      Class supporting any PKCS9 attribute except ExtendedCertificateAttribute. Supports DER decoding and access to attribute values, but not DER encoding or setting of values.
      @@ -124,231 +147,278 @@

      Class PKCS9Attribute

    • @@ -363,138 +434,139 @@

      Methods inherited from class java.lang.Object

      • +
          -
        • +
        • Field Detail

          - + - + - + - + - + - + - + - + - +
          • EXTENDED_CERTIFICATE_ATTRIBUTES_OID

            -
            public static final ObjectIdentifier EXTENDED_CERTIFICATE_ATTRIBUTES_OID
            +
            public static final ObjectIdentifier EXTENDED_CERTIFICATE_ATTRIBUTES_OID
          - +
          • ISSUER_AND_SERIALNUMBER_OID

            -
            public static final ObjectIdentifier ISSUER_AND_SERIALNUMBER_OID
            +
            public static final ObjectIdentifier ISSUER_AND_SERIALNUMBER_OID
          - + - + - + - + - +
            @@ -507,7 +579,7 @@

            EMAIL_ADDRESS_STR

          - +
            @@ -520,7 +592,7 @@

            UNSTRUCTURED_NAME_STR

          - +
            @@ -533,7 +605,7 @@

            CONTENT_TYPE_STR

          - +
            @@ -546,7 +618,7 @@

            MESSAGE_DIGEST_STR

          - +
            @@ -559,7 +631,7 @@

            SIGNING_TIME_STR

          - +
            @@ -572,7 +644,7 @@

            COUNTERSIGNATURE_STR

          - +
            @@ -585,7 +657,7 @@

            CHALLENGE_PASSWORD_STR

          - +
            @@ -598,7 +670,7 @@

            UNSTRUCTURED_ADDRESS_STR

          - +
            @@ -611,7 +683,7 @@

            EXTENDED_CERTIFICATE_ATTRIBUTES_STR

          - +
            @@ -624,7 +696,7 @@

            ISSUER_AND_SERIALNUMBER_STR

          - +
            @@ -637,7 +709,7 @@

            PASSWORD_CHECK_STR

          - +
            @@ -650,7 +722,7 @@

            PUBLIC_KEY_STR

          - +
            @@ -663,7 +735,7 @@

            SIGNING_DESCRIPTION_STR

          - +
            @@ -678,19 +750,21 @@

            EXTENSION_REQUEST_STR

        +
        +
          -
        • +
        • Constructor Detail

          - +
          • PKCS9Attribute

            -
            public PKCS9Attribute(ObjectIdentifier oid,
            +
            public PKCS9Attribute​(ObjectIdentifier oid,
                                   java.lang.Object value)
                            throws java.lang.IllegalArgumentException
            Construct an attribute object from the attribute's OID and @@ -818,13 +892,13 @@

            PKCS9Attribute

          - +
          • PKCS9Attribute

            -
            public PKCS9Attribute(java.lang.String name,
            +
            public PKCS9Attribute​(java.lang.String name,
                                   java.lang.Object value)
                            throws java.lang.IllegalArgumentException
            Construct an attribute object from the attribute's name and @@ -953,13 +1027,13 @@

            PKCS9Attribute

          - +
          • PKCS9Attribute

            -
            public PKCS9Attribute(DerValue derVal)
            +
            public PKCS9Attribute​(DerValue derVal)
                            throws java.io.IOException
            Construct a PKCS9Attribute from its encoding on an input stream.
            @@ -971,19 +1045,21 @@

            PKCS9Attribute

        +
        +
          -
        • +
        • Method Detail

          - +
          • derEncode

            -
            public void derEncode(java.io.OutputStream out)
            +
            public void derEncode​(java.io.OutputStream out)
                            throws java.io.IOException
            Write the DER encoding of this attribute to an output stream. @@ -992,7 +1068,7 @@

            derEncode

            PrintableStrings, without checking whether they should be encoded as T61Strings.
            Specified by:
            -
            derEncode in interface DerEncoder
            +
            derEncode in interface DerEncoder
            Parameters:
            out - the stream on which the DER encoding is written.
            Throws:
            @@ -1000,13 +1076,13 @@

            derEncode

          - +
          • getValue

            -
            public java.lang.Object getValue()
            +
            public java.lang.Object getValue()
            Get the value of this attribute. If the attribute is single-valued, return just the one value. If the attribute is multiple-valued, return an array containing all the values. @@ -1127,65 +1203,65 @@

            getValue

    - +
    • isSingleValued

      -
      public boolean isSingleValued()
      +
      public boolean isSingleValued()
      Show whether this attribute is single-valued.
    - + - +
    • getName

      -
      public java.lang.String getName()
      +
      public java.lang.String getName()
      Return the name of this attribute.
    - +
    • getOID

      -
      public static ObjectIdentifier getOID(java.lang.String name)
      +
      public static ObjectIdentifier getOID​(java.lang.String name)
      Return the OID for a given attribute name or null if we don't recognize the name.
    - +
    • getName

      -
      public static java.lang.String getName(ObjectIdentifier oid)
      +
      public static java.lang.String getName​(ObjectIdentifier oid)
      Return the attribute name for a given OID or null if we don't recognize the oid.
    - +
    • toString

      -
      public java.lang.String toString()
      +
      public java.lang.String toString()
      Returns a string representation of this attribute.
      Overrides:
      @@ -1195,21 +1271,25 @@

      toString

    + +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS9Attributes.html b/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS9Attributes.html index 808429225..3e2b6dbb0 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS9Attributes.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/pkcs/PKCS9Attributes.html @@ -1,11 +1,20 @@ - + PKCS9Attributes (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.pkcs
    +

    Class PKCS9Attributes

    @@ -106,7 +130,6 @@

    Class PKCS9Attributes

    @@ -231,19 +271,20 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • PKCS9Attributes

          -
          public PKCS9Attributes(ObjectIdentifier[] permittedAttributes,
          -                       DerInputStream in)
          +
          public PKCS9Attributes​(ObjectIdentifier[] permittedAttributes,
          +                       DerInputStream in)
                           throws java.io.IOException
          Construct a set of PKCS9 Attributes from its DER encoding on a DerInputStream, accepting only attributes @@ -258,17 +299,17 @@

          PKCS9Attributes

          java.io.IOException - on i/o error, encoding syntax error, unacceptable or unsupported attribute, or duplicate attribute.
          See Also:
          -
          PKCS9Attribute
          +
          PKCS9Attribute
        - +
        • PKCS9Attributes

          -
          public PKCS9Attributes(DerInputStream in)
          +
          public PKCS9Attributes​(DerInputStream in)
                           throws java.io.IOException
          Construct a set of PKCS9 Attributes from its contents of its DER encoding on a DerInputStream. Accept all attributes @@ -278,17 +319,17 @@

          PKCS9Attributes

          java.io.IOException - on i/o error, encoding syntax error, or unsupported or duplicate attribute.
          See Also:
          -
          PKCS9Attribute
          +
          PKCS9Attribute
        - +
        • PKCS9Attributes

          -
          public PKCS9Attributes(PKCS9Attribute[] attribs)
          +
          public PKCS9Attributes​(PKCS9Attribute[] attribs)
                           throws java.lang.IllegalArgumentException,
                                  java.io.IOException
          Construct a set of PKCS9 Attributes from the given array of @@ -301,25 +342,27 @@

          PKCS9Attributes

          duplicate attribute.
          java.lang.IllegalArgumentException
          See Also:
          -
          PKCS9Attribute
          +
          PKCS9Attribute
      +
      +
        -
      • +
      • Method Detail

        - +
        • encode

          -
          public void encode(byte tag,
          +
          public void encode​(byte tag,
                              java.io.OutputStream out)
                       throws java.io.IOException
          Put the DER encoding of this PKCS9 attribute set on an @@ -333,13 +376,13 @@

          encode

        - +
        • getDerEncoding

          -
          public byte[] getDerEncoding()
          +
          public byte[] getDerEncoding()
                                 throws java.io.IOException
          Return the DER encoding of this attribute set, tagged with DerValue.tag_SetOf.
          @@ -349,43 +392,43 @@

          getDerEncoding

        - + - +
        • getAttribute

          -
          public PKCS9Attribute getAttribute(java.lang.String name)
          +
          public PKCS9Attribute getAttribute​(java.lang.String name)
          Get an attribute from this set.
        - +
        • getAttributes

          -
          public PKCS9Attribute[] getAttributes()
          +
          public PKCS9Attribute[] getAttributes()
          Get an array of all attributes in this set, in order of OID.
        - +
        • getAttributeValue

          -
          public java.lang.Object getAttributeValue(ObjectIdentifier oid)
          +
          public java.lang.Object getAttributeValue​(ObjectIdentifier oid)
                                              throws java.io.IOException
          Get an attribute value by OID.
          @@ -394,13 +437,13 @@

          getAttributeValue

        - +
        • getAttributeValue

          -
          public java.lang.Object getAttributeValue(java.lang.String name)
          +
          public java.lang.Object getAttributeValue​(java.lang.String name)
                                              throws java.io.IOException
          Get an attribute value by type name.
          @@ -409,13 +452,13 @@

          getAttributeValue

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns the PKCS9 block in a printable string form.
          Overrides:
          @@ -425,21 +468,25 @@

          toString

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/pkcs/ParsingException.html b/master/javadocs/org/mozilla/jss/netscape/security/pkcs/ParsingException.html index 4d8fe6e23..ac59cccef 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/pkcs/ParsingException.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/pkcs/ParsingException.html @@ -1,11 +1,20 @@ - + ParsingException (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.pkcs
    +

    Class ParsingException

    @@ -116,10 +140,9 @@

    Class ParsingException

  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public class ParsingException
     extends java.io.IOException
    @@ -133,47 +156,55 @@

    Class ParsingException

    • +
      +
      +
        -
      • +
      • Method Summary

          -
        • +
        • Methods inherited from class java.lang.Throwable

          addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -181,6 +212,7 @@

          Methods inherited from class java.lang.Object

      +
  • @@ -188,12 +220,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -202,51 +235,55 @@

          ParsingException

          public ParsingException()
        - +
        • ParsingException

          -
          public ParsingException(java.lang.String mesg)
          +
          public ParsingException​(java.lang.String mesg)
        - +
        • ParsingException

          -
          public ParsingException(java.lang.String mesg,
          +
          public ParsingException​(java.lang.String mesg,
                                   java.lang.Throwable cause)
        - +
        • ParsingException

          -
          public ParsingException(java.lang.Throwable cause)
          +
          public ParsingException​(java.lang.Throwable cause)
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/pkcs/SignerInfo.html b/master/javadocs/org/mozilla/jss/netscape/security/pkcs/SignerInfo.html index 093364719..eda925721 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/pkcs/SignerInfo.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/pkcs/SignerInfo.html @@ -1,11 +1,20 @@ - + SignerInfo (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.pkcs
    +

    Class SignerInfo

    @@ -107,13 +131,12 @@

    Class SignerInfo

  • All Implemented Interfaces:
    -
    DerEncoder
    +
    DerEncoder

    -
    public class SignerInfo
     extends java.lang.Object
    -implements DerEncoder
    +implements DerEncoder
    A SignerInfo, as defined in PKCS#7's signedData type.
  • @@ -122,103 +145,123 @@

    Class SignerInfo

    @@ -233,70 +277,73 @@

    Methods inherited from class java.lang.Object

    • +
      +
      +
        -
      • +
      • Method Detail

        - +
        • encode

          -
          public void encode(DerOutputStream out)
          +
          public void encode​(DerOutputStream out)
                       throws java.io.IOException
          Throws:
          @@ -304,19 +351,19 @@

          encode

        - +
        • derEncode

          -
          public void derEncode(java.io.OutputStream out)
          +
          public void derEncode​(java.io.OutputStream out)
                          throws java.io.IOException
          DER encode this object onto an output stream. Implements the DerEncoder interface.
          Specified by:
          -
          derEncode in interface DerEncoder
          +
          derEncode in interface DerEncoder
          Parameters:
          out - the output stream on which to write the DER encoding.
          Throws:
          @@ -324,13 +371,13 @@

          derEncode

        - +
        • getCertificate

          -
          public java.security.cert.X509Certificate getCertificate(PKCS7 block)
          +
          public java.security.cert.X509Certificate getCertificate​(PKCS7 block)
                                                             throws java.io.IOException
          Throws:
          @@ -338,85 +385,85 @@

          getCertificate

        - +
        • getVersion

          -
          public BigInt getVersion()
          +
          public BigInt getVersion()
        - +
        • getIssuerName

          -
          public X500Name getIssuerName()
          +
          public X500Name getIssuerName()
        - +
        • getCertificateSerialNumber

          -
          public BigInt getCertificateSerialNumber()
          +
          public BigInt getCertificateSerialNumber()
        - +
        • getDigestAlgorithmId

          -
          public AlgorithmId getDigestAlgorithmId()
          +
          public AlgorithmId getDigestAlgorithmId()
        - + - +
        • getDigestEncryptionAlgorithmId

          -
          public AlgorithmId getDigestEncryptionAlgorithmId()
          +
          public AlgorithmId getDigestEncryptionAlgorithmId()
        - +
        • getEncryptedDigest

          -
          public byte[] getEncryptedDigest()
          +
          public byte[] getEncryptedDigest()
        - + - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Overrides:
          toString in class java.lang.Object
          @@ -425,21 +472,25 @@

          toString

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/pkcs/package-frame.html b/master/javadocs/org/mozilla/jss/netscape/security/pkcs/package-frame.html deleted file mode 100644 index b0cc29f93..000000000 --- a/master/javadocs/org/mozilla/jss/netscape/security/pkcs/package-frame.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - -org.mozilla.jss.netscape.security.pkcs (JSS: Java Security Services) - - - - -

    org.mozilla.jss.netscape.security.pkcs

    - - - diff --git a/master/javadocs/org/mozilla/jss/netscape/security/pkcs/package-summary.html b/master/javadocs/org/mozilla/jss/netscape/security/pkcs/package-summary.html index e7e11c753..52c90faa3 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/pkcs/package-summary.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/pkcs/package-summary.html @@ -1,11 +1,20 @@ - + org.mozilla.jss.netscape.security.pkcs (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Package org.mozilla.jss.netscape.security.pkcs

    • - +
      @@ -81,13 +105,13 @@

      Package org.mozilla.jss.netscape.security

      - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -159,7 +183,7 @@

      Package org.mozilla.jss.netscape.security

      Class Summary 
      Class
      ContentInfoContentInfo
      A ContentInfo type, as defined in PKCS#7.
      PKCS10PKCS10
      PKCS #10 certificate requests are created and sent to Certificate Authorities, which then create X.509 certificates and return them to @@ -95,62 +119,62 @@

      Package org.mozilla.jss.netscape.security

      PKCS10AttributePKCS10Attribute
      Represent a PKCS Attribute.
      PKCS10AttributesPKCS10Attributes
      This class defines the PKCS10 attributes for the request.
      PKCS12PKCS12  
      PKCS12CertInfoPKCS12CertInfo  
      PKCS12KeyInfoPKCS12KeyInfo
      This object is used for carrying key info around.
      PKCS12UtilPKCS12Util  
      PKCS7PKCS7
      PKCS7 as defined in RSA Laboratories PKCS7 Technical Note.
      PKCS8KeyPKCS8Key
      Holds a PKCS#8 key, for example a private key
      PKCS9AttributePKCS9Attribute
      Class supporting any PKCS9 attribute except ExtendedCertificateAttribute.
      PKCS9AttributesPKCS9Attributes
      A set of attributes of class PKCS9Attribute.
      SignerInfoSignerInfo
      A SignerInfo, as defined in PKCS#7's signedData type.
    • - +
      @@ -167,11 +191,11 @@

      Package org.mozilla.jss.netscape.security

      - + - + @@ -179,16 +203,19 @@

      Package org.mozilla.jss.netscape.security + + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/pkcs/package-tree.html b/master/javadocs/org/mozilla/jss/netscape/security/pkcs/package-tree.html index cbf8d3ab8..075a4218e 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/pkcs/package-tree.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/pkcs/package-tree.html @@ -1,11 +1,20 @@ - + org.mozilla.jss.netscape.security.pkcs Class Hierarchy (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
      + +
      +

      Hierarchy For Package org.mozilla.jss.netscape.security.pkcs

      Package Hierarchies: @@ -75,43 +99,44 @@

      Hierarchy For Package org.mozilla.jss.netscape.security.pkcs

      +

      Class Hierarchy

        -
      • java.lang.Object +
      • java.lang.Object
          -
        • java.util.AbstractCollection<E> (implements java.util.Collection<E>) +
        • java.util.AbstractCollection<E> (implements java.util.Collection<E>)
            -
          • java.util.AbstractList<E> (implements java.util.List<E>) +
          • java.util.AbstractList<E> (implements java.util.List<E>)
              -
            • java.util.Vector<E> (implements java.lang.Cloneable, java.util.List<E>, java.util.RandomAccess, java.io.Serializable) +
            • java.util.Vector<E> (implements java.lang.Cloneable, java.util.List<E>, java.util.RandomAccess, java.io.Serializable)
        • -
        • org.mozilla.jss.netscape.security.pkcs.ContentInfo
        • -
        • org.mozilla.jss.netscape.security.pkcs.PKCS10
        • -
        • org.mozilla.jss.netscape.security.pkcs.PKCS10Attribute (implements org.mozilla.jss.netscape.security.util.DerEncoder, java.io.Serializable)
        • -
        • org.mozilla.jss.netscape.security.pkcs.PKCS12
        • -
        • org.mozilla.jss.netscape.security.pkcs.PKCS12CertInfo
        • -
        • org.mozilla.jss.netscape.security.pkcs.PKCS12KeyInfo
        • -
        • org.mozilla.jss.netscape.security.pkcs.PKCS12Util
        • -
        • org.mozilla.jss.netscape.security.pkcs.PKCS7
        • -
        • org.mozilla.jss.netscape.security.pkcs.PKCS8Key (implements java.security.PrivateKey)
        • -
        • org.mozilla.jss.netscape.security.pkcs.PKCS9Attribute (implements org.mozilla.jss.netscape.security.util.DerEncoder)
        • -
        • org.mozilla.jss.netscape.security.pkcs.PKCS9Attributes
        • -
        • org.mozilla.jss.netscape.security.pkcs.SignerInfo (implements org.mozilla.jss.netscape.security.util.DerEncoder)
        • -
        • java.lang.Throwable (implements java.io.Serializable) +
        • org.mozilla.jss.netscape.security.pkcs.ContentInfo
        • +
        • org.mozilla.jss.netscape.security.pkcs.PKCS10
        • +
        • org.mozilla.jss.netscape.security.pkcs.PKCS10Attribute (implements org.mozilla.jss.netscape.security.util.DerEncoder, java.io.Serializable)
        • +
        • org.mozilla.jss.netscape.security.pkcs.PKCS12
        • +
        • org.mozilla.jss.netscape.security.pkcs.PKCS12CertInfo
        • +
        • org.mozilla.jss.netscape.security.pkcs.PKCS12KeyInfo
        • +
        • org.mozilla.jss.netscape.security.pkcs.PKCS12Util
        • +
        • org.mozilla.jss.netscape.security.pkcs.PKCS7
        • +
        • org.mozilla.jss.netscape.security.pkcs.PKCS8Key (implements java.security.PrivateKey)
        • +
        • org.mozilla.jss.netscape.security.pkcs.PKCS9Attribute (implements org.mozilla.jss.netscape.security.util.DerEncoder)
        • +
        • org.mozilla.jss.netscape.security.pkcs.PKCS9Attributes
        • +
        • org.mozilla.jss.netscape.security.pkcs.SignerInfo (implements org.mozilla.jss.netscape.security.util.DerEncoder)
        • +
        • java.lang.Throwable (implements java.io.Serializable)
            -
          • java.lang.Exception +
          • java.lang.Exception @@ -121,17 +146,21 @@

            Class Hierarchy

        +
      +
      + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/provider/CMS.html b/master/javadocs/org/mozilla/jss/netscape/security/provider/CMS.html index 640262c74..f28645f4e 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/provider/CMS.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/provider/CMS.html @@ -1,11 +1,20 @@ - + CMS (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
      + +
      +
      -
      org.mozilla.jss.netscape.security.provider
      +

      Class CMS

      @@ -92,10 +116,10 @@

      Class CMS

    • java.lang.Object
      • -
      • java.util.Dictionary<K,V>
      • +
      • java.util.Dictionary<K,​V>
        • -
        • java.util.Hashtable<java.lang.Object,java.lang.Object>
        • +
        • java.util.Hashtable<java.lang.Object,​java.lang.Object>
          • java.util.Properties
          • @@ -121,10 +145,9 @@

            Class CMS

          • All Implemented Interfaces:
            -
            java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,java.lang.Object>
            +
            java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,​java.lang.Object>

            -
            public final class CMS
             extends java.security.Provider
            The CMS Security Provider.
            @@ -139,13 +162,14 @@

            Class CMS

            • +
                -
              • +
              • Nested Class Summary

                  -
                • +
                • Nested classes/interfaces inherited from class java.security.Provider

                  @@ -153,14 +177,16 @@

                  Nested classes/interfaces inherited from class java.security.Provider

                +
              +
                -
              • +
              • Field Summary

                  -
                • +
                • Fields inherited from class java.util.Properties

                  @@ -168,52 +194,51 @@

                  Fields inherited from class java.util.Properties

              +
              +
                -
              • +
              • Constructor Summary

                -
    • Exception Summary 
      Exception
      EncodingExceptionEncodingException  
      ParsingExceptionParsingException  
      +
      - + + - + +
      Constructors 
      Constructor and DescriptionConstructorDescription
      CMS() CMS() 
    + +
      -
    • +
    • Method Summary

        -
      • +
      • Methods inherited from class java.security.Provider

        -clear, compute, computeIfAbsent, computeIfPresent, elements, entrySet, forEach, get, getInfo, getName, getOrDefault, getProperty, getService, getServices, getVersion, keys, keySet, load, merge, put, putAll, putIfAbsent, putService, remove, remove, removeService, replace, replace, replaceAll, toString, values
      • +clear, compute, computeIfAbsent, computeIfPresent, configure, elements, entrySet, forEach, get, getInfo, getName, getOrDefault, getProperty, getService, getServices, getVersion, getVersionStr, isConfigured, keys, keySet, load, merge, put, putAll, putIfAbsent, putService, remove, remove, removeService, replace, replace, replaceAll, toString, values
        -
      • +
      • Methods inherited from class java.util.Properties

        -getProperty, list, list, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
      • -
      -
        -
      • - - -

        Methods inherited from class java.util.Hashtable

        -clone, contains, containsKey, containsValue, equals, hashCode, isEmpty, rehash, size
      • +clone, contains, containsKey, containsValue, equals, getProperty, hashCode, isEmpty, list, list, load, loadFromXML, propertyNames, rehash, save, setProperty, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames
        -
      • +
      • Methods inherited from class java.lang.Object

        @@ -221,6 +246,7 @@

        Methods inherited from class java.lang.Object

    +
    @@ -228,12 +254,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -244,21 +271,25 @@

          CMS

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/provider/DSAKeyFactory.html b/master/javadocs/org/mozilla/jss/netscape/security/provider/DSAKeyFactory.html index b8285f9d7..5609a3626 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/provider/DSAKeyFactory.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/provider/DSAKeyFactory.html @@ -1,11 +1,20 @@ - + DSAKeyFactory (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.provider
    +

    Class DSAKeyFactory

    @@ -111,7 +135,6 @@

    Class DSAKeyFactory


    • -
      public class DSAKeyFactory
       extends java.security.KeyFactorySpi
      This class implements the DSA key factory of the Sun provider.
      @@ -126,66 +149,76 @@

      Class DSAKeyFactory

      • +
        +
        +
          -
        • +
        • Method Summary

          - +
          - + + - + - + - + - +
          All Methods Instance Methods Concrete Methods 
          Modifier and TypeMethod and DescriptionMethodDescription
          protected java.security.PrivateKeyengineGeneratePrivate(java.security.spec.KeySpec keySpec) +engineGeneratePrivate​(java.security.spec.KeySpec keySpec)
          Generates a private key object from the provided key specification (key material).
          protected java.security.PublicKeyengineGeneratePublic(java.security.spec.KeySpec keySpec) +engineGeneratePublic​(java.security.spec.KeySpec keySpec)
          Generates a public key object from the provided key specification (key material).
          protected <T extends java.security.spec.KeySpec>
          T
          engineGetKeySpec(java.security.Key key, - java.lang.Class<T> keySpec) +engineGetKeySpec​(java.security.Key key, + java.lang.Class<T> keySpec)
          Returns a specification (key material) of the given key object in the requested format.
          protected java.security.KeyengineTranslateKey(java.security.Key key) +engineTranslateKey​(java.security.Key key)
          Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this key factory.
            -
          • +
          • Methods inherited from class java.lang.Object

            @@ -193,6 +226,7 @@

            Methods inherited from class java.lang.Object

        +
    @@ -200,12 +234,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -216,19 +251,21 @@

          DSAKeyFactory

      +
      +
        -
      • +
      • Method Detail

        - +
        • engineGeneratePublic

          -
          protected java.security.PublicKey engineGeneratePublic(java.security.spec.KeySpec keySpec)
          +
          protected java.security.PublicKey engineGeneratePublic​(java.security.spec.KeySpec keySpec)
                                                           throws java.security.spec.InvalidKeySpecException
          Generates a public key object from the provided key specification (key material).
          @@ -245,13 +282,13 @@

          engineGeneratePublic

        - +
        • engineGeneratePrivate

          -
          protected java.security.PrivateKey engineGeneratePrivate(java.security.spec.KeySpec keySpec)
          +
          protected java.security.PrivateKey engineGeneratePrivate​(java.security.spec.KeySpec keySpec)
                                                             throws java.security.spec.InvalidKeySpecException
          Generates a private key object from the provided key specification (key material).
          @@ -268,13 +305,13 @@

          engineGeneratePrivate

        - +
        • engineGetKeySpec

          -
          protected <T extends java.security.spec.KeySpec> T engineGetKeySpec(java.security.Key key,
          +
          protected <T extends java.security.spec.KeySpec> T engineGetKeySpec​(java.security.Key key,
                                                                               java.lang.Class<T> keySpec)
                                                                        throws java.security.spec.InvalidKeySpecException
          Returns a specification (key material) of the given key object @@ -296,13 +333,13 @@

          engineGetKeySpec

        - +
        • engineTranslateKey

          -
          protected java.security.Key engineTranslateKey(java.security.Key key)
          +
          protected java.security.Key engineTranslateKey​(java.security.Key key)
                                                   throws java.security.InvalidKeyException
          Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this key factory.
          @@ -321,21 +358,25 @@

          engineTranslateKey

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/provider/DSAParameters.html b/master/javadocs/org/mozilla/jss/netscape/security/provider/DSAParameters.html index 01337dadb..23361bbef 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/provider/DSAParameters.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/provider/DSAParameters.html @@ -1,11 +1,20 @@ - + DSAParameters (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.provider
    +

    Class DSAParameters

    @@ -111,7 +135,6 @@

    Class DSAParameters


    • -
      public class DSAParameters
       extends java.security.AlgorithmParametersSpi
      This class implements the parameter set used by the @@ -128,93 +151,112 @@

      Class DSAParameters

      • +
          -
        • +
        • Field Summary

          - +
          - + + - + + - + + - + +
          Fields 
          Modifier and TypeField and DescriptionFieldDescription
          protected java.math.BigIntegerg g 
          protected java.math.BigIntegerp p 
          protected java.math.BigIntegerq q 
        +
        +
        +
        +
        +
      @@ -229,12 +272,13 @@

      Methods inherited from class java.lang.Object

      • +
          -
        • +
        • Field Detail

          - +
            @@ -243,7 +287,7 @@

            p

            protected java.math.BigInteger p
          - +
            @@ -252,7 +296,7 @@

            q

            protected java.math.BigInteger q
          - +
            @@ -263,13 +307,15 @@

            g

        +
        +
          -
        • +
        • Constructor Detail

          - +
            @@ -280,19 +326,21 @@

            DSAParameters

        +
        +
          -
        • +
        • Method Detail

          - +
          • engineInit

            -
            protected void engineInit(java.security.spec.AlgorithmParameterSpec paramSpec)
            +
            protected void engineInit​(java.security.spec.AlgorithmParameterSpec paramSpec)
                                throws java.security.spec.InvalidParameterSpecException
            Specified by:
            @@ -302,13 +350,13 @@

            engineInit

          - +
          • engineInit

            -
            protected void engineInit(byte[] params)
            +
            protected void engineInit​(byte[] params)
                                throws java.io.IOException
            Specified by:
            @@ -318,13 +366,13 @@

            engineInit

          - +
          • engineInit

            -
            protected void engineInit(byte[] params,
            +
            protected void engineInit​(byte[] params,
                                       java.lang.String decodingMethod)
                                throws java.io.IOException
            @@ -335,13 +383,13 @@

            engineInit

          - +
          • engineGetParameterSpec

            -
            protected <T extends java.security.spec.AlgorithmParameterSpec> T engineGetParameterSpec(java.lang.Class<T> paramSpec)
            +
            protected <T extends java.security.spec.AlgorithmParameterSpec> T engineGetParameterSpec​(java.lang.Class<T> paramSpec)
                                                                                               throws java.security.spec.InvalidParameterSpecException
            Specified by:
            @@ -351,13 +399,13 @@

            engineGetParameterSpec

          - +
          • engineGetEncoded

            -
            protected byte[] engineGetEncoded()
            +
            protected byte[] engineGetEncoded()
                                        throws java.io.IOException
            Specified by:
            @@ -367,13 +415,13 @@

            engineGetEncoded

          - +
          • engineGetEncoded

            -
            protected byte[] engineGetEncoded(java.lang.String encodingMethod)
            +
            protected byte[] engineGetEncoded​(java.lang.String encodingMethod)
                                        throws java.io.IOException
            Specified by:
            @@ -383,13 +431,13 @@

            engineGetEncoded

          - +
          • engineToString

            -
            protected java.lang.String engineToString()
            +
            protected java.lang.String engineToString()
            Specified by:
            engineToString in class java.security.AlgorithmParametersSpi
            @@ -398,21 +446,25 @@

            engineToString

        +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/provider/DSAPrivateKey.html b/master/javadocs/org/mozilla/jss/netscape/security/provider/DSAPrivateKey.html index ef7fa7fe1..e41a443b9 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/provider/DSAPrivateKey.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/provider/DSAPrivateKey.html @@ -1,11 +1,20 @@ - + DSAPrivateKey (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.provider
    +

    Class DSAPrivateKey

    @@ -98,7 +122,7 @@

    Class DSAPrivateKey

  • java.lang.Object
    • -
    • org.mozilla.jss.netscape.security.pkcs.PKCS8Key
    • +
    • org.mozilla.jss.netscape.security.pkcs.PKCS8Key
      • org.mozilla.jss.netscape.security.provider.DSAPrivateKey
      • @@ -112,18 +136,17 @@

        Class DSAPrivateKey

      • All Implemented Interfaces:
        -
        java.io.Serializable, java.security.interfaces.DSAKey, java.security.interfaces.DSAPrivateKey, java.security.Key, java.security.PrivateKey, javax.security.auth.Destroyable
        +
        java.io.Serializable, java.security.interfaces.DSAKey, java.security.interfaces.DSAPrivateKey, java.security.Key, java.security.PrivateKey, javax.security.auth.Destroyable

        -
        public final class DSAPrivateKey
        -extends PKCS8Key
        +extends PKCS8Key
         implements java.security.interfaces.DSAPrivateKey, java.io.Serializable
        A PKCS#8 private key for the Digital Signature Algorithm.
        See Also:
        -
        DSAPublicKey, -AlgIdDSA, +
        DSAPublicKey, +AlgIdDSA, Serialized Form
      • @@ -133,128 +156,145 @@

        Class DSAPrivateKey

        • +
          +
          +
            -
          • +
          • Constructor Summary

            - +
            - + + - + + - + - +
            Constructors 
            Constructor and DescriptionConstructorDescription
            DSAPrivateKey() DSAPrivateKey() 
            DSAPrivateKey(java.math.BigInteger x, - java.math.BigInteger p, - java.math.BigInteger q, - java.math.BigInteger g) -
            Make a DSA private key out of a private key and three parameters.
            +
            DSAPrivateKey​(byte[] encoded) +
            Make a DSA private key from its DER encoding (PKCS #8).
            DSAPrivateKey(byte[] encoded) -
            Make a DSA private key from its DER encoding (PKCS #8).
            +
            DSAPrivateKey​(java.math.BigInteger x, + java.math.BigInteger p, + java.math.BigInteger q, + java.math.BigInteger g) +
            Make a DSA private key out of a private key and three parameters.
          +
          +
          +
  • @@ -262,12 +302,13 @@

    Methods inherited from interface javax.security.auth.Destroyable

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -276,13 +317,13 @@

          DSAPrivateKey

          public DSAPrivateKey()
        - +
        • DSAPrivateKey

          -
          public DSAPrivateKey(java.math.BigInteger x,
          +
          public DSAPrivateKey​(java.math.BigInteger x,
                                java.math.BigInteger p,
                                java.math.BigInteger q,
                                java.math.BigInteger g)
          @@ -294,13 +335,13 @@ 

          DSAPrivateKey

        - +
        • DSAPrivateKey

          -
          public DSAPrivateKey(byte[] encoded)
          +
          public DSAPrivateKey​(byte[] encoded)
                         throws java.security.InvalidKeyException
          Make a DSA private key from its DER encoding (PKCS #8).
          @@ -311,19 +352,21 @@

          DSAPrivateKey

      +
      +
        -
      • +
      • Method Detail

        - +
        • getParams

          -
          public java.security.interfaces.DSAParams getParams()
          +
          public java.security.interfaces.DSAParams getParams()
          Returns the DSA parameters associated with this key, or null if the parameters could not be parsed.
          @@ -332,13 +375,13 @@

          getParams

        - +
        • getX

          -
          public java.math.BigInteger getX()
          +
          public java.math.BigInteger getX()
          Get the raw private key, x, without the parameters.
          Specified by:
          @@ -346,28 +389,28 @@

          getX

        - + - +
        • parseKeyBits

          -
          protected void parseKeyBits()
          +
          protected void parseKeyBits()
                                throws java.security.InvalidKeyException
          -
          Description copied from class: PKCS8Key
          +
          Description copied from class: PKCS8Key
          Parse the key bits. This may be redefined by subclasses to take advantage of structure within the key. For example, RSA public keys encapsulate two unsigned integers (modulus and exponent) as @@ -379,43 +422,43 @@

          parseKeyBits

          such as parse and decode.
          Overrides:
          -
          parseKeyBits in class PKCS8Key
          +
          parseKeyBits in class PKCS8Key
          Throws:
          java.security.InvalidKeyException - if the key encoding is invalid.
        - +
        • hashCode

          -
          public int hashCode()
          -
          Description copied from class: PKCS8Key
          +
          public int hashCode()
          +
          Description copied from class: PKCS8Key
          Calculates a hash code value for this object. Objects which are equal will also have the same hashcode.
          Overrides:
          -
          hashCode in class PKCS8Key
          +
          hashCode in class PKCS8Key
        - +
        • equals

          -
          public boolean equals(java.lang.Object obj)
          -
          Description copied from class: PKCS8Key
          +
          public boolean equals​(java.lang.Object obj)
          +
          Description copied from class: PKCS8Key
          Compares two private keys. This returns false if the object with which to compare is not of type Key. Otherwise, the encoding of this key object is compared with the encoding of the given key object.
          Overrides:
          -
          equals in class PKCS8Key
          +
          equals in class PKCS8Key
          Parameters:
          obj - the object with which to compare
          Returns:
          @@ -426,21 +469,25 @@

          equals

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/provider/DSAPublicKey.html b/master/javadocs/org/mozilla/jss/netscape/security/provider/DSAPublicKey.html index fa4deab85..5418695c1 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/provider/DSAPublicKey.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/provider/DSAPublicKey.html @@ -1,11 +1,20 @@ - + DSAPublicKey (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.provider
    +

    Class DSAPublicKey

    @@ -98,7 +122,7 @@

    Class DSAPublicKey

  • java.lang.Object
  • @@ -253,12 +293,13 @@

    Methods inherited from interface java.security.Key

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -267,13 +308,13 @@

          DSAPublicKey

          public DSAPublicKey()
        - +
        • DSAPublicKey

          -
          public DSAPublicKey(java.math.BigInteger y,
          +
          public DSAPublicKey​(java.math.BigInteger y,
                               java.math.BigInteger p,
                               java.math.BigInteger q,
                               java.math.BigInteger g)
          @@ -285,13 +326,13 @@ 

          DSAPublicKey

        - +
        • DSAPublicKey

          -
          public DSAPublicKey(byte[] encoded)
          +
          public DSAPublicKey​(byte[] encoded)
                        throws java.security.InvalidKeyException
          Make a DSA public key from its DER encoding (X.509).
          @@ -302,19 +343,21 @@

          DSAPublicKey

      +
      +
        -
      • +
      • Method Detail

        - +
        • getParams

          -
          public java.security.interfaces.DSAParams getParams()
          +
          public java.security.interfaces.DSAParams getParams()
          Returns the DSA parameters associated with this key, or null if the parameters could not be parsed.
          @@ -323,13 +366,13 @@

          getParams

        - +
        • getY

          -
          public java.math.BigInteger getY()
          +
          public java.math.BigInteger getY()
          Get the raw public value, y, without the parameters.
          Specified by:
          @@ -337,28 +380,28 @@

          getY

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Overrides:
          -
          toString in class X509Key
          +
          toString in class X509Key
        - +
        • parseKeyBits

          -
          protected void parseKeyBits()
          +
          protected void parseKeyBits()
                                throws java.security.InvalidKeyException
          -
          Description copied from class: X509Key
          +
          Description copied from class: X509Key
          Parse the key bits. This may be redefined by subclasses to take advantage of structure within the key. For example, RSA public keys encapsulate two unsigned integers (modulus and exponent) as @@ -370,58 +413,62 @@

          parseKeyBits

          as parse and decode.
          Overrides:
          -
          parseKeyBits in class X509Key
          +
          parseKeyBits in class X509Key
          Throws:
          java.security.InvalidKeyException - on invalid key encodings.
        - +
        • hashCode

          -
          public int hashCode()
          -
          Description copied from class: X509Key
          +
          public int hashCode()
          +
          Description copied from class: X509Key
          Calculates a hash code value for the object. Objects which are equal will also have the same hashcode.
          Overrides:
          -
          hashCode in class X509Key
          +
          hashCode in class X509Key
        - +
        • equals

          -
          public boolean equals(java.lang.Object obj)
          +
          public boolean equals​(java.lang.Object obj)
          Overrides:
          -
          equals in class X509Key
          +
          equals in class X509Key
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/provider/RSAPublicKey.html b/master/javadocs/org/mozilla/jss/netscape/security/provider/RSAPublicKey.html index 5115aa299..278aceab3 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/provider/RSAPublicKey.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/provider/RSAPublicKey.html @@ -1,11 +1,20 @@ - + RSAPublicKey (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.provider
    +

    Class RSAPublicKey

    @@ -98,7 +122,7 @@

    Class RSAPublicKey

  • java.lang.Object
  • @@ -253,12 +295,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -267,14 +310,14 @@

          RSAPublicKey

          public RSAPublicKey()
        - +
        • RSAPublicKey

          -
          public RSAPublicKey(BigInt modulus,
          -                    BigInt publicExponent)
          +
          public RSAPublicKey​(BigInt modulus,
          +                    BigInt publicExponent)
                        throws java.security.InvalidKeyException
          Make a RSA public key out of a public exponent and modulus
          @@ -283,13 +326,13 @@

          RSAPublicKey

        - +
        • RSAPublicKey

          -
          public RSAPublicKey(byte[] encoded)
          +
          public RSAPublicKey​(byte[] encoded)
                        throws java.security.InvalidKeyException
          Make a RSA public key from its DER encoding (X.509).
          @@ -300,65 +343,67 @@

          RSAPublicKey

      +
      +
        -
      • +
      • Method Detail

        - +
        • getKeySize

          -
          public int getKeySize()
          +
          public int getKeySize()
          Get key size as number of bits in modulus (Always rounded up to a multiple of 8)
        - +
        • getPublicExponent

          -
          public BigInt getPublicExponent()
          +
          public BigInt getPublicExponent()
          Get the raw public exponent
        - +
        • getModulus

          -
          public BigInt getModulus()
          +
          public BigInt getModulus()
          Get the raw modulus
        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Overrides:
          -
          toString in class X509Key
          +
          toString in class X509Key
        - +
        • parseKeyBits

          -
          protected void parseKeyBits()
          +
          protected void parseKeyBits()
                                throws java.security.InvalidKeyException
          -
          Description copied from class: X509Key
          +
          Description copied from class: X509Key
          Parse the key bits. This may be redefined by subclasses to take advantage of structure within the key. For example, RSA public keys encapsulate two unsigned integers (modulus and exponent) as @@ -370,68 +415,72 @@

          parseKeyBits

          as parse and decode.
          Overrides:
          -
          parseKeyBits in class X509Key
          +
          parseKeyBits in class X509Key
          Throws:
          java.security.InvalidKeyException - on invalid key encodings.
        - +
        • hashCode

          -
          public int hashCode()
          -
          Description copied from class: X509Key
          +
          public int hashCode()
          +
          Description copied from class: X509Key
          Calculates a hash code value for the object. Objects which are equal will also have the same hashcode.
          Overrides:
          -
          hashCode in class X509Key
          +
          hashCode in class X509Key
        - +
        • equals

          -
          public boolean equals(java.lang.Object obj)
          +
          public boolean equals​(java.lang.Object obj)
          Overrides:
          -
          equals in class X509Key
          +
          equals in class X509Key
        - +
        • bigIntEquals

          -
          public boolean bigIntEquals(BigInt x,
          -                            BigInt y)
          +
          public boolean bigIntEquals​(BigInt x,
          +                            BigInt y)
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/provider/Sun.html b/master/javadocs/org/mozilla/jss/netscape/security/provider/Sun.html index 4fbc4d3eb..f2f052a94 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/provider/Sun.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/provider/Sun.html @@ -1,11 +1,20 @@ - + Sun (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.provider
    +

    Class Sun

    @@ -92,10 +116,10 @@

    Class Sun

  • java.lang.Object
    • -
    • java.util.Dictionary<K,V>
    • +
    • java.util.Dictionary<K,​V>
      • -
      • java.util.Hashtable<java.lang.Object,java.lang.Object>
      • +
      • java.util.Hashtable<java.lang.Object,​java.lang.Object>
        • java.util.Properties
        • @@ -121,10 +145,9 @@

          Class Sun

        • All Implemented Interfaces:
          -
          java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,java.lang.Object>
          +
          java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,​java.lang.Object>

          -
          public final class Sun
           extends java.security.Provider
          Defines the SUN provider. @@ -160,13 +183,14 @@

          Class Sun

          • +
              -
            • +
            • Nested Class Summary

                -
              • +
              • Nested classes/interfaces inherited from class java.security.Provider

                @@ -174,14 +198,16 @@

                Nested classes/interfaces inherited from class java.security.Provider

              +
            +
              -
            • +
            • Field Summary

                -
              • +
              • Fields inherited from class java.util.Properties

                @@ -189,52 +215,51 @@

                Fields inherited from class java.util.Properties

            +
            +
              -
            • +
            • Constructor Summary

              - +
              - + + - + +
              Constructors 
              Constructor and DescriptionConstructorDescription
              Sun() Sun() 
            +
            +
              -
            • +
            • Method Summary

                -
              • +
              • Methods inherited from class java.security.Provider

                -clear, compute, computeIfAbsent, computeIfPresent, elements, entrySet, forEach, get, getInfo, getName, getOrDefault, getProperty, getService, getServices, getVersion, keys, keySet, load, merge, put, putAll, putIfAbsent, putService, remove, remove, removeService, replace, replace, replaceAll, toString, values
              • +clear, compute, computeIfAbsent, computeIfPresent, configure, elements, entrySet, forEach, get, getInfo, getName, getOrDefault, getProperty, getService, getServices, getVersion, getVersionStr, isConfigured, keys, keySet, load, merge, put, putAll, putIfAbsent, putService, remove, remove, removeService, replace, replace, replaceAll, toString, values
                -
              • +
              • Methods inherited from class java.util.Properties

                -getProperty, list, list, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
              • -
              -
                -
              • - - -

                Methods inherited from class java.util.Hashtable

                -clone, contains, containsKey, containsValue, equals, hashCode, isEmpty, rehash, size
              • +clone, contains, containsKey, containsValue, equals, getProperty, hashCode, isEmpty, list, list, load, loadFromXML, propertyNames, rehash, save, setProperty, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames
                -
              • +
              • Methods inherited from class java.lang.Object

                @@ -242,6 +267,7 @@

                Methods inherited from class java.lang.Object

            +
          @@ -249,12 +275,13 @@

          Methods inherited from class java.lang.Object

          • +
              -
            • +
            • Constructor Detail

              - +
                @@ -265,21 +292,25 @@

                Sun

            +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/provider/X509CertificateFactory.html b/master/javadocs/org/mozilla/jss/netscape/security/provider/X509CertificateFactory.html index fe4686870..cc3defa43 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/provider/X509CertificateFactory.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/provider/X509CertificateFactory.html @@ -1,11 +1,20 @@ - + X509CertificateFactory (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.provider
    +

    Class X509CertificateFactory

    @@ -111,7 +135,6 @@

    Class X509CertificateFact

    • -
      public class X509CertificateFactory
       extends java.security.cert.CertificateFactorySpi
    • @@ -121,60 +144,70 @@

      Class X509CertificateFact

    @@ -189,12 +223,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -205,19 +240,21 @@

          X509CertificateFactory

      +
      +
        -
      • +
      • Method Detail

        - +
        • engineGenerateCertificate

          -
          public java.security.cert.Certificate engineGenerateCertificate(java.io.InputStream inStream)
          +
          public java.security.cert.Certificate engineGenerateCertificate​(java.io.InputStream inStream)
                                                                    throws java.security.cert.CertificateException
          Specified by:
          @@ -227,13 +264,13 @@

          engineGenerateCertificate

        - +
        • engineGenerateCertificates

          -
          public java.util.Collection<java.security.cert.Certificate> engineGenerateCertificates(java.io.InputStream inStream)
          +
          public java.util.Collection<java.security.cert.Certificate> engineGenerateCertificates​(java.io.InputStream inStream)
                                                                                           throws java.security.cert.CertificateException
          Specified by:
          @@ -243,13 +280,13 @@

          engineGenerateCertificates

        - +
        • engineGenerateCRL

          -
          public java.security.cert.CRL engineGenerateCRL(java.io.InputStream inStream)
          +
          public java.security.cert.CRL engineGenerateCRL​(java.io.InputStream inStream)
                                                    throws java.security.cert.CRLException
          Specified by:
          @@ -259,13 +296,13 @@

          engineGenerateCRL

        - +
        • engineGenerateCRLs

          -
          public java.util.Collection<java.security.cert.CRL> engineGenerateCRLs(java.io.InputStream inStream)
          +
          public java.util.Collection<java.security.cert.CRL> engineGenerateCRLs​(java.io.InputStream inStream)
                                                                           throws java.security.cert.CRLException
          Specified by:
          @@ -277,21 +314,25 @@

          engineGenerateCRLs

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/provider/package-frame.html b/master/javadocs/org/mozilla/jss/netscape/security/provider/package-frame.html deleted file mode 100644 index bc3e9ca33..000000000 --- a/master/javadocs/org/mozilla/jss/netscape/security/provider/package-frame.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - -org.mozilla.jss.netscape.security.provider (JSS: Java Security Services) - - - - -

    org.mozilla.jss.netscape.security.provider

    - - - diff --git a/master/javadocs/org/mozilla/jss/netscape/security/provider/package-summary.html b/master/javadocs/org/mozilla/jss/netscape/security/provider/package-summary.html index c614ff2ca..cc0a4bcf9 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/provider/package-summary.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/provider/package-summary.html @@ -1,11 +1,20 @@ - + org.mozilla.jss.netscape.security.provider (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Package org.mozilla.jss.netscape.security.provider

    • - +
      @@ -81,19 +105,19 @@

      Package org.mozilla.jss.netscape.security

      - + - + - + - + - + - + - + - + @@ -133,16 +157,19 @@

      Package org.mozilla.jss.netscape.security + + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/provider/package-tree.html b/master/javadocs/org/mozilla/jss/netscape/security/provider/package-tree.html index de5332cee..70462b8ec 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/provider/package-tree.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/provider/package-tree.html @@ -1,11 +1,20 @@ - + org.mozilla.jss.netscape.security.provider Class Hierarchy (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
      + +
      +

      Hierarchy For Package org.mozilla.jss.netscape.security.provider

      Package Hierarchies: @@ -75,30 +99,31 @@

      Hierarchy For Package org.mozilla.jss.netscape.security.provid

      +

      Class Hierarchy

        -
      • java.lang.Object +
      • java.lang.Object
          -
        • java.security.AlgorithmParametersSpi +
        • java.security.AlgorithmParametersSpi
        • -
        • java.security.cert.CertificateFactorySpi +
        • java.security.cert.CertificateFactorySpi
        • -
        • java.util.Dictionary<K,V> +
        • java.util.Dictionary<K,​V>
            -
          • java.util.Hashtable<K,V> (implements java.lang.Cloneable, java.util.Map<K,V>, java.io.Serializable) +
          • java.util.Hashtable<K,​V> (implements java.lang.Cloneable, java.util.Map<K,​V>, java.io.Serializable)
              -
            • java.util.Properties +
            • java.util.Properties
                -
              • java.security.Provider +
              • java.security.Provider
                  -
                • org.mozilla.jss.netscape.security.provider.CMS
                • -
                • org.mozilla.jss.netscape.security.provider.Sun
                • +
                • org.mozilla.jss.netscape.security.provider.CMS
                • +
                • org.mozilla.jss.netscape.security.provider.Sun
              @@ -107,36 +132,40 @@

              Class Hierarchy

          • -
          • java.security.KeyFactorySpi +
          • java.security.KeyFactorySpi
          • -
          • org.mozilla.jss.netscape.security.pkcs.PKCS8Key (implements java.security.PrivateKey) +
          • org.mozilla.jss.netscape.security.pkcs.PKCS8Key (implements java.security.PrivateKey)
              -
            • org.mozilla.jss.netscape.security.provider.DSAPrivateKey (implements java.security.interfaces.DSAPrivateKey, java.io.Serializable)
            • +
            • org.mozilla.jss.netscape.security.provider.DSAPrivateKey (implements java.security.interfaces.DSAPrivateKey, java.io.Serializable)
          • -
          • org.mozilla.jss.netscape.security.x509.X509Key (implements java.security.PublicKey) +
          • org.mozilla.jss.netscape.security.x509.X509Key (implements java.security.PublicKey)
              -
            • org.mozilla.jss.netscape.security.provider.DSAPublicKey (implements java.security.interfaces.DSAPublicKey, java.io.Serializable)
            • -
            • org.mozilla.jss.netscape.security.provider.RSAPublicKey (implements java.io.Serializable)
            • +
            • org.mozilla.jss.netscape.security.provider.DSAPublicKey (implements java.security.interfaces.DSAPublicKey, java.io.Serializable)
            • +
            • org.mozilla.jss.netscape.security.provider.RSAPublicKey (implements java.io.Serializable)
        +
      +
      + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/util/ASN1CharStrConvMap.html b/master/javadocs/org/mozilla/jss/netscape/security/util/ASN1CharStrConvMap.html index 87f82a91c..bef2b6aae 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/util/ASN1CharStrConvMap.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/util/ASN1CharStrConvMap.html @@ -1,11 +1,20 @@ - + ASN1CharStrConvMap (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
      + +
      +
      -
      org.mozilla.jss.netscape.security.util
      +

      Class ASN1CharStrConvMap

      @@ -106,7 +130,6 @@

      Class ASN1CharStrConvMap


      • -
        public class ASN1CharStrConvMap
         extends java.lang.Object
        Maps a ASN.1 character string type to a charset encoder and decoder. @@ -122,76 +145,88 @@

        Class ASN1CharStrConvMap

        • +
            -
          • +
          • Constructor Summary

            -

      Class Summary 
      Class
      CMSCMS
      The CMS Security Provider.
      DSAKeyFactoryDSAKeyFactory
      This class implements the DSA key factory of the Sun provider.
      DSAParametersDSAParameters
      This class implements the parameter set used by the Digital Signature Algorithm as specified in the FIPS 186 @@ -101,31 +125,31 @@

      Package org.mozilla.jss.netscape.security

      DSAPrivateKeyDSAPrivateKey
      A PKCS#8 private key for the Digital Signature Algorithm.
      DSAPublicKeyDSAPublicKey
      An X.509 public key for the Digital Signature Algorithm.
      RSAPublicKeyRSAPublicKey
      An X.509 public key for the RSA Algorithm.
      SunSun
      Defines the SUN provider.
      X509CertificateFactoryX509CertificateFactory  
      +
      - + + - +
      Constructors 
      Constructor and DescriptionConstructorDescription
      ASN1CharStrConvMap() +ASN1CharStrConvMap()
      Constructs a ASN1CharStrConvMap.
    + +
    +
    @@ -206,12 +242,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -223,19 +260,21 @@

          ASN1CharStrConvMap

      +
      +
        -
      • +
      • Method Detail

        - +
        • getEncoder

          -
          public java.nio.charset.CharsetEncoder getEncoder(byte tag)
          +
          public java.nio.charset.CharsetEncoder getEncoder​(byte tag)
          Get an encoder for the specified DER tag.
          Parameters:
          @@ -246,13 +285,13 @@

          getEncoder

        - +
        • getDecoder

          -
          public java.nio.charset.CharsetDecoder getDecoder(byte tag)
          +
          public java.nio.charset.CharsetDecoder getDecoder​(byte tag)
          Get a decoder for the given DER tag.
          Parameters:
          @@ -263,13 +302,13 @@

          getDecoder

        - +
        • addEntry

          -
          public void addEntry(byte tag,
          +
          public void addEntry​(byte tag,
                                java.nio.charset.Charset charset)
          Add a tag-charset entry in the map.
          @@ -280,13 +319,13 @@

          addEntry

        - +
        • getTags

          -
          public java.util.Iterator<java.lang.Byte> getTags()
          +
          public java.util.Iterator<java.lang.Byte> getTags()
          Get an iterator of all tags in the map.
          Returns:
          @@ -294,13 +333,13 @@

          getTags

        - +
        • getDefault

          -
          public static ASN1CharStrConvMap getDefault()
          +
          public static ASN1CharStrConvMap getDefault()
          Get the global ASN1CharStrConvMap.
          Returns:
          @@ -308,13 +347,13 @@

          getDefault

        - +
        • setDefault

          -
          public static void setDefault(ASN1CharStrConvMap newDefault)
          +
          public static void setDefault​(ASN1CharStrConvMap newDefault)
          Set the global default ASN1CharStrConvMap.
          Parameters:
          @@ -324,21 +363,25 @@

          setDefault

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/util/ASN1CharsetProvider.html b/master/javadocs/org/mozilla/jss/netscape/security/util/ASN1CharsetProvider.html index f3dfc33fa..a71761f54 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/util/ASN1CharsetProvider.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/util/ASN1CharsetProvider.html @@ -1,11 +1,20 @@ - + ASN1CharsetProvider (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.util
    +

    Class ASN1CharsetProvider

    @@ -111,7 +135,6 @@

    Class ASN1CharsetProvider

  • -
    public class ASN1CharsetProvider
     extends java.nio.charset.spi.CharsetProvider
  • @@ -121,68 +144,81 @@

    Class ASN1CharsetProvider
  • +
      -
    • +
    • Field Summary

      - +
      - + + - - + + +
      Fields 
      Modifier and TypeField and DescriptionFieldDescription
      protected java.util.Map<java.lang.String,java.nio.charset.Charset>charsets protected java.util.Map<java.lang.String,​java.nio.charset.Charset>charsets 
    +
    +
    +
    +
      -
    • +
    • Method Summary

      - +
      - + + - + + - + + - + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and DescriptionMethodDescription
      voidaddCharset(java.nio.charset.Charset cs) addCharset​(java.nio.charset.Charset cs) 
      java.nio.charset.CharsetcharsetForName(java.lang.String charsetName) charsetForName​(java.lang.String charsetName) 
      java.util.Iterator<java.nio.charset.Charset>charsets() charsets() 
        -
      • +
      • Methods inherited from class java.lang.Object

        @@ -190,6 +226,7 @@

        Methods inherited from class java.lang.Object

    +
  • @@ -197,29 +234,32 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
        • charsets

          -
          protected java.util.Map<java.lang.String,java.nio.charset.Charset> charsets
          +
          protected java.util.Map<java.lang.String,​java.nio.charset.Charset> charsets
      +
      +
        -
      • +
      • Constructor Detail

        - +
          @@ -230,64 +270,70 @@

          ASN1CharsetProvider

      +
      +
        -
      • +
      • Method Detail

        - +
        • charsets

          -
          public java.util.Iterator<java.nio.charset.Charset> charsets()
          +
          public java.util.Iterator<java.nio.charset.Charset> charsets()
          Specified by:
          charsets in class java.nio.charset.spi.CharsetProvider
        - +
        • charsetForName

          -
          public java.nio.charset.Charset charsetForName(java.lang.String charsetName)
          +
          public java.nio.charset.Charset charsetForName​(java.lang.String charsetName)
          Specified by:
          charsetForName in class java.nio.charset.spi.CharsetProvider
        - +
        • addCharset

          -
          public void addCharset(java.nio.charset.Charset cs)
          +
          public void addCharset​(java.nio.charset.Charset cs)
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/util/BigInt.html b/master/javadocs/org/mozilla/jss/netscape/security/util/BigInt.html index 1b0a070b0..d5656ff6b 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/util/BigInt.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/util/BigInt.html @@ -1,11 +1,20 @@ - + BigInt (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.util
    +

    Class BigInt

    @@ -107,10 +131,9 @@

    Class BigInt

  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public final class BigInt
     extends java.lang.Object
     implements java.io.Serializable
    @@ -135,98 +158,114 @@

    Class BigInt

    • +
        -
      • +
      • Constructor Summary

        - +
        - + + - + - + - +
        Constructors 
        Constructor and DescriptionConstructorDescription
        BigInt(java.math.BigInteger i) -
        Constructs a "Big" integer from a "BigInteger", which must be - positive (or zero) in value.
        +
        BigInt​(byte[] data) +
        Constructs a "Big" integer from a set of (big-endian) bytes.
        BigInt(byte[] data) -
        Constructs a "Big" integer from a set of (big-endian) bytes.
        +
        BigInt​(int i) +
        Constructs a "Big" integer from a normal Java integer.
        BigInt(int i) -
        Constructs a "Big" integer from a normal Java integer.
        +
        BigInt​(java.math.BigInteger i) +
        Constructs a "Big" integer from a "BigInteger", which must be + positive (or zero) in value.
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - + - + - + - + + - + - + - + - +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        intbyteLength() +byteLength()
        Returns the length of the data as a byte array.
        booleanequals(BigInt other) -
        Returns true iff the parameter is numerically equivalent.
        +
        equals​(java.lang.Object other) +
        Returns true iff the parameter is a numerically equivalent + BigInt.
        booleanequals(java.lang.Object other) -
        Returns true iff the parameter is a numerically equivalent - BigInt.
        +
        equals​(BigInt other) +
        Returns true iff the parameter is numerically equivalent.
        inthashCode() hashCode() 
        java.math.BigIntegertoBigInteger() +toBigInteger()
        Returns a BigInteger value which supports many arithmetic operations.
        byte[]toByteArray() +toByteArray()
        Returns the data as a byte array.
        inttoInt() +toInt()
        Converts the "big" integer to a java primitive integer.
        java.lang.StringtoString() +toString()
        Returns a hexadecimal printed representation.
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -234,6 +273,7 @@

          Methods inherited from class java.lang.Object

      +
  • @@ -241,18 +281,19 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • BigInt

          -
          public BigInt(byte[] data)
          +
          public BigInt​(byte[] data)
          Constructs a "Big" integer from a set of (big-endian) bytes. Leading zeroes should be stripped off.
          @@ -262,24 +303,24 @@

          BigInt

        - +
        • BigInt

          -
          public BigInt(java.math.BigInteger i)
          +
          public BigInt​(java.math.BigInteger i)
          Constructs a "Big" integer from a "BigInteger", which must be positive (or zero) in value.
        - +
        • BigInt

          -
          public BigInt(int i)
          +
          public BigInt​(int i)
          Constructs a "Big" integer from a normal Java integer.
          Parameters:
          @@ -289,19 +330,21 @@

          BigInt

      +
      +
        -
      • +
      • Method Detail

        - +
        • toInt

          -
          public int toInt()
          +
          public int toInt()
          Converts the "big" integer to a java primitive integer.
          Throws:
          @@ -309,13 +352,13 @@

          toInt

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns a hexadecimal printed representation. The value is formatted to fit on lines of at least 75 characters, with embedded newlines. Words are separated for readability, @@ -326,45 +369,45 @@

          toString

        - +
        • toBigInteger

          -
          public java.math.BigInteger toBigInteger()
          +
          public java.math.BigInteger toBigInteger()
          Returns a BigInteger value which supports many arithmetic operations. Assumes negative values will never occur.
        - +
        • byteLength

          -
          public int byteLength()
          +
          public int byteLength()
          Returns the length of the data as a byte array.
        - +
        • toByteArray

          -
          public byte[] toByteArray()
          +
          public byte[] toByteArray()
          Returns the data as a byte array. The most significant bit of the array is bit zero (as in java.math.BigInteger).
        - +
        • equals

          -
          public boolean equals(java.lang.Object other)
          +
          public boolean equals​(java.lang.Object other)
          Returns true iff the parameter is a numerically equivalent BigInt.
          @@ -375,26 +418,26 @@

          equals

        - +
        • hashCode

          -
          public int hashCode()
          +
          public int hashCode()
          Overrides:
          hashCode in class java.lang.Object
        - +
        • equals

          -
          public boolean equals(BigInt other)
          +
          public boolean equals​(BigInt other)
          Returns true iff the parameter is numerically equivalent.
          Parameters:
          @@ -404,21 +447,25 @@

          equals

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/util/BitArray.html b/master/javadocs/org/mozilla/jss/netscape/security/util/BitArray.html index 24ca6dd3a..45a19db5c 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/util/BitArray.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/util/BitArray.html @@ -1,11 +1,20 @@ - + BitArray (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.util
    +

    Class BitArray

    @@ -106,7 +130,6 @@

    Class BitArray


    • -
      public class BitArray
       extends java.lang.Object
      A packed array of booleans.
      @@ -117,30 +140,35 @@

      Class BitArray

      • +
          -
        • +
        • Constructor Summary

          - +
          - + + - + - + - + @@ -148,72 +176,84 @@

          Constructor Summary

          Constructors 
          Constructor and DescriptionConstructorDescription
          BitArray(boolean[] bits) +BitArray​(boolean[] bits)
          Create a BitArray whose bits are those of the given array of Booleans.
          BitArray(int length) +BitArray​(int length)
          Creates a BitArray of the specified size, initialized to zeros.
          BitArray(int length, - byte[] a) +BitArray​(int length, + byte[] a)
          Creates a BitArray of the specified size, initialized from the specified byte array.
        +
        +
          -
        • +
        • Method Summary

          - +
          - + + - + + - + + - + - + - + - + - + - + - +
          All Methods Instance Methods Concrete Methods 
          Modifier and TypeMethod and DescriptionMethodDescription
          java.lang.Objectclone() clone() 
          booleanequals(java.lang.Object obj) equals​(java.lang.Object obj) 
          booleanget(int index) +get​(int index)
          Returns the indexed bit in this BitArray.
          inthashCode() +hashCode()
          Returns a hash code value for this bit array.
          intlength() +length()
          Returns the length of this BitArray.
          voidset(int index, - boolean value) +set​(int index, + boolean value)
          Sets the indexed bit in this BitArray.
          boolean[]toBooleanArray() +toBooleanArray()
          Return a boolean array with the same bit values a this BitArray.
          byte[]toByteArray() +toByteArray()
          Returns a Byte array containing the contents of this BitArray.
          java.lang.StringtoString() +toString()
          Returns a string representation of this BitArray.
            -
          • +
          • Methods inherited from class java.lang.Object

            @@ -221,6 +261,7 @@

            Methods inherited from class java.lang.Object

        +
    @@ -228,18 +269,19 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • BitArray

          -
          public BitArray(int length)
          +
          public BitArray​(int length)
                    throws java.lang.IllegalArgumentException
          Creates a BitArray of the specified size, initialized to zeros.
          @@ -248,13 +290,13 @@

          BitArray

        - +
        • BitArray

          -
          public BitArray(int length,
          +
          public BitArray​(int length,
                           byte[] a)
                    throws java.lang.IllegalArgumentException
          Creates a BitArray of the specified size, initialized from the @@ -268,32 +310,34 @@

          BitArray

        - +
        • BitArray

          -
          public BitArray(boolean[] bits)
          +
          public BitArray​(boolean[] bits)
          Create a BitArray whose bits are those of the given array of Booleans.
      +
      +
        -
      • +
      • Method Detail

        - +
        • get

          -
          public boolean get(int index)
          +
          public boolean get​(int index)
                       throws java.lang.ArrayIndexOutOfBoundsException
          Returns the indexed bit in this BitArray.
          @@ -302,13 +346,13 @@

          get

        - +
        • set

          -
          public void set(int index,
          +
          public void set​(int index,
                           boolean value)
                    throws java.lang.ArrayIndexOutOfBoundsException
          Sets the indexed bit in this BitArray.
          @@ -318,23 +362,23 @@

          set

        - +
        • length

          -
          public int length()
          +
          public int length()
          Returns the length of this BitArray.
        - +
        • toByteArray

          -
          public byte[] toByteArray()
          +
          public byte[] toByteArray()
          Returns a Byte array containing the contents of this BitArray. The bit stored at index zero in this BitArray will be copied into the most significant bit of the zeroth element of the @@ -344,36 +388,36 @@

          toByteArray

          is not a multiple of 8.)
        - +
        • equals

          -
          public boolean equals(java.lang.Object obj)
          +
          public boolean equals​(java.lang.Object obj)
          Overrides:
          equals in class java.lang.Object
        - +
        • toBooleanArray

          -
          public boolean[] toBooleanArray()
          +
          public boolean[] toBooleanArray()
          Return a boolean array with the same bit values a this BitArray.
        - +
        • hashCode

          -
          public int hashCode()
          +
          public int hashCode()
          Returns a hash code value for this bit array.
          Overrides:
          @@ -383,26 +427,26 @@

          hashCode

        - +
        • clone

          -
          public java.lang.Object clone()
          +
          public java.lang.Object clone()
          Overrides:
          clone in class java.lang.Object
        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns a string representation of this BitArray.
          Overrides:
          @@ -412,21 +456,25 @@

          toString

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/util/ByteArrayLexOrder.html b/master/javadocs/org/mozilla/jss/netscape/security/util/ByteArrayLexOrder.html index 14e2e9a97..eb408cf71 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/util/ByteArrayLexOrder.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/util/ByteArrayLexOrder.html @@ -1,11 +1,20 @@ - + ByteArrayLexOrder (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.util
    +

    Class ByteArrayLexOrder

    @@ -107,10 +131,9 @@

    Class ByteArrayLexOrder

  • All Implemented Interfaces:
    -
    java.io.Serializable, java.util.Comparator<byte[]>
    +
    java.io.Serializable, java.util.Comparator<byte[]>

    -
    public class ByteArrayLexOrder
     extends java.lang.Object
     implements java.util.Comparator<byte[]>, java.io.Serializable
    @@ -126,59 +149,67 @@

    Class ByteArrayLexOrder

    • +
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        intcompare(byte[] bytes1, - byte[] bytes2) +compare​(byte[] bytes1, + byte[] bytes2)
        Perform lexicographical comparison of two byte arrays, regarding each byte as unsigned.
          -
        • +
        • Methods inherited from class java.lang.Object

          clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
          -
        • +
        • Methods inherited from interface java.util.Comparator

          -comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
        • +equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
      +
  • @@ -186,12 +217,13 @@

    Methods inherited from interface java.util.Comparator

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -202,19 +234,21 @@

          ByteArrayLexOrder

      +
      +
        -
      • +
      • Method Detail

        - +
        • compare

          -
          public final int compare(byte[] bytes1,
          +
          public final int compare​(byte[] bytes1,
                                    byte[] bytes2)
          Perform lexicographical comparison of two byte arrays, regarding each byte as unsigned. That is, compare array entries @@ -235,21 +269,25 @@

          compare

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/util/ByteArrayTagOrder.html b/master/javadocs/org/mozilla/jss/netscape/security/util/ByteArrayTagOrder.html index 7869edebc..5f58f7872 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/util/ByteArrayTagOrder.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/util/ByteArrayTagOrder.html @@ -1,11 +1,20 @@ - + ByteArrayTagOrder (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.util
    +

    Class ByteArrayTagOrder

    @@ -107,10 +131,9 @@

    Class ByteArrayTagOrder

  • All Implemented Interfaces:
    -
    java.io.Serializable, java.util.Comparator<byte[]>
    +
    java.io.Serializable, java.util.Comparator<byte[]>

    -
    public class ByteArrayTagOrder
     extends java.lang.Object
     implements java.util.Comparator<byte[]>, java.io.Serializable
    @@ -125,59 +148,67 @@

    Class ByteArrayTagOrder

    • +
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        intcompare(byte[] bytes1, - byte[] bytes2) +compare​(byte[] bytes1, + byte[] bytes2)
        Compare two byte arrays, by the order of their tags, as defined in ITU-T X.680, sec. 6.4.
          -
        • +
        • Methods inherited from class java.lang.Object

          clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
          -
        • +
        • Methods inherited from interface java.util.Comparator

          -comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
        • +equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
      +
  • @@ -185,12 +216,13 @@

    Methods inherited from interface java.util.Comparator

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -201,19 +233,21 @@

          ByteArrayTagOrder

      +
      +
        -
      • +
      • Method Detail

        - +
        • compare

          -
          public final int compare(byte[] bytes1,
          +
          public final int compare​(byte[] bytes1,
                                    byte[] bytes2)
          Compare two byte arrays, by the order of their tags, as defined in ITU-T X.680, sec. 6.4. (First compare @@ -232,21 +266,25 @@

          compare

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/util/Cert.html b/master/javadocs/org/mozilla/jss/netscape/security/util/Cert.html index 635447b08..0b55a820b 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/util/Cert.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/util/Cert.html @@ -1,11 +1,20 @@ - + Cert (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.util
    +

    Class Cert

    @@ -106,7 +130,6 @@

    Class Cert

    @@ -255,12 +307,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -273,7 +326,7 @@

          HEADER

        - +
          @@ -286,7 +339,7 @@

          FOOTER

        - +
          @@ -299,7 +352,7 @@

          PKCS7_HEADER

        - +
          @@ -312,7 +365,7 @@

          PKCS7_FOOTER

        - +
          @@ -325,7 +378,7 @@

          REQUEST_HEADER

        - +
          @@ -340,13 +393,15 @@

          REQUEST_FOOTER

      +
      +
        -
      • +
      • Constructor Detail

        - +
          @@ -357,55 +412,57 @@

          Cert

      +
      +
        -
      • +
      • Method Detail

        - +
        • mapAlgorithmToJss

          -
          public static SignatureAlgorithm mapAlgorithmToJss(java.lang.String algname)
          +
          public static SignatureAlgorithm mapAlgorithmToJss​(java.lang.String algname)
        - +
        • stripBrackets

          -
          public static java.lang.String stripBrackets(java.lang.String s)
          +
          public static java.lang.String stripBrackets​(java.lang.String s)
        - +
        • stripCRLBrackets

          -
          public static java.lang.String stripCRLBrackets(java.lang.String s)
          +
          public static java.lang.String stripCRLBrackets​(java.lang.String s)
        - +
        • stripCertBrackets

          -
          public static java.lang.String stripCertBrackets(java.lang.String s)
          +
          public static java.lang.String stripCertBrackets​(java.lang.String s)
        - +
        • mapCert

          -
          public static X509CertImpl mapCert(java.lang.String mime64)
          +
          public static X509CertImpl mapCert​(java.lang.String mime64)
                                       throws java.io.IOException
          Throws:
          @@ -413,13 +470,13 @@

          mapCert

        - +
        • mapCertFromPKCS7

          -
          public static java.security.cert.X509Certificate[] mapCertFromPKCS7(java.lang.String mime64)
          +
          public static java.security.cert.X509Certificate[] mapCertFromPKCS7​(java.lang.String mime64)
                                                                        throws java.io.IOException
          Throws:
          @@ -427,13 +484,13 @@

          mapCertFromPKCS7

        - +
        • mapCRL

          -
          public static java.security.cert.X509CRL mapCRL(java.lang.String mime64)
          +
          public static java.security.cert.X509CRL mapCRL​(java.lang.String mime64)
                                                    throws java.io.IOException
          Throws:
          @@ -441,13 +498,13 @@

          mapCRL

        - +
        • mapCRL1

          -
          public static java.security.cert.X509CRL mapCRL1(java.lang.String mime64)
          +
          public static java.security.cert.X509CRL mapCRL1​(java.lang.String mime64)
                                                     throws java.io.IOException
          Throws:
          @@ -455,40 +512,40 @@

          mapCRL1

        - +
        • normalizeCertStr

          -
          public static java.lang.String normalizeCertStr(java.lang.String s)
          +
          public static java.lang.String normalizeCertStr​(java.lang.String s)
        - +
        • normalizeCertStrAndReq

          -
          public static java.lang.String normalizeCertStrAndReq(java.lang.String s)
          +
          public static java.lang.String normalizeCertStrAndReq​(java.lang.String s)
        - +
        • parseCertificate

          -
          public static byte[] parseCertificate(java.lang.String cert)
          +
          public static byte[] parseCertificate​(java.lang.String cert)
        - +
        • sortCertificateChain

          -
          public static java.security.cert.X509Certificate[] sortCertificateChain(java.security.cert.X509Certificate[] certs)
          +
          public static java.security.cert.X509Certificate[] sortCertificateChain​(java.security.cert.X509Certificate[] certs)
                                                                            throws java.lang.Exception
          Sorts certificate chain from root to leaf. @@ -511,13 +568,13 @@

          sortCertificateChain

        - +
        • sortCertificateChain

          -
          public static java.security.cert.X509Certificate[] sortCertificateChain(java.security.cert.X509Certificate[] certs,
          +
          public static java.security.cert.X509Certificate[] sortCertificateChain​(java.security.cert.X509Certificate[] certs,
                                                                                   boolean reverse)
                                                                            throws java.lang.Exception
          @@ -528,21 +585,25 @@

          sortCertificateChain

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/util/CertPrettyPrint.html b/master/javadocs/org/mozilla/jss/netscape/security/util/CertPrettyPrint.html index 54ee74862..dc21f2864 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/util/CertPrettyPrint.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/util/CertPrettyPrint.html @@ -1,11 +1,20 @@ - + CertPrettyPrint (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.util
    +

    Class CertPrettyPrint

    @@ -106,7 +130,6 @@

    Class CertPrettyPrint


    • -
      public class CertPrettyPrint
       extends java.lang.Object
      This class will display the certificate content in predefined @@ -118,63 +141,75 @@

      Class CertPrettyPrint

      • +
        +
        +
          -
        • +
        • Method Summary

          - +
          - + + - + + - + + - + + - + - + +
          All Methods Instance Methods Concrete Methods 
          Modifier and TypeMethod and DescriptionMethodDescription
          java.lang.StringnormalizeCertStr(java.lang.String s) normalizeCertStr​(java.lang.String s) 
          java.lang.Stringpkcs7toString(java.util.Locale clientLocale) pkcs7toString​(java.util.Locale clientLocale) 
          java.lang.StringstripCertBrackets(java.lang.String s) stripCertBrackets​(java.lang.String s) 
          java.lang.StringtoString(java.util.Locale clientLocale) +toString​(java.util.Locale clientLocale)
          This method return string representation of the certificate in predefined format using specified client local.
          java.lang.StringX509toString(java.util.Locale clientLocale) X509toString​(java.util.Locale clientLocale) 
            -
          • +
          • Methods inherited from class java.lang.Object

            @@ -182,6 +217,7 @@

            Methods inherited from class java.lang.Object

        +
      @@ -189,44 +225,47 @@

      Methods inherited from class java.lang.Object

      • +
          -
        • +
        • Constructor Detail

          - +
          • CertPrettyPrint

            -
            public CertPrettyPrint(java.security.cert.Certificate cert)
            +
            public CertPrettyPrint​(java.security.cert.Certificate cert)
          - +
          • CertPrettyPrint

            -
            public CertPrettyPrint(byte[] certb)
            +
            public CertPrettyPrint​(byte[] certb)
        +
        +
          -
        • +
        • Method Detail

          - +
          • toString

            -
            public java.lang.String toString(java.util.Locale clientLocale)
            +
            public java.lang.String toString​(java.util.Locale clientLocale)
            This method return string representation of the certificate in predefined format using specified client local. I18N Support.
            @@ -237,59 +276,63 @@

            toString

          - +
          • pkcs7toString

            -
            public java.lang.String pkcs7toString(java.util.Locale clientLocale)
            +
            public java.lang.String pkcs7toString​(java.util.Locale clientLocale)
          - +
          • stripCertBrackets

            -
            public java.lang.String stripCertBrackets(java.lang.String s)
            +
            public java.lang.String stripCertBrackets​(java.lang.String s)
          - +
          • normalizeCertStr

            -
            public java.lang.String normalizeCertStr(java.lang.String s)
            +
            public java.lang.String normalizeCertStr​(java.lang.String s)
          - +
          • X509toString

            -
            public java.lang.String X509toString(java.util.Locale clientLocale)
            +
            public java.lang.String X509toString​(java.util.Locale clientLocale)
        +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/util/CrlPrettyPrint.html b/master/javadocs/org/mozilla/jss/netscape/security/util/CrlPrettyPrint.html index 8e6aea451..ec88b31f7 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/util/CrlPrettyPrint.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/util/CrlPrettyPrint.html @@ -1,11 +1,20 @@ - + CrlPrettyPrint (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.util
    +

    Class CrlPrettyPrint

    @@ -106,7 +130,6 @@

    Class CrlPrettyPrint


    • -
      public class CrlPrettyPrint
       extends java.lang.Object
      This class will display the certificate content in predefined @@ -118,37 +141,44 @@

      Class CrlPrettyPrint

      • +
        +
        +
          -
        • +
        • Method Summary

          - +
          - + + - + - +
          All Methods Instance Methods Concrete Methods 
          Modifier and TypeMethod and DescriptionMethodDescription
          java.lang.StringtoString(java.util.Locale clientLocale) +toString​(java.util.Locale clientLocale)
          This method return string representation of the certificate revocation list in predefined format using specified client local.
          @@ -156,14 +186,15 @@

          Method Summary

          java.lang.StringtoString(java.util.Locale clientLocale, +toString​(java.util.Locale clientLocale, long crlSize, long pageStart, - long pageSize)  + long pageSize) 
            -
          • +
          • Methods inherited from class java.lang.Object

            @@ -171,6 +202,7 @@

            Methods inherited from class java.lang.Object

        +
      @@ -178,35 +210,38 @@

      Methods inherited from class java.lang.Object

      • +
        +
        +
          -
        • +
        • Method Detail

          - +
          • toString

            -
            public java.lang.String toString(java.util.Locale clientLocale)
            +
            public java.lang.String toString​(java.util.Locale clientLocale)
            This method return string representation of the certificate revocation list in predefined format using specified client local. I18N Support.
            @@ -218,13 +253,13 @@

            toString

          - +
          • toString

            -
            public java.lang.String toString(java.util.Locale clientLocale,
            +
            public java.lang.String toString​(java.util.Locale clientLocale,
                                              long crlSize,
                                              long pageStart,
                                              long pageSize)
            @@ -232,21 +267,25 @@

            toString

        +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/util/DerEncoder.html b/master/javadocs/org/mozilla/jss/netscape/security/util/DerEncoder.html index b85747f99..777c7f981 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/util/DerEncoder.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/util/DerEncoder.html @@ -1,11 +1,20 @@ - + DerEncoder (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.util
    +

    Interface DerEncoder

    @@ -99,10 +123,9 @@

    Interface DerEncoder

  • All Known Implementing Classes:
    -
    AlgIdDSA, AlgorithmId, Attribute, AVA, DerOutputStream, PKCS10Attribute, PKCS10Attributes, PKCS9Attribute, SignerInfo, X509CertImpl
    +
    AlgIdDSA, AlgorithmId, Attribute, AVA, DerOutputStream, PKCS10Attribute, PKCS10Attributes, PKCS9Attribute, SignerInfo, X509CertImpl

    -
    public interface DerEncoder
    Interface to an object that knows how to write its own DER encoding to an output stream.
    @@ -113,26 +136,30 @@

    Interface DerEncoder

    • +
        -
      • +
      • Method Summary

        - +
        - + + - +
        All Methods Instance Methods Abstract Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        voidderEncode(java.io.OutputStream out) +derEncode​(java.io.OutputStream out)
        DER encode this object and write the results to a stream.
      +
  • @@ -140,18 +167,19 @@

    Method Summary

    • +
        -
      • +
      • Method Detail

        - +
        • derEncode

          -
          void derEncode(java.io.OutputStream out)
          +
          void derEncode​(java.io.OutputStream out)
                   throws java.io.IOException
          DER encode this object and write the results to a stream.
          @@ -164,21 +192,25 @@

          derEncode

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/util/DerInputStream.html b/master/javadocs/org/mozilla/jss/netscape/security/util/DerInputStream.html index 88a359025..d9f16d9b7 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/util/DerInputStream.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/util/DerInputStream.html @@ -1,11 +1,20 @@ - + DerInputStream (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.util
    +

    Class DerInputStream

    @@ -106,7 +130,6 @@

    Class DerInputStream


    • -
      public class DerInputStream
       extends java.lang.Object
      A DER input stream, used for parsing ASN.1 DER-encoded data such as @@ -130,194 +153,228 @@

      Class DerInputStream

      @@ -332,18 +390,19 @@

      Methods inherited from class java.lang.Object

      • +
          -
        • +
        • Constructor Detail

          - +
          • DerInputStream

            -
            public DerInputStream(byte[] data)
            +
            public DerInputStream​(byte[] data)
            Create a DER input stream from a data buffer. The buffer is not copied, it is shared. Accordingly, the buffer should be treated as read-only.
            @@ -353,13 +412,13 @@

            DerInputStream

          - +
          • DerInputStream

            -
            public DerInputStream(byte[] data,
            +
            public DerInputStream​(byte[] data,
                                   int offset,
                                   int len)
            Create a DER input stream from part of a data buffer. @@ -377,19 +436,21 @@

            DerInputStream

        +
        +
          -
        • +
        • Method Detail

          - +
          • subStream

            -
            public DerInputStream subStream(int len,
            +
            public DerInputStream subStream​(int len,
                                             boolean do_skip)
                                      throws java.io.IOException
            Creates a new DER input stream from part of this input stream.
            @@ -406,13 +467,13 @@

            subStream

          - +
          • toByteArray

            -
            public byte[] toByteArray()
            +
            public byte[] toByteArray()
                                throws java.io.IOException
            Return what has been written to this DerInputStream as a byte array. Useful for debugging.
            @@ -422,13 +483,13 @@

            toByteArray

          - +
          • getInteger

            -
            public BigInt getInteger()
            +
            public BigInt getInteger()
                               throws java.io.IOException
            Get an (unsigned) integer from the input stream.
            @@ -437,13 +498,13 @@

            getInteger

          - +
          • getBitString

            -
            public byte[] getBitString()
            +
            public byte[] getBitString()
                                 throws java.io.IOException
            Get a bit string from the input stream. Only octet-aligned bitstrings (multiples of eight bits in length) are handled @@ -454,13 +515,13 @@

            getBitString

          - +
          • getUnalignedBitString

            -
            public BitArray getUnalignedBitString()
            +
            public BitArray getUnalignedBitString()
                                            throws java.io.IOException
            Get a bit string from the input stream. The bit string need not be byte-aligned.
            @@ -470,13 +531,13 @@

            getUnalignedBitString

          - +
          • getOctetString

            -
            public byte[] getOctetString()
            +
            public byte[] getOctetString()
                                   throws java.io.IOException
            Returns an ASN.1 OCTET STRING from the input stream.
            @@ -485,13 +546,13 @@

            getOctetString

          - +
          • getBytes

            -
            public void getBytes(byte[] val)
            +
            public void getBytes​(byte[] val)
                           throws java.io.IOException
            Returns the asked number of bytes from the input stream.
            @@ -500,13 +561,13 @@

            getBytes

          - +
          • getNull

            -
            public void getNull()
            +
            public void getNull()
                          throws java.io.IOException
            Reads an encoded null value from the input stream.
            @@ -515,13 +576,13 @@

            getNull

          - +
          • getOID

            -
            public ObjectIdentifier getOID()
            +
            public ObjectIdentifier getOID()
                                     throws java.io.IOException
            Reads an X.200 style Object Identifier from the stream.
            @@ -530,13 +591,13 @@

            getOID

          - +
          • getSequence

            -
            public DerValue[] getSequence(int startLen)
            +
            public DerValue[] getSequence​(int startLen)
                                    throws java.io.IOException
            Return a sequence of encoded entities. ASN.1 sequences are ordered, and they are often used, like a "struct" in C or C++, @@ -553,13 +614,13 @@

            getSequence

          - +
          • skipSequence

            -
            public void skipSequence(int startLen)
            +
            public void skipSequence​(int startLen)
                               throws java.io.IOException
            Throws:
            @@ -567,13 +628,13 @@

            skipSequence

          - +
          • getSet

            -
            public DerValue[] getSet(int startLen)
            +
            public DerValue[] getSet​(int startLen)
                               throws java.io.IOException
            Return a set of encoded entities. ASN.1 sets are unordered, though DER may specify an order for some kinds of sets (such @@ -590,13 +651,13 @@

            getSet

          - +
          • getSet

            -
            public DerValue[] getSet(int startLen,
            +
            public DerValue[] getSet​(int startLen,
                                      boolean implicit)
                               throws java.io.IOException
            Return a set of encoded entities. ASN.1 sets are unordered, @@ -615,13 +676,13 @@

            getSet

          - +
          • readVector

            -
            protected DerValue[] readVector(int startLen)
            +
            protected DerValue[] readVector​(int startLen)
                                      throws java.io.IOException
            Throws:
            @@ -629,13 +690,13 @@

            readVector

          - +
          • getDerValue

            -
            public DerValue getDerValue()
            +
            public DerValue getDerValue()
                                  throws java.io.IOException
            Get a single DER-encoded value from the input stream. It can often be useful to pull a value from the stream @@ -648,13 +709,13 @@

            getDerValue

          - +
          • getPrintableString

            -
            public java.lang.String getPrintableString()
            +
            public java.lang.String getPrintableString()
                                                 throws java.io.IOException
            Throws:
            @@ -662,13 +723,13 @@

            getPrintableString

          - +
          • getT61String

            -
            public java.lang.String getT61String()
            +
            public java.lang.String getT61String()
                                           throws java.io.IOException
            Throws:
            @@ -676,13 +737,13 @@

            getT61String

          - +
          • getIA5String

            -
            public java.lang.String getIA5String()
            +
            public java.lang.String getIA5String()
                                           throws java.io.IOException
            Throws:
            @@ -690,13 +751,13 @@

            getIA5String

          - +
          • getBMPString

            -
            public java.lang.String getBMPString()
            +
            public java.lang.String getBMPString()
                                           throws java.io.IOException
            Throws:
            @@ -704,13 +765,13 @@

            getBMPString

          - +
          • getUniversalString

            -
            public java.lang.String getUniversalString()
            +
            public java.lang.String getUniversalString()
                                                 throws java.io.IOException
            Throws:
            @@ -718,13 +779,13 @@

            getUniversalString

          - +
          • getDirectoryString

            -
            public java.lang.String getDirectoryString()
            +
            public java.lang.String getDirectoryString()
                                                 throws java.io.IOException
            Throws:
            @@ -732,13 +793,13 @@

            getDirectoryString

          - +
          • getUTCTime

            -
            public java.util.Date getUTCTime()
            +
            public java.util.Date getUTCTime()
                                       throws java.io.IOException
            Get a UTC encoded time value from the input stream.
            @@ -747,13 +808,13 @@

            getUTCTime

          - +
          • getGeneralizedTime

            -
            public java.util.Date getGeneralizedTime()
            +
            public java.util.Date getGeneralizedTime()
                                               throws java.io.IOException
            Get a Generalized encoded time value from the input stream.
            @@ -762,13 +823,13 @@

            getGeneralizedTime

          - +
          • peekByte

            -
            public int peekByte()
            +
            public int peekByte()
                          throws java.io.IOException
            Throws:
            @@ -776,35 +837,35 @@

            peekByte

          - +
          • mark

            -
            public void mark(int value)
            +
            public void mark​(int value)
            Mark the current position in the buffer, so that a later call to reset will return here.
          - +
          • reset

            -
            public void reset()
            +
            public void reset()
            Return to the position of the last mark call. A mark is implicitly set at the beginning of the stream when it is created.
          - +
          • available

            -
            public int available()
            +
            public int available()
            Returns the number of bytes available for reading. This is most useful for testing whether the stream is empty.
            @@ -812,21 +873,25 @@

            available

        +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/util/DerOutputStream.html b/master/javadocs/org/mozilla/jss/netscape/security/util/DerOutputStream.html index 1ea5b10f5..0cb079868 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/util/DerOutputStream.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/util/DerOutputStream.html @@ -1,11 +1,20 @@ - + DerOutputStream (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.util
    +

    Class DerOutputStream

    @@ -117,13 +141,12 @@

    Class DerOutputStream

  • All Implemented Interfaces:
    -
    java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable, DerEncoder
    +
    java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable, DerEncoder

    -
    public class DerOutputStream
     extends java.io.ByteArrayOutputStream
    -implements DerEncoder
    +implements DerEncoder
    Output stream marshaling DER-encoded data. This is eventually provided in the form of a byte array; there is no advance limit on the size of that byte array. @@ -138,13 +161,14 @@

    Class DerOutputStream

    @@ -419,18 +485,19 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • DerOutputStream

          -
          public DerOutputStream(int size)
          +
          public DerOutputStream​(int size)
          Construct an DER output stream.
          Parameters:
          @@ -438,7 +505,7 @@

          DerOutputStream

        - +
          @@ -450,19 +517,21 @@

          DerOutputStream

      +
      +
        -
      • +
      • Method Detail

        - +
        • write

          -
          public void write(byte tag,
          +
          public void write​(byte tag,
                             byte[] buf)
                      throws java.io.IOException
          Writes tagged, pre-marshaled data. This calcuates and encodes @@ -477,14 +546,14 @@

          write

        - +
        • write

          -
          public void write(byte tag,
          -                  DerOutputStream out)
          +
          public void write​(byte tag,
          +                  DerOutputStream out)
                      throws java.io.IOException
          Writes tagged data using buffer-to-buffer copy. As above, this writes a standard DER record. This is often used when @@ -498,14 +567,14 @@

          write

        - +
        • writeImplicit

          -
          public void writeImplicit(byte tag,
          -                          DerOutputStream value)
          +
          public void writeImplicit​(byte tag,
          +                          DerOutputStream value)
                              throws java.io.IOException
          Writes implicitly tagged data using buffer-to-buffer copy. As above, this writes a standard DER record. This is often used when @@ -516,7 +585,7 @@

          writeImplicit

          original tag of the value in the output , such as in
          -   <field> [N] IMPLICIT  <type>
          +  <field> [N] IMPLICIT <type>
            
          For example, FooLength [1] IMPLICIT INTEGER, with value=4; @@ -530,13 +599,13 @@

          writeImplicit

        - +
        • putDerValue

          -
          public void putDerValue(DerValue val)
          +
          public void putDerValue​(DerValue val)
                            throws java.io.IOException
          Marshals pre-encoded DER value onto the output stream.
          @@ -545,13 +614,13 @@

          putDerValue

        - +
        • putBoolean

          -
          public void putBoolean(boolean val)
          +
          public void putBoolean​(boolean val)
                           throws java.io.IOException
          Marshals a DER boolean on the output stream.
          @@ -560,13 +629,13 @@

          putBoolean

        - +
        • putInteger

          -
          public void putInteger(BigInt i)
          +
          public void putInteger​(BigInt i)
                           throws java.io.IOException
          Marshals a DER unsigned integer on the output stream.
          @@ -575,13 +644,13 @@

          putInteger

        - +
        • putUnsignedInteger

          -
          public void putUnsignedInteger(byte[] integerBytes)
          +
          public void putUnsignedInteger​(byte[] integerBytes)
                                   throws java.io.IOException
          Marshals a DER unsigned integer on the output stream.
          @@ -590,13 +659,13 @@

          putUnsignedInteger

        - +
        • putEnumerated

          -
          public void putEnumerated(int i)
          +
          public void putEnumerated​(int i)
                              throws java.io.IOException
          Marshals a DER enumerated value on the output stream.
          @@ -605,13 +674,13 @@

          putEnumerated

        - +
        • putBitString

          -
          public void putBitString(byte[] bits)
          +
          public void putBitString​(byte[] bits)
                             throws java.io.IOException
          Marshals a DER bit string on the output stream. The bit string must be byte-aligned.
          @@ -623,13 +692,13 @@

          putBitString

        - +
        • putUnalignedBitString

          -
          public void putUnalignedBitString(BitArray ba)
          +
          public void putUnalignedBitString​(BitArray ba)
                                      throws java.io.IOException
          Marshals a DER bit string on the output stream. The bit strings need not be byte-aligned.
          @@ -641,13 +710,13 @@

          putUnalignedBitString

        - +
        • putUnalignedBitString

          -
          public void putUnalignedBitString(byte[] bitString)
          +
          public void putUnalignedBitString​(byte[] bitString)
                                      throws java.io.IOException
          Marshals a DER bit string on the output stream. All trailing 0 bits will be stripped off in accordance with DER @@ -660,13 +729,13 @@

          putUnalignedBitString

        - +
        • putUnalignedBitString

          -
          public void putUnalignedBitString(boolean[] bitString)
          +
          public void putUnalignedBitString​(boolean[] bitString)
                                      throws java.io.IOException
          Marshals a DER bit string on the output stream. All trailing 0 bits will be stripped off in accordance with DER @@ -679,13 +748,13 @@

          putUnalignedBitString

        - +
        • putOctetString

          -
          public void putOctetString(byte[] octets)
          +
          public void putOctetString​(byte[] octets)
                               throws java.io.IOException
          DER-encodes an ASN.1 OCTET STRING value on the output stream.
          @@ -696,13 +765,13 @@

          putOctetString

        - +
        • putNull

          -
          public void putNull()
          +
          public void putNull()
                        throws java.io.IOException
          Marshals a DER "null" value on the output stream. These are often used to indicate optional values which have been omitted.
          @@ -712,13 +781,13 @@

          putNull

        - +
        • putOID

          -
          public void putOID(ObjectIdentifier oid)
          +
          public void putOID​(ObjectIdentifier oid)
                       throws java.io.IOException
          Marshals an object identifier (OID) on the output stream. Corresponds to the ASN.1 "OBJECT IDENTIFIER" construct.
          @@ -728,13 +797,13 @@

          putOID

        - +
        • putSequence

          -
          public void putSequence(DerValue[] seq)
          +
          public void putSequence​(DerValue[] seq)
                            throws java.io.IOException
          Marshals a sequence on the output stream. This supports both the ASN.1 "SEQUENCE" (zero to N values) and "SEQUENCE OF" @@ -745,13 +814,13 @@

          putSequence

        - +
        • putSet

          -
          public void putSet(DerValue[] set)
          +
          public void putSet​(DerValue[] set)
                       throws java.io.IOException
          Marshals the contents of a set on the output stream without ordering the elements. Ok for BER encoding, but not for DER @@ -764,14 +833,14 @@

          putSet

        - +
        • putSet

          -
          public void putSet(byte tag,
          -                   DerEncoder[] set)
          +
          public void putSet​(byte tag,
          +                   DerEncoder[] set)
                       throws java.io.IOException
          NSCP : Like putOrderSetOf, except not sorted. @@ -783,14 +852,14 @@

          putSet

        - +
        • putOrderedSetOf

          -
          public void putOrderedSetOf(byte tag,
          -                            DerEncoder[] set)
          +
          public void putOrderedSetOf​(byte tag,
          +                            DerEncoder[] set)
                                throws java.io.IOException
          Marshals the contents of a set on the output stream. Sets are semantically unordered, but DER requires that encodings of @@ -806,14 +875,14 @@

          putOrderedSetOf

        - +
        • putOrderedSet

          -
          public void putOrderedSet(byte tag,
          -                          DerEncoder[] set)
          +
          public void putOrderedSet​(byte tag,
          +                          DerEncoder[] set)
                              throws java.io.IOException
          Marshals the contents of a set on the output stream. Sets are semantically unordered, but DER requires that encodings of @@ -829,13 +898,13 @@

          putOrderedSet

        - +
        • putPrintableString

          -
          public void putPrintableString(java.lang.String s)
          +
          public void putPrintableString​(java.lang.String s)
                                   throws java.io.IOException
          Converts string to printable and writes to der output stream.
          @@ -844,13 +913,13 @@

          putPrintableString

        - +
        • putVisibleString

          -
          public void putVisibleString(java.lang.String s)
          +
          public void putVisibleString​(java.lang.String s)
                                 throws java.io.IOException
          Throws:
          @@ -858,13 +927,13 @@

          putVisibleString

        - +
        • putBMPString

          -
          public void putBMPString(java.lang.String s)
          +
          public void putBMPString​(java.lang.String s)
                             throws java.io.IOException
          Marshals a string which is consists of BMP (unicode) characters
          @@ -873,13 +942,13 @@

          putBMPString

        - +
        • putGeneralString

          -
          public void putGeneralString(java.lang.String s)
          +
          public void putGeneralString​(java.lang.String s)
                                 throws java.io.IOException
          Throws:
          @@ -887,13 +956,13 @@

          putGeneralString

        - +
        • putIA5String

          -
          public void putIA5String(java.lang.String s)
          +
          public void putIA5String​(java.lang.String s)
                             throws java.io.IOException
          Marshals a string which is consists of IA5(ASCII) characters
          @@ -902,13 +971,13 @@

          putIA5String

        - +
        • putUTF8String

          -
          public void putUTF8String(java.lang.String s)
          +
          public void putUTF8String​(java.lang.String s)
                              throws java.io.IOException
          Throws:
          @@ -916,13 +985,13 @@

          putUTF8String

        - +
        • putStringType

          -
          public void putStringType(byte tag,
          +
          public void putStringType​(byte tag,
                                     java.lang.String s)
                              throws java.io.IOException
          @@ -931,23 +1000,23 @@

          putStringType

        - +
        • getDateBytes

          -
          public byte[] getDateBytes(java.util.Date d,
          +
          public byte[] getDateBytes​(java.util.Date d,
                                      boolean UTC)
        - +
        • putUTCTime

          -
          public void putUTCTime(java.util.Date d)
          +
          public void putUTCTime​(java.util.Date d)
                           throws java.io.IOException
          Marshals a DER UTC time/date value. @@ -960,13 +1029,13 @@

          putUTCTime

        - +
        • putGeneralizedTime

          -
          public void putGeneralizedTime(java.util.Date d)
          +
          public void putGeneralizedTime​(java.util.Date d)
                                   throws java.io.IOException
          Marshals a DER Generalized Time/date value. @@ -979,13 +1048,13 @@

          putGeneralizedTime

        - +
        • putLength

          -
          public void putLength(int len)
          +
          public void putLength​(int len)
                          throws java.io.IOException
          Put the encoding of the length in the stream.
          @@ -996,13 +1065,13 @@

          putLength

        - +
        • putTag

          -
          public void putTag(byte tagClass,
          +
          public void putTag​(byte tagClass,
                              boolean form,
                              byte val)
          Put the tag of the attribute in the stream.
          @@ -1016,18 +1085,18 @@

          putTag

        - +
        • derEncode

          -
          public void derEncode(java.io.OutputStream out)
          +
          public void derEncode​(java.io.OutputStream out)
                          throws java.io.IOException
          Write the current contents of this DerOutputStream to an OutputStream.
          Specified by:
          -
          derEncode in interface DerEncoder
          +
          derEncode in interface DerEncoder
          Parameters:
          out - the stream on which the DER encoding is written.
          Throws:
          @@ -1037,21 +1106,25 @@

          derEncode

      +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/util/DerValue.html b/master/javadocs/org/mozilla/jss/netscape/security/util/DerValue.html index 5c9ba9b9d..f1a7d17b2 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/util/DerValue.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/util/DerValue.html @@ -1,11 +1,20 @@ - + DerValue (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.util
    +

    Class DerValue

    @@ -106,7 +130,6 @@

    Class DerValue


    • -
      public class DerValue
       extends java.lang.Object
      Represents a single DER-encoded value. DER encoding rules are a subset @@ -128,230 +151,270 @@

      Class DerValue

      @@ -577,12 +676,13 @@

      Methods inherited from class java.lang.Object

      • +
          -
        • +
        • Field Detail

          - +
            @@ -596,7 +696,7 @@

            TAG_UNIVERSAL

          - +
            @@ -609,7 +709,7 @@

            TAG_APPLICATION

          - +
            @@ -622,7 +722,7 @@

            TAG_CONTEXT

          - +
            @@ -635,7 +735,7 @@

            TAG_PRIVATE

          - +
            @@ -645,7 +745,7 @@

            tag

            The DER tag of the value; one of the tag_ constants.
          - +
            @@ -654,17 +754,17 @@

            buffer

            protected org.mozilla.jss.netscape.security.util.DerInputBuffer buffer
          - + - +
            @@ -678,7 +778,7 @@

            tag_Boolean

          - +
            @@ -692,7 +792,7 @@

            tag_Integer

          - +
            @@ -706,7 +806,7 @@

            tag_BitString

          - +
            @@ -720,7 +820,7 @@

            tag_OctetString

          - +
            @@ -734,7 +834,7 @@

            tag_Null

          - +
            @@ -748,7 +848,7 @@

            tag_ObjectId

          - +
            @@ -762,7 +862,7 @@

            tag_Enumerated

          - +
            @@ -776,7 +876,7 @@

            tag_PrintableString

          - +
            @@ -789,7 +889,7 @@

            tag_VisibleString

          - +
            @@ -803,7 +903,7 @@

            tag_T61String

          - +
            @@ -817,7 +917,7 @@

            tag_IA5String

          - +
            @@ -831,7 +931,7 @@

            tag_UtcTime

          - +
            @@ -845,7 +945,7 @@

            tag_GeneralizedTime

          - +
            @@ -859,7 +959,7 @@

            tag_GeneralString

          - +
            @@ -873,7 +973,7 @@

            tag_BMPString

          - +
            @@ -887,7 +987,7 @@

            tag_UniversalString

          - +
            @@ -901,7 +1001,7 @@

            tag_UTF8String

          - +
            @@ -910,7 +1010,7 @@

            tags_DirectoryString

            public static final byte[] tags_DirectoryString
          - +
            @@ -925,7 +1025,7 @@

            tag_Sequence

          - +
            @@ -940,7 +1040,7 @@

            tag_SequenceOf

          - +
            @@ -955,7 +1055,7 @@

            tag_Set

          - +
            @@ -972,19 +1072,21 @@

            tag_SetOf

        +
        +
          -
        • +
        • Constructor Detail

          - +
          • DerValue

            -
            public DerValue(java.lang.String value)
            +
            public DerValue​(java.lang.String value)
                      throws java.io.IOException
            Creates a DER value from a string using a generic way of determining the proper tag for the string. @@ -996,13 +1098,13 @@

            DerValue

          - +
          • DerValue

            -
            public DerValue(byte tag,
            +
            public DerValue​(byte tag,
                             byte[] data)
            Creates a DerValue from a tag and some DER-encoded data.
            @@ -1012,13 +1114,13 @@

            DerValue

          - +
          • DerValue

            -
            public DerValue(byte tag,
            +
            public DerValue​(byte tag,
                             byte[] data,
                             int offset,
                             int length)
            @@ -1032,13 +1134,13 @@

            DerValue

          - +
          • DerValue

            -
            public DerValue(byte[] buf)
            +
            public DerValue​(byte[] buf)
                      throws java.io.IOException
            Get an ASN.1/DER encoded datum from a buffer. The entire buffer must hold exactly one datum, including @@ -1051,13 +1153,13 @@

            DerValue

          - +
          • DerValue

            -
            public DerValue(byte[] buf,
            +
            public DerValue​(byte[] buf,
                             int offset,
                             int len)
                      throws java.io.IOException
            @@ -1074,13 +1176,13 @@

            DerValue

          - +
          • DerValue

            -
            public DerValue(java.io.InputStream in)
            +
            public DerValue​(java.io.InputStream in)
                      throws java.io.IOException
            Get an ASN1/DER encoded datum from an input stream. The stream may have additional data following the encoded datum.
            @@ -1095,50 +1197,52 @@

            DerValue

        +
        +
          -
        • +
        • Method Detail

          - +
          • isContextSpecific

            -
            public boolean isContextSpecific()
            +
            public boolean isContextSpecific()
            Returns true iff the CONTEXT SPECIFIC bit is set in the type tag. This is associated with the ASN.1 "DEFINED BY" syntax.
          - +
          • isContextSpecific

            -
            public boolean isContextSpecific(byte cntxtTag)
            +
            public boolean isContextSpecific​(byte cntxtTag)
            Returns true iff the CONTEXT SPECIFIC TAG matches the passed tag.
          - +
          • isConstructed

            -
            public boolean isConstructed()
            +
            public boolean isConstructed()
            Returns true iff the CONSTRUCTED bit is set in the type tag.
          - +
          • encode

            -
            public void encode(DerOutputStream out)
            +
            public void encode​(DerOutputStream out)
                         throws java.io.IOException
            Encode an ASN1/DER encoded datum onto a DER output stream.
            @@ -1147,13 +1251,13 @@

            encode

          - +
          • getBoolean

            -
            public boolean getBoolean()
            +
            public boolean getBoolean()
                                throws java.io.IOException
            Returns an ASN.1 BOOLEAN
            @@ -1164,13 +1268,13 @@

            getBoolean

          - +
          • getOID

            -
            public ObjectIdentifier getOID()
            +
            public ObjectIdentifier getOID()
                                     throws java.io.IOException
            Returns an ASN.1 OBJECT IDENTIFIER.
            @@ -1181,13 +1285,13 @@

            getOID

          - +
          • getOctetString

            -
            public byte[] getOctetString()
            +
            public byte[] getOctetString()
                                   throws java.io.IOException
            Returns an ASN.1 OCTET STRING
            @@ -1198,13 +1302,13 @@

            getOctetString

          - +
          • getEnumerated

            -
            public int getEnumerated()
            +
            public int getEnumerated()
                               throws java.io.IOException
            Returns an ASN.1 unsigned integer value of enumerated value.
            @@ -1215,13 +1319,13 @@

            getEnumerated

          - +
          • getInteger

            -
            public BigInt getInteger()
            +
            public BigInt getInteger()
                               throws java.io.IOException
            Returns an ASN.1 unsigned INTEGER value.
            @@ -1232,13 +1336,13 @@

            getInteger

          - +
          • getInteger

            -
            public BigInt getInteger(boolean tagImplicit)
            +
            public BigInt getInteger​(boolean tagImplicit)
                               throws java.io.IOException
            Returns an ASN.1 unsigned INTEGER value, the parameter determining if the tag is implicit.
            @@ -1253,13 +1357,13 @@

            getInteger

          - +
          • getBitString

            -
            public byte[] getBitString()
            +
            public byte[] getBitString()
                                 throws java.io.IOException
            Returns an ASN.1 BIT STRING value. The bit string must be byte-aligned.
            @@ -1270,13 +1374,13 @@

            getBitString

          - +
          • getUnalignedBitString

            -
            public BitArray getUnalignedBitString()
            +
            public BitArray getUnalignedBitString()
                                            throws java.io.IOException
            Returns an ASN.1 BIT STRING value that need not be byte-aligned.
            @@ -1287,13 +1391,13 @@

            getUnalignedBitString

          - +
          • getAsString

            -
            public java.lang.String getAsString()
            +
            public java.lang.String getAsString()
                                          throws java.io.IOException
            Returns the name component as a Java string, regardless of its encoding restrictions (ASCII, T61, Printable, etc).
            @@ -1303,13 +1407,13 @@

            getAsString

          - +
          • getBitString

            -
            public byte[] getBitString(boolean tagImplicit)
            +
            public byte[] getBitString​(boolean tagImplicit)
                                 throws java.io.IOException
            Returns an ASN.1 BIT STRING value, with the tag assumed implicit based on the parameter. The bit string must be byte-aligned.
            @@ -1323,13 +1427,13 @@

            getBitString

          - +
          • getUnalignedBitString

            -
            public BitArray getUnalignedBitString(boolean tagImplicit)
            +
            public BitArray getUnalignedBitString​(boolean tagImplicit)
                                            throws java.io.IOException
            Returns an ASN.1 BIT STRING value, with the tag assumed implicit based on the parameter. The bit string need not be byte-aligned.
            @@ -1343,13 +1447,13 @@

            getUnalignedBitString

          - +
          • getPrintableString

            -
            public java.lang.String getPrintableString()
            +
            public java.lang.String getPrintableString()
                                                 throws java.io.IOException
            Returns an ASN.1 STRING value
            @@ -1360,13 +1464,13 @@

            getPrintableString

          - +
          • getDirectoryString

            -
            public java.lang.String getDirectoryString()
            +
            public java.lang.String getDirectoryString()
                                                 throws java.io.IOException
            Throws:
            @@ -1374,13 +1478,13 @@

            getDirectoryString

          - +
          • getASN1CharString

            -
            public java.lang.String getASN1CharString()
            +
            public java.lang.String getASN1CharString()
                                                throws java.io.IOException
            Throws:
            @@ -1388,13 +1492,13 @@

            getASN1CharString

          - +
          • getT61String

            -
            public java.lang.String getT61String()
            +
            public java.lang.String getT61String()
                                           throws java.io.IOException
            Returns an ASN.1 T61 (Teletype) STRING value
            @@ -1405,13 +1509,13 @@

            getT61String

          - +
          • getIA5String

            -
            public java.lang.String getIA5String()
            +
            public java.lang.String getIA5String()
                                           throws java.io.IOException
            Returns an ASN.1 IA5 (ASCII) STRING value
            @@ -1422,13 +1526,13 @@

            getIA5String

          - +
          • getBMPString

            -
            public java.lang.String getBMPString()
            +
            public java.lang.String getBMPString()
                                           throws java.io.IOException
            Throws:
            @@ -1436,13 +1540,13 @@

            getBMPString

          - +
          • getUniversalString

            -
            public java.lang.String getUniversalString()
            +
            public java.lang.String getUniversalString()
                                                 throws java.io.IOException
            Throws:
            @@ -1450,13 +1554,13 @@

            getUniversalString

          - +
          • getUTF8String

            -
            public java.lang.String getUTF8String()
            +
            public java.lang.String getUTF8String()
                                            throws java.io.IOException
            Throws:
            @@ -1464,13 +1568,13 @@

            getUTF8String

          - +
          • equals

            -
            public boolean equals(java.lang.Object other)
            +
            public boolean equals​(java.lang.Object other)
            Returns true iff the other object is a DER value which is bitwise equal to this one.
            @@ -1481,26 +1585,26 @@

            equals

          - +
          • hashCode

            -
            public int hashCode()
            +
            public int hashCode()
            Overrides:
            hashCode in class java.lang.Object
          - +
          • equals

            -
            public boolean equals(DerValue other)
            +
            public boolean equals​(DerValue other)
            Bitwise equality comparison. DER encoded values have a single encoding, so that bitwise equality of the encoded values is an efficient way to establish equivalence of the unencoded values.
            @@ -1510,13 +1614,13 @@

            equals

          - +
          • toString

            -
            public java.lang.String toString()
            +
            public java.lang.String toString()
            Returns a printable representation of the value.
            Overrides:
            @@ -1526,13 +1630,13 @@

            toString

          - +
          • toByteArray

            -
            public byte[] toByteArray()
            +
            public byte[] toByteArray()
                                throws java.io.IOException
            Returns a DER-encoded value, such that if it's passed to the DerValue constructor, a value equivalent to "this" is returned.
            @@ -1544,13 +1648,13 @@

            toByteArray

          - +
          • toDerInputStream

            -
            public DerInputStream toDerInputStream()
            +
            public DerInputStream toDerInputStream()
                                             throws java.io.IOException
            For "set" and "sequence" types, this function may be used to return a DER stream of the members of the set or sequence. @@ -1562,23 +1666,23 @@

            toDerInputStream

          - +
          • length

            -
            public int length()
            +
            public int length()
            Get the length of the encoded value.
          - +
          • createTag

            -
            public static byte createTag(byte tagClass,
            +
            public static byte createTag​(byte tagClass,
                                          boolean form,
                                          byte val)
            Create the tag of the attribute.
            @@ -1592,13 +1696,13 @@

            createTag

          - +
          • resetTag

            -
            public void resetTag(byte tag)
            +
            public void resetTag​(byte tag)
            Set the tag of the attribute. Commonly used to reset the tag value used for IMPLICIT encodings.
            @@ -1609,21 +1713,25 @@

            resetTag

        +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/util/ExtPrettyPrint.html b/master/javadocs/org/mozilla/jss/netscape/security/util/ExtPrettyPrint.html index 88cbf245b..8c2345b18 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/util/ExtPrettyPrint.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/util/ExtPrettyPrint.html @@ -1,11 +1,20 @@ - + ExtPrettyPrint (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.util
    +

    Class ExtPrettyPrint

    @@ -106,7 +130,6 @@

    Class ExtPrettyPrint


    • -
      public class ExtPrettyPrint
       extends java.lang.Object
      This class will display the certificate content in predefined @@ -118,45 +141,52 @@

      Class ExtPrettyPrint

      • +
        +
        +
          -
        • +
        • Method Summary

          - +
          - + + - +
          All Methods Instance Methods Concrete Methods 
          Modifier and TypeMethod and DescriptionMethodDescription
          java.lang.StringtoString() +toString()
          This method return string representation of the certificate in predefined format using specified client local.
            -
          • +
          • Methods inherited from class java.lang.Object

            @@ -164,6 +194,7 @@

            Methods inherited from class java.lang.Object

        +
      @@ -171,36 +202,39 @@

      Methods inherited from class java.lang.Object

      • +
          -
        • +
        • Constructor Detail

          - +
          • ExtPrettyPrint

            -
            public ExtPrettyPrint(Extension ext,
            +
            public ExtPrettyPrint​(Extension ext,
                                   int indentSize)
        +
        +
          -
        • +
        • Method Detail

          - +
          • toString

            -
            public java.lang.String toString()
            +
            public java.lang.String toString()
            This method return string representation of the certificate in predefined format using specified client local. I18N Support.
            @@ -213,21 +247,25 @@

            toString

        +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/util/IA5Charset.html b/master/javadocs/org/mozilla/jss/netscape/security/util/IA5Charset.html index 5ac5d84ee..586efdf7e 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/util/IA5Charset.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/util/IA5Charset.html @@ -1,11 +1,20 @@ - + IA5Charset (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.util
    +

    Class IA5Charset

    @@ -112,10 +136,9 @@

    Class IA5Charset

  • All Implemented Interfaces:
    -
    java.lang.Comparable<java.nio.charset.Charset>
    +
    java.lang.Comparable<java.nio.charset.Charset>

    -
    public class IA5Charset
     extends java.nio.charset.Charset
  • @@ -125,56 +148,65 @@

    Class IA5Charset

    • +
        -
      • +
      • Constructor Summary

        - +
        - + + - + +
        Constructors 
        Constructor and DescriptionConstructorDescription
        IA5Charset() IA5Charset() 
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - + + - + + - + +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        booleancontains(java.nio.charset.Charset cs) contains​(java.nio.charset.Charset cs) 
        java.nio.charset.CharsetDecodernewDecoder() newDecoder() 
        java.nio.charset.CharsetEncodernewEncoder() newEncoder() 
          -
        • +
        • Methods inherited from class java.nio.charset.Charset

          aliases, availableCharsets, canEncode, compareTo, decode, defaultCharset, displayName, displayName, encode, encode, equals, forName, hashCode, isRegistered, isSupported, name, toString
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -182,6 +214,7 @@

          Methods inherited from class java.lang.Object

      +
    @@ -189,12 +222,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -205,45 +239,47 @@

          IA5Charset

      +
      +
        -
      • +
      • Method Detail

        - +
        • contains

          -
          public boolean contains(java.nio.charset.Charset cs)
          +
          public boolean contains​(java.nio.charset.Charset cs)
          Specified by:
          contains in class java.nio.charset.Charset
        - +
        • newDecoder

          -
          public java.nio.charset.CharsetDecoder newDecoder()
          +
          public java.nio.charset.CharsetDecoder newDecoder()
          Specified by:
          newDecoder in class java.nio.charset.Charset
        - +
        • newEncoder

          -
          public java.nio.charset.CharsetEncoder newEncoder()
          +
          public java.nio.charset.CharsetEncoder newEncoder()
          Specified by:
          newEncoder in class java.nio.charset.Charset
          @@ -252,21 +288,25 @@

          newEncoder

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/util/IA5CharsetDecoder.html b/master/javadocs/org/mozilla/jss/netscape/security/util/IA5CharsetDecoder.html index c0589f8ee..9fd6e9382 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/util/IA5CharsetDecoder.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/util/IA5CharsetDecoder.html @@ -1,11 +1,20 @@ - + IA5CharsetDecoder (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.util
    +

    Class IA5CharsetDecoder

    @@ -111,7 +135,6 @@

    Class IA5CharsetDecoder


    • -
      public class IA5CharsetDecoder
       extends java.nio.charset.CharsetDecoder
      Converts bytes in ASN.1 IA5String character set to IA5String characters.
      @@ -122,49 +145,56 @@

      Class IA5CharsetDecoder

      • +
          -
        • +
        • Constructor Summary

          - +
          - + + - + +
          Constructors 
          Constructor and DescriptionConstructorDescription
          IA5CharsetDecoder(java.nio.charset.Charset cs) IA5CharsetDecoder​(java.nio.charset.Charset cs) 
        +
        +
          -
        • +
        • Method Summary

          - +
          - + + - + +
          All Methods Instance Methods Concrete Methods 
          Modifier and TypeMethod and DescriptionMethodDescription
          protected java.nio.charset.CoderResultdecodeLoop(java.nio.ByteBuffer in, - java.nio.CharBuffer out) decodeLoop​(java.nio.ByteBuffer in, + java.nio.CharBuffer out) 
            -
          • +
          • Methods inherited from class java.nio.charset.CharsetDecoder

            averageCharsPerByte, charset, decode, decode, detectedCharset, flush, implFlush, implOnMalformedInput, implOnUnmappableCharacter, implReplaceWith, implReset, isAutoDetecting, isCharsetDetected, malformedInputAction, maxCharsPerByte, onMalformedInput, onUnmappableCharacter, replacement, replaceWith, reset, unmappableCharacterAction
            -
          • +
          • Methods inherited from class java.lang.Object

            @@ -172,6 +202,7 @@

            Methods inherited from class java.lang.Object

        +
    @@ -179,35 +210,38 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • IA5CharsetDecoder

          -
          public IA5CharsetDecoder(java.nio.charset.Charset cs)
          +
          public IA5CharsetDecoder​(java.nio.charset.Charset cs)
      +
      +
        -
      • +
      • Method Detail

        - +
        • decodeLoop

          -
          protected java.nio.charset.CoderResult decodeLoop(java.nio.ByteBuffer in,
          +
          protected java.nio.charset.CoderResult decodeLoop​(java.nio.ByteBuffer in,
                                                             java.nio.CharBuffer out)
          Specified by:
          @@ -217,21 +251,25 @@

          decodeLoop

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/util/IA5CharsetEncoder.html b/master/javadocs/org/mozilla/jss/netscape/security/util/IA5CharsetEncoder.html index 28e192a6b..060917daf 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/util/IA5CharsetEncoder.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/util/IA5CharsetEncoder.html @@ -1,11 +1,20 @@ - + IA5CharsetEncoder (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.util
    +

    Class IA5CharsetEncoder

    @@ -111,7 +135,6 @@

    Class IA5CharsetEncoder


    • -
      public class IA5CharsetEncoder
       extends java.nio.charset.CharsetEncoder
      Converts characters in ASN.1 IA5String character set to IA5String bytes.
      @@ -122,49 +145,56 @@

      Class IA5CharsetEncoder

      • +
          -
        • +
        • Constructor Summary

          - +
          - + + - + +
          Constructors 
          Constructor and DescriptionConstructorDescription
          IA5CharsetEncoder(java.nio.charset.Charset cs) IA5CharsetEncoder​(java.nio.charset.Charset cs) 
        +
        +
          -
        • +
        • Method Summary

          - +
          - + + - + +
          All Methods Instance Methods Concrete Methods 
          Modifier and TypeMethod and DescriptionMethodDescription
          protected java.nio.charset.CoderResultencodeLoop(java.nio.CharBuffer in, - java.nio.ByteBuffer out) encodeLoop​(java.nio.CharBuffer in, + java.nio.ByteBuffer out) 
            -
          • +
          • Methods inherited from class java.nio.charset.CharsetEncoder

            averageBytesPerChar, canEncode, canEncode, charset, encode, encode, flush, implFlush, implOnMalformedInput, implOnUnmappableCharacter, implReplaceWith, implReset, isLegalReplacement, malformedInputAction, maxBytesPerChar, onMalformedInput, onUnmappableCharacter, replacement, replaceWith, reset, unmappableCharacterAction
            -
          • +
          • Methods inherited from class java.lang.Object

            @@ -172,6 +202,7 @@

            Methods inherited from class java.lang.Object

        +
    @@ -179,35 +210,38 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • IA5CharsetEncoder

          -
          public IA5CharsetEncoder(java.nio.charset.Charset cs)
          +
          public IA5CharsetEncoder​(java.nio.charset.Charset cs)
      +
      +
        -
      • +
      • Method Detail

        - +
        • encodeLoop

          -
          protected java.nio.charset.CoderResult encodeLoop(java.nio.CharBuffer in,
          +
          protected java.nio.charset.CoderResult encodeLoop​(java.nio.CharBuffer in,
                                                             java.nio.ByteBuffer out)
          Specified by:
          @@ -217,21 +251,25 @@

          encodeLoop

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/util/ObjectIdentifier.html b/master/javadocs/org/mozilla/jss/netscape/security/util/ObjectIdentifier.html index 3b0ddc385..a907de276 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/util/ObjectIdentifier.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/util/ObjectIdentifier.html @@ -1,11 +1,20 @@ - + ObjectIdentifier (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.util
    +

    Class ObjectIdentifier

    @@ -107,10 +131,9 @@

    Class ObjectIdentifier

  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public final class ObjectIdentifier
     extends java.lang.Object
     implements java.io.Serializable
    @@ -136,20 +159,23 @@

    Class ObjectIdentifier

  • @@ -262,18 +308,19 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
        • mOIDs

          -
          public static java.util.Hashtable<java.lang.String,ObjectIdentifier> mOIDs
          +
          public static java.util.Hashtable<java.lang.String,​ObjectIdentifier> mOIDs
          Netscape Enhancement: This function implements a object identifier factory. It should help reduces in-memory Object Identifier object. @@ -287,61 +334,63 @@

          mOIDs

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • ObjectIdentifier

          -
          public ObjectIdentifier(java.lang.String oid)
          +
          public ObjectIdentifier​(java.lang.String oid)
          Constructs an object identifier from a string. This string should be of the form 1.23.34.45.56 etc.
        - +
        • ObjectIdentifier

          -
          public ObjectIdentifier(int[] values)
          +
          public ObjectIdentifier​(int[] values)
          Constructs an object ID from an array of integers. This is used to construct constant object IDs.
        - +
        • ObjectIdentifier

          -
          public ObjectIdentifier(java.math.BigInteger[] values)
          +
          public ObjectIdentifier​(java.math.BigInteger[] values)
        - +
        • ObjectIdentifier

          -
          public ObjectIdentifier(long[] values)
          +
          public ObjectIdentifier​(long[] values)
          Constructs an object ID from an array of longs This is used to construct constant object IDs.
        - +
        • ObjectIdentifier

          -
          public ObjectIdentifier(DerInputStream in)
          +
          public ObjectIdentifier​(DerInputStream in)
                            throws java.io.IOException
          Constructs an object ID from an ASN.1 encoded input stream. The encoding of the ID in the stream uses "DER", a BER/1 subset. @@ -360,19 +409,21 @@

          ObjectIdentifier

      +
      +
        -
      • +
      • Method Detail

        - +
        • encode

          -
          public void encode(DerOutputStream out)
          +
          public void encode​(DerOutputStream out)
                       throws java.io.IOException
          Throws:
          @@ -380,13 +431,13 @@

          encode

        - +
        • precedes

          -
          public boolean precedes(ObjectIdentifier other)
          +
          public boolean precedes​(ObjectIdentifier other)
          Compares this identifier with another, for sorting purposes. An identifier does not precede itself.
          @@ -398,26 +449,26 @@

          precedes

        - +
        • equals

          -
          public boolean equals(java.lang.Object other)
          +
          public boolean equals​(java.lang.Object other)
          Overrides:
          equals in class java.lang.Object
        - +
        • equals

          -
          public boolean equals(ObjectIdentifier other)
          +
          public boolean equals​(ObjectIdentifier other)
          Compares this identifier with another, for equality.
          Returns:
          @@ -425,26 +476,26 @@

          equals

        - +
        • hashCode

          -
          public int hashCode()
          +
          public int hashCode()
          Overrides:
          hashCode in class java.lang.Object
        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns a string form of the object ID. The format is the conventional "dot" notation for such IDs, without any user-friendly descriptive strings, since those strings @@ -455,13 +506,13 @@

          toString

        - +
        • getObjectIdentifier

          -
          public static ObjectIdentifier getObjectIdentifier(java.lang.String oid)
          +
          public static ObjectIdentifier getObjectIdentifier​(java.lang.String oid)
                                                       throws java.io.IOException
          Throws:
          @@ -469,13 +520,13 @@

          getObjectIdentifier

        - +
        • getObjectIdentifier

          -
          public static ObjectIdentifier getObjectIdentifier(int[] values)
          +
          public static ObjectIdentifier getObjectIdentifier​(int[] values)
                                                       throws java.io.IOException
          Throws:
          @@ -485,21 +536,25 @@

          getObjectIdentifier

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/util/PrettyPrintFormat.html b/master/javadocs/org/mozilla/jss/netscape/security/util/PrettyPrintFormat.html index 5cf33f9d0..fb6e459cc 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/util/PrettyPrintFormat.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/util/PrettyPrintFormat.html @@ -1,11 +1,20 @@ - + PrettyPrintFormat (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.util
    +

    Class PrettyPrintFormat

    @@ -106,7 +130,6 @@

    Class PrettyPrintFormat


    • -
      public class PrettyPrintFormat
       extends java.lang.Object
      This class will display the certificate content in predefined @@ -118,78 +141,91 @@

      Class PrettyPrintFormat

      • +
        +
        +
          -
        • +
        • Method Summary

          - +
          - + + - + - + + - + + - + - +
          All Methods Instance Methods Concrete Methods 
          Modifier and TypeMethod and DescriptionMethodDescription
          java.lang.Stringindent(int size) +indent​(int size)
          Provide white space indention stevep - speed improvements.
          java.lang.StringtoHexString(byte[] in) toHexString​(byte[] in) 
          java.lang.StringtoHexString(byte[] in, - int indentSize) toHexString​(byte[] in, + int indentSize) 
          java.lang.StringtoHexString(byte[] in, +toHexString​(byte[] in, int indentSize, - int lineLen)  + int lineLen) 
          java.lang.StringtoHexString(byte[] in, +toHexString​(byte[] in, int indentSize, int lineLen, - java.lang.String separator) + java.lang.String separator)
          Convert Byte Array to Hex String Format stevep - speedup by factor of 8
            -
          • +
          • Methods inherited from class java.lang.Object

            @@ -197,6 +233,7 @@

            Methods inherited from class java.lang.Object

        +
      @@ -204,56 +241,59 @@

      Methods inherited from class java.lang.Object

      • +
          -
        • +
        • Constructor Detail

          - +
          • PrettyPrintFormat

            -
            public PrettyPrintFormat(java.lang.String separator)
            +
            public PrettyPrintFormat​(java.lang.String separator)
          - +
          • PrettyPrintFormat

            -
            public PrettyPrintFormat(java.lang.String separator,
            +
            public PrettyPrintFormat​(java.lang.String separator,
                                      int lineLen)
          - +
          • PrettyPrintFormat

            -
            public PrettyPrintFormat(java.lang.String separator,
            +
            public PrettyPrintFormat​(java.lang.String separator,
                                      int lineLen,
                                      int indentSize)
        +
        +
          -
        • +
        • Method Detail

          - +
          • indent

            -
            public java.lang.String indent(int size)
            +
            public java.lang.String indent​(int size)
            Provide white space indention stevep - speed improvements. Factor of 10 improvement
            @@ -264,13 +304,13 @@

            indent

          - +
          • toHexString

            -
            public java.lang.String toHexString(byte[] in,
            +
            public java.lang.String toHexString​(byte[] in,
                                                 int indentSize,
                                                 int lineLen,
                                                 java.lang.String separator)
            @@ -289,53 +329,57 @@

            toHexString

          - +
          • toHexString

            -
            public java.lang.String toHexString(byte[] in,
            +
            public java.lang.String toHexString​(byte[] in,
                                                 int indentSize,
                                                 int lineLen)
          - +
          • toHexString

            -
            public java.lang.String toHexString(byte[] in,
            +
            public java.lang.String toHexString​(byte[] in,
                                                 int indentSize)
          - +
          • toHexString

            -
            public java.lang.String toHexString(byte[] in)
            +
            public java.lang.String toHexString​(byte[] in)
        +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/util/PrettyPrintResources.html b/master/javadocs/org/mozilla/jss/netscape/security/util/PrettyPrintResources.html index e45350f30..09bf27584 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/util/PrettyPrintResources.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/util/PrettyPrintResources.html @@ -1,11 +1,20 @@ - + PrettyPrintResources (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.util
    +

    Class PrettyPrintResources

    @@ -116,7 +140,6 @@

    Class PrettyPrintResources<

    @@ -643,12 +782,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -663,7 +803,7 @@

          TOKEN_CERTIFICATE

        - +
          @@ -676,7 +816,7 @@

          TOKEN_DATA

        - +
          @@ -689,7 +829,7 @@

          TOKEN_VERSION

        - +
          @@ -702,7 +842,7 @@

          TOKEN_SERIAL

        - +
          @@ -715,7 +855,7 @@

          TOKEN_SIGALG

        - +
          @@ -728,7 +868,7 @@

          TOKEN_ISSUER

        - +
          @@ -741,7 +881,7 @@

          TOKEN_VALIDITY

        - +
          @@ -754,7 +894,7 @@

          TOKEN_NOT_BEFORE

        - +
          @@ -767,7 +907,7 @@

          TOKEN_NOT_AFTER

        - +
          @@ -780,7 +920,7 @@

          TOKEN_SUBJECT

        - +
          @@ -793,7 +933,7 @@

          TOKEN_SPKI

        - +
          @@ -806,7 +946,7 @@

          TOKEN_ALGORITHM

        - +
          @@ -819,7 +959,7 @@

          TOKEN_PUBLIC_KEY

        - +
          @@ -832,7 +972,7 @@

          TOKEN_PUBLIC_KEY_MODULUS

        - +
          @@ -845,7 +985,7 @@

          TOKEN_PUBLIC_KEY_EXPONENT

        - +
          @@ -858,7 +998,7 @@

          TOKEN_EXTENSIONS

        - +
          @@ -871,7 +1011,7 @@

          TOKEN_SIGNATURE

        - +
          @@ -884,7 +1024,7 @@

          TOKEN_YES

        - +
          @@ -897,7 +1037,7 @@

          TOKEN_NO

        - +
          @@ -910,7 +1050,7 @@

          TOKEN_IDENTIFIER

        - +
          @@ -923,7 +1063,7 @@

          TOKEN_CRITICAL

        - +
          @@ -936,7 +1076,7 @@

          TOKEN_VALUE

        - +
          @@ -949,7 +1089,7 @@

          TOKEN_KEY_TYPE

        - +
          @@ -962,7 +1102,7 @@

          TOKEN_CERT_TYPE

        - +
          @@ -975,7 +1115,7 @@

          TOKEN_SKI

        - +
          @@ -988,7 +1128,7 @@

          TOKEN_AKI

        - +
          @@ -1001,7 +1141,7 @@

          TOKEN_ACCESS_DESC

        - +
          @@ -1014,7 +1154,7 @@

          TOKEN_OCSP_NOCHECK

        - +
          @@ -1027,7 +1167,7 @@

          TOKEN_EXTENDED_KEY_USAGE

        - +
          @@ -1040,7 +1180,7 @@

          TOKEN_PRIVATE_KEY_USAGE

        - +
          @@ -1053,7 +1193,7 @@

          TOKEN_PRESENCE_SERVER

        - +
          @@ -1066,7 +1206,7 @@

          TOKEN_AIA

        - +
          @@ -1079,7 +1219,7 @@

          TOKEN_CERT_POLICIES

        - +
          @@ -1092,7 +1232,7 @@

          TOKEN_SIA

        - +
          @@ -1105,7 +1245,7 @@

          TOKEN_KEY_USAGE

        - +
          @@ -1118,7 +1258,7 @@

          TOKEN_CERT_USAGE

        - +
          @@ -1131,7 +1271,7 @@

          TOKEN_KEY_ID

        - +
          @@ -1144,7 +1284,7 @@

          TOKEN_AUTH_NAME

        - +
          @@ -1157,7 +1297,7 @@

          TOKEN_CRL

        - +
          @@ -1170,7 +1310,7 @@

          TOKEN_THIS_UPDATE

        - +
          @@ -1183,7 +1323,7 @@

          TOKEN_NEXT_UPDATE

        - +
          @@ -1196,7 +1336,7 @@

          TOKEN_REVOKED_CERTIFICATES

        - +
          @@ -1209,7 +1349,7 @@

          TOKEN_REVOCATION_DATE

        - +
          @@ -1222,7 +1362,7 @@

          TOKEN_REVOCATION_REASON

        - +
          @@ -1235,7 +1375,7 @@

          TOKEN_REASON

        - +
          @@ -1248,7 +1388,7 @@

          TOKEN_BASIC_CONSTRAINTS

        - +
          @@ -1261,7 +1401,7 @@

          TOKEN_NAME_CONSTRAINTS

        - +
          @@ -1274,7 +1414,7 @@

          TOKEN_NSC_COMMENT

        - +
          @@ -1287,7 +1427,7 @@

          TOKEN_IS_CA

        - +
          @@ -1300,7 +1440,7 @@

          TOKEN_PATH_LEN

        - +
          @@ -1313,7 +1453,7 @@

          TOKEN_PATH_LEN_UNLIMITED

        - +
          @@ -1326,7 +1466,7 @@

          TOKEN_PATH_LEN_UNDEFINED

        - +
          @@ -1339,7 +1479,7 @@

          TOKEN_PATH_LEN_INVALID

        - +
          @@ -1352,7 +1492,7 @@

          TOKEN_CRL_NUMBER

        - +
          @@ -1365,7 +1505,7 @@

          TOKEN_NUMBER

        - +
          @@ -1378,7 +1518,7 @@

          TOKEN_DELTA_CRL_INDICATOR

        - +
          @@ -1391,7 +1531,7 @@

          TOKEN_BASE_CRL_NUMBER

        - +
          @@ -1404,7 +1544,7 @@

          TOKEN_CERT_SCOPE_OF_USE

        - +
          @@ -1417,7 +1557,7 @@

          TOKEN_SCOPE_OF_USE

        - +
          @@ -1430,7 +1570,7 @@

          TOKEN_PORT

        - +
          @@ -1443,7 +1583,7 @@

          TOKEN_ISSUER_ALT_NAME

        - +
          @@ -1456,7 +1596,7 @@

          TOKEN_ISSUER_NAMES

        - +
          @@ -1469,7 +1609,7 @@

          TOKEN_SUBJECT_ALT_NAME

        - +
          @@ -1482,7 +1622,7 @@

          TOKEN_SUBJECT_NAME

        - +
          @@ -1495,7 +1635,7 @@

          TOKEN_DECODING_ERROR

        - +
          @@ -1508,7 +1648,7 @@

          TOKEN_FRESHEST_CRL_EXT

        - +
          @@ -1521,7 +1661,7 @@

          TOKEN_INHIBIT_ANY_POLICY_EXT

        - +
          @@ -1534,7 +1674,7 @@

          TOKEN_SKIP_CERTS

        - +
          @@ -1547,7 +1687,7 @@

          TOKEN_CRL_DP_EXT

        - +
          @@ -1560,7 +1700,7 @@

          TOKEN_CRLDP_NUMPOINTS

        - +
          @@ -1573,7 +1713,7 @@

          TOKEN_CRLDP_POINTN

        - +
          @@ -1586,7 +1726,7 @@

          TOKEN_CRLDP_DISTPOINT

        - +
          @@ -1599,7 +1739,7 @@

          TOKEN_CRLDP_REASONS

        - +
          @@ -1612,7 +1752,7 @@

          TOKEN_CRLDP_CRLISSUER

        - +
          @@ -1625,7 +1765,7 @@

          TOKEN_ISSUING_DIST_POINT

        - +
          @@ -1638,7 +1778,7 @@

          TOKEN_DIST_POINT_NAME

        - +
          @@ -1651,7 +1791,7 @@

          TOKEN_FULL_NAME

        - +
          @@ -1664,7 +1804,7 @@

          TOKEN_RELATIVE_NAME

        - +
          @@ -1677,7 +1817,7 @@

          TOKEN_ONLY_USER_CERTS

        - +
          @@ -1690,7 +1830,7 @@

          TOKEN_ONLY_CA_CERTS

        - +
          @@ -1703,7 +1843,7 @@

          TOKEN_ONLY_SOME_REASONS

        - +
          @@ -1716,7 +1856,7 @@

          TOKEN_INDIRECT_CRL

        - +
          @@ -1729,7 +1869,7 @@

          TOKEN_INVALIDITY_DATE

        - +
          @@ -1742,7 +1882,7 @@

          TOKEN_DATE_OF_INVALIDITY

        - +
          @@ -1755,7 +1895,7 @@

          TOKEN_CERTIFICATE_ISSUER

        - +
          @@ -1768,7 +1908,7 @@

          TOKEN_HOLD_INSTRUCTION

        - +
          @@ -1781,7 +1921,7 @@

          TOKEN_HOLD_INSTRUCTION_CODE

        - +
          @@ -1794,7 +1934,7 @@

          TOKEN_POLICY_CONSTRAINTS

        - +
          @@ -1807,7 +1947,7 @@

          TOKEN_POLICY_MAPPINGS

        - +
          @@ -1820,7 +1960,7 @@

          TOKEN_SUBJECT_DIR_ATTR

        - +
          @@ -1833,7 +1973,7 @@

          TOKEN_INHIBIT_POLICY_MAPPING

        - +
          @@ -1846,7 +1986,7 @@

          TOKEN_REQUIRE_EXPLICIT_POLICY

        - +
          @@ -1859,7 +1999,7 @@

          TOKEN_MAPPINGS

        - +
          @@ -1872,7 +2012,7 @@

          TOKEN_MAP

        - +
          @@ -1885,7 +2025,7 @@

          TOKEN_ISSUER_DOMAIN_POLICY

        - +
          @@ -1898,7 +2038,7 @@

          TOKEN_SUBJECT_DOMAIN_POLICY

        - +
          @@ -1911,7 +2051,7 @@

          TOKEN_ATTRIBUTES

        - +
          @@ -1924,7 +2064,7 @@

          TOKEN_ATTRIBUTE

        - +
          @@ -1937,7 +2077,7 @@

          TOKEN_VALUES

        - +
          @@ -1950,7 +2090,7 @@

          TOKEN_NOT_SET

        - +
          @@ -1963,7 +2103,7 @@

          TOKEN_NONE

        - +
          @@ -1976,7 +2116,7 @@

          TOKEN_CACHE_NOT_AVAILABLE

        - +
          @@ -1991,13 +2131,15 @@

          TOKEN_CACHE_IS_EMPTY

      +
      +
        -
      • +
      • Constructor Detail

        - +
          @@ -2008,19 +2150,21 @@

          PrettyPrintResources

      +
      +
        -
      • +
      • Method Detail

        - +
        • getContents

          -
          public java.lang.Object[][] getContents()
          +
          public java.lang.Object[][] getContents()
          Returns content
          Specified by:
          @@ -2030,21 +2174,25 @@

          getContents

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/util/PrintableCharset.html b/master/javadocs/org/mozilla/jss/netscape/security/util/PrintableCharset.html index e35f7d823..9ab19f6b4 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/util/PrintableCharset.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/util/PrintableCharset.html @@ -1,11 +1,20 @@ - + PrintableCharset (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.util
    +

    Class PrintableCharset

    @@ -112,10 +136,9 @@

    Class PrintableCharset

  • All Implemented Interfaces:
    -
    java.lang.Comparable<java.nio.charset.Charset>
    +
    java.lang.Comparable<java.nio.charset.Charset>

    -
    public class PrintableCharset
     extends java.nio.charset.Charset
  • @@ -125,60 +148,70 @@

    Class PrintableCharset

    • +
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - + + - + + - + + - + +
        All Methods Static Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        booleancontains(java.nio.charset.Charset cs) contains​(java.nio.charset.Charset cs) 
        static booleanisPrintableChar(char c) isPrintableChar​(char c) 
        java.nio.charset.CharsetDecodernewDecoder() newDecoder() 
        java.nio.charset.CharsetEncodernewEncoder() newEncoder() 
          -
        • +
        • Methods inherited from class java.nio.charset.Charset

          aliases, availableCharsets, canEncode, compareTo, decode, defaultCharset, displayName, displayName, encode, encode, equals, forName, hashCode, isRegistered, isSupported, name, toString
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -186,6 +219,7 @@

          Methods inherited from class java.lang.Object

      +
    @@ -193,12 +227,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -209,54 +244,56 @@

          PrintableCharset

      +
      +
        -
      • +
      • Method Detail

        - +
        • isPrintableChar

          -
          public static boolean isPrintableChar(char c)
          +
          public static boolean isPrintableChar​(char c)
        - +
        • contains

          -
          public boolean contains(java.nio.charset.Charset cs)
          +
          public boolean contains​(java.nio.charset.Charset cs)
          Specified by:
          contains in class java.nio.charset.Charset
        - +
        • newDecoder

          -
          public java.nio.charset.CharsetDecoder newDecoder()
          +
          public java.nio.charset.CharsetDecoder newDecoder()
          Specified by:
          newDecoder in class java.nio.charset.Charset
        - +
        • newEncoder

          -
          public java.nio.charset.CharsetEncoder newEncoder()
          +
          public java.nio.charset.CharsetEncoder newEncoder()
          Specified by:
          newEncoder in class java.nio.charset.Charset
          @@ -265,21 +302,25 @@

          newEncoder

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/util/PrintableCharsetDecoder.html b/master/javadocs/org/mozilla/jss/netscape/security/util/PrintableCharsetDecoder.html index 4ecaace03..a506668f4 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/util/PrintableCharsetDecoder.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/util/PrintableCharsetDecoder.html @@ -1,11 +1,20 @@ - + PrintableCharsetDecoder (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.util
    +

    Class PrintableCharsetDecoder

    @@ -111,7 +135,6 @@

    Class PrintableCharsetDe

    • -
      public class PrintableCharsetDecoder
       extends java.nio.charset.CharsetDecoder
      Converts bytes in ASN.1 PrintableString character set to PrintableString @@ -123,49 +146,56 @@

      Class PrintableCharsetDe
      • +
        +
        +
          -
        • +
        • Method Summary

          - +
          - + + - + +
          All Methods Instance Methods Concrete Methods 
          Modifier and TypeMethod and DescriptionMethodDescription
          protected java.nio.charset.CoderResultdecodeLoop(java.nio.ByteBuffer in, - java.nio.CharBuffer out) decodeLoop​(java.nio.ByteBuffer in, + java.nio.CharBuffer out) 
            -
          • +
          • Methods inherited from class java.nio.charset.CharsetDecoder

            averageCharsPerByte, charset, decode, decode, detectedCharset, flush, implFlush, implOnMalformedInput, implOnUnmappableCharacter, implReplaceWith, implReset, isAutoDetecting, isCharsetDetected, malformedInputAction, maxCharsPerByte, onMalformedInput, onUnmappableCharacter, replacement, replaceWith, reset, unmappableCharacterAction
            -
          • +
          • Methods inherited from class java.lang.Object

            @@ -173,6 +203,7 @@

            Methods inherited from class java.lang.Object

        +

      @@ -180,35 +211,38 @@

      Methods inherited from class java.lang.Object

      • +
          -
        • +
        • Constructor Detail

          - +
          • PrintableCharsetDecoder

            -
            public PrintableCharsetDecoder(java.nio.charset.Charset cs)
            +
            public PrintableCharsetDecoder​(java.nio.charset.Charset cs)
        +
        +
          -
        • +
        • Method Detail

          - +
          • decodeLoop

            -
            protected java.nio.charset.CoderResult decodeLoop(java.nio.ByteBuffer in,
            +
            protected java.nio.charset.CoderResult decodeLoop​(java.nio.ByteBuffer in,
                                                               java.nio.CharBuffer out)
            Specified by:
            @@ -218,21 +252,25 @@

            decodeLoop

        +

    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/util/PrintableCharsetEncoder.html b/master/javadocs/org/mozilla/jss/netscape/security/util/PrintableCharsetEncoder.html index adb28ca54..4dcb1f6e7 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/util/PrintableCharsetEncoder.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/util/PrintableCharsetEncoder.html @@ -1,11 +1,20 @@ - + PrintableCharsetEncoder (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.util
    +

    Class PrintableCharsetEncoder

    @@ -111,7 +135,6 @@

    Class PrintableCharsetEn

    • -
      public class PrintableCharsetEncoder
       extends java.nio.charset.CharsetEncoder
      Converts characters in ASN.1 PrintableString character set to PrintableString @@ -123,49 +146,56 @@

      Class PrintableCharsetEn
      • +
        +
        +
          -
        • +
        • Method Summary

          - +
          - + + - + +
          All Methods Instance Methods Concrete Methods 
          Modifier and TypeMethod and DescriptionMethodDescription
          protected java.nio.charset.CoderResultencodeLoop(java.nio.CharBuffer in, - java.nio.ByteBuffer out) encodeLoop​(java.nio.CharBuffer in, + java.nio.ByteBuffer out) 
            -
          • +
          • Methods inherited from class java.nio.charset.CharsetEncoder

            averageBytesPerChar, canEncode, canEncode, charset, encode, encode, flush, implFlush, implOnMalformedInput, implOnUnmappableCharacter, implReplaceWith, implReset, isLegalReplacement, malformedInputAction, maxBytesPerChar, onMalformedInput, onUnmappableCharacter, replacement, replaceWith, reset, unmappableCharacterAction
            -
          • +
          • Methods inherited from class java.lang.Object

            @@ -173,6 +203,7 @@

            Methods inherited from class java.lang.Object

        +

      @@ -180,35 +211,38 @@

      Methods inherited from class java.lang.Object

      • +
          -
        • +
        • Constructor Detail

          - +
          • PrintableCharsetEncoder

            -
            public PrintableCharsetEncoder(java.nio.charset.Charset cs)
            +
            public PrintableCharsetEncoder​(java.nio.charset.Charset cs)
        +
        +
          -
        • +
        • Method Detail

          - +
          • encodeLoop

            -
            protected java.nio.charset.CoderResult encodeLoop(java.nio.CharBuffer in,
            +
            protected java.nio.charset.CoderResult encodeLoop​(java.nio.CharBuffer in,
                                                               java.nio.ByteBuffer out)
            Specified by:
            @@ -218,21 +252,25 @@

            encodeLoop

        +

    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/util/PubKeyPrettyPrint.html b/master/javadocs/org/mozilla/jss/netscape/security/util/PubKeyPrettyPrint.html index 56e1769aa..94f687a28 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/util/PubKeyPrettyPrint.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/util/PubKeyPrettyPrint.html @@ -1,11 +1,20 @@ - + PubKeyPrettyPrint (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.util
    +

    Class PubKeyPrettyPrint

    @@ -106,7 +130,6 @@

    Class PubKeyPrettyPrint


    • -
      public class PubKeyPrettyPrint
       extends java.lang.Object
      This class will display the certificate content in predefined @@ -118,52 +141,60 @@

      Class PubKeyPrettyPrint

      • +
          -
        • +
        • Constructor Summary

          - +
          - + + - + +
          Constructors 
          Constructor and DescriptionConstructorDescription
          PubKeyPrettyPrint(java.security.PublicKey key) PubKeyPrettyPrint​(java.security.PublicKey key) 
        +
        +
          -
        • +
        • Method Summary

          - +
          - + + - + - +
          All Methods Instance Methods Concrete Methods 
          Modifier and TypeMethod and DescriptionMethodDescription
          java.lang.StringtoString(java.util.Locale clientLocale, +toString​(java.util.Locale clientLocale, int indentSize, - int lineLen) + int lineLen)
          This method return string representation of the certificate in predefined format using specified client local.
          java.lang.StringX509toString(java.util.Locale clientLocale, +X509toString​(java.util.Locale clientLocale, int indentSize, - int lineLen)  + int lineLen) 
            -
          • +
          • Methods inherited from class java.lang.Object

            @@ -171,6 +202,7 @@

            Methods inherited from class java.lang.Object

        +
      @@ -178,35 +210,38 @@

      Methods inherited from class java.lang.Object

      • +
          -
        • +
        • Constructor Detail

          - +
          • PubKeyPrettyPrint

            -
            public PubKeyPrettyPrint(java.security.PublicKey key)
            +
            public PubKeyPrettyPrint​(java.security.PublicKey key)
        +
        +
          -
        • +
        • Method Detail

          - +
          • toString

            -
            public java.lang.String toString(java.util.Locale clientLocale,
            +
            public java.lang.String toString​(java.util.Locale clientLocale,
                                              int indentSize,
                                              int lineLen)
            This method return string representation of the certificate @@ -219,34 +254,38 @@

            toString

          - +
          • X509toString

            -
            public java.lang.String X509toString(java.util.Locale clientLocale,
            +
            public java.lang.String X509toString​(java.util.Locale clientLocale,
                                                  int indentSize,
                                                  int lineLen)
        +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/util/UniversalCharset.html b/master/javadocs/org/mozilla/jss/netscape/security/util/UniversalCharset.html index fefabe43c..57fc78111 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/util/UniversalCharset.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/util/UniversalCharset.html @@ -1,11 +1,20 @@ - + UniversalCharset (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.util
    +

    Class UniversalCharset

    @@ -112,10 +136,9 @@

    Class UniversalCharset

  • All Implemented Interfaces:
    -
    java.lang.Comparable<java.nio.charset.Charset>
    +
    java.lang.Comparable<java.nio.charset.Charset>

    -
    public class UniversalCharset
     extends java.nio.charset.Charset
  • @@ -125,56 +148,65 @@

    Class UniversalCharset

    • +
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - + + - + + - + +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        booleancontains(java.nio.charset.Charset cs) contains​(java.nio.charset.Charset cs) 
        java.nio.charset.CharsetDecodernewDecoder() newDecoder() 
        java.nio.charset.CharsetEncodernewEncoder() newEncoder() 
          -
        • +
        • Methods inherited from class java.nio.charset.Charset

          aliases, availableCharsets, canEncode, compareTo, decode, defaultCharset, displayName, displayName, encode, encode, equals, forName, hashCode, isRegistered, isSupported, name, toString
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -182,6 +214,7 @@

          Methods inherited from class java.lang.Object

      +
    @@ -189,12 +222,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -205,45 +239,47 @@

          UniversalCharset

      +
      +
        -
      • +
      • Method Detail

        - +
        • contains

          -
          public boolean contains(java.nio.charset.Charset cs)
          +
          public boolean contains​(java.nio.charset.Charset cs)
          Specified by:
          contains in class java.nio.charset.Charset
        - +
        • newDecoder

          -
          public java.nio.charset.CharsetDecoder newDecoder()
          +
          public java.nio.charset.CharsetDecoder newDecoder()
          Specified by:
          newDecoder in class java.nio.charset.Charset
        - +
        • newEncoder

          -
          public java.nio.charset.CharsetEncoder newEncoder()
          +
          public java.nio.charset.CharsetEncoder newEncoder()
          Specified by:
          newEncoder in class java.nio.charset.Charset
          @@ -252,21 +288,25 @@

          newEncoder

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/util/UniversalCharsetDecoder.html b/master/javadocs/org/mozilla/jss/netscape/security/util/UniversalCharsetDecoder.html index 28c20d7e0..1592f3d58 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/util/UniversalCharsetDecoder.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/util/UniversalCharsetDecoder.html @@ -1,11 +1,20 @@ - + UniversalCharsetDecoder (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.util
    +

    Class UniversalCharsetDecoder

    @@ -111,7 +135,6 @@

    Class UniversalCharsetDe

    • -
      public class UniversalCharsetDecoder
       extends java.nio.charset.CharsetDecoder
      Converts bytes in ASN.1 UniversalString character set to UniversalString @@ -123,49 +146,56 @@

      Class UniversalCharsetDe
      • +
        +
        +
          -
        • +
        • Method Summary

          - +
          - + + - + +
          All Methods Instance Methods Concrete Methods 
          Modifier and TypeMethod and DescriptionMethodDescription
          protected java.nio.charset.CoderResultdecodeLoop(java.nio.ByteBuffer in, - java.nio.CharBuffer out) decodeLoop​(java.nio.ByteBuffer in, + java.nio.CharBuffer out) 
            -
          • +
          • Methods inherited from class java.nio.charset.CharsetDecoder

            averageCharsPerByte, charset, decode, decode, detectedCharset, flush, implFlush, implOnMalformedInput, implOnUnmappableCharacter, implReplaceWith, implReset, isAutoDetecting, isCharsetDetected, malformedInputAction, maxCharsPerByte, onMalformedInput, onUnmappableCharacter, replacement, replaceWith, reset, unmappableCharacterAction
            -
          • +
          • Methods inherited from class java.lang.Object

            @@ -173,6 +203,7 @@

            Methods inherited from class java.lang.Object

        +

      @@ -180,35 +211,38 @@

      Methods inherited from class java.lang.Object

      • +
          -
        • +
        • Constructor Detail

          - +
          • UniversalCharsetDecoder

            -
            public UniversalCharsetDecoder(java.nio.charset.Charset cs)
            +
            public UniversalCharsetDecoder​(java.nio.charset.Charset cs)
        +
        +
          -
        • +
        • Method Detail

          - +
          • decodeLoop

            -
            protected java.nio.charset.CoderResult decodeLoop(java.nio.ByteBuffer in,
            +
            protected java.nio.charset.CoderResult decodeLoop​(java.nio.ByteBuffer in,
                                                               java.nio.CharBuffer out)
            Specified by:
            @@ -218,21 +252,25 @@

            decodeLoop

        +

    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/util/UniversalCharsetEncoder.html b/master/javadocs/org/mozilla/jss/netscape/security/util/UniversalCharsetEncoder.html index 903cabe6f..195186588 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/util/UniversalCharsetEncoder.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/util/UniversalCharsetEncoder.html @@ -1,11 +1,20 @@ - + UniversalCharsetEncoder (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.util
    +

    Class UniversalCharsetEncoder

    @@ -111,7 +135,6 @@

    Class UniversalCharsetEn

    • -
      public class UniversalCharsetEncoder
       extends java.nio.charset.CharsetEncoder
      Converts characters in ASN.1 UniversalString character set to UniversalString @@ -123,49 +146,56 @@

      Class UniversalCharsetEn
      • +
        +
        +
          -
        • +
        • Method Summary

          - +
          - + + - + +
          All Methods Instance Methods Concrete Methods 
          Modifier and TypeMethod and DescriptionMethodDescription
          protected java.nio.charset.CoderResultencodeLoop(java.nio.CharBuffer in, - java.nio.ByteBuffer out) encodeLoop​(java.nio.CharBuffer in, + java.nio.ByteBuffer out) 
            -
          • +
          • Methods inherited from class java.nio.charset.CharsetEncoder

            averageBytesPerChar, canEncode, canEncode, charset, encode, encode, flush, implFlush, implOnMalformedInput, implOnUnmappableCharacter, implReplaceWith, implReset, isLegalReplacement, malformedInputAction, maxBytesPerChar, onMalformedInput, onUnmappableCharacter, replacement, replaceWith, reset, unmappableCharacterAction
            -
          • +
          • Methods inherited from class java.lang.Object

            @@ -173,6 +203,7 @@

            Methods inherited from class java.lang.Object

        +

      @@ -180,35 +211,38 @@

      Methods inherited from class java.lang.Object

      • +
          -
        • +
        • Constructor Detail

          - +
          • UniversalCharsetEncoder

            -
            public UniversalCharsetEncoder(java.nio.charset.Charset cs)
            +
            public UniversalCharsetEncoder​(java.nio.charset.Charset cs)
        +
        +
          -
        • +
        • Method Detail

          - +
          • encodeLoop

            -
            protected java.nio.charset.CoderResult encodeLoop(java.nio.CharBuffer in,
            +
            protected java.nio.charset.CoderResult encodeLoop​(java.nio.CharBuffer in,
                                                               java.nio.ByteBuffer out)
            Specified by:
            @@ -218,21 +252,25 @@

            encodeLoop

        +

    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/util/Utils.html b/master/javadocs/org/mozilla/jss/netscape/security/util/Utils.html index 648d107c8..1ca474d0a 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/util/Utils.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/util/Utils.html @@ -1,11 +1,20 @@ - + Utils (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.util
    +

    Class Utils

    @@ -106,7 +130,6 @@

    Class Utils


    • -
      public class Utils
       extends java.lang.Object
    • @@ -116,99 +139,117 @@

      Class Utils

      • +
          -
        • +
        • Constructor Summary

          - +
          - + + - + +
          Constructors 
          Constructor and DescriptionConstructorDescription
          Utils() Utils() 
        +
        +
          -
        • +
        • Method Summary

          - +
          - + + - + - + - + - + - + - + + - + + - + + - + + - + + - + - + - + + - + - + + - + + - + - + - + + - + + - + + - + + - + + - + - + +
          All Methods Static Methods Concrete Methods 
          Modifier and TypeMethod and DescriptionMethodDescription
          static byte[]base64decode(java.lang.String string) +base64decode​(java.lang.String string)
          Converts a Base-64 encoded string into a byte array.
          static java.lang.Stringbase64encode(byte[] bytes, - boolean chunked) +base64encode​(byte[] bytes, + boolean chunked)
          Converts a byte array into a Base-64 encoded string.
          static java.lang.Stringbase64encodeMultiLine(byte[] bytes) +base64encodeMultiLine​(byte[] bytes)
          Converts a byte array into a multi-line Base-64 encoded string.
          static java.lang.Stringbase64encodeSingleLine(byte[] bytes) +base64encodeSingleLine​(byte[] bytes)
          Converts a byte array into a single-line Base-64 encoded string.
          static booleanbyteArraysAreEqual(byte[] a, - byte[] b) +byteArraysAreEqual​(byte[] a, + byte[] b)
          compares contents two byte arrays returning true if exactly same.
          static voidcheckHost(java.lang.String hostname) checkHost​(java.lang.String hostname) 
          static voidcopy(java.lang.String orig, - java.lang.String dest) copy​(java.lang.String orig, + java.lang.String dest) 
          static voidcopyStream(java.io.BufferedReader in, - java.io.OutputStreamWriter out) copyStream​(java.io.BufferedReader in, + java.io.OutputStreamWriter out) 
          static voidcopyStream(java.io.InputStream in, - java.io.OutputStream out) copyStream​(java.io.InputStream in, + java.io.OutputStream out) 
          static booleanexec(java.lang.String cmd) exec​(java.lang.String cmd) 
          static java.lang.Stringexec(java.lang.String[] cmd, - java.lang.String input) +exec​(java.lang.String[] cmd, + java.lang.String input)
          Utility method to execute system commands
          static java.lang.String[]getStringArrayFromVector(java.util.Vector<java.lang.String> v) +getStringArrayFromVector​(java.util.Vector<java.lang.String> v)
          returns an array of strings from a vector of Strings there'll be trouble if the Vector contains something other than just Strings
          @@ -216,69 +257,82 @@

          Method Summary

          static java.lang.StringHexEncode(byte[] data) HexEncode​(byte[] data) 
          static booleanisNT() +isNT()
          Checks if this is NT.
          static booleanisUnix() isUnix() 
          static java.lang.StringlsDateStr(java.util.Date date) lsDateStr​(java.util.Date date) 
          static java.lang.StringnormalizeString(java.lang.String string) +normalizeString​(java.lang.String string)
          Normalize B64 input String
          static java.lang.StringnormalizeString(java.lang.String string, - java.lang.Boolean keepSpace) +normalizeString​(java.lang.String string, + java.lang.Boolean keepSpace)
          Normalize B64 input String
          static java.lang.StringreadFromStream(java.io.InputStream inputStream) readFromStream​(java.io.InputStream inputStream) 
          static voidsortStrings(java.lang.String[] strings) sortStrings​(java.lang.String[] strings) 
          static byte[]SpecialDecode(java.lang.String s) SpecialDecode​(java.lang.String s) 
          static java.lang.StringSpecialEncode(byte[] data) SpecialEncode​(byte[] data) 
          static java.lang.StringSpecialURLDecode(java.lang.String s) SpecialURLDecode​(java.lang.String s) 
          static java.lang.StringstripQuotes(java.lang.String s) +stripQuotes​(java.lang.String s)
          strips out double quotes around String parameter
          static voidwriteToStream(java.io.OutputStream outputStream, - java.lang.String input) writeToStream​(java.io.OutputStream outputStream, + java.lang.String input) 
            -
          • +
          • Methods inherited from class java.lang.Object

            @@ -286,6 +340,7 @@

            Methods inherited from class java.lang.Object

        +
    @@ -293,12 +348,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -309,47 +365,49 @@

          Utils

      +
      +
        -
      • +
      • Method Detail

        - +
        • isNT

          -
          public static boolean isNT()
          +
          public static boolean isNT()
          Checks if this is NT.
        - +
        • isUnix

          -
          public static boolean isUnix()
          +
          public static boolean isUnix()
        - +
        • exec

          -
          public static boolean exec(java.lang.String cmd)
          +
          public static boolean exec​(java.lang.String cmd)
        - +
        • readFromStream

          -
          public static java.lang.String readFromStream(java.io.InputStream inputStream)
          +
          public static java.lang.String readFromStream​(java.io.InputStream inputStream)
                                                  throws java.io.IOException
          Throws:
          @@ -357,13 +415,13 @@

          readFromStream

        - +
        • writeToStream

          -
          public static void writeToStream(java.io.OutputStream outputStream,
          +
          public static void writeToStream​(java.io.OutputStream outputStream,
                                            java.lang.String input)
                                     throws java.io.IOException
          @@ -372,13 +430,13 @@

          writeToStream

        - +
        • exec

          -
          public static java.lang.String exec(java.lang.String[] cmd,
          +
          public static java.lang.String exec​(java.lang.String[] cmd,
                                               java.lang.String input)
                                        throws java.io.IOException,
                                               java.lang.InterruptedException
          @@ -395,49 +453,49 @@

          exec

        - +
        • SpecialURLDecode

          -
          public static java.lang.String SpecialURLDecode(java.lang.String s)
          +
          public static java.lang.String SpecialURLDecode​(java.lang.String s)
        - +
        • SpecialDecode

          -
          public static byte[] SpecialDecode(java.lang.String s)
          +
          public static byte[] SpecialDecode​(java.lang.String s)
        - +
        • SpecialEncode

          -
          public static java.lang.String SpecialEncode(byte[] data)
          +
          public static java.lang.String SpecialEncode​(byte[] data)
        - +
        • HexEncode

          -
          public static java.lang.String HexEncode(byte[] data)
          +
          public static java.lang.String HexEncode​(byte[] data)
        - +
        • checkHost

          -
          public static void checkHost(java.lang.String hostname)
          +
          public static void checkHost​(java.lang.String hostname)
                                 throws java.net.UnknownHostException
          Throws:
          @@ -445,13 +503,13 @@

          checkHost

        - +
        • copy

          -
          public static void copy(java.lang.String orig,
          +
          public static void copy​(java.lang.String orig,
                                   java.lang.String dest)
                            throws java.lang.Exception
          @@ -460,13 +518,13 @@

          copy

        - +
        • copyStream

          -
          public static void copyStream(java.io.InputStream in,
          +
          public static void copyStream​(java.io.InputStream in,
                                         java.io.OutputStream out)
                                  throws java.io.IOException
          @@ -475,13 +533,13 @@

          copyStream

        - +
        • copyStream

          -
          public static void copyStream(java.io.BufferedReader in,
          +
          public static void copyStream​(java.io.BufferedReader in,
                                         java.io.OutputStreamWriter out)
                                  throws java.io.IOException
          @@ -490,42 +548,42 @@

          copyStream

        - +
        • sortStrings

          -
          public static void sortStrings(java.lang.String[] strings)
          +
          public static void sortStrings​(java.lang.String[] strings)
        - +
        • lsDateStr

          -
          public static java.lang.String lsDateStr(java.util.Date date)
          +
          public static java.lang.String lsDateStr​(java.util.Date date)
        - +
        • byteArraysAreEqual

          -
          public static boolean byteArraysAreEqual(byte[] a,
          +
          public static boolean byteArraysAreEqual​(byte[] a,
                                                    byte[] b)
          compares contents two byte arrays returning true if exactly same.
        - +
        • stripQuotes

          -
          public static java.lang.String stripQuotes(java.lang.String s)
          +
          public static java.lang.String stripQuotes​(java.lang.String s)
          strips out double quotes around String parameter
          Parameters:
          @@ -535,25 +593,25 @@

          stripQuotes

        - +
        • getStringArrayFromVector

          -
          public static java.lang.String[] getStringArrayFromVector(java.util.Vector<java.lang.String> v)
          +
          public static java.lang.String[] getStringArrayFromVector​(java.util.Vector<java.lang.String> v)
          returns an array of strings from a vector of Strings there'll be trouble if the Vector contains something other than just Strings
        - +
        • base64encode

          -
          public static java.lang.String base64encode(byte[] bytes,
          +
          public static java.lang.String base64encode​(byte[] bytes,
                                                       boolean chunked)
          Converts a byte array into a Base-64 encoded string. If the chunked option is true, the output will be split into @@ -567,13 +625,13 @@

          base64encode

        - +
        • base64encodeMultiLine

          -
          public static java.lang.String base64encodeMultiLine(byte[] bytes)
          +
          public static java.lang.String base64encodeMultiLine​(byte[] bytes)
          Converts a byte array into a multi-line Base-64 encoded string. Each line is at most 64-character long and terminated with CRLF.
          @@ -584,13 +642,13 @@

          base64encodeMultiLine

        - +
        • base64encodeSingleLine

          -
          public static java.lang.String base64encodeSingleLine(byte[] bytes)
          +
          public static java.lang.String base64encodeSingleLine​(byte[] bytes)
          Converts a byte array into a single-line Base-64 encoded string. The line is not terminated with CRLF.
          @@ -601,13 +659,13 @@

          base64encodeSingleLine

        - +
        • base64decode

          -
          public static byte[] base64decode(java.lang.String string)
          +
          public static byte[] base64decode​(java.lang.String string)
          Converts a Base-64 encoded string into a byte array.
          Parameters:
          @@ -617,13 +675,13 @@

          base64decode

        - +
        • normalizeString

          -
          public static java.lang.String normalizeString(java.lang.String string)
          +
          public static java.lang.String normalizeString​(java.lang.String string)
          Normalize B64 input String
          Parameters:
          @@ -633,13 +691,13 @@

          normalizeString

        - +
        • normalizeString

          -
          public static java.lang.String normalizeString(java.lang.String string,
          +
          public static java.lang.String normalizeString​(java.lang.String string,
                                                          java.lang.Boolean keepSpace)
          Normalize B64 input String
          @@ -653,21 +711,25 @@

          normalizeString

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/util/WrappingParams.html b/master/javadocs/org/mozilla/jss/netscape/security/util/WrappingParams.html index 52f434129..70d0be1b0 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/util/WrappingParams.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/util/WrappingParams.html @@ -1,11 +1,20 @@ - + WrappingParams (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.util
    +

    Class WrappingParams

    @@ -106,7 +130,6 @@

    Class WrappingParams

    @@ -279,28 +335,29 @@

    Methods inherited from class java.lang.Object

    • +
      +
      +
        -
      • +
      • Method Detail

        - +
        • getEncryptionAlgorithmFromName

          -
          public static EncryptionAlgorithm getEncryptionAlgorithmFromName(java.lang.String name)
          +
          public static EncryptionAlgorithm getEncryptionAlgorithmFromName​(java.lang.String name)
                                                                     throws java.lang.Exception
          Throws:
          @@ -351,15 +410,15 @@

          getEncryptionAlgorithmFromName

        - +
        • getWrappingParamsFromArchiveOptions

          -
          public static WrappingParams getWrappingParamsFromArchiveOptions(java.lang.String wrapOID,
          +
          public static WrappingParams getWrappingParamsFromArchiveOptions​(java.lang.String wrapOID,
                                                                            java.lang.String priKeyAlgo,
          -                                                                 IVParameterSpec wrapIV)
          +                                                                 IVParameterSpec wrapIV)
                                                                     throws java.lang.NumberFormatException,
                                                                            java.security.NoSuchAlgorithmException
          @@ -369,31 +428,31 @@

          getWrappingParamsFromArchiveOptions

        - + - + - +
        • setSkType

          -
          public void setSkType(java.lang.String skTypeName)
          +
          public void setSkType​(java.lang.String skTypeName)
                          throws java.security.NoSuchAlgorithmException
          Throws:
          @@ -401,31 +460,31 @@

          setSkType

        - + - +
        • setSkKeyGenAlgorithm

          -
          public void setSkKeyGenAlgorithm(KeyGenAlgorithm skKeyGenAlgorithm)
          +
          public void setSkKeyGenAlgorithm​(KeyGenAlgorithm skKeyGenAlgorithm)
        - +
        • setSkKeyGenAlgorithm

          -
          public void setSkKeyGenAlgorithm(java.lang.String algName)
          +
          public void setSkKeyGenAlgorithm​(java.lang.String algName)
                                     throws java.security.NoSuchAlgorithmException
          Throws:
          @@ -433,49 +492,49 @@

          setSkKeyGenAlgorithm

        - +
        • getSkLength

          -
          public int getSkLength()
          +
          public int getSkLength()
        - +
        • setSkLength

          -
          public void setSkLength(int skLength)
          +
          public void setSkLength​(int skLength)
        - + - +
        • setSkWrapAlgorithm

          -
          public void setSkWrapAlgorithm(KeyWrapAlgorithm skWrapAlgorithm)
          +
          public void setSkWrapAlgorithm​(KeyWrapAlgorithm skWrapAlgorithm)
        - +
        • setSkWrapAlgorithm

          -
          public void setSkWrapAlgorithm(java.lang.String name)
          +
          public void setSkWrapAlgorithm​(java.lang.String name)
                                   throws java.security.NoSuchAlgorithmException
          Throws:
          @@ -483,31 +542,31 @@

          setSkWrapAlgorithm

        - + - +
        • setPayloadEncryptionAlgorithm

          -
          public void setPayloadEncryptionAlgorithm(EncryptionAlgorithm payloadEncryptionAlgorithm)
          +
          public void setPayloadEncryptionAlgorithm​(EncryptionAlgorithm payloadEncryptionAlgorithm)
        - +
        • setPayloadEncryptionAlgorithm

          -
          public void setPayloadEncryptionAlgorithm(java.lang.String algName,
          +
          public void setPayloadEncryptionAlgorithm​(java.lang.String algName,
                                                     java.lang.String modeName,
                                                     java.lang.String paddingName,
                                                     int keyStrength)
          @@ -518,40 +577,40 @@ 

          setPayloadEncryptionAlgorithm

        - +
        • getPayloadEncryptionAlgorithmName

          -
          public java.lang.String getPayloadEncryptionAlgorithmName()
          +
          public java.lang.String getPayloadEncryptionAlgorithmName()
        - + - +
        • setPayloadWrapAlgorithm

          -
          public void setPayloadWrapAlgorithm(KeyWrapAlgorithm payloadWrapAlgorithm)
          +
          public void setPayloadWrapAlgorithm​(KeyWrapAlgorithm payloadWrapAlgorithm)
        - +
        • setPayloadWrapAlgorithm

          -
          public void setPayloadWrapAlgorithm(java.lang.String name)
          +
          public void setPayloadWrapAlgorithm​(java.lang.String name)
                                        throws java.security.NoSuchAlgorithmException
          Throws:
          @@ -559,59 +618,63 @@

          setPayloadWrapAlgorithm

        - + - +
        • setPayloadEncryptionIV

          -
          public void setPayloadEncryptionIV(IVParameterSpec payloadEncryptionIV)
          +
          public void setPayloadEncryptionIV​(IVParameterSpec payloadEncryptionIV)
        - + - +
        • setPayloadWrappingIV

          -
          public void setPayloadWrappingIV(IVParameterSpec payloadWrappingIV)
          +
          public void setPayloadWrappingIV​(IVParameterSpec payloadWrappingIV)
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/util/package-frame.html b/master/javadocs/org/mozilla/jss/netscape/security/util/package-frame.html deleted file mode 100644 index 631df8fda..000000000 --- a/master/javadocs/org/mozilla/jss/netscape/security/util/package-frame.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - - -org.mozilla.jss.netscape.security.util (JSS: Java Security Services) - - - - -

    org.mozilla.jss.netscape.security.util

    - - - diff --git a/master/javadocs/org/mozilla/jss/netscape/security/util/package-summary.html b/master/javadocs/org/mozilla/jss/netscape/security/util/package-summary.html index fa151d063..e9eda4759 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/util/package-summary.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/util/package-summary.html @@ -1,11 +1,20 @@ - + org.mozilla.jss.netscape.security.util (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Package org.mozilla.jss.netscape.security.util

    + +
    +
    +
      -
    • +
    • Method Summary

      - +
      - + + - + - + - + - + - + - - + + + - + - + - +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and DescriptionMethodDescription
      voiddecode(java.io.InputStream in) +decode​(java.io.InputStream in)
      Decodes the attribute in the input stream.
      voiddelete(java.lang.String name) +delete​(java.lang.String name)
      Deletes an attribute value from this CertAttrSet.
      voidencode(java.io.OutputStream out) +encode​(java.io.OutputStream out)
      Encodes the attribute to the output stream in a format that can be parsed by the decode method.
      java.lang.Objectget(java.lang.String name) +get​(java.lang.String name)
      Gets an attribute value for this CertAttrSet.
      java.util.Enumeration<java.lang.String>getAttributeNames() +getAttributeNames()
      Returns an enumeration of the names of the attributes existing within this attribute.
      DerValuegetDerValue() DerValuegetDerValue() 
      java.lang.StringgetName() +getName()
      Returns the name (identifier) of this CertAttrSet.
      voidset(java.lang.String name, - java.lang.Object obj) +set​(java.lang.String name, + java.lang.Object obj)
      Sets an attribute value within this CertAttrSet.
      java.lang.StringtoString() +toString()
      Returns a short string describing this certificate attribute.
        -
      • +
      • Methods inherited from class java.lang.Object

        @@ -234,6 +276,7 @@

        Methods inherited from class java.lang.Object

    +
    @@ -241,35 +284,38 @@

    Methods inherited from class java.lang.Object

    • +
      +
      +
        -
      • +
      • Constructor Detail

        - +
        • ACertAttrSet

          -
          public ACertAttrSet(DerValue derValue)
          +
          public ACertAttrSet​(DerValue derValue)
                        throws java.io.IOException
          Throws:
          @@ -279,32 +325,34 @@

          ACertAttrSet

      +
      +
        -
      • +
      • Method Detail

        - + - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns a short string describing this certificate attribute.
          Specified by:
          -
          toString in interface CertAttrSet
          +
          toString in interface CertAttrSet
          Overrides:
          toString in class java.lang.Object
          Returns:
          @@ -313,20 +361,20 @@

          toString

        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.security.cert.CertificateException,
                              java.io.IOException
          Encodes the attribute to the output stream in a format that can be parsed by the decode method.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the OutputStream to encode the attribute to.
          Throws:
          @@ -335,19 +383,19 @@

          encode

        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.security.cert.CertificateException,
                              java.io.IOException
          Decodes the attribute in the input stream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to read the encoded attribute from.
          Throws:
          @@ -356,20 +404,20 @@

          decode

        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.security.cert.CertificateException,
                           java.io.IOException
          Sets an attribute value within this CertAttrSet.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the name of the attribute (e.g. "x509.info.key")
          obj - the attribute object.
          @@ -379,19 +427,19 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.security.cert.CertificateException,
                                       java.io.IOException
          Gets an attribute value for this CertAttrSet.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the name of the attribute to return.
          Throws:
          @@ -400,19 +448,19 @@

          get

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.security.cert.CertificateException,
                              java.io.IOException
          Deletes an attribute value from this CertAttrSet.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the name of the attribute to delete.
          Throws:
          @@ -421,34 +469,34 @@

          delete

        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          Returns an enumeration of the names of the attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Returns the name (identifier) of this CertAttrSet.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
          @@ -456,21 +504,25 @@

          getName

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/AVA.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/AVA.html index 50f728083..814ae277b 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/AVA.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/AVA.html @@ -1,11 +1,20 @@ - + AVA (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class AVA

    @@ -107,13 +131,12 @@

    Class AVA

  • All Implemented Interfaces:
    -
    DerEncoder
    +
    DerEncoder

    -
    public final class AVA
     extends java.lang.Object
    -implements DerEncoder
    +implements DerEncoder
    X.500 Attribute-Value-Assertion (AVA): an attribute, as identified by some attribute ID, has some particular value. Values are as a rule ASN.1 printable strings. A conventional set of type IDs is recognized when @@ -124,9 +147,9 @@

    Class AVA

    attribute ID is how you identify the field, and the value is part of a particular record.
    See Also:
    -
    X500Name, -RDN, -LdapDNStrConverter
    +
    X500Name, +RDN, +LdapDNStrConverter
  • @@ -135,132 +158,153 @@

    Class AVA

    • +
        -
      • +
      • Constructor Summary

        - +
        - + + - - - - + - - - - + - + - + + + + + + + + +
        Constructors 
        Constructor and DescriptionConstructorDescription
        AVA(DerInputStream in) -
        Constructs an AVA from a Der Input Stream.
        -
        AVA(java.io.InputStream in) +AVA​(java.io.InputStream in)
        Constructs an AVA from an input stream of UTF8 bytes that form a Ldap DN string.
        AVA(ObjectIdentifier type, - DerValue val) -
        Constructs an AVA from an OID and DerValue.
        -
        AVA(java.lang.String avaString) +AVA​(java.lang.String avaString)
        Constructs an AVA from a Ldap DN string with one AVA component using the global default LdapDNStrConverter.
        AVA(java.lang.String avaString, - byte[] tags) +AVA​(java.lang.String avaString, + byte[] tags)
        Like AVA(String) with a DER encoding order given for Directory Strings.
        AVA(java.lang.String avaString, - LdapDNStrConverter ldapDNStrConverter) +AVA​(java.lang.String avaString, + LdapDNStrConverter ldapDNStrConverter)
        Constructs an AVA from a Ldap DN string containing one AVA component using the specified LdapDNStrConverter.
        AVA​(DerInputStream in) +
        Constructs an AVA from a Der Input Stream.
        +
        AVA​(ObjectIdentifier type, + DerValue val) +
        Constructs an AVA from an OID and DerValue.
        +
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - + - + - + - + - - + + - - + + - + + - + - + - +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        voidderEncode(java.io.OutputStream out) +derEncode​(java.io.OutputStream out)
        DER encode this object onto an output stream.
        voidencode(DerOutputStream out) +encode​(DerOutputStream out)
        Encodes the AVA to a Der output stream.
        booleanequals(AVA other) -
        Returns true if another AVA has the same OID and DerValue.
        +
        equals​(java.lang.Object other) +
        Compares the AVA with an Object, returns true if the object is + an AVA and has the same OID and value.
        booleanequals(java.lang.Object other) -
        Compares the AVA with an Object, returns true if the object is - an AVA and has the same OID and value.
        +
        equals​(AVA other) +
        Returns true if another AVA has the same OID and DerValue.
        ObjectIdentifiergetOid() +ObjectIdentifiergetOid()
        Returns the OID in the AVA.
        DerValuegetValue() +DerValuegetValue()
        Returns the value in this AVA as a DerValue
        inthashCode() hashCode() 
        java.lang.StringtoLdapDNString() +toLdapDNString()
        Returns a Ldap DN string with one AVA component using the global default LdapDNStrConverter.
        java.lang.StringtoLdapDNString(LdapDNStrConverter ldapDNStrConverter) +toLdapDNString​(LdapDNStrConverter ldapDNStrConverter)
        Returns a Ldap DN string with one AVA component using the specified LdapDNStrConverter.
        java.lang.StringtoString() +toString()
        Returns a Ldap DN string with the AVA component using the global default LdapDNStrConverter, or null if an error occurs in conversion.
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -268,6 +312,7 @@

          Methods inherited from class java.lang.Object

      +
    @@ -275,18 +320,19 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • AVA

          -
          public AVA(java.lang.String avaString)
          +
          public AVA​(java.lang.String avaString)
               throws java.io.IOException
          Constructs an AVA from a Ldap DN string with one AVA component using the global default LdapDNStrConverter.
          @@ -296,17 +342,17 @@

          AVA

          Throws:
          java.io.IOException
          See Also:
          -
          LdapDNStrConverter
          +
          LdapDNStrConverter
        - +
        • AVA

          -
          public AVA(java.lang.String avaString,
          +
          public AVA​(java.lang.String avaString,
                      byte[] tags)
               throws java.io.IOException
          Like AVA(String) with a DER encoding order given for Directory Strings.
          @@ -316,14 +362,14 @@

          AVA

        - +
        • AVA

          -
          public AVA(java.lang.String avaString,
          -           LdapDNStrConverter ldapDNStrConverter)
          +
          public AVA​(java.lang.String avaString,
          +           LdapDNStrConverter ldapDNStrConverter)
               throws java.io.IOException
          Constructs an AVA from a Ldap DN string containing one AVA component using the specified LdapDNStrConverter.
          @@ -334,18 +380,18 @@

          AVA

          Throws:
          java.io.IOException
          See Also:
          -
          LdapDNStrConverter
          +
          LdapDNStrConverter
        - + - +
        • AVA

          -
          public AVA(java.io.InputStream in)
          +
          public AVA​(java.io.InputStream in)
               throws java.io.IOException
          Constructs an AVA from an input stream of UTF8 bytes that form a Ldap DN string. Then parse the Ldap DN string using the global @@ -381,17 +427,17 @@

          AVA

          Throws:
          java.io.IOException
          See Also:
          -
          LdapDNStrConverter
          +
          LdapDNStrConverter
        - +
        • AVA

          -
          public AVA(DerInputStream in)
          +
          public AVA​(DerInputStream in)
               throws java.io.IOException
          Constructs an AVA from a Der Input Stream.
          @@ -404,19 +450,21 @@

          AVA

      +
      +
        -
      • +
      • Method Detail

        - +
        • equals

          -
          public boolean equals(AVA other)
          +
          public boolean equals​(AVA other)
          Returns true if another AVA has the same OID and DerValue.
          Parameters:
          @@ -426,13 +474,13 @@

          equals

        - +
        • equals

          -
          public boolean equals(java.lang.Object other)
          +
          public boolean equals​(java.lang.Object other)
          Compares the AVA with an Object, returns true if the object is an AVA and has the same OID and value.
          @@ -445,26 +493,26 @@

          equals

        - +
        • hashCode

          -
          public int hashCode()
          +
          public int hashCode()
          Overrides:
          hashCode in class java.lang.Object
        - +
        • encode

          -
          public void encode(DerOutputStream out)
          +
          public void encode​(DerOutputStream out)
                       throws java.io.IOException
          Encodes the AVA to a Der output stream. AVAs are encoded as a SEQUENCE of two elements.
          @@ -476,19 +524,19 @@

          encode

        - +
        • derEncode

          -
          public void derEncode(java.io.OutputStream out)
          +
          public void derEncode​(java.io.OutputStream out)
                          throws java.io.IOException
          DER encode this object onto an output stream. Implements the DerEncoder interface.
          Specified by:
          -
          derEncode in interface DerEncoder
          +
          derEncode in interface DerEncoder
          Parameters:
          out - the output stream on which to write the DER encoding.
          Throws:
          @@ -496,13 +544,13 @@

          derEncode

        - +
        • toLdapDNString

          -
          public java.lang.String toLdapDNString()
          +
          public java.lang.String toLdapDNString()
                                           throws java.io.IOException
          Returns a Ldap DN string with one AVA component using the global default LdapDNStrConverter.
          @@ -512,17 +560,17 @@

          toLdapDNString

          Throws:
          java.io.IOException - if an error occurs during conversion.
          See Also:
          -
          LdapDNStrConverter
          +
          LdapDNStrConverter
        - +
        • toLdapDNString

          -
          public java.lang.String toLdapDNString(LdapDNStrConverter ldapDNStrConverter)
          +
          public java.lang.String toLdapDNString​(LdapDNStrConverter ldapDNStrConverter)
                                           throws java.io.IOException
          Returns a Ldap DN string with one AVA component using the specified LdapDNStrConverter.
          @@ -534,17 +582,17 @@

          toLdapDNString

          Throws:
          java.io.IOException - if an error occurs during the conversion.
          See Also:
          -
          LdapDNStrConverter
          +
          LdapDNStrConverter
        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns a Ldap DN string with the AVA component using the global default LdapDNStrConverter, or null if an error occurs in conversion.
          @@ -556,13 +604,13 @@

          toString

        - + - +
        • getValue

          -
          public DerValue getValue()
          +
          public DerValue getValue()
          Returns the value in this AVA as a DerValue
          Returns:
          @@ -586,21 +634,25 @@

          getValue

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/AVAValueConverter.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/AVAValueConverter.html index dd5c98a13..eb3b893c9 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/AVAValueConverter.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/AVAValueConverter.html @@ -1,11 +1,20 @@ - + AVAValueConverter (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Interface AVAValueConverter

    @@ -99,10 +123,9 @@

    Interface AVAValueConverte
  • All Known Implementing Classes:
    -
    DirStrConverter, GenericValueConverter, IA5StringConverter, PrintableConverter
    +
    DirStrConverter, GenericValueConverter, IA5StringConverter, PrintableConverter

    -
    public interface AVAValueConverter
    Interface for classes that convert a attribute value string to a DER encoded ASN.1 value and vice versa. @@ -120,45 +143,52 @@

    Interface AVAValueConverte

    @@ -166,18 +196,19 @@

    Method Summary

    • +
        -
      • +
      • Method Detail

        - +
        • getValue

          -
          DerValue getValue(java.lang.String valueString)
          +
          DerValue getValue​(java.lang.String valueString)
                      throws java.io.IOException
          Converts a string to a DER encoded attribute value.
          @@ -190,13 +221,13 @@

          getValue

        - +
        • getValue

          -
          DerValue getValue(java.lang.String valueString,
          +
          DerValue getValue​(java.lang.String valueString,
                             byte[] tags)
                      throws java.io.IOException
          Converts a string to a DER encoded attribute value. @@ -213,13 +244,13 @@

          getValue

        - +
        • getValue

          -
          DerValue getValue(byte[] berStream)
          +
          DerValue getValue​(byte[] berStream)
                      throws java.io.IOException
          Converts a BER encoded value to a DER encoded attribute value.
          @@ -232,13 +263,13 @@

          getValue

        - +
        • getAsString

          -
          java.lang.String getAsString(DerValue avaValue)
          +
          java.lang.String getAsString​(DerValue avaValue)
                                 throws java.io.IOException
          Converts a DER encoded value to a string, not encoded in any form.
          @@ -253,21 +284,25 @@

          getAsString

      +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/AlgIdDSA.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/AlgIdDSA.html index cc2cc06f2..4fab7f003 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/AlgIdDSA.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/AlgIdDSA.html @@ -1,11 +1,20 @@ - + AlgIdDSA (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class AlgIdDSA

    @@ -98,7 +122,7 @@

    Class AlgIdDSA

  • java.lang.Object
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/AlgorithmId.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/AlgorithmId.html index 3f6d0ecd5..83590e511 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/AlgorithmId.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/AlgorithmId.html @@ -1,11 +1,20 @@ - + AlgorithmId (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class AlgorithmId

    @@ -107,17 +131,16 @@

    Class AlgorithmId

  • All Implemented Interfaces:
    -
    java.io.Serializable, DerEncoder
    +
    java.io.Serializable, DerEncoder
    Direct Known Subclasses:
    -
    AlgIdDSA
    +
    AlgIdDSA

    -
    public class AlgorithmId
     extends java.lang.Object
    -implements java.io.Serializable, DerEncoder
    +implements java.io.Serializable, DerEncoder
    This class identifies algorithms, such as cryptographic transforms, each of which may be associated with parameters. Instances of this base class are used when this runtime environment has no special knowledge of the @@ -144,217 +167,256 @@

    Class AlgorithmId

    @@ -566,24 +663,25 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
        • params

          -
          protected DerValue params
          +
          protected DerValue params
          Parameters for this algorithm. These are stored in unparsed DER-encoded form; subclasses can be made to automaticaly parse them so there is fast access to these parameters.
        - +
          @@ -592,102 +690,102 @@

          paramsString

          protected java.lang.String paramsString
        - +
        • MD2_oid

          -
          public static final ObjectIdentifier MD2_oid
          +
          public static final ObjectIdentifier MD2_oid
          Algorithm ID for the MD2 Message Digest Algorthm, from RFC 1319. OID = 1.2.840.113549.2.2
        - +
        • MD5_oid

          -
          public static final ObjectIdentifier MD5_oid
          +
          public static final ObjectIdentifier MD5_oid
          Algorithm ID for the MD5 Message Digest Algorthm, from RFC 1321. OID = 1.2.840.113549.2.5
        - +
        • SHA_oid

          -
          public static final ObjectIdentifier SHA_oid
          +
          public static final ObjectIdentifier SHA_oid
          Algorithm ID for the SHA1 Message Digest Algorithm, from FIPS 180-1. This is sometimes called "SHA", though that is often confusing since many people refer to FIPS 180 (which has an error) as defining SHA. OID = 1.3.14.3.2.26
        - + - + - + - + - +
        • ANSIX962_EC_Public_Key_oid

          -
          public static final ObjectIdentifier ANSIX962_EC_Public_Key_oid
          +
          public static final ObjectIdentifier ANSIX962_EC_Public_Key_oid
        - + - +
        • DH_oid

          -
          public static final ObjectIdentifier DH_oid
          +
          public static final ObjectIdentifier DH_oid
          Algorithm ID for Diffie Hellman Key agreement, from PKCS #3. Parameters include public values P and G, and may optionally specify the length of the private key X. Alternatively, algorithm parameters @@ -696,26 +794,26 @@

          DH_oid

          OID = 1.2.840.113549.1.3.1
        - +
        • DH_PKIX_oid

          -
          public static final ObjectIdentifier DH_PKIX_oid
          +
          public static final ObjectIdentifier DH_PKIX_oid
          Algorithm ID for the Diffie Hellman Key Agreement (DH), from the IETF PKIX IPKI Part I. Parameters may include public values P and G. OID = 1.2.840.10046.2.1
        - +
        • DSA_OIW_oid

          -
          public static final ObjectIdentifier DSA_OIW_oid
          +
          public static final ObjectIdentifier DSA_OIW_oid
          Algorithm ID for the Digital Signing Algorithm (DSA), from the NIST OIW Stable Agreements part 12. Parameters may include public values P, Q, and G; or these may be @@ -724,13 +822,13 @@

          DSA_OIW_oid

          OID = 1.3.14.3.2.12
        - +
        • DSA_oid

          -
          public static final ObjectIdentifier DSA_oid
          +
          public static final ObjectIdentifier DSA_oid
          Algorithm ID for the Digital Signing Algorithm (DSA), from the IETF PKIX IPKI Part I. Parameters may include public values P, Q, and G; or these may be @@ -739,200 +837,200 @@

          DSA_oid

          OID = 1.2.840.10040.4.1
        - +
        • RSA_oid

          -
          public static final ObjectIdentifier RSA_oid
          +
          public static final ObjectIdentifier RSA_oid
          Algorithm ID for RSA keys used for any purpose, as defined in X.509. The algorithm parameter is a single value, the number of bits in the public modulus. OID = 1.2.5.8.1.1
        - +
        • RSAEncryption_oid

          -
          public static final ObjectIdentifier RSAEncryption_oid
          +
          public static final ObjectIdentifier RSAEncryption_oid
          Algorithm ID for RSA keys used with RSA encryption, as defined in PKCS #1. There are no parameters associated with this algorithm. OID = 1.2.840.113549.1.1.1
        - + - + - + - + - + - + - +
        • md2WithRSAEncryption_oid

          -
          public static final ObjectIdentifier md2WithRSAEncryption_oid
          +
          public static final ObjectIdentifier md2WithRSAEncryption_oid
          Identifies a signing algorithm where an MD2 digest is encrypted using an RSA private key; defined in PKCS #1. Use of this signing algorithm is discouraged due to MD2 vulnerabilities. OID = 1.2.840.113549.1.1.2
        - +
        • md5WithRSAEncryption_oid

          -
          public static final ObjectIdentifier md5WithRSAEncryption_oid
          +
          public static final ObjectIdentifier md5WithRSAEncryption_oid
          Identifies a signing algorithm where an MD5 digest is encrypted using an RSA private key; defined in PKCS #1. OID = 1.2.840.113549.1.1.4
        - +
        • sha1WithRSAEncryption_oid

          -
          public static final ObjectIdentifier sha1WithRSAEncryption_oid
          +
          public static final ObjectIdentifier sha1WithRSAEncryption_oid
          The proper one for sha1/rsa
        - +
        • sha256WithRSAEncryption_oid

          -
          public static final ObjectIdentifier sha256WithRSAEncryption_oid
          +
          public static final ObjectIdentifier sha256WithRSAEncryption_oid
          The proper one for sha256/rsa
        - +
        • sha384WithRSAEncryption_oid

          -
          public static final ObjectIdentifier sha384WithRSAEncryption_oid
          +
          public static final ObjectIdentifier sha384WithRSAEncryption_oid
          The proper one for sha384/rsa
        - +
        • sha512WithRSAEncryption_oid

          -
          public static final ObjectIdentifier sha512WithRSAEncryption_oid
          +
          public static final ObjectIdentifier sha512WithRSAEncryption_oid
          The proper one for sha512/rsa
        - +
        • sha1WithRSAEncryption_OIW_oid

          -
          public static final ObjectIdentifier sha1WithRSAEncryption_OIW_oid
          +
          public static final ObjectIdentifier sha1WithRSAEncryption_OIW_oid
          Identifies a signing algorithm where an SHA1 digest is encrypted using an RSA private key; defined in NIST OIW. OID = 1.3.14.3.2.29
        - +
        • shaWithDSA_OIW_oid

          -
          public static final ObjectIdentifier shaWithDSA_OIW_oid
          +
          public static final ObjectIdentifier shaWithDSA_OIW_oid
          Identifies the FIPS 186 "Digital Signature Standard" (DSS), where a SHA digest is signed using the Digital Signing Algorithm (DSA). This should not be used. OID = 1.3.14.3.2.13
        - +
        • sha1WithDSA_OIW_oid

          -
          public static final ObjectIdentifier sha1WithDSA_OIW_oid
          +
          public static final ObjectIdentifier sha1WithDSA_OIW_oid
          Identifies the FIPS 186 "Digital Signature Standard" (DSS), where a SHA1 digest is signed using the Digital Signing Algorithm (DSA). OID = 1.3.14.3.2.27
        - +
        • sha1WithDSA_oid

          -
          public static final ObjectIdentifier sha1WithDSA_oid
          +
          public static final ObjectIdentifier sha1WithDSA_oid
          Identifies the FIPS 186 "Digital Signature Standard" (DSS), where a SHA1 digest is signed using the Digital Signing Algorithm (DSA). OID = 1.2.840.10040.4.3
        - +
          @@ -942,7 +1040,7 @@

          DSA_SIGNING_ALGORITHMS

          Supported signing algorithms for a DSA key.
        - +
          @@ -952,7 +1050,7 @@

          RSA_SIGNING_ALGORITHMS

          Supported signing algorithms for a RSA key.
        - +
          @@ -961,7 +1059,7 @@

          EC_SIGNING_ALGORITHMS

          public static final java.lang.String[] EC_SIGNING_ALGORITHMS
        - +
          @@ -973,19 +1071,21 @@

          ALL_SIGNING_ALGORITHMS

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • AlgorithmId

          -
          public AlgorithmId(ObjectIdentifier oid,
          +
          public AlgorithmId​(ObjectIdentifier oid,
                              java.security.AlgorithmParameters params)
                       throws java.io.IOException,
                              java.security.NoSuchAlgorithmException
          @@ -1000,13 +1100,13 @@

          AlgorithmId

        - +
        • AlgorithmId

          -
          public AlgorithmId(ObjectIdentifier oid,
          +
          public AlgorithmId​(ObjectIdentifier oid,
                              java.lang.String algName)
                       throws java.io.IOException,
                              java.security.NoSuchAlgorithmException
          @@ -1018,13 +1118,13 @@

          AlgorithmId

        - +
        • AlgorithmId

          -
          public AlgorithmId(ObjectIdentifier oid)
          +
          public AlgorithmId​(ObjectIdentifier oid)
          Constructs an algorithm ID with possible RSAPSS params.
          Parameters:
          @@ -1032,7 +1132,7 @@

          AlgorithmId

        - +
          @@ -1040,53 +1140,57 @@

          AlgorithmId

          AlgorithmId

          @Deprecated
           public AlgorithmId()
          -
          Deprecated. use one of the other constructors.
          +
          Deprecated. +
          use one of the other constructors.
          +
          Constructs an algorithm ID which will be initialized separately, for example by deserialization.
      +
      +
        -
      • +
      • Method Detail

        - +
        • getParameters

          -
          public java.security.AlgorithmParameters getParameters()
          +
          public java.security.AlgorithmParameters getParameters()
        - +
        • getParametersString

          -
          public java.lang.String getParametersString()
          +
          public java.lang.String getParametersString()
        - +
        • setParametersString

          -
          public void setParametersString(java.lang.String paramStr)
          +
          public void setParametersString​(java.lang.String paramStr)
        - +
        • get

          -
          public static AlgorithmId get(java.lang.String algname)
          +
          public static AlgorithmId get​(java.lang.String algname)
                                  throws java.security.NoSuchAlgorithmException
          Returns one of the algorithm IDs most commonly associated with this algorithm name.
          @@ -1098,13 +1202,13 @@

          get

        - +
        • parse

          -
          public static AlgorithmId parse(DerValue val)
          +
          public static AlgorithmId parse​(DerValue val)
                                    throws java.io.IOException
          Parse (unmarshal) an ID from a DER sequence input value. This form parsing might be used when expanding a value which has already been @@ -1123,13 +1227,13 @@

          parse

        - +
        • parse

          -
          public static AlgorithmId parse(byte[] val)
          +
          public static AlgorithmId parse​(byte[] val)
                                    throws java.io.IOException
          Throws:
          @@ -1137,13 +1241,13 @@

          parse

        - +
        • decodeParams

          -
          protected void decodeParams()
          +
          protected void decodeParams()
                                throws java.io.IOException
          Throws:
          @@ -1151,13 +1255,13 @@

          decodeParams

        - +
        • encode

          -
          public final void encode(DerOutputStream out)
          +
          public final void encode​(DerOutputStream out)
                             throws java.io.IOException
          Marshal a DER-encoded "AlgorithmID" sequence on the DER stream.
          @@ -1166,19 +1270,19 @@

          encode

        - +
        • derEncode

          -
          public void derEncode(java.io.OutputStream out)
          +
          public void derEncode​(java.io.OutputStream out)
                          throws java.io.IOException
          DER encode this object onto an output stream. Implements the DerEncoder interface.
          Specified by:
          -
          derEncode in interface DerEncoder
          +
          derEncode in interface DerEncoder
          Parameters:
          out - the output stream on which to write the DER encoding.
          Throws:
          @@ -1186,13 +1290,13 @@

          derEncode

        - +
        • derEncodeWithContext

          -
          public void derEncodeWithContext(java.io.OutputStream out,
          +
          public void derEncodeWithContext​(java.io.OutputStream out,
                                            int contextVal)
                                     throws java.io.IOException
          DER encode this object onto an output stream. @@ -1206,13 +1310,13 @@

          derEncodeWithContext

        - +
        • encode

          -
          public final byte[] encode()
          +
          public final byte[] encode()
                               throws java.io.IOException
          Returns the DER-encoded X.509 AlgorithmId as a byte array.
          @@ -1221,24 +1325,24 @@

          encode

        - +
        • getSigningAlgorithms

          -
          public static java.lang.String[] getSigningAlgorithms(AlgorithmId alg)
          +
          public static java.lang.String[] getSigningAlgorithms​(AlgorithmId alg)
          Returns list of signing algorithms for a key algorithm such as RSA or DSA.
        - +
        • getOID

          -
          public final ObjectIdentifier getOID()
          +
          public final ObjectIdentifier getOID()
          Returns the ISO OID for this algorithm. This is usually converted to a string and used as part of an algorithm name, for example "OID.1.3.14.3.2.13" style notation. Use the getName call when you do not need to ensure cross-system @@ -1246,13 +1350,13 @@

          getOID

          of algorithm names, or need a user friendly name.
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Returns a name for the algorithm which may be more intelligible to humans than the algorithm's OID, but which won't necessarily be comprehensible on other systems. For example, this might @@ -1261,13 +1365,13 @@

          getName

          no particular name for the algorithm is known.
        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns a string describing only the algorithm without parameters. Use toStringWithParams() for algorithm name and paramaters, or @@ -1278,23 +1382,23 @@

          toString

        - +
        • toStringWithParams

          -
          public java.lang.String toStringWithParams()
          +
          public java.lang.String toStringWithParams()
          Returns a string describing the algorithm and its parameters.
        - +
        • getEncodedParams

          -
          public byte[] getEncodedParams()
          +
          public byte[] getEncodedParams()
                                   throws java.io.IOException
          Returns the DER encoded parameter, which can then be used to initialize java.security.AlgorithmParamters.
          @@ -1306,35 +1410,35 @@

          getEncodedParams

        - +
        • paramsToString

          -
          protected java.lang.String paramsToString()
          +
          protected java.lang.String paramsToString()
          Provides a human-readable description of the algorithm parameters. This may be redefined by subclasses which parse those parameters.
        - +
        • equals

          -
          public boolean equals(AlgorithmId other)
          +
          public boolean equals​(AlgorithmId other)
          Returns true iff the argument indicates the same algorithm with the same parameters.
        - +
        • equals

          -
          public boolean equals(java.lang.Object other)
          +
          public boolean equals​(java.lang.Object other)
          Compares this AlgorithmID to another. If algorithm parameters are available, they are compared. Otherwise, just the object IDs for the algorithm are compared.
          @@ -1346,37 +1450,37 @@

          equals

        - +
        • hashCode

          -
          public int hashCode()
          +
          public int hashCode()
          Overrides:
          hashCode in class java.lang.Object
        - +
        • equals

          -
          public final boolean equals(ObjectIdentifier id)
          +
          public final boolean equals​(ObjectIdentifier id)
          Compares two algorithm IDs for equality. Returns true iff they are the same algorithm, ignoring algorithm parameters.
        - +
        • createPSSAlgorithmParametersFromData

          -
          public static java.security.AlgorithmParameters createPSSAlgorithmParametersFromData(byte[] der)
          +
          public static java.security.AlgorithmParameters createPSSAlgorithmParametersFromData​(byte[] der)
                                                                                         throws java.lang.Exception
          Throws:
          @@ -1384,13 +1488,13 @@

          createPSSAlgorithmParametersFromData

        - +
        • createPSSAlgorithmParameters

          -
          public static java.security.AlgorithmParameters createPSSAlgorithmParameters(java.lang.String algName)
          +
          public static java.security.AlgorithmParameters createPSSAlgorithmParameters​(java.lang.String algName)
                                                                                 throws java.lang.IllegalArgumentException,
                                                                                        java.security.NoSuchProviderException,
                                                                                        java.security.spec.InvalidParameterSpecException,
          @@ -1407,21 +1511,25 @@ 

          createPSSAlgorithmParameters

      +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/Attribute.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/Attribute.html index dbb6a466d..f0af52bd9 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/Attribute.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/Attribute.html @@ -1,11 +1,20 @@ - + Attribute (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class Attribute

    @@ -107,13 +131,12 @@

    Class Attribute

  • All Implemented Interfaces:
    -
    java.io.Serializable, DerEncoder
    +
    java.io.Serializable, DerEncoder

    -
    public final class Attribute
     extends java.lang.Object
    -implements java.io.Serializable, DerEncoder
    +implements java.io.Serializable, DerEncoder
    An attribute, as identified by some attribute ID, has some particular values. Values are as a rule ASN.1 printable strings. A conventional set of type IDs is recognized when parsing. The following shows the syntax: @@ -148,106 +171,124 @@

    Class Attribute

    • +
      +
      +
        -
      • +
      • Constructor Summary

        - +
        - + + - + - + - + - +
        Constructors 
        Constructor and DescriptionConstructorDescription
        Attribute(DerValue val) -
        Construct an attribute from a der encoded object.
        +
        Attribute​(java.lang.String attr, + java.util.Vector<java.lang.String> values) +
        Construct an attribute from attribute type and attribute values
        Attribute(ObjectIdentifier oid, - java.lang.String value) -
        Construct an attribute from attribute type and attribute value
        +
        Attribute​(DerValue val) +
        Construct an attribute from a der encoded object.
        Attribute(ObjectIdentifier oid, - java.util.Vector<java.lang.String> values) -
        Construct an attribute from attribute type and attribute values
        +
        Attribute​(ObjectIdentifier oid, + java.lang.String value) +
        Construct an attribute from attribute type and attribute value
        Attribute(java.lang.String attr, - java.util.Vector<java.lang.String> values) +Attribute​(ObjectIdentifier oid, + java.util.Vector<java.lang.String> values)
        Construct an attribute from attribute type and attribute values
      +
      +
      +
    @@ -262,35 +304,38 @@

    Methods inherited from class java.lang.Object

    • +
      +
      +
        -
      • +
      • Constructor Detail

        - +
        • Attribute

          -
          public Attribute(ObjectIdentifier oid,
          +
          public Attribute​(ObjectIdentifier oid,
                            java.lang.String value)
                     throws java.io.IOException
          Construct an attribute from attribute type and attribute value
          @@ -303,13 +348,13 @@

          Attribute

        - +
        • Attribute

          -
          public Attribute(ObjectIdentifier oid,
          +
          public Attribute​(ObjectIdentifier oid,
                            java.util.Vector<java.lang.String> values)
                     throws java.io.IOException
          Construct an attribute from attribute type and attribute values
          @@ -322,13 +367,13 @@

          Attribute

        - +
        • Attribute

          -
          public Attribute(java.lang.String attr,
          +
          public Attribute​(java.lang.String attr,
                            java.util.Vector<java.lang.String> values)
                     throws java.io.IOException
          Construct an attribute from attribute type and attribute values
          @@ -341,13 +386,13 @@

          Attribute

        - +
        • Attribute

          -
          public Attribute(DerValue val)
          +
          public Attribute​(DerValue val)
                     throws java.io.IOException
          Construct an attribute from a der encoded object. This der der encoded value should represent the attribute object.
          @@ -361,19 +406,21 @@

          Attribute

      +
      +
        -
      • +
      • Method Detail

        - + - +
        • getValues

          -
          public java.util.Enumeration<java.lang.String> getValues()
          +
          public java.util.Enumeration<java.lang.String> getValues()
          Returns enumeration of values in this attribute.
          Returns:
          @@ -395,13 +442,13 @@

          getValues

        - +
        • encode

          -
          public void encode(DerOutputStream out)
          +
          public void encode​(DerOutputStream out)
                       throws java.io.IOException
          Encodes the Attribute to a Der output stream. Attribute are encoded as a SEQUENCE of two elements.
          @@ -413,19 +460,19 @@

          encode

        - +
        • derEncode

          -
          public void derEncode(java.io.OutputStream out)
          +
          public void derEncode​(java.io.OutputStream out)
                          throws java.io.IOException
          DER encode this object onto an output stream. Implements the DerEncoder interface.
          Specified by:
          -
          derEncode in interface DerEncoder
          +
          derEncode in interface DerEncoder
          Parameters:
          out - the output stream on which to write the DER encoding.
          Throws:
          @@ -433,13 +480,13 @@

          derEncode

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Prints a string version of this extension.
          Overrides:
          @@ -449,21 +496,25 @@

          toString

      +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/AuthorityKeyIdentifierExtension.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/AuthorityKeyIdentifierExtension.html index bdf0f58b5..993282e0d 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/AuthorityKeyIdentifierExtension.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/AuthorityKeyIdentifierExtension.html @@ -1,11 +1,20 @@ - + AuthorityKeyIdentifierExtension (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class AuthorityKeyIdentifierExtension

    @@ -98,7 +122,7 @@

    Class AuthorityK
  • java.lang.Object
  • @@ -316,12 +364,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -336,7 +385,7 @@

          IDENT

        - +
          @@ -350,7 +399,7 @@

          NAME

        - +
          @@ -363,7 +412,7 @@

          KEY_ID

        - +
          @@ -376,7 +425,7 @@

          AUTH_NAME

        - +
          @@ -391,22 +440,24 @@

          SERIAL_NUMBER

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • AuthorityKeyIdentifierExtension

          -
          public AuthorityKeyIdentifierExtension(boolean critical,
          -                                       KeyIdentifier kid,
          -                                       GeneralNames name,
          -                                       SerialNumber sn)
          +
          public AuthorityKeyIdentifierExtension​(boolean critical,
          +                                       KeyIdentifier kid,
          +                                       GeneralNames name,
          +                                       SerialNumber sn)
                                           throws java.io.IOException
          Exposed critical parameter. 99/11/03
          @@ -415,15 +466,15 @@

          AuthorityKeyIdentifierExtension

        - +
        • AuthorityKeyIdentifierExtension

          -
          public AuthorityKeyIdentifierExtension(KeyIdentifier kid,
          -                                       GeneralNames name,
          -                                       SerialNumber sn)
          +
          public AuthorityKeyIdentifierExtension​(KeyIdentifier kid,
          +                                       GeneralNames name,
          +                                       SerialNumber sn)
                                           throws java.io.IOException
          The default constructor for this extension. Null parameters make the element optional (not present).
          @@ -438,13 +489,13 @@

          AuthorityKeyIdentifierExtension

        - +
        • AuthorityKeyIdentifierExtension

          -
          public AuthorityKeyIdentifierExtension(java.lang.Boolean critical,
          +
          public AuthorityKeyIdentifierExtension​(java.lang.Boolean critical,
                                                  java.lang.Object value)
                                           throws java.io.IOException
          Create the extension from the passed DER encoded value of the same.
          @@ -459,43 +510,45 @@

          AuthorityKeyIdentifierExtension

      +
      +
        -
      • +
      • Method Detail

        - + - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.io.IOException
          Decode the extension from the InputStream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to unmarshal the contents from.
          Throws:
          @@ -503,18 +556,18 @@

          decode

        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.io.IOException
          Write the extension to the OutputStream.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the OutputStream to write the extension to.
          Throws:
          @@ -522,19 +575,19 @@

          encode

        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.io.IOException
          Set the attribute value.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the name of the attribute (e.g. "x509.info.key")
          obj - the attribute object.
          @@ -543,18 +596,18 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.io.IOException
          Get the attribute value.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the name of the attribute to return.
          Throws:
          @@ -562,18 +615,18 @@

          get

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.io.IOException
          Delete the attribute value.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the name of the attribute to delete.
          Throws:
          @@ -581,34 +634,34 @@

          delete

        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          Return an enumeration of names of attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Return the name of this attribute.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
          @@ -616,21 +669,25 @@

          getName

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/BasicConstraintsExtension.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/BasicConstraintsExtension.html index ed4263816..fdd964935 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/BasicConstraintsExtension.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/BasicConstraintsExtension.html @@ -1,11 +1,20 @@ - + BasicConstraintsExtension (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class BasicConstraintsExtension

    @@ -98,7 +122,7 @@

    Class BasicConstraints
  • java.lang.Object
  • @@ -306,12 +353,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -326,7 +374,7 @@

          IDENT

        - +
          @@ -340,7 +388,7 @@

          NAME

        - +
          @@ -353,7 +401,7 @@

          IS_CA

        - +
          @@ -368,19 +416,21 @@

          PATH_LEN

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • BasicConstraintsExtension

          -
          public BasicConstraintsExtension(boolean ca,
          +
          public BasicConstraintsExtension​(boolean ca,
                                            int len)
                                     throws java.io.IOException
          Default constructor for this object.
          @@ -393,13 +443,13 @@

          BasicConstraintsExtension

        - +
        • BasicConstraintsExtension

          -
          public BasicConstraintsExtension(boolean ca,
          +
          public BasicConstraintsExtension​(boolean ca,
                                            boolean critical,
                                            int len)
                                     throws java.io.IOException
          @@ -413,13 +463,13 @@

          BasicConstraintsExtension

        - +
        • BasicConstraintsExtension

          -
          public BasicConstraintsExtension(java.lang.Boolean critical,
          +
          public BasicConstraintsExtension​(java.lang.Boolean critical,
                                            java.lang.Object value)
                                     throws java.io.IOException
          Create the extension from the passed DER encoded value of the same.
          @@ -433,43 +483,45 @@

          BasicConstraintsExtension

      +
      +
        -
      • +
      • Method Detail

        - + - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.io.IOException
          Decode the extension from the InputStream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to unmarshal the contents from.
          Throws:
          @@ -477,18 +529,18 @@

          decode

        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.io.IOException
          Encode this extension value to the output stream.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the DerOutputStream to encode the extension to.
          Throws:
          @@ -496,19 +548,19 @@

          encode

        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.io.IOException
          Set the attribute value.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the name of the attribute (e.g. "x509.info.key")
          obj - the attribute object.
          @@ -517,18 +569,18 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.io.IOException
          Get the attribute value.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the name of the attribute to return.
          Throws:
          @@ -536,18 +588,18 @@

          get

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.io.IOException
          Delete the attribute value.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the name of the attribute to delete.
          Throws:
          @@ -555,34 +607,34 @@

          delete

        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          Return an enumeration of names of attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Return the name of this attribute.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
          @@ -590,21 +642,25 @@

          getName

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/CIDRNetmask.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/CIDRNetmask.html index 88bbd256a..5e063b213 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/CIDRNetmask.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/CIDRNetmask.html @@ -1,11 +1,20 @@ - + CIDRNetmask (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class CIDRNetmask

    @@ -106,7 +130,6 @@

    Class CIDRNetmask


    • -
      public class CIDRNetmask
       extends java.lang.Object
      Netmask that is the number of significant bits.
      @@ -117,50 +140,59 @@

      Class CIDRNetmask

      • +
        +
        +
          -
        • +
        • Method Summary

          - +
          - + + - + + - +
          All Methods Instance Methods Concrete Methods 
          Modifier and TypeMethod and DescriptionMethodDescription
          java.lang.StringtoString() toString() 
          protected voidwrite(java.nio.ByteBuffer buf) +write​(java.nio.ByteBuffer buf)
          Write the netmask into a byte buffer.
            -
          • +
          • Methods inherited from class java.lang.Object

            @@ -168,6 +200,7 @@

            Methods inherited from class java.lang.Object

        +
    @@ -175,44 +208,47 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • CIDRNetmask

          -
          public CIDRNetmask(java.lang.String s)
          +
          public CIDRNetmask​(java.lang.String s)
        - +
        • CIDRNetmask

          -
          public CIDRNetmask(int n)
          +
          public CIDRNetmask​(int n)
      +
      +
        -
      • +
      • Method Detail

        - +
        • write

          -
          protected void write(java.nio.ByteBuffer buf)
          +
          protected void write​(java.nio.ByteBuffer buf)
          Write the netmask into a byte buffer. Throw InvalidNetmaskException if negative or if the @@ -223,13 +259,13 @@

          write

          exceeds the size of the buffer
        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Overrides:
          toString in class java.lang.Object
          @@ -238,21 +274,25 @@

          toString

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/CPSuri.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/CPSuri.html index 89d4421e5..1e25fb3e3 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/CPSuri.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/CPSuri.html @@ -1,11 +1,20 @@ - + CPSuri (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class CPSuri

    @@ -98,7 +122,7 @@

    Class CPSuri

  • java.lang.Object
  • @@ -190,27 +223,28 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • CPSuri

          -
          public CPSuri(java.lang.String uri)
          +
          public CPSuri​(java.lang.String uri)
        - +
        • CPSuri

          -
          public CPSuri(DerValue val)
          +
          public CPSuri​(DerValue val)
                  throws java.io.IOException
          Throws:
          @@ -220,24 +254,26 @@

          CPSuri

      +
      +
        -
      • +
      • Method Detail

        - +
        • encode

          -
          public void encode(DerOutputStream out)
          +
          public void encode​(DerOutputStream out)
                       throws java.io.IOException
          Write the PolicyQualifier to the DerOutputStream.
          Overrides:
          -
          encode in class Qualifier
          +
          encode in class Qualifier
          Parameters:
          out - the DerOutputStream to write the object to.
          Throws:
          @@ -245,32 +281,36 @@

          encode

        - +
        • getURI

          -
          public java.lang.String getURI()
          +
          public java.lang.String getURI()
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/CRLDistributionPoint.Template.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/CRLDistributionPoint.Template.html index c1d3f4e4d..7e455e7d0 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/CRLDistributionPoint.Template.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/CRLDistributionPoint.Template.html @@ -1,11 +1,20 @@ - + CRLDistributionPoint.Template (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class CRLDistributionPoint.Template

    @@ -107,17 +131,16 @@

    Class CRLDistribut
  • All Implemented Interfaces:
    -
    ASN1Template
    +
    ASN1Template
    Enclosing class:
    -
    CRLDistributionPoint
    +
    CRLDistributionPoint

    -
    public static class CRLDistributionPoint.Template
     extends java.lang.Object
    -implements ASN1Template
    +implements ASN1Template
    Template for decoding CRLDistributionPoint.
  • @@ -126,57 +149,66 @@

    Class CRLDistribut
    • +
        -
      • +
      • Constructor Summary

        - +
        - + + - + +
        Constructors 
        Constructor and DescriptionConstructorDescription
        Template() Template() 
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - - + + - - + + - +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        ASN1Valuedecode(java.io.InputStream istream) +ASN1Valuedecode​(java.io.InputStream istream)
        Decodes an ASN1Value from the InputStream without an implicit tag.
        ASN1Valuedecode(Tag implicitTag, - java.io.InputStream istream) +ASN1Valuedecode​(Tag implicitTag, + java.io.InputStream istream)
        Decodes an ASN1Value from the InputStream with the given implicit tag.
        booleantagMatch(Tag tag) +tagMatch​(Tag tag)
        Determines whether the given tag will satisfy this template.
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -184,6 +216,7 @@

          Methods inherited from class java.lang.Object

      +

    @@ -191,12 +224,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -207,24 +241,26 @@

          Template

      +
      +
        -
      • +
      • Method Detail

        - +
        • tagMatch

          -
          public boolean tagMatch(Tag tag)
          -
          Description copied from interface: ASN1Template
          +
          public boolean tagMatch​(Tag tag)
          +
          Description copied from interface: ASN1Template
          Determines whether the given tag will satisfy this template.
          Specified by:
          -
          tagMatch in interface ASN1Template
          +
          tagMatch in interface ASN1Template
          Parameters:
          tag - Tag.
          Returns:
          @@ -232,20 +268,20 @@

          tagMatch

        - +
        • decode

          -
          public ASN1Value decode(java.io.InputStream istream)
          +
          public ASN1Value decode​(java.io.InputStream istream)
                            throws java.io.IOException,
          -                        InvalidBERException
          -
          Description copied from interface: ASN1Template
          + InvalidBERException
          +
          Description copied from interface: ASN1Template
          Decodes an ASN1Value from the InputStream without an implicit tag.
          Specified by:
          -
          decode in interface ASN1Template
          +
          decode in interface ASN1Template
          Parameters:
          istream - Must support marking (markSupported() == true). For example, ByteArrayInputStream and BufferedInputStream @@ -256,26 +292,26 @@

          decode

          ASN.1 value.
          Throws:
          java.io.IOException - If other error occurred.
          -
          InvalidBERException - If there is an invalid BER encoding.
          +
          InvalidBERException - If there is an invalid BER encoding.
        - +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/CRLDistributionPoint.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/CRLDistributionPoint.html index 3fac316c1..fc732983f 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/CRLDistributionPoint.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/CRLDistributionPoint.html @@ -1,11 +1,20 @@ - + CRLDistributionPoint (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class CRLDistributionPoint

    @@ -107,13 +131,12 @@

    Class CRLDistributionPoint<
  • All Implemented Interfaces:
    -
    ASN1Value
    +
    ASN1Value

    -
    public class CRLDistributionPoint
     extends java.lang.Object
    -implements ASN1Value
    +implements ASN1Value
      DistributionPoint ::= SEQUENCE {
           distributionPoint       [0]     DistributionPointName OPTIONAL,
    @@ -140,138 +163,161 @@ 

    Class CRLDistributionPoint<

    @@ -286,12 +333,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -302,40 +350,42 @@

          CRLDistributionPoint

      +
      +
        -
      • +
      • Method Detail

        - +
        • getFullName

          -
          public GeneralNames getFullName()
          +
          public GeneralNames getFullName()
          Returns the fullName of the DistributionPointName, which may be null.
        - +
        • getRelativeName

          -
          public RDN getRelativeName()
          +
          public RDN getRelativeName()
          Returns the relativeName of the DistributionPointName, which may be null.
        - +
        • setFullName

          -
          public void setFullName(GeneralNames fullName)
          -                 throws GeneralNamesException,
          +
          public void setFullName​(GeneralNames fullName)
          +                 throws GeneralNamesException,
                                   java.io.IOException
          Sets the fullName of the DistributionPointName. It may be set to null. If it is set to a non-null value, relativeName will be @@ -343,106 +393,106 @@

          setFullName

          can be specified at a time.
          Throws:
          -
          GeneralNamesException - If an error occurs encoding the +
          GeneralNamesException - If an error occurs encoding the name.
          java.io.IOException
        - +
        • setRelativeName

          -
          public void setRelativeName(RDN relativeName)
          +
          public void setRelativeName​(RDN relativeName)
          Sets the relativeName of the DistributionPointName. It may be set to null. If it is set to a non-null value, fullName will be set to null, because at most one of these two attributes can be specified at a time.
        - +
        • getReasons

          -
          public BitArray getReasons()
          +
          public BitArray getReasons()
          Returns the reason flags for this distribution point. May be null.
        - +
        • setReasons

          -
          public void setReasons(BitArray reasons)
          +
          public void setReasons​(BitArray reasons)
          Sets the reason flags for this distribution point. May be set to null.
        - +
        • getCRLIssuer

          -
          public GeneralNames getCRLIssuer()
          +
          public GeneralNames getCRLIssuer()
          Returns the CRLIssuer for the CRL at this distribution point. May be null.
        - + - +
        • getTag

          -
          public Tag getTag()
          -
          Description copied from interface: ASN1Value
          +
          public Tag getTag()
          +
          Description copied from interface: ASN1Value
          Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
          Specified by:
          -
          getTag in interface ASN1Value
          +
          getTag in interface ASN1Value
          Returns:
          Base tag.
        - +
        • encode

          -
          public void encode(java.io.OutputStream ostream)
          +
          public void encode​(java.io.OutputStream ostream)
                       throws java.io.IOException
          -
          Description copied from interface: ASN1Value
          +
          Description copied from interface: ASN1Value
          Write this value's DER encoding to an output stream using its own base tag.
          Specified by:
          -
          encode in interface ASN1Value
          +
          encode in interface ASN1Value
          Parameters:
          ostream - Output stream.
          Throws:
          @@ -450,21 +500,21 @@

          encode

        - +
        • encode

          -
          public void encode(Tag implicitTag,
          +
          public void encode​(Tag implicitTag,
                              java.io.OutputStream ostream)
                       throws java.io.IOException
          -
          Description copied from interface: ASN1Value
          +
          Description copied from interface: ASN1Value
          Write this value's DER encoding to an output stream using an implicit tag.
          Specified by:
          -
          encode in interface ASN1Value
          +
          encode in interface ASN1Value
          Parameters:
          implicitTag - Implicit tag.
          ostream - Output stream.
          @@ -473,51 +523,55 @@

          encode

        - + - +
      +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/CRLDistributionPointsExtension.Reason.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/CRLDistributionPointsExtension.Reason.html index 2027f3571..da209fb49 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/CRLDistributionPointsExtension.Reason.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/CRLDistributionPointsExtension.Reason.html @@ -1,11 +1,20 @@ - + CRLDistributionPointsExtension.Reason (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class CRLDistributionPointsExtension.Reason

    @@ -107,10 +131,9 @@

    Class CRLD
  • Enclosing class:
    -
    CRLDistributionPointsExtension
    +
    CRLDistributionPointsExtension

    -
    public static class CRLDistributionPointsExtension.Reason
     extends java.lang.Object
    Represents a reason that a cert may be revoked. These reasons are @@ -122,89 +145,106 @@

    Class CRLD

    @@ -219,116 +260,119 @@

    Methods inherited from class java.lang.Object

  • +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/CRLDistributionPointsExtension.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/CRLDistributionPointsExtension.html index a758c8562..6c8535472 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/CRLDistributionPointsExtension.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/CRLDistributionPointsExtension.html @@ -1,11 +1,20 @@ - + CRLDistributionPointsExtension (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class CRLDistributionPointsExtension

    @@ -98,7 +122,7 @@

    Class CRLDistribu
  • java.lang.Object
    • -
    • org.mozilla.jss.netscape.security.x509.Extension
    • +
    • org.mozilla.jss.netscape.security.x509.Extension
      • org.mozilla.jss.netscape.security.x509.CRLDistributionPointsExtension
      • @@ -112,13 +136,12 @@

        Class CRLDistribu
      • All Implemented Interfaces:
        -
        java.io.Serializable, CertAttrSet
        +
        java.io.Serializable, CertAttrSet

        -
        public class CRLDistributionPointsExtension
        -extends Extension
        -implements CertAttrSet
        +extends Extension +implements CertAttrSet
        An extension that tells applications where to find the CRL for this certificate. @@ -154,79 +177,92 @@

        Class CRLDistribu

        @@ -363,12 +418,13 @@

        Methods inherited from class java.lang.Object

        • +
            -
          • +
          • Field Detail

            - +
              @@ -382,7 +438,7 @@

              OID

            - +
              @@ -397,105 +453,109 @@

              NAME

          +
          +
            -
          • +
          • Constructor Detail

            - +
            • CRLDistributionPointsExtension

              -
              public CRLDistributionPointsExtension(java.lang.Boolean critical,
              +
              public CRLDistributionPointsExtension​(java.lang.Boolean critical,
                                                     java.lang.Object value)
              This constructor is called by the CertificateExtensions class to decode an extension whose OID indicates it is a CRLDistributionsPoints extension.
            - +
            • CRLDistributionPointsExtension

              -
              public CRLDistributionPointsExtension(CRLDistributionPoint dp)
              +
              public CRLDistributionPointsExtension​(CRLDistributionPoint dp)
              Creates a new CRLDistributionPoints extension, with the given distribution point as the first element.
          +
          +
            -
          • +
          • Method Detail

            - + - +
            • getNumPoints

              -
              public int getNumPoints()
              +
              public int getNumPoints()
              Returns the number of distribution points in the sequence.
            - + - +
            • setCritical

              -
              public void setCritical(boolean critical)
              +
              public void setCritical​(boolean critical)
              Sets the criticality of this extension. PKIX dictates that this extension SHOULD NOT be critical, so applications can make it critical if they have a very good reason. By default, the extension is not critical.
              Overrides:
              -
              setCritical in class Extension
              +
              setCritical in class Extension
            - +
            • encode

              -
              public void encode(DerOutputStream out)
              +
              public void encode​(DerOutputStream out)
                           throws java.io.IOException
              Encodes this extension to the given DerOutputStream. This method re-encodes each time it is called, so it is not very efficient.
              Overrides:
              -
              encode in class Extension
              +
              encode in class Extension
              Parameters:
              out - the DerOutputStream to write the extension to.
              Throws:
              @@ -503,50 +563,50 @@

              encode

            - +
            • flushCachedEncoding

              -
              public void flushCachedEncoding()
              +
              public void flushCachedEncoding()
              Should be called if any change is made to this data structure so that the cached DER encoding can be discarded.
            - + - +
            • encode

              -
              public void encode(java.io.OutputStream ostream)
              +
              public void encode​(java.io.OutputStream ostream)
                           throws java.security.cert.CertificateException,
                                  java.io.IOException
              DER-encodes this extension to the given OutputStream.
              Specified by:
              -
              encode in interface CertAttrSet
              +
              encode in interface CertAttrSet
              Parameters:
              ostream - the OutputStream to encode the attribute to.
              Throws:
              @@ -555,20 +615,20 @@

              encode

            - +
            • decode

              -
              public void decode(java.io.InputStream in)
              +
              public void decode​(java.io.InputStream in)
                           throws java.security.cert.CertificateException,
                                  java.io.IOException
              -
              Description copied from interface: CertAttrSet
              +
              Description copied from interface: CertAttrSet
              Decodes the attribute in the input stream.
              Specified by:
              -
              decode in interface CertAttrSet
              +
              decode in interface CertAttrSet
              Parameters:
              in - the InputStream to read the encoded attribute from.
              Throws:
              @@ -577,21 +637,21 @@

              decode

            - +
            • set

              -
              public void set(java.lang.String name,
              +
              public void set​(java.lang.String name,
                               java.lang.Object obj)
                        throws java.security.cert.CertificateException,
                               java.io.IOException
              -
              Description copied from interface: CertAttrSet
              +
              Description copied from interface: CertAttrSet
              Sets an attribute value within this CertAttrSet.
              Specified by:
              -
              set in interface CertAttrSet
              +
              set in interface CertAttrSet
              Parameters:
              name - the name of the attribute (e.g. "x509.info.key")
              obj - the attribute object.
              @@ -601,20 +661,20 @@

              set

            - +
            • get

              -
              public java.lang.Object get(java.lang.String name)
              +
              public java.lang.Object get​(java.lang.String name)
                                    throws java.security.cert.CertificateException,
                                           java.io.IOException
              -
              Description copied from interface: CertAttrSet
              +
              Description copied from interface: CertAttrSet
              Gets an attribute value for this CertAttrSet.
              Specified by:
              -
              get in interface CertAttrSet
              +
              get in interface CertAttrSet
              Parameters:
              name - the name of the attribute to return.
              Throws:
              @@ -623,20 +683,20 @@

              get

            - +
            • delete

              -
              public void delete(java.lang.String name)
              +
              public void delete​(java.lang.String name)
                           throws java.security.cert.CertificateException,
                                  java.io.IOException
              -
              Description copied from interface: CertAttrSet
              +
              Description copied from interface: CertAttrSet
              Deletes an attribute value from this CertAttrSet.
              Specified by:
              -
              delete in interface CertAttrSet
              +
              delete in interface CertAttrSet
              Parameters:
              name - the name of the attribute to delete.
              Throws:
              @@ -645,68 +705,72 @@

              delete

            - +
            • getAttributeNames

              -
              public java.util.Enumeration<java.lang.String> getAttributeNames()
              -
              Description copied from interface: CertAttrSet
              +
              public java.util.Enumeration<java.lang.String> getAttributeNames()
              +
              Description copied from interface: CertAttrSet
              Returns an enumeration of the names of the attributes existing within this attribute.
              Specified by:
              -
              getAttributeNames in interface CertAttrSet
              +
              getAttributeNames in interface CertAttrSet
              Returns:
              an enumeration of the attribute names.
            - +
            • getName

              -
              public java.lang.String getName()
              -
              Description copied from interface: CertAttrSet
              +
              public java.lang.String getName()
              +
              Description copied from interface: CertAttrSet
              Returns the name (identifier) of this CertAttrSet.
              Specified by:
              -
              getName in interface CertAttrSet
              +
              getName in interface CertAttrSet
              Returns:
              the name of this CertAttrSet.
            - +
            • main

              -
              public static void main(java.lang.String[] args)
              +
              public static void main​(java.lang.String[] args)
              Test driver.
          +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/CRLExtensions.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/CRLExtensions.html index 14f4d4836..9b986f679 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/CRLExtensions.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/CRLExtensions.html @@ -1,11 +1,20 @@ - + CRLExtensions (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class CRLExtensions

    @@ -104,7 +128,7 @@

    Class CRLExtensions

  • java.util.AbstractList<E>
    • -
    • java.util.Vector<Extension>
    • +
    • java.util.Vector<Extension>
      • org.mozilla.jss.netscape.security.x509.CRLExtensions
      • @@ -122,12 +146,11 @@

        Class CRLExtensions

      • All Implemented Interfaces:
        -
        java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<Extension>, java.util.Collection<Extension>, java.util.List<Extension>, java.util.RandomAccess
        +
        java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<Extension>, java.util.Collection<Extension>, java.util.List<Extension>, java.util.RandomAccess

        -
        public class CRLExtensions
        -extends java.util.Vector<Extension>
        +extends java.util.Vector<Extension>
        This class defines the CRL Extensions.
        See Also:
        @@ -140,20 +163,21 @@

        Class CRLExtensions

        • +
            -
          • +
          • Field Summary

              -
            • +
            • Fields inherited from class java.util.Vector

              capacityIncrement, elementCount, elementData
              -
            • +
            • Fields inherited from class java.util.AbstractList

              @@ -161,106 +185,122 @@

              Fields inherited from class java.util.AbstractList

          +
          +
          +
          +
            -
          • +
          • Method Summary

            - +
            - + + - + - + - + + - - + + - - + + - + + - +
            All Methods Instance Methods Concrete Methods 
            Modifier and TypeMethod and DescriptionMethodDescription
            voiddecode(java.io.InputStream in) +decode​(java.io.InputStream in)
            Decode the extensions from the InputStream.
            voidencode(java.io.OutputStream out, - boolean isExplicit) +encode​(java.io.OutputStream out, + boolean isExplicit)
            Encode the extensions in DER form to the stream.
            booleanequals(java.lang.Object obj) equals​(java.lang.Object obj) 
            Extensionget(java.lang.String alias) +Extensionget​(java.lang.String alias)
            Get the extension with this alias.
            java.util.Enumeration<Extension>getElements() +java.util.Enumeration<Extension>getElements()
            Return an enumeration of names of the extensions.
            inthashCode() hashCode() 
            voidset(java.lang.String alias, - Extension obj) +set​(java.lang.String alias, + Extension obj)
            Set the extension value with this alias.
              -
            • +
            • Methods inherited from class java.util.Vector

              add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, firstElement, forEach, get, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSize
              -
            • +
            • Methods inherited from class java.lang.Object

              finalize, getClass, notify, notifyAll, wait, wait, wait
              -
            • +
            • Methods inherited from interface java.util.Collection

              -parallelStream, stream
            • +parallelStream, stream, toArray
          +
  • @@ -268,12 +308,13 @@

    Methods inherited from interface java.util.Collection

    • +
      +
      +
        -
      • +
      • Method Detail

        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.security.cert.CRLException,
          -                   X509ExtensionException
          + X509ExtensionException
          Decode the extensions from the InputStream.
          Parameters:
          in - the InputStream to unmarshal the contents from.
          Throws:
          java.security.cert.CRLException - on decoding or validity errors.
          -
          X509ExtensionException - on extension handling errors.
          +
          X509ExtensionException - on extension handling errors.
        - +
        • encode

          -
          public void encode(java.io.OutputStream out,
          +
          public void encode​(java.io.OutputStream out,
                              boolean isExplicit)
                       throws java.security.cert.CRLException
          Encode the extensions in DER form to the stream.
          @@ -349,31 +392,31 @@

          encode

        - + - +
        • set

          -
          public void set(java.lang.String alias,
          -                Extension obj)
          +
          public void set​(java.lang.String alias,
          +                Extension obj)
                    throws java.io.IOException
          Set the extension value with this alias.
          @@ -386,13 +429,13 @@

          set

        - +
        • getElements

          -
          public java.util.Enumeration<Extension> getElements()
          +
          public java.util.Enumeration<Extension> getElements()
          Return an enumeration of names of the extensions.
          Returns:
          @@ -400,57 +443,61 @@

          getElements

        - +
        • hashCode

          -
          public int hashCode()
          +
          public int hashCode()
          Specified by:
          -
          hashCode in interface java.util.Collection<Extension>
          +
          hashCode in interface java.util.Collection<Extension>
          Specified by:
          -
          hashCode in interface java.util.List<Extension>
          +
          hashCode in interface java.util.List<Extension>
          Overrides:
          -
          hashCode in class java.util.Vector<Extension>
          +
          hashCode in class java.util.Vector<Extension>
        - +
        • equals

          -
          public boolean equals(java.lang.Object obj)
          +
          public boolean equals​(java.lang.Object obj)
          Specified by:
          -
          equals in interface java.util.Collection<Extension>
          +
          equals in interface java.util.Collection<Extension>
          Specified by:
          -
          equals in interface java.util.List<Extension>
          +
          equals in interface java.util.List<Extension>
          Overrides:
          -
          equals in class java.util.Vector<Extension>
          +
          equals in class java.util.Vector<Extension>
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/CRLNumberExtension.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/CRLNumberExtension.html index c0a524463..05b0c102a 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/CRLNumberExtension.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/CRLNumberExtension.html @@ -1,11 +1,20 @@ - + CRLNumberExtension (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class CRLNumberExtension

    @@ -98,7 +122,7 @@

    Class CRLNumberExtension

  • java.lang.Object
  • @@ -291,12 +337,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -310,7 +357,7 @@

          NAME

        - +
          @@ -325,19 +372,21 @@

          NUMBER

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • CRLNumberExtension

          -
          public CRLNumberExtension(int crlNum)
          +
          public CRLNumberExtension​(int crlNum)
                              throws java.io.IOException
          Create a CRLNumberExtension with the integer value . The criticality is set to false.
          @@ -349,13 +398,13 @@

          CRLNumberExtension

        - +
        • CRLNumberExtension

          -
          public CRLNumberExtension(java.math.BigInteger crlNum)
          +
          public CRLNumberExtension​(java.math.BigInteger crlNum)
                              throws java.io.IOException
          Create a CRLNumberExtension with the BigInteger value . The criticality is set to false.
          @@ -367,13 +416,13 @@

          CRLNumberExtension

        - +
        • CRLNumberExtension

          -
          public CRLNumberExtension(java.lang.Boolean critical,
          +
          public CRLNumberExtension​(java.lang.Boolean critical,
                                     java.math.BigInteger crlNum)
                              throws java.io.IOException
          Create a CRLNumberExtension with the BigInteger value .
          @@ -386,13 +435,13 @@

          CRLNumberExtension

        - +
        • CRLNumberExtension

          -
          public CRLNumberExtension(java.lang.Boolean critical,
          +
          public CRLNumberExtension​(java.lang.Boolean critical,
                                     java.lang.Object value)
                              throws java.io.IOException
          Create the extension from the passed DER encoded value of the same.
          @@ -407,25 +456,27 @@

          CRLNumberExtension

      +
      +
        -
      • +
      • Method Detail

        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.io.IOException
          Set the attribute value.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the name of the attribute (e.g. "x509.info.key")
          obj - the attribute object.
          @@ -434,18 +485,18 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.io.IOException
          Get the attribute value.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the name of the attribute to return.
          Throws:
          @@ -453,18 +504,18 @@

          get

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.io.IOException
          Delete the attribute value.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the name of the attribute to delete.
          Throws:
          @@ -472,37 +523,37 @@

          delete

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns a printable representation of the CRLNumberExtension.
          Specified by:
          -
          toString in interface CertAttrSet
          +
          toString in interface CertAttrSet
          Overrides:
          -
          toString in class Extension
          +
          toString in class Extension
          Returns:
          value of this certificate attribute in printable form.
        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.io.IOException
          Decode the extension from the InputStream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to unmarshal the contents from.
          Throws:
          @@ -510,18 +561,18 @@

          decode

        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.io.IOException
          Write the extension to the DerOutputStream.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the DerOutputStream to write the extension to.
          Throws:
          @@ -529,34 +580,34 @@

          encode

        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          Return an enumeration of names of attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Return the name of this attribute.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
          @@ -564,21 +615,25 @@

          getName

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/CRLReasonExtension.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/CRLReasonExtension.html index 53d3fb67e..d28519870 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/CRLReasonExtension.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/CRLReasonExtension.html @@ -1,11 +1,20 @@ - + CRLReasonExtension (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class CRLReasonExtension

    @@ -98,7 +122,7 @@

    Class CRLReasonExtension

  • java.lang.Object
  • @@ -341,103 +400,104 @@

    Methods inherited from class java.lang.Object

    • +
      +
      +
        -
      • +
      • Constructor Detail

        - +
          @@ -482,24 +544,24 @@

          CRLReasonExtension

          Default constructor
        - +
        • CRLReasonExtension

          -
          public CRLReasonExtension(RevocationReason reason)
          +
          public CRLReasonExtension​(RevocationReason reason)
          Create extension value for specific revocation reason
        - +
        • CRLReasonExtension

          -
          public CRLReasonExtension(java.lang.Boolean critical,
          -                          RevocationReason reason)
          +
          public CRLReasonExtension​(java.lang.Boolean critical,
          +                          RevocationReason reason)
                              throws java.io.IOException
          Throws:
          @@ -507,13 +569,13 @@

          CRLReasonExtension

        - +
        • CRLReasonExtension

          -
          public CRLReasonExtension(java.lang.Boolean critical,
          +
          public CRLReasonExtension​(java.lang.Boolean critical,
                                     java.lang.Object value)
                              throws java.io.IOException
          Create the object from the passed DER encoded value.
          @@ -527,34 +589,36 @@

          CRLReasonExtension

      +
      +
        -
      • +
      • Method Detail

        - + - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.io.IOException
          Set the attribute value.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the name of the attribute (e.g. "x509.info.key")
          obj - the attribute object.
          @@ -563,18 +627,18 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.io.IOException
          Get the attribute value.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the name of the attribute to return.
          Throws:
          @@ -582,18 +646,18 @@

          get

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.io.IOException
          Delete the attribute value.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the name of the attribute to delete.
          Throws:
          @@ -601,37 +665,37 @@

          delete

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns a printable representation of the ReasonFlags.
          Specified by:
          -
          toString in interface CertAttrSet
          +
          toString in interface CertAttrSet
          Overrides:
          -
          toString in class Extension
          +
          toString in class Extension
          Returns:
          value of this certificate attribute in printable form.
        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.io.IOException
          Decode the extension from the InputStream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to unmarshal the contents from.
          Throws:
          @@ -639,18 +703,18 @@

          decode

        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.io.IOException
          Write the extension to the DerOutputStream.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the OutputStream to write the extension to.
          Throws:
          @@ -658,59 +722,59 @@

          encode

        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          Return an enumeration of names of attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Return the name of this attribute.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
        - +
        • equals

          -
          public boolean equals(java.lang.Object other)
          +
          public boolean equals​(java.lang.Object other)
          Overrides:
          equals in class java.lang.Object
        - +
        • hashCode

          -
          public int hashCode()
          +
          public int hashCode()
          Overrides:
          hashCode in class java.lang.Object
          @@ -719,21 +783,25 @@

          hashCode

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertAndKeyGen.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertAndKeyGen.html index 9a47f607e..7c7f8168e 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertAndKeyGen.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertAndKeyGen.html @@ -1,11 +1,20 @@ - + CertAndKeyGen (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class CertAndKeyGen

    @@ -106,7 +130,6 @@

    Class CertAndKeyGen


    • -
      public final class CertAndKeyGen
       extends java.lang.Object
      Generate a pair of keys, and provide access to them. This class is @@ -128,8 +151,8 @@

      Class CertAndKeyGen

      used for secure key exchange, may be supported later.
      See Also:
      -
      PKCS10, -X509CertImpl
      +
      PKCS10, +X509CertImpl
    @@ -138,19 +161,22 @@

    Class CertAndKeyGen

    @@ -236,18 +273,19 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • CertAndKeyGen

          -
          public CertAndKeyGen(java.lang.String keyType,
          +
          public CertAndKeyGen​(java.lang.String keyType,
                                java.lang.String sigAlg)
                         throws java.security.NoSuchAlgorithmException
          Creates a CertAndKeyGen object for a particular key type @@ -264,21 +302,25 @@

          CertAndKeyGen

      +
      +
        -
      • +
      • Method Detail

        - +
        • setRandom

          -
          @Deprecated
          -public void setRandom(java.security.SecureRandom generator)
          -
          Deprecated. All random numbers come from PKCS #11 now.
          +
          @Deprecated
          +public void setRandom​(java.security.SecureRandom generator)
          +
          Deprecated. +
          All random numbers come from PKCS #11 now.
          +
          Sets the source of random numbers used when generating keys. If you do not provide one, a system default facility is used. You may wish to provide your own source of random numbers @@ -287,13 +329,13 @@

          setRandom

          of randomness/entropy in your environment.
        - +
        • generate

          -
          public void generate(int keyBits)
          +
          public void generate​(int keyBits)
                         throws java.security.InvalidKeyException
          Generates a random public/private key pair, with a given key size. Different algorithms provide different degrees of security @@ -314,23 +356,23 @@

          generate

        - +
        • getPublicKey

          -
          public X509Key getPublicKey()
          +
          public X509Key getPublicKey()
          Returns the public key of the generated key pair.
        - +
        • getPrivateKey

          -
          public java.security.PrivateKey getPrivateKey()
          +
          public java.security.PrivateKey getPrivateKey()
          Returns the private key of the generated key pair.

          @@ -340,19 +382,21 @@

          getPrivateKey

          security risk!
        - +
        • getSelfCert

          -
          @Deprecated
          -public X509Cert getSelfCert(X500Name myname,
          -                                        long validity)
          -                                 throws java.security.InvalidKeyException,
          -                                        java.security.SignatureException,
          -                                        java.security.NoSuchAlgorithmException
          -
          Deprecated. Use the new getSelfCertificate(X500Name, long)
          +
          @Deprecated
          +public X509Cert getSelfCert​(X500Name myname,
          +                            long validity)
          +                     throws java.security.InvalidKeyException,
          +                            java.security.SignatureException,
          +                            java.security.NoSuchAlgorithmException
          +
          Deprecated. + +
          Returns a self-signed X.509v1 certificate for the public key. The certificate is immediately valid. @@ -371,13 +415,13 @@

          getSelfCert

        - +
        • getSelfCertificate

          -
          public java.security.cert.X509Certificate getSelfCertificate(X500Name myname,
          +
          public java.security.cert.X509Certificate getSelfCertificate​(X500Name myname,
                                                                        long validity)
                                                                 throws java.security.cert.CertificateException,
                                                                        java.security.InvalidKeyException,
          @@ -404,13 +448,13 @@ 

          getSelfCertificate

        - +
        • getCertRequest

          -
          public PKCS10 getCertRequest(X500Name myname)
          +
          public PKCS10 getCertRequest​(X500Name myname)
                                 throws java.security.InvalidKeyException,
                                        java.security.SignatureException
          Returns a PKCS #10 certificate request. The caller uses either PKCS10.print or @@ -431,21 +475,25 @@

          getCertRequest

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertAttrSet.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertAttrSet.html index eae47e616..14eb7c9b0 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertAttrSet.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertAttrSet.html @@ -1,11 +1,20 @@ - + CertAttrSet (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Interface CertAttrSet

    @@ -99,10 +123,9 @@

    Interface CertAttrSet

  • All Known Implementing Classes:
    -
    ACertAttrSet, AuthInfoAccessExtension, AuthorityKeyIdentifierExtension, BasicConstraintsExtension, CertificateAlgorithmId, CertificateExtensions, CertificateIssuerExtension, CertificateIssuerName, CertificateIssuerUniqueIdentity, CertificatePoliciesExtension, CertificateRenewalWindowExtension, CertificateScopeOfUseExtension, CertificateSerialNumber, CertificateSubjectName, CertificateSubjectUniqueIdentity, CertificateValidity, CertificateVersion, CertificateX509Key, CertInfo, CRLDistributionPointsExtension, CRLNumberExtension, CRLReasonExtension, DeltaCRLIndicatorExtension, ExtendedKeyUsageExtension, Extensions, FreshestCRLExtension, GenericASN1Extension, HoldInstructionExtension, InhibitAnyPolicyExtension, InvalidityDateExtension, IssuerAlternativeNameExtension, IssuingDistributionPointExtension, KeyUsageExtension, NameConstraintsExtension, NSCCommentExtension, NSCertTypeExtension, OCSPNoCheckExtension, PolicyConstraintsExtension, PolicyMappingsExtension, PresenceServerExtension, PrivateKeyUsageExtension, SubjectAlternativeNameExtension, SubjectDirAttributesExtension, SubjectInfoAccessExtension, SubjectKeyIdentifierExtension, X509CertInfo
    +
    ACertAttrSet, AuthInfoAccessExtension, AuthorityKeyIdentifierExtension, BasicConstraintsExtension, CertificateAlgorithmId, CertificateExtensions, CertificateIssuerExtension, CertificateIssuerName, CertificateIssuerUniqueIdentity, CertificatePoliciesExtension, CertificateRenewalWindowExtension, CertificateScopeOfUseExtension, CertificateSerialNumber, CertificateSubjectName, CertificateSubjectUniqueIdentity, CertificateValidity, CertificateVersion, CertificateX509Key, CertInfo, CRLDistributionPointsExtension, CRLNumberExtension, CRLReasonExtension, DeltaCRLIndicatorExtension, ExtendedKeyUsageExtension, Extensions, FreshestCRLExtension, GenericASN1Extension, HoldInstructionExtension, InhibitAnyPolicyExtension, InvalidityDateExtension, IssuerAlternativeNameExtension, IssuingDistributionPointExtension, KeyUsageExtension, NameConstraintsExtension, NSCCommentExtension, NSCertTypeExtension, OCSPNoCheckExtension, PolicyConstraintsExtension, PolicyMappingsExtension, PresenceServerExtension, PrivateKeyUsageExtension, SubjectAlternativeNameExtension, SubjectDirAttributesExtension, SubjectInfoAccessExtension, SubjectKeyIdentifierExtension, X509CertInfo

    -
    public interface CertAttrSet
    This interface defines the methods required of a certificate attribute. Examples of X.509 certificate attributes are Validity, Issuer_Name, and @@ -122,71 +145,82 @@

    Interface CertAttrSet

    • +
        -
      • +
      • Method Summary

        - +
        - + + - + - + - + - + - + - + - + - +
        All Methods Instance Methods Abstract Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        voiddecode(java.io.InputStream in) +decode​(java.io.InputStream in)
        Decodes the attribute in the input stream.
        voiddelete(java.lang.String name) +delete​(java.lang.String name)
        Deletes an attribute value from this CertAttrSet.
        voidencode(java.io.OutputStream out) +encode​(java.io.OutputStream out)
        Encodes the attribute to the output stream in a format that can be parsed by the decode method.
        java.lang.Objectget(java.lang.String name) +get​(java.lang.String name)
        Gets an attribute value for this CertAttrSet.
        java.util.Enumeration<java.lang.String>getAttributeNames() +getAttributeNames()
        Returns an enumeration of the names of the attributes existing within this attribute.
        java.lang.StringgetName() +getName()
        Returns the name (identifier) of this CertAttrSet.
        voidset(java.lang.String name, - java.lang.Object obj) +set​(java.lang.String name, + java.lang.Object obj)
        Sets an attribute value within this CertAttrSet.
        java.lang.StringtoString() +toString()
        Returns a short string describing this certificate attribute.
      +
    @@ -194,18 +228,19 @@

    Method Summary

    • +
        -
      • +
      • Method Detail

        - +
        • toString

          -
          java.lang.String toString()
          +
          java.lang.String toString()
          Returns a short string describing this certificate attribute.
          Overrides:
          @@ -216,13 +251,13 @@

          toString

        - +
        • encode

          -
          void encode(java.io.OutputStream out)
          +
          void encode​(java.io.OutputStream out)
                throws java.security.cert.CertificateException,
                       java.io.IOException
          Encodes the attribute to the output stream in a format @@ -236,13 +271,13 @@

          encode

        - +
        • decode

          -
          void decode(java.io.InputStream in)
          +
          void decode​(java.io.InputStream in)
                throws java.security.cert.CertificateException,
                       java.io.IOException
          Decodes the attribute in the input stream.
          @@ -255,13 +290,13 @@

          decode

        - +
        • set

          -
          void set(java.lang.String name,
          +
          void set​(java.lang.String name,
                    java.lang.Object obj)
             throws java.security.cert.CertificateException,
                    java.io.IOException
          @@ -276,13 +311,13 @@

          set

        - +
        • get

          -
          java.lang.Object get(java.lang.String name)
          +
          java.lang.Object get​(java.lang.String name)
                         throws java.security.cert.CertificateException,
                                java.io.IOException
          Gets an attribute value for this CertAttrSet.
          @@ -295,13 +330,13 @@

          get

        - +
        • delete

          -
          void delete(java.lang.String name)
          +
          void delete​(java.lang.String name)
                throws java.security.cert.CertificateException,
                       java.io.IOException
          Deletes an attribute value from this CertAttrSet.
          @@ -314,13 +349,13 @@

          delete

        - +
        • getAttributeNames

          -
          java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          java.util.Enumeration<java.lang.String> getAttributeNames()
          Returns an enumeration of the names of the attributes existing within this attribute.
          @@ -329,13 +364,13 @@

          getAttributeNames

        - +
        • getName

          -
          java.lang.String getName()
          +
          java.lang.String getName()
          Returns the name (identifier) of this CertAttrSet.
          Returns:
          @@ -345,21 +380,25 @@

          getName

      +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertException.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertException.html index 75a3cd28f..421cfdb31 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertException.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertException.html @@ -1,11 +1,20 @@ - + CertException (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class CertException

    @@ -127,10 +151,9 @@

    Class CertException

  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public class CertException
     extends java.lang.SecurityException
    CertException indicates one of a variety of certificate problems.
    @@ -145,113 +168,132 @@

    Class CertException

  • @@ -328,12 +379,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -347,7 +399,7 @@

          verf_INVALID_SIG

        - +
          @@ -361,7 +413,7 @@

          verf_INVALID_REVOKED

        - +
          @@ -375,7 +427,7 @@

          verf_INVALID_NOTBEFORE

        - +
          @@ -389,7 +441,7 @@

          verf_INVALID_EXPIRED

        - +
          @@ -404,7 +456,7 @@

          verf_CA_UNTRUSTED

        - +
          @@ -418,7 +470,7 @@

          verf_CHAIN_LENGTH

        - +
          @@ -432,7 +484,7 @@

          verf_PARSE_ERROR

        - +
          @@ -446,7 +498,7 @@

          err_CONSTRUCTION

        - +
          @@ -460,7 +512,7 @@

          err_INVALID_PUBLIC_KEY

        - +
          @@ -474,7 +526,7 @@

          err_INVALID_VERSION

        - +
          @@ -488,7 +540,7 @@

          err_INVALID_FORMAT

        - +
          @@ -504,83 +556,87 @@

          err_ENCODING

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • CertException

          -
          public CertException(int code,
          +
          public CertException​(int code,
                                java.lang.String moredata)
          Constructs a certificate exception using an error code (verf_*) and a string describing the context of the error.
        - +
        • CertException

          -
          public CertException(int code)
          +
          public CertException​(int code)
          Constructs a certificate exception using just an error code, without a string describing the context.
      +
      +
        -
      • +
      • Method Detail

        - +
        • getVerfCode

          -
          public int getVerfCode()
          +
          public int getVerfCode()
          Returns the error code with which the exception was created.
        - +
        • getMoreData

          -
          public java.lang.String getMoreData()
          +
          public java.lang.String getMoreData()
          Returns a string describing the context in which the exception was reported.
        - +
        • getVerfDescription

          -
          public java.lang.String getVerfDescription()
          +
          public java.lang.String getVerfDescription()
          Return a string corresponding to the error code used to create this exception.
        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns a string describing the certificate exception.
          Overrides:
          @@ -588,13 +644,13 @@

          toString

        - +
        • getMessage

          -
          public java.lang.String getMessage()
          +
          public java.lang.String getMessage()
          Returns a string describing the certificate exception.
          Overrides:
          @@ -604,21 +660,25 @@

          getMessage

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateAlgorithmId.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateAlgorithmId.html index 9eae752b6..7ffa86f21 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateAlgorithmId.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateAlgorithmId.html @@ -1,11 +1,20 @@ - + CertificateAlgorithmId (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class CertificateAlgorithmId

    @@ -107,13 +131,12 @@

    Class CertificateAlgorith
  • All Implemented Interfaces:
    -
    java.io.Serializable, CertAttrSet
    +
    java.io.Serializable, CertAttrSet

    -
    public class CertificateAlgorithmId
     extends java.lang.Object
    -implements CertAttrSet, java.io.Serializable
    +implements CertAttrSet, java.io.Serializable
    This class defines the AlgorithmId for the Certificate.
    See Also:
    @@ -126,131 +149,153 @@

    Class CertificateAlgorith
    • +
        -
      • +
      • Field Summary

        - +
        - + + - + + - + - +
        Fields 
        Modifier and TypeField and DescriptionFieldDescription
        static java.lang.StringALGORITHM ALGORITHM 
        static java.lang.StringIDENT +IDENT
        Identifier for this attribute, to be used with the get, set, delete methods of Certificate, x509 type.
        static java.lang.StringNAME +NAME
        Sub attributes name for this CertAttrSet.
      +
      +
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - + - + - + - + - + - + - + - +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        voiddecode(java.io.InputStream in) +decode​(java.io.InputStream in)
        Decode the algorithm identifier from the passed stream.
        voiddelete(java.lang.String name) +delete​(java.lang.String name)
        Delete the attribute value.
        voidencode(java.io.OutputStream out) +encode​(java.io.OutputStream out)
        Encode the algorithm identifier in DER form to the stream.
        java.lang.Objectget(java.lang.String name) +get​(java.lang.String name)
        Get the attribute value.
        java.util.Enumeration<java.lang.String>getAttributeNames() +getAttributeNames()
        Return an enumeration of names of attributes existing within this attribute.
        java.lang.StringgetName() +getName()
        Return the name of this attribute.
        voidset(java.lang.String name, - java.lang.Object obj) +set​(java.lang.String name, + java.lang.Object obj)
        Set the attribute value.
        java.lang.StringtoString() +toString()
        Return the algorithm identifier as user readable string.
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -258,6 +303,7 @@

          Methods inherited from class java.lang.Object

      +

  • @@ -265,12 +311,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -285,7 +332,7 @@

          IDENT

        - +
          @@ -299,7 +346,7 @@

          NAME

        - +
          @@ -314,19 +361,21 @@

          ALGORITHM

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • CertificateAlgorithmId

          -
          public CertificateAlgorithmId(AlgorithmId algId)
          +
          public CertificateAlgorithmId​(AlgorithmId algId)
          Default constructor for the certificate attribute.
          Parameters:
          @@ -334,13 +383,13 @@

          CertificateAlgorithmId

        - +
        • CertificateAlgorithmId

          -
          public CertificateAlgorithmId(DerInputStream in)
          +
          public CertificateAlgorithmId​(DerInputStream in)
                                  throws java.io.IOException
          Create the object, decoding the values from the passed DER stream.
          @@ -351,13 +400,13 @@

          CertificateAlgorithmId

        - +
        • CertificateAlgorithmId

          -
          public CertificateAlgorithmId(java.io.InputStream in)
          +
          public CertificateAlgorithmId​(java.io.InputStream in)
                                  throws java.io.IOException
          Create the object, decoding the values from the passed stream.
          @@ -370,23 +419,25 @@

          CertificateAlgorithmId

      +
      +
        -
      • +
      • Method Detail

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Return the algorithm identifier as user readable string.
          Specified by:
          -
          toString in interface CertAttrSet
          +
          toString in interface CertAttrSet
          Overrides:
          toString in class java.lang.Object
          Returns:
          @@ -395,18 +446,18 @@

          toString

        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.io.IOException
          Encode the algorithm identifier in DER form to the stream.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the DerOutputStream to marshal the contents to.
          Throws:
          @@ -414,18 +465,18 @@

          encode

        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.io.IOException
          Decode the algorithm identifier from the passed stream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to unmarshal the contents from.
          Throws:
          @@ -433,19 +484,19 @@

          decode

        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.io.IOException
          Set the attribute value.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the name of the attribute (e.g. "x509.info.key")
          obj - the attribute object.
          @@ -454,18 +505,18 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.io.IOException
          Get the attribute value.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the name of the attribute to return.
          Throws:
          @@ -473,18 +524,18 @@

          get

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.io.IOException
          Delete the attribute value.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the name of the attribute to delete.
          Throws:
          @@ -492,34 +543,34 @@

          delete

        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          Return an enumeration of names of attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Return the name of this attribute.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
          @@ -527,21 +578,25 @@

          getName

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateChain.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateChain.html index 9e84d7aaf..f9d90f67f 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateChain.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateChain.html @@ -1,11 +1,20 @@ - + CertificateChain (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class CertificateChain

    @@ -107,10 +131,9 @@

    Class CertificateChain

  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public class CertificateChain
     extends java.lang.Object
     implements java.io.Serializable
    @@ -125,102 +148,119 @@

    Class CertificateChain

    • +
        -
      • +
      • Constructor Summary

        - +
        - + + - + - + - +
        Constructors 
        Constructor and DescriptionConstructorDescription
        CertificateChain() +CertificateChain()
        Constructs an empty certificate chain.
        CertificateChain(java.security.cert.X509Certificate cert) +CertificateChain​(java.security.cert.X509Certificate cert)
        constructs a certificate chain from a certificate.
        CertificateChain(java.security.cert.X509Certificate[] certs) +CertificateChain​(java.security.cert.X509Certificate[] certs)
        constructs a certificate chain from a X509 certificate array.
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - + - + + - + - + - + - + - + - + - +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        voiddecode(java.io.InputStream in) +decode​(java.io.InputStream in)
        decode from PKCS7 blob.
        voidencode(java.io.OutputStream out) encode​(java.io.OutputStream out) 
        voidencode(java.io.OutputStream out, - boolean sort) +encode​(java.io.OutputStream out, + boolean sort)
        encode in PKCS7 blob.
        java.security.cert.X509CertificategetCertificate(int index) +getCertificate​(int index)
        returns the certificate at specified index in chain.
        java.util.List<java.security.cert.X509Certificate>getCertificates() +getCertificates()
        Returns the certificate list.
        java.security.cert.X509Certificate[]getChain() +getChain()
        returns the certificate chain as an array of X509 certificates.
        java.security.cert.X509CertificategetFirstCertificate() +getFirstCertificate()
        returns the first certificate in chain.
        voidsort() +sort()
        Sorts certificate chain from root to leaf.
        java.lang.StringtoString() +toString()
        Converts the certificate chain to a readable string.
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -228,6 +268,7 @@

          Methods inherited from class java.lang.Object

      +
  • @@ -235,12 +276,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -250,13 +292,13 @@

          CertificateChain

          Constructs an empty certificate chain.
        - +
        • CertificateChain

          -
          public CertificateChain(java.security.cert.X509Certificate cert)
          +
          public CertificateChain​(java.security.cert.X509Certificate cert)
          constructs a certificate chain from a certificate.
          Parameters:
          @@ -264,13 +306,13 @@

          CertificateChain

        - +
        • CertificateChain

          -
          public CertificateChain(java.security.cert.X509Certificate[] certs)
          +
          public CertificateChain​(java.security.cert.X509Certificate[] certs)
          constructs a certificate chain from a X509 certificate array.
          Parameters:
          @@ -280,19 +322,21 @@

          CertificateChain

      +
      +
        -
      • +
      • Method Detail

        - +
        • getCertificates

          -
          public java.util.List<java.security.cert.X509Certificate> getCertificates()
          +
          public java.util.List<java.security.cert.X509Certificate> getCertificates()
          Returns the certificate list.
          Returns:
          @@ -300,13 +344,13 @@

          getCertificates

        - +
        • getCertificate

          -
          public java.security.cert.X509Certificate getCertificate(int index)
          +
          public java.security.cert.X509Certificate getCertificate​(int index)
          returns the certificate at specified index in chain.
          Parameters:
          @@ -316,13 +360,13 @@

          getCertificate

        - +
        • getFirstCertificate

          -
          public java.security.cert.X509Certificate getFirstCertificate()
          +
          public java.security.cert.X509Certificate getFirstCertificate()
          returns the first certificate in chain.
          Returns:
          @@ -330,13 +374,13 @@

          getFirstCertificate

        - +
        • getChain

          -
          public java.security.cert.X509Certificate[] getChain()
          +
          public java.security.cert.X509Certificate[] getChain()
          returns the certificate chain as an array of X509 certificates.
          Returns:
          @@ -344,13 +388,13 @@

          getChain

        - +
        • sort

          -
          public void sort()
          +
          public void sort()
                     throws java.lang.Exception
          Sorts certificate chain from root to leaf.
          @@ -359,13 +403,13 @@

          sort

        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.io.IOException
          Throws:
          @@ -373,13 +417,13 @@

          encode

        - +
        • encode

          -
          public void encode(java.io.OutputStream out,
          +
          public void encode​(java.io.OutputStream out,
                              boolean sort)
                       throws java.io.IOException
          encode in PKCS7 blob.
          @@ -389,13 +433,13 @@

          encode

        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.io.IOException
          decode from PKCS7 blob.
          @@ -404,13 +448,13 @@

          decode

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Converts the certificate chain to a readable string.
          Overrides:
          @@ -420,21 +464,25 @@

          toString

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateExtensions.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateExtensions.html index 198228a6b..13b98c53e 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateExtensions.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateExtensions.html @@ -1,11 +1,20 @@ - + CertificateExtensions (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class CertificateExtensions

    @@ -104,7 +128,7 @@

    Class CertificateExtension
  • java.util.AbstractList<E>
    • -
    • java.util.Vector<Extension>
    • +
    • java.util.Vector<Extension>
      • org.mozilla.jss.netscape.security.x509.CertificateExtensions
      • @@ -122,17 +146,16 @@

        Class CertificateExtension
      • All Implemented Interfaces:
        -
        java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<Extension>, java.util.Collection<Extension>, java.util.List<Extension>, java.util.RandomAccess, CertAttrSet
        +
        java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<Extension>, java.util.Collection<Extension>, java.util.List<Extension>, java.util.RandomAccess, CertAttrSet

        -
        public class CertificateExtensions
        -extends java.util.Vector<Extension>
        -implements CertAttrSet, java.io.Serializable
        +extends java.util.Vector<Extension> +implements CertAttrSet, java.io.Serializable
        This class defines the Extensions attribute for the Certificate.
        See Also:
        -
        CertAttrSet, +
        CertAttrSet, Serialized Form
      • @@ -142,40 +165,44 @@

        Class CertificateExtension
        • +
            -
          • +
          • Field Summary

            - +
            - + + - + - +
            Fields 
            Modifier and TypeField and DescriptionFieldDescription
            static java.lang.StringIDENT +IDENT
            Identifier for this attribute, to be used with the get, set, delete methods of Certificate, x509 type.
            static java.lang.StringNAME +NAME
            name
              -
            • +
            • Fields inherited from class java.util.Vector

              capacityIncrement, elementCount, elementData
              -
            • +
            • Fields inherited from class java.util.AbstractList

              @@ -183,146 +210,168 @@

              Fields inherited from class java.util.AbstractList

          +
          +
          +
          +
            -
          • +
          • Method Summary

            - +
            - + + - + - + - + - + - + + - + - + - - + + - + - + + - + + - + + - +
            All Methods Instance Methods Concrete Methods 
            Modifier and TypeMethod and DescriptionMethodDescription
            voiddecode(java.io.InputStream in) +decode​(java.io.InputStream in)
            Decode the extensions from the InputStream.
            voiddecodeEx(java.io.InputStream in) +decodeEx​(java.io.InputStream in)
            Decode the extensions from the InputStream.
            voiddelete(java.lang.String name) +delete​(java.lang.String name)
            Delete the attribute value.
            voidencode(java.io.OutputStream out) +encode​(java.io.OutputStream out)
            Encode the extensions in DER form to the stream.
            booleanequals(java.lang.Object obj) equals​(java.lang.Object obj) 
            java.lang.Objectget(java.lang.String name) +get​(java.lang.String name)
            Get the attribute value.
            java.util.Enumeration<java.lang.String>getAttributeNames() +getAttributeNames()
            Returns an enumeration of the names of the attributes existing within this attribute.
            java.util.Enumeration<Extension>getAttributes() +java.util.Enumeration<Extension>getAttributes()
            Return an enumeration of names of attributes existing within this attribute.
            java.lang.StringgetName() +getName()
            Return the name of this attribute.
            java.util.Enumeration<java.lang.String>getNames() getNames() 
            inthashCode() hashCode() 
            voidparseExtension(Extension ext) parseExtension​(Extension ext) 
            voidset(java.lang.String name, - java.lang.Object obj) +set​(java.lang.String name, + java.lang.Object obj)
            Set the attribute value.
              -
            • +
            • Methods inherited from class java.util.Vector

              add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, firstElement, forEach, get, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSize
              -
            • +
            • Methods inherited from class java.lang.Object

              -finalize, getClass, notify, notifyAll, toString, wait, wait, wait
            • +finalize, getClass, notify, notifyAll, wait, wait, wait
              -
            • +
            • Methods inherited from interface java.util.Collection

              -parallelStream, stream
            • +parallelStream, stream, toArray
          +

  • @@ -330,12 +379,13 @@

    Methods inherited from interface java.util.Collection

    • +
        -
      • +
      • Field Detail

        - +
          @@ -350,7 +400,7 @@

          IDENT

        - +
          @@ -366,13 +416,15 @@

          NAME

      +
      +
        -
      • +
      • Constructor Detail

        - +
          @@ -382,13 +434,13 @@

          CertificateExtensions

          Default constructor for the certificate attribute.
        - +
        • CertificateExtensions

          -
          public CertificateExtensions(DerInputStream in)
          +
          public CertificateExtensions​(DerInputStream in)
                                 throws java.io.IOException
          Create the object, decoding the values from the passed DER stream.
          @@ -401,19 +453,21 @@

          CertificateExtensions

      +
      +
        -
      • +
      • Method Detail

        - +
        • parseExtension

          -
          public void parseExtension(Extension ext)
          +
          public void parseExtension​(Extension ext)
                               throws java.io.IOException
          Throws:
          @@ -421,18 +475,18 @@

          parseExtension

        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.io.IOException
          Decode the extensions from the InputStream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to unmarshal the contents from.
          Throws:
          @@ -440,13 +494,13 @@

          decode

        - +
        • decodeEx

          -
          public void decodeEx(java.io.InputStream in)
          +
          public void decodeEx​(java.io.InputStream in)
                         throws java.io.IOException
          Decode the extensions from the InputStream.
          @@ -457,19 +511,19 @@

          decodeEx

        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.security.cert.CertificateException,
                              java.io.IOException
          Encode the extensions in DER form to the stream.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the DerOutputStream to marshal the contents to.
          Throws:
          @@ -478,19 +532,19 @@

          encode

        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.io.IOException
          Set the attribute value.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the extension name used in the cache.
          obj - the object to set.
          @@ -499,18 +553,18 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.io.IOException
          Get the attribute value.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the extension name used in the lookup.
          Throws:
          @@ -518,18 +572,18 @@

          get

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.io.IOException
          Delete the attribute value.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the extension name used in the lookup.
          Throws:
          @@ -537,111 +591,115 @@

          delete

        - +
        • getNames

          -
          public java.util.Enumeration<java.lang.String> getNames()
          +
          public java.util.Enumeration<java.lang.String> getNames()
        - +
        • getAttributes

          -
          public java.util.Enumeration<Extension> getAttributes()
          +
          public java.util.Enumeration<Extension> getAttributes()
          Return an enumeration of names of attributes existing within this attribute.
        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          -
          Description copied from interface: CertAttrSet
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          Description copied from interface: CertAttrSet
          Returns an enumeration of the names of the attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Return the name of this attribute.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
        - +
        • hashCode

          -
          public int hashCode()
          +
          public int hashCode()
          Specified by:
          -
          hashCode in interface java.util.Collection<Extension>
          +
          hashCode in interface java.util.Collection<Extension>
          Specified by:
          -
          hashCode in interface java.util.List<Extension>
          +
          hashCode in interface java.util.List<Extension>
          Overrides:
          -
          hashCode in class java.util.Vector<Extension>
          +
          hashCode in class java.util.Vector<Extension>
        - +
        • equals

          -
          public boolean equals(java.lang.Object obj)
          +
          public boolean equals​(java.lang.Object obj)
          Specified by:
          -
          equals in interface java.util.Collection<Extension>
          +
          equals in interface java.util.Collection<Extension>
          Specified by:
          -
          equals in interface java.util.List<Extension>
          +
          equals in interface java.util.List<Extension>
          Overrides:
          -
          equals in class java.util.Vector<Extension>
          +
          equals in class java.util.Vector<Extension>
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateIssuerExtension.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateIssuerExtension.html index 9ce67a94e..97f568828 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateIssuerExtension.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateIssuerExtension.html @@ -1,11 +1,20 @@ - + CertificateIssuerExtension (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class CertificateIssuerExtension

    @@ -98,7 +122,7 @@

    Class CertificateIssu
  • java.lang.Object
  • @@ -297,12 +344,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -316,7 +364,7 @@

          NAME

        - +
          @@ -329,7 +377,7 @@

          CERTIFICATE_ISSUER

        - +
          @@ -345,20 +393,22 @@

          OID

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • CertificateIssuerExtension

          -
          public CertificateIssuerExtension(java.lang.Boolean critical,
          -                                  GeneralNames names)
          +
          public CertificateIssuerExtension​(java.lang.Boolean critical,
          +                                  GeneralNames names)
                                      throws java.io.IOException
          Create a CertificateIssuerExtension with the passed GeneralNames and criticality.
          @@ -371,13 +421,13 @@

          CertificateIssuerExtension

        - +
        • CertificateIssuerExtension

          -
          public CertificateIssuerExtension(GeneralNames names)
          +
          public CertificateIssuerExtension​(GeneralNames names)
                                      throws java.io.IOException
          Create a CertificateIssuerExtension with the passed GeneralNames.
          @@ -388,7 +438,7 @@

          CertificateIssuerExtension

        - +
          @@ -398,13 +448,13 @@

          CertificateIssuerExtension

          Create a default CertificateIssuerExtension.
        - +
        • CertificateIssuerExtension

          -
          public CertificateIssuerExtension(java.lang.Boolean critical,
          +
          public CertificateIssuerExtension​(java.lang.Boolean critical,
                                             java.lang.Object value)
                                      throws java.io.IOException
          Create the extension from the passed DER encoded value.
          @@ -419,43 +469,45 @@

          CertificateIssuerExtension

      +
      +
        -
      • +
      • Method Detail

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns a printable representation of the CertificateIssuerName.
          Specified by:
          -
          toString in interface CertAttrSet
          +
          toString in interface CertAttrSet
          Overrides:
          -
          toString in class Extension
          +
          toString in class Extension
          Returns:
          value of this certificate attribute in printable form.
        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.io.IOException
          Decode the extension from the InputStream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to unmarshal the contents from.
          Throws:
          @@ -463,18 +515,18 @@

          decode

        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.io.IOException
          Write the extension to the OutputStream.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the OutputStream to write the extension to.
          Throws:
          @@ -482,19 +534,19 @@

          encode

        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.io.IOException
          Set the attribute value.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the name of the attribute (e.g. "x509.info.key")
          obj - the attribute object.
          @@ -503,18 +555,18 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.io.IOException
          Get the attribute value.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the name of the attribute to return.
          Throws:
          @@ -522,18 +574,18 @@

          get

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.io.IOException
          Delete the attribute value.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the name of the attribute to delete.
          Throws:
          @@ -541,34 +593,34 @@

          delete

        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          Return an enumeration of names of attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Return the name of this attribute.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
          @@ -576,21 +628,25 @@

          getName

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateIssuerName.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateIssuerName.html index 129a49e8a..8c714cf2a 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateIssuerName.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateIssuerName.html @@ -1,11 +1,20 @@ - + CertificateIssuerName (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class CertificateIssuerName

    @@ -107,17 +131,16 @@

    Class CertificateIssuerNam
  • All Implemented Interfaces:
    -
    CertAttrSet
    +
    CertAttrSet

    -
    public class CertificateIssuerName
     extends java.lang.Object
    -implements CertAttrSet
    +implements CertAttrSet
    This class defines the X500Name attribute for the Certificate.
    See Also:
    -
    CertAttrSet
    +
    CertAttrSet
  • @@ -126,131 +149,153 @@

    Class CertificateIssuerNam
    • +
        -
      • +
      • Field Summary

        - +
        - + + - + + - + - +
        Fields 
        Modifier and TypeField and DescriptionFieldDescription
        static java.lang.StringDN_NAME DN_NAME 
        static java.lang.StringIDENT +IDENT
        Identifier for this attribute, to be used with the get, set, delete methods of Certificate, x509 type.
        static java.lang.StringNAME +NAME
        Sub attributes name for this CertAttrSet.
      +
      +
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - + - + - + - + - + - + - + - +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        voiddecode(java.io.InputStream in) +decode​(java.io.InputStream in)
        Decode the name in DER form from the stream.
        voiddelete(java.lang.String name) +delete​(java.lang.String name)
        Delete the attribute value.
        voidencode(java.io.OutputStream out) +encode​(java.io.OutputStream out)
        Encode the name in DER form to the stream.
        java.lang.Objectget(java.lang.String name) +get​(java.lang.String name)
        Get the attribute value.
        java.util.Enumeration<java.lang.String>getAttributeNames() +getAttributeNames()
        Return an enumeration of names of attributes existing within this attribute.
        java.lang.StringgetName() +getName()
        Return the name of this attribute.
        voidset(java.lang.String name, - java.lang.Object obj) +set​(java.lang.String name, + java.lang.Object obj)
        Set the attribute value.
        java.lang.StringtoString() +toString()
        Return the name as user readable string.
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -258,6 +303,7 @@

          Methods inherited from class java.lang.Object

      +

    @@ -265,12 +311,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -285,7 +332,7 @@

          IDENT

        - +
          @@ -299,7 +346,7 @@

          NAME

        - +
          @@ -314,19 +361,21 @@

          DN_NAME

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • CertificateIssuerName

          -
          public CertificateIssuerName(X500Name name)
          +
          public CertificateIssuerName​(X500Name name)
          Default constructor for the certificate attribute.
          Parameters:
          @@ -334,13 +383,13 @@

          CertificateIssuerName

        - +
        • CertificateIssuerName

          -
          public CertificateIssuerName(DerInputStream in)
          +
          public CertificateIssuerName​(DerInputStream in)
                                 throws java.io.IOException
          Create the object, decoding the values from the passed DER stream.
          @@ -351,13 +400,13 @@

          CertificateIssuerName

        - +
        • CertificateIssuerName

          -
          public CertificateIssuerName(java.io.InputStream in)
          +
          public CertificateIssuerName​(java.io.InputStream in)
                                 throws java.io.IOException
          Create the object, decoding the values from the passed stream.
          @@ -370,23 +419,25 @@

          CertificateIssuerName

      +
      +
        -
      • +
      • Method Detail

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Return the name as user readable string.
          Specified by:
          -
          toString in interface CertAttrSet
          +
          toString in interface CertAttrSet
          Overrides:
          toString in class java.lang.Object
          Returns:
          @@ -395,18 +446,18 @@

          toString

        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.io.IOException
          Encode the name in DER form to the stream.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the DerOutputStream to marshal the contents to.
          Throws:
          @@ -414,18 +465,18 @@

          encode

        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.io.IOException
          Decode the name in DER form from the stream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to marshal the contents from.
          Throws:
          @@ -433,19 +484,19 @@

          decode

        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.io.IOException
          Set the attribute value.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the name of the attribute (e.g. "x509.info.key")
          obj - the attribute object.
          @@ -454,18 +505,18 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.io.IOException
          Get the attribute value.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the name of the attribute to return.
          Throws:
          @@ -473,18 +524,18 @@

          get

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.io.IOException
          Delete the attribute value.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the name of the attribute to delete.
          Throws:
          @@ -492,34 +543,34 @@

          delete

        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          Return an enumeration of names of attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Return the name of this attribute.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
          @@ -527,21 +578,25 @@

          getName

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateIssuerUniqueIdentity.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateIssuerUniqueIdentity.html index e5b9bb31e..15668e554 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateIssuerUniqueIdentity.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateIssuerUniqueIdentity.html @@ -1,11 +1,20 @@ - + CertificateIssuerUniqueIdentity (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class CertificateIssuerUniqueIdentity

    @@ -107,18 +131,17 @@

    Class Certificat
  • All Implemented Interfaces:
    -
    CertAttrSet
    +
    CertAttrSet

    -
    public class CertificateIssuerUniqueIdentity
     extends java.lang.Object
    -implements CertAttrSet
    +implements CertAttrSet
    This class defines the subject/issuer unique identity attribute for the Certificate.
    See Also:
    -
    CertAttrSet
    +
    CertAttrSet
  • @@ -127,136 +150,159 @@

    Class Certificat
    • +
        -
      • +
      • Field Summary

        - +
        - + + - + + - + - +
        Fields 
        Modifier and TypeField and DescriptionFieldDescription
        static java.lang.StringID ID 
        static java.lang.StringIDENT +IDENT
        Identifier for this attribute, to be used with the get, set, delete methods of Certificate, x509 type.
        static java.lang.StringNAME +NAME
        Sub attributes name for this CertAttrSet.
      +
      +
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - + - + - + - + - + - + - + - +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        voiddecode(java.io.InputStream in) +decode​(java.io.InputStream in)
        Decode the identity in DER form from the stream.
        voiddelete(java.lang.String name) +delete​(java.lang.String name)
        Delete the attribute value.
        voidencode(java.io.OutputStream out) +encode​(java.io.OutputStream out)
        Encode the identity in DER form to the stream.
        java.lang.Objectget(java.lang.String name) +get​(java.lang.String name)
        Get the attribute value.
        java.util.Enumeration<java.lang.String>getAttributeNames() +getAttributeNames()
        Return an enumeration of names of attributes existing within this attribute.
        java.lang.StringgetName() +getName()
        Return the name of this attribute.
        voidset(java.lang.String name, - java.lang.Object obj) +set​(java.lang.String name, + java.lang.Object obj)
        Set the attribute value.
        java.lang.StringtoString() +toString()
        Return the identity as user readable string.
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -264,6 +310,7 @@

          Methods inherited from class java.lang.Object

      +

    @@ -271,12 +318,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -291,7 +339,7 @@

          IDENT

        - +
          @@ -305,7 +353,7 @@

          NAME

        - +
          @@ -320,19 +368,21 @@

          ID

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • CertificateIssuerUniqueIdentity

          -
          public CertificateIssuerUniqueIdentity(UniqueIdentity id)
          +
          public CertificateIssuerUniqueIdentity​(UniqueIdentity id)
          Default constructor for the certificate attribute.
          Parameters:
          @@ -340,13 +390,13 @@

          CertificateIssuerUniqueIdentity

        - +
        • CertificateIssuerUniqueIdentity

          -
          public CertificateIssuerUniqueIdentity(DerInputStream in)
          +
          public CertificateIssuerUniqueIdentity​(DerInputStream in)
                                           throws java.io.IOException
          Create the object, decoding the values from the passed DER stream.
          @@ -357,13 +407,13 @@

          CertificateIssuerUniqueIdentity

        - +
        • CertificateIssuerUniqueIdentity

          -
          public CertificateIssuerUniqueIdentity(java.io.InputStream in)
          +
          public CertificateIssuerUniqueIdentity​(java.io.InputStream in)
                                           throws java.io.IOException
          Create the object, decoding the values from the passed stream.
          @@ -374,13 +424,13 @@

          CertificateIssuerUniqueIdentity

        - +
        • CertificateIssuerUniqueIdentity

          -
          public CertificateIssuerUniqueIdentity(DerValue val)
          +
          public CertificateIssuerUniqueIdentity​(DerValue val)
                                           throws java.io.IOException
          Create the object, decoding the values from the passed DER value.
          @@ -393,23 +443,25 @@

          CertificateIssuerUniqueIdentity

      +
      +
        -
      • +
      • Method Detail

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Return the identity as user readable string.
          Specified by:
          -
          toString in interface CertAttrSet
          +
          toString in interface CertAttrSet
          Overrides:
          toString in class java.lang.Object
          Returns:
          @@ -418,18 +470,18 @@

          toString

        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.io.IOException
          Decode the identity in DER form from the stream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to unmarshal the contents from.
          Throws:
          @@ -437,18 +489,18 @@

          decode

        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.io.IOException
          Encode the identity in DER form to the stream.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the DerOutputStream to marshal the contents to.
          Throws:
          @@ -456,19 +508,19 @@

          encode

        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.io.IOException
          Set the attribute value.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the name of the attribute (e.g. "x509.info.key")
          obj - the attribute object.
          @@ -477,18 +529,18 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.io.IOException
          Get the attribute value.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the name of the attribute to return.
          Throws:
          @@ -496,18 +548,18 @@

          get

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.io.IOException
          Delete the attribute value.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the name of the attribute to delete.
          Throws:
          @@ -515,34 +567,34 @@

          delete

        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          Return an enumeration of names of attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Return the name of this attribute.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
          @@ -550,21 +602,25 @@

          getName

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificatePoliciesExtension.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificatePoliciesExtension.html index 51d5eaf0f..cd57d9727 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificatePoliciesExtension.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificatePoliciesExtension.html @@ -1,11 +1,20 @@ - + CertificatePoliciesExtension (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class CertificatePoliciesExtension

    @@ -98,7 +122,7 @@

    Class CertificatePo
  • java.lang.Object
  • @@ -314,12 +363,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -334,7 +384,7 @@

          IDENT

        - +
          @@ -348,7 +398,7 @@

          NAME

        - +
          @@ -363,20 +413,22 @@

          INFOS

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • CertificatePoliciesExtension

          -
          public CertificatePoliciesExtension(boolean critical,
          -                                    java.util.Vector<CertificatePolicyInfo> infos)
          +
          public CertificatePoliciesExtension​(boolean critical,
          +                                    java.util.Vector<CertificatePolicyInfo> infos)
                                        throws java.io.IOException
          Throws:
          @@ -384,13 +436,13 @@

          CertificatePoliciesExtension

        - +
        • CertificatePoliciesExtension

          -
          public CertificatePoliciesExtension(java.util.Vector<CertificatePolicyInfo> infos)
          +
          public CertificatePoliciesExtension​(java.util.Vector<CertificatePolicyInfo> infos)
                                        throws java.io.IOException
          Create a CertificatePolicies with the Vector of CertificatePolicyInfo.
          @@ -401,7 +453,7 @@

          CertificatePoliciesExtension

        - +
          @@ -411,13 +463,13 @@

          CertificatePoliciesExtension

          Create a default CertificatePoliciesExtension.
        - +
        • CertificatePoliciesExtension

          -
          public CertificatePoliciesExtension(java.lang.Boolean critical,
          +
          public CertificatePoliciesExtension​(java.lang.Boolean critical,
                                               java.lang.Object value)
                                        throws java.io.IOException
          Create the extension from the passed DER encoded value.
          @@ -432,43 +484,45 @@

          CertificatePoliciesExtension

      +
      +
        -
      • +
      • Method Detail

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns a printable representation of the policy extension.
          Specified by:
          -
          toString in interface CertAttrSet
          +
          toString in interface CertAttrSet
          Overrides:
          -
          toString in class Extension
          +
          toString in class Extension
          Returns:
          value of this certificate attribute in printable form.
        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.io.IOException
          Write the extension to the OutputStream.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the OutputStream to write the extension to.
          Throws:
          @@ -476,18 +530,18 @@

          encode

        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.io.IOException
          Decode the extension from the InputStream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to unmarshal the contents from.
          Throws:
          @@ -495,19 +549,19 @@

          decode

        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.io.IOException
          Set the attribute value.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the name of the attribute (e.g. "x509.info.key")
          obj - the attribute object.
          @@ -516,18 +570,18 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.io.IOException
          Get the attribute value.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the name of the attribute to return.
          Throws:
          @@ -535,18 +589,18 @@

          get

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.io.IOException
          Delete the attribute value.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the name of the attribute to delete.
          Throws:
          @@ -554,77 +608,81 @@

          delete

        - +
        • getAttributes

          -
          public java.util.Enumeration<java.util.Vector<CertificatePolicyInfo>> getAttributes()
          +
          public java.util.Enumeration<java.util.Vector<CertificatePolicyInfo>> getAttributes()
          Return an enumeration of attributes existing within this attribute.
        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          -
          Description copied from interface: CertAttrSet
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          Description copied from interface: CertAttrSet
          Returns an enumeration of the names of the attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Return the name of this attribute.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
        - +
        • main

          -
          public static void main(java.lang.String[] args)
          +
          public static void main​(java.lang.String[] args)
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificatePolicyId.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificatePolicyId.html index dd659c25d..f4d05063c 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificatePolicyId.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificatePolicyId.html @@ -1,11 +1,20 @@ - + CertificatePolicyId (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class CertificatePolicyId

    @@ -107,10 +131,9 @@

    Class CertificatePolicyId
    All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public class CertificatePolicyId
     extends java.lang.Object
     implements java.io.Serializable
    @@ -126,62 +149,72 @@

    Class CertificatePolicyId
  • +
    +
    +
    +
  • @@ -196,18 +230,19 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • CertificatePolicyId

          -
          public CertificatePolicyId(ObjectIdentifier id)
          +
          public CertificatePolicyId​(ObjectIdentifier id)
          Create a CertificatePolicyId with the ObjectIdentifier.
          Parameters:
          @@ -215,13 +250,13 @@

          CertificatePolicyId

        - +
        • CertificatePolicyId

          -
          public CertificatePolicyId(DerValue val)
          +
          public CertificatePolicyId​(DerValue val)
                               throws java.io.IOException
          Create the object from its Der encoded value.
          @@ -234,29 +269,31 @@

          CertificatePolicyId

      +
      +
        -
      • +
      • Method Detail

        - +
        • getIdentifier

          -
          public ObjectIdentifier getIdentifier()
          +
          public ObjectIdentifier getIdentifier()
          Return the value of the CertificatePolicyId as an ObjectIdentifier.
        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns a printable representation of the CertificatePolicyId.
          Overrides:
          @@ -264,13 +301,13 @@

          toString

        - +
        • encode

          -
          public void encode(DerOutputStream out)
          +
          public void encode​(DerOutputStream out)
                       throws java.io.IOException
          Write the CertificatePolicyId to the DerOutputStream.
          @@ -283,21 +320,25 @@

          encode

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificatePolicyInfo.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificatePolicyInfo.html index a5ac2d147..80d6e51f6 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificatePolicyInfo.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificatePolicyInfo.html @@ -1,11 +1,20 @@ - + CertificatePolicyInfo (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class CertificatePolicyInfo

    @@ -107,10 +131,9 @@

    Class CertificatePolicyInf
  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public class CertificatePolicyInfo
     extends java.lang.Object
     implements java.io.Serializable
    @@ -126,70 +149,82 @@

    Class CertificatePolicyInf

  • @@ -204,18 +240,19 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • CertificatePolicyInfo

          -
          public CertificatePolicyInfo(CertificatePolicyId id)
          +
          public CertificatePolicyInfo​(CertificatePolicyId id)
          Create a CertificatePolicyInfo with the passed CertificatePolicyId's.
          Parameters:
          @@ -223,23 +260,23 @@

          CertificatePolicyInfo

        - + - +
        • CertificatePolicyInfo

          -
          public CertificatePolicyInfo(DerValue val)
          +
          public CertificatePolicyInfo​(DerValue val)
                                 throws java.io.IOException
          Create the CertificatePolicyInfo from the DER encoded value.
          @@ -252,38 +289,40 @@

          CertificatePolicyInfo

      +
      +
        -
      • +
      • Method Detail

        - + - + - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns a printable representation of the CertificatePolicyId.
          Overrides:
          @@ -291,13 +330,13 @@

          toString

        - +
        • encode

          -
          public void encode(DerOutputStream out)
          +
          public void encode​(DerOutputStream out)
                       throws java.io.IOException
          Write the CertificatePolicyInfo to the DerOutputStream.
          @@ -310,21 +349,25 @@

          encode

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificatePolicyMap.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificatePolicyMap.html index e6c40ae10..5120b45ef 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificatePolicyMap.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificatePolicyMap.html @@ -1,11 +1,20 @@ - + CertificatePolicyMap (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class CertificatePolicyMap

    @@ -106,7 +130,6 @@

    Class CertificatePolicyMap<

    @@ -194,19 +229,20 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - + - +
        • CertificatePolicyMap

          -
          public CertificatePolicyMap(DerValue val)
          +
          public CertificatePolicyMap​(DerValue val)
                                throws java.io.IOException
          Create the CertificatePolicyMap from the DER encoded value.
          @@ -234,39 +270,41 @@

          CertificatePolicyMap

      +
      +
        -
      • +
      • Method Detail

        - + - + - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns a printable representation of the CertificatePolicyId.
          Overrides:
          @@ -274,13 +312,13 @@

          toString

        - +
        • encode

          -
          public void encode(DerOutputStream out)
          +
          public void encode​(DerOutputStream out)
                       throws java.io.IOException
          Write the CertificatePolicyMap to the DerOutputStream.
          @@ -293,21 +331,25 @@

          encode

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificatePolicySet.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificatePolicySet.html index 3f0f19bcb..222c9e607 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificatePolicySet.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificatePolicySet.html @@ -1,11 +1,20 @@ - + CertificatePolicySet (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class CertificatePolicySet

    @@ -106,7 +130,6 @@

    Class CertificatePolicySet<

    @@ -181,18 +214,19 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • CertificatePolicySet

          -
          public CertificatePolicySet(java.util.Vector<CertificatePolicyId> ids)
          +
          public CertificatePolicySet​(java.util.Vector<CertificatePolicyId> ids)
          The default constructor for this class.
          Parameters:
          @@ -200,13 +234,13 @@

          CertificatePolicySet

        - +
        • CertificatePolicySet

          -
          public CertificatePolicySet(DerInputStream in)
          +
          public CertificatePolicySet​(DerInputStream in)
                                throws java.io.IOException
          Create the object from the DerValue.
          @@ -219,19 +253,21 @@

          CertificatePolicySet

      +
      +
        -
      • +
      • Method Detail

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Return printable form of the object.
          Overrides:
          @@ -239,13 +275,13 @@

          toString

        - +
        • encode

          -
          public void encode(DerOutputStream out)
          +
          public void encode​(DerOutputStream out)
                       throws java.io.IOException
          Encode the policy set to the output stream.
          @@ -258,21 +294,25 @@

          encode

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateSerialNumber.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateSerialNumber.html index d21551173..d3bd892eb 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateSerialNumber.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateSerialNumber.html @@ -1,11 +1,20 @@ - + CertificateSerialNumber (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class CertificateSerialNumber

    @@ -107,17 +131,16 @@

    Class CertificateSerialN
  • All Implemented Interfaces:
    -
    CertAttrSet
    +
    CertAttrSet

    -
    public class CertificateSerialNumber
     extends java.lang.Object
    -implements CertAttrSet
    +implements CertAttrSet
    This class defines the SerialNumber attribute for the Certificate.
    See Also:
    -
    CertAttrSet
    +
    CertAttrSet
  • @@ -126,141 +149,165 @@

    Class CertificateSerialN
    • +
        -
      • +
      • Field Summary

        - +
        - + + - + - + - + +
        Fields 
        Modifier and TypeField and DescriptionFieldDescription
        static java.lang.StringIDENT +IDENT
        Identifier for this attribute, to be used with the get, set, delete methods of Certificate, x509 type.
        static java.lang.StringNAME +NAME
        Sub attributes name for this CertAttrSet.
        static java.lang.StringNUMBER NUMBER 
      +
      +
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - + - + - + - + - + - + - + - +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        voiddecode(java.io.InputStream in) +decode​(java.io.InputStream in)
        Decode the serial number in DER form from the stream.
        voiddelete(java.lang.String name) +delete​(java.lang.String name)
        Delete the attribute value.
        voidencode(java.io.OutputStream out) +encode​(java.io.OutputStream out)
        Encode the serial number in DER form to the stream.
        java.lang.Objectget(java.lang.String name) +get​(java.lang.String name)
        Get the attribute value.
        java.util.Enumeration<java.lang.String>getAttributeNames() +getAttributeNames()
        Return an enumeration of names of attributes existing within this attribute.
        java.lang.StringgetName() +getName()
        Return the name of this attribute.
        voidset(java.lang.String name, - java.lang.Object obj) +set​(java.lang.String name, + java.lang.Object obj)
        Set the attribute value.
        java.lang.StringtoString() +toString()
        Return the serial number as user readable string.
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -268,6 +315,7 @@

          Methods inherited from class java.lang.Object

      +

    @@ -275,12 +323,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -295,7 +344,7 @@

          IDENT

        - +
          @@ -309,7 +358,7 @@

          NAME

        - +
          @@ -324,19 +373,21 @@

          NUMBER

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • CertificateSerialNumber

          -
          public CertificateSerialNumber(java.math.BigInteger num)
          +
          public CertificateSerialNumber​(java.math.BigInteger num)
          Default constructor for the certificate attribute.
          Parameters:
          @@ -344,13 +395,13 @@

          CertificateSerialNumber

        - +
        • CertificateSerialNumber

          -
          public CertificateSerialNumber(int num)
          +
          public CertificateSerialNumber​(int num)
          Default constructor for the certificate attribute.
          Parameters:
          @@ -358,13 +409,13 @@

          CertificateSerialNumber

        - +
        • CertificateSerialNumber

          -
          public CertificateSerialNumber(DerInputStream in)
          +
          public CertificateSerialNumber​(DerInputStream in)
                                   throws java.io.IOException
          Create the object, decoding the values from the passed DER stream.
          @@ -375,13 +426,13 @@

          CertificateSerialNumber

        - +
        • CertificateSerialNumber

          -
          public CertificateSerialNumber(java.io.InputStream in)
          +
          public CertificateSerialNumber​(java.io.InputStream in)
                                   throws java.io.IOException
          Create the object, decoding the values from the passed stream.
          @@ -392,13 +443,13 @@

          CertificateSerialNumber

        - +
        • CertificateSerialNumber

          -
          public CertificateSerialNumber(DerValue val)
          +
          public CertificateSerialNumber​(DerValue val)
                                   throws java.io.IOException
          Create the object, decoding the values from the passed DerValue.
          @@ -411,23 +462,25 @@

          CertificateSerialNumber

      +
      +
        -
      • +
      • Method Detail

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Return the serial number as user readable string.
          Specified by:
          -
          toString in interface CertAttrSet
          +
          toString in interface CertAttrSet
          Overrides:
          toString in class java.lang.Object
          Returns:
          @@ -436,18 +489,18 @@

          toString

        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.io.IOException
          Encode the serial number in DER form to the stream.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the DerOutputStream to marshal the contents to.
          Throws:
          @@ -455,18 +508,18 @@

          encode

        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.io.IOException
          Decode the serial number in DER form from the stream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to marshal the contents from.
          Throws:
          @@ -474,19 +527,19 @@

          decode

        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.io.IOException
          Set the attribute value.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the name of the attribute (e.g. "x509.info.key")
          obj - the attribute object.
          @@ -495,18 +548,18 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.io.IOException
          Get the attribute value.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the name of the attribute to return.
          Throws:
          @@ -514,18 +567,18 @@

          get

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.io.IOException
          Delete the attribute value.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the name of the attribute to delete.
          Throws:
          @@ -533,34 +586,34 @@

          delete

        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          Return an enumeration of names of attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Return the name of this attribute.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
          @@ -568,21 +621,25 @@

          getName

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateSubjectName.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateSubjectName.html index 1c9a83ef6..164d06644 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateSubjectName.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateSubjectName.html @@ -1,11 +1,20 @@ - + CertificateSubjectName (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class CertificateSubjectName

    @@ -107,17 +131,16 @@

    Class CertificateSubjectN
  • All Implemented Interfaces:
    -
    java.io.Serializable, CertAttrSet
    +
    java.io.Serializable, CertAttrSet

    -
    public class CertificateSubjectName
     extends java.lang.Object
    -implements CertAttrSet, java.io.Serializable
    +implements CertAttrSet, java.io.Serializable
    This class defines the X500Name attribute for the Certificate.
    See Also:
    -
    CertAttrSet, +
    CertAttrSet, Serialized Form
  • @@ -127,143 +150,167 @@

    Class CertificateSubjectN
    • +
        -
      • +
      • Field Summary

        - +
        - + + - + + - + - +
        Fields 
        Modifier and TypeField and DescriptionFieldDescription
        static java.lang.StringDN_NAME DN_NAME 
        static java.lang.StringIDENT +IDENT
        Identifier for this attribute, to be used with the get, set, delete methods of Certificate, x509 type.
        static java.lang.StringNAME +NAME
        Sub attributes name for this CertAttrSet.
      +
      +
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - + - + - + - + - + - + - + - - + + - + - +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        voiddecode(java.io.InputStream in) +decode​(java.io.InputStream in)
        Decode the name in DER form from the stream.
        voiddecodeEx(java.io.InputStream in) +decodeEx​(java.io.InputStream in)
        Decode the name in DER form from the stream.
        voiddelete(java.lang.String name) +delete​(java.lang.String name)
        Delete the attribute value.
        voidencode(java.io.OutputStream out) +encode​(java.io.OutputStream out)
        Encode the name in DER form to the stream.
        java.lang.Objectget(java.lang.String name) +get​(java.lang.String name)
        Get the attribute value.
        java.util.Enumeration<java.lang.String>getAttributeNames() +getAttributeNames()
        Return an enumeration of names of attributes existing within this attribute.
        java.lang.StringgetName() +getName()
        Return the name of this attribute.
        X500NamegetX500Name() +X500NamegetX500Name()
        Get underlying X500Name value.
        voidset(java.lang.String name, - java.lang.Object obj) +set​(java.lang.String name, + java.lang.Object obj)
        Set the attribute value.
        java.lang.StringtoString() +toString()
        Return the name as user readable string.
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -271,6 +318,7 @@

          Methods inherited from class java.lang.Object

      +

    @@ -278,12 +326,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -298,7 +347,7 @@

          IDENT

        - +
          @@ -312,7 +361,7 @@

          NAME

        - +
          @@ -327,19 +376,21 @@

          DN_NAME

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • CertificateSubjectName

          -
          public CertificateSubjectName(X500Name name)
          +
          public CertificateSubjectName​(X500Name name)
          Default constructor for the certificate attribute.
          Parameters:
          @@ -347,13 +398,13 @@

          CertificateSubjectName

        - +
        • CertificateSubjectName

          -
          public CertificateSubjectName(DerInputStream in)
          +
          public CertificateSubjectName​(DerInputStream in)
                                  throws java.io.IOException
          Create the object, decoding the values from the passed DER stream.
          @@ -364,13 +415,13 @@

          CertificateSubjectName

        - +
        • CertificateSubjectName

          -
          public CertificateSubjectName(java.io.InputStream in)
          +
          public CertificateSubjectName​(java.io.InputStream in)
                                  throws java.io.IOException
          Create the object, decoding the values from the passed stream.
          @@ -383,23 +434,25 @@

          CertificateSubjectName

      +
      +
        -
      • +
      • Method Detail

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Return the name as user readable string.
          Specified by:
          -
          toString in interface CertAttrSet
          +
          toString in interface CertAttrSet
          Overrides:
          toString in class java.lang.Object
          Returns:
          @@ -408,18 +461,18 @@

          toString

        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.io.IOException
          Encode the name in DER form to the stream.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the DerOutputStream to marshal the contents to.
          Throws:
          @@ -427,13 +480,13 @@

          encode

        - +
        • decodeEx

          -
          public void decodeEx(java.io.InputStream in)
          +
          public void decodeEx​(java.io.InputStream in)
                         throws java.io.IOException
          Decode the name in DER form from the stream.
          @@ -444,18 +497,18 @@

          decodeEx

        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.io.IOException
          Decode the name in DER form from the stream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to marshal the contents from.
          Throws:
          @@ -463,19 +516,19 @@

          decode

        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.io.IOException
          Set the attribute value.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the name of the attribute (e.g. "x509.info.key")
          obj - the attribute object.
          @@ -484,18 +537,18 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.io.IOException
          Get the attribute value.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the name of the attribute to return.
          Throws:
          @@ -503,31 +556,31 @@

          get

        - +
        • getX500Name

          -
          public X500Name getX500Name()
          +
          public X500Name getX500Name()
          Get underlying X500Name value. Where the type is known to be CertificateSubjectName, use this method instead of 'get' to avoid casts and exceptions.
        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.io.IOException
          Delete the attribute value.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the name of the attribute to delete.
          Throws:
          @@ -535,34 +588,34 @@

          delete

        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          Return an enumeration of names of attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Return the name of this attribute.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
          @@ -570,21 +623,25 @@

          getName

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateSubjectUniqueIdentity.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateSubjectUniqueIdentity.html index 9c925a08f..0aa130de5 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateSubjectUniqueIdentity.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateSubjectUniqueIdentity.html @@ -1,11 +1,20 @@ - + CertificateSubjectUniqueIdentity (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class CertificateSubjectUniqueIdentity

    @@ -107,18 +131,17 @@

    Class Certifica
  • All Implemented Interfaces:
    -
    CertAttrSet
    +
    CertAttrSet

    -
    public class CertificateSubjectUniqueIdentity
     extends java.lang.Object
    -implements CertAttrSet
    +implements CertAttrSet
    This class defines the subject/issuer unique identity attribute for the Certificate.
    See Also:
    -
    CertAttrSet
    +
    CertAttrSet
  • @@ -127,136 +150,159 @@

    Class Certifica
    • +
        -
      • +
      • Field Summary

        - +
        - + + - + + - + - +
        Fields 
        Modifier and TypeField and DescriptionFieldDescription
        static java.lang.StringID ID 
        static java.lang.StringIDENT +IDENT
        Identifier for this attribute, to be used with the get, set, delete methods of Certificate, x509 type.
        static java.lang.StringNAME +NAME
        Sub attributes name for this CertAttrSet.
      +
      +
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - + - + - + - + - + - + - + - +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        voiddecode(java.io.InputStream in) +decode​(java.io.InputStream in)
        Decode the identity in DER form from the stream.
        voiddelete(java.lang.String name) +delete​(java.lang.String name)
        Delete the attribute value.
        voidencode(java.io.OutputStream out) +encode​(java.io.OutputStream out)
        Encode the identity in DER form to the stream.
        java.lang.Objectget(java.lang.String name) +get​(java.lang.String name)
        Get the attribute value.
        java.util.Enumeration<java.lang.String>getAttributeNames() +getAttributeNames()
        Return an enumeration of names of attributes existing within this attribute.
        java.lang.StringgetName() +getName()
        Return the name of this attribute.
        voidset(java.lang.String name, - java.lang.Object obj) +set​(java.lang.String name, + java.lang.Object obj)
        Set the attribute value.
        java.lang.StringtoString() +toString()
        Return the identity as user readable string.
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -264,6 +310,7 @@

          Methods inherited from class java.lang.Object

      +

    @@ -271,12 +318,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -291,7 +339,7 @@

          IDENT

        - +
          @@ -305,7 +353,7 @@

          NAME

        - +
          @@ -320,19 +368,21 @@

          ID

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • CertificateSubjectUniqueIdentity

          -
          public CertificateSubjectUniqueIdentity(UniqueIdentity id)
          +
          public CertificateSubjectUniqueIdentity​(UniqueIdentity id)
          Default constructor for the certificate attribute.
          Parameters:
          @@ -340,13 +390,13 @@

          CertificateSubjectUniqueIdentity

        - +
        • CertificateSubjectUniqueIdentity

          -
          public CertificateSubjectUniqueIdentity(DerInputStream in)
          +
          public CertificateSubjectUniqueIdentity​(DerInputStream in)
                                            throws java.io.IOException
          Create the object, decoding the values from the passed DER stream.
          @@ -357,13 +407,13 @@

          CertificateSubjectUniqueIdentity

        - +
        • CertificateSubjectUniqueIdentity

          -
          public CertificateSubjectUniqueIdentity(java.io.InputStream in)
          +
          public CertificateSubjectUniqueIdentity​(java.io.InputStream in)
                                            throws java.io.IOException
          Create the object, decoding the values from the passed stream.
          @@ -374,13 +424,13 @@

          CertificateSubjectUniqueIdentity

        - +
        • CertificateSubjectUniqueIdentity

          -
          public CertificateSubjectUniqueIdentity(DerValue val)
          +
          public CertificateSubjectUniqueIdentity​(DerValue val)
                                            throws java.io.IOException
          Create the object, decoding the values from the passed DER value.
          @@ -393,23 +443,25 @@

          CertificateSubjectUniqueIdentity

      +
      +
        -
      • +
      • Method Detail

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Return the identity as user readable string.
          Specified by:
          -
          toString in interface CertAttrSet
          +
          toString in interface CertAttrSet
          Overrides:
          toString in class java.lang.Object
          Returns:
          @@ -418,18 +470,18 @@

          toString

        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.io.IOException
          Decode the identity in DER form from the stream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to unmarshal the contents from.
          Throws:
          @@ -437,18 +489,18 @@

          decode

        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.io.IOException
          Encode the identity in DER form to the stream.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the DerOutputStream to marshal the contents to.
          Throws:
          @@ -456,19 +508,19 @@

          encode

        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.io.IOException
          Set the attribute value.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the name of the attribute (e.g. "x509.info.key")
          obj - the attribute object.
          @@ -477,18 +529,18 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.io.IOException
          Get the attribute value.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the name of the attribute to return.
          Throws:
          @@ -496,18 +548,18 @@

          get

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.io.IOException
          Delete the attribute value.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the name of the attribute to delete.
          Throws:
          @@ -515,34 +567,34 @@

          delete

        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          Return an enumeration of names of attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Return the name of this attribute.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
          @@ -550,21 +602,25 @@

          getName

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateValidity.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateValidity.html index f29dc7ae6..92f641bd5 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateValidity.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateValidity.html @@ -1,11 +1,20 @@ - + CertificateValidity (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class CertificateValidity

    @@ -107,17 +131,16 @@

    Class CertificateValidity
    All Implemented Interfaces:
    -
    java.io.Serializable, CertAttrSet
    +
    java.io.Serializable, CertAttrSet

    -
    public class CertificateValidity
     extends java.lang.Object
    -implements CertAttrSet, java.io.Serializable
    +implements CertAttrSet, java.io.Serializable
    This class defines the interval for which the certificate is valid.
    See Also:
    -
    CertAttrSet, +
    CertAttrSet, Serialized Form
    @@ -127,148 +150,173 @@

    Class CertificateValidity
  • +
      -
    • +
    • Field Summary

      - +
      - + + - + - + - + + - + +
      Fields 
      Modifier and TypeField and DescriptionFieldDescription
      static java.lang.StringIDENT +IDENT
      Identifier for this attribute, to be used with the get, set, delete methods of Certificate, x509 type.
      static java.lang.StringNAME +NAME
      Sub attributes name for this CertAttrSet.
      static java.lang.StringNOT_AFTER NOT_AFTER 
      static java.lang.StringNOT_BEFORE NOT_BEFORE 
    +
    +
    +
    +
      -
    • +
    • Method Summary

      - +
      - + + - + - + - + - + - + - + - + - + - + - +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and DescriptionMethodDescription
      voiddecode(java.io.InputStream in) +decode​(java.io.InputStream in)
      Decode the CertificateValidity period from the InputStream.
      voiddelete(java.lang.String name) +delete​(java.lang.String name)
      Delete the attribute value.
      voidencode(java.io.OutputStream out) +encode​(java.io.OutputStream out)
      Encode the CertificateValidity period in DER form to the stream.
      java.lang.Objectget(java.lang.String name) +get​(java.lang.String name)
      Get the attribute value.
      java.util.Enumeration<java.lang.String>getAttributeNames() +getAttributeNames()
      Return an enumeration of names of attributes existing within this attribute.
      java.lang.StringgetName() +getName()
      Return the name of this attribute.
      voidset(java.lang.String name, - java.lang.Object obj) +set​(java.lang.String name, + java.lang.Object obj)
      Set the attribute value.
      java.lang.StringtoString() +toString()
      Return the validity period as user readable string.
      voidvalid() +valid()
      Verify that the current time is within the validity period.
      voidvalid(java.util.Date now) +valid​(java.util.Date now)
      Verify that the passed time is within the validity period.
        -
      • +
      • Methods inherited from class java.lang.Object

        @@ -276,6 +324,7 @@

        Methods inherited from class java.lang.Object

    +
  • @@ -283,12 +332,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -303,7 +353,7 @@

          IDENT

        - +
          @@ -317,7 +367,7 @@

          NAME

        - +
          @@ -330,7 +380,7 @@

          NOT_BEFORE

        - +
          @@ -345,13 +395,15 @@

          NOT_AFTER

      +
      +
        -
      • +
      • Constructor Detail

        - +
          @@ -361,13 +413,13 @@

          CertificateValidity

          Default constructor for the class.
        - +
        • CertificateValidity

          -
          public CertificateValidity(java.util.Date notBefore,
          +
          public CertificateValidity​(java.util.Date notBefore,
                                      java.util.Date notAfter)
          The default constructor for this class for the specified interval.
          @@ -379,13 +431,13 @@

          CertificateValidity

        - +
        • CertificateValidity

          -
          public CertificateValidity(DerInputStream in)
          +
          public CertificateValidity​(DerInputStream in)
                               throws java.io.IOException
          Create the object, decoding the values from the passed DER stream.
          @@ -398,23 +450,25 @@

          CertificateValidity

      +
      +
        -
      • +
      • Method Detail

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Return the validity period as user readable string.
          Specified by:
          -
          toString in interface CertAttrSet
          +
          toString in interface CertAttrSet
          Overrides:
          toString in class java.lang.Object
          Returns:
          @@ -423,18 +477,18 @@

          toString

        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.io.IOException
          Decode the CertificateValidity period from the InputStream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to unmarshal the contents from.
          Throws:
          @@ -442,18 +496,18 @@

          decode

        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.io.IOException
          Encode the CertificateValidity period in DER form to the stream.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the OutputStream to marshal the contents to.
          Throws:
          @@ -461,19 +515,19 @@

          encode

        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.io.IOException
          Set the attribute value.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the name of the attribute (e.g. "x509.info.key")
          obj - the attribute object.
          @@ -482,18 +536,18 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.io.IOException
          Get the attribute value.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the name of the attribute to return.
          Throws:
          @@ -501,18 +555,18 @@

          get

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.io.IOException
          Delete the attribute value.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the name of the attribute to delete.
          Throws:
          @@ -520,46 +574,46 @@

          delete

        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          Return an enumeration of names of attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Return the name of this attribute.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
        - +
        • valid

          -
          public void valid()
          +
          public void valid()
                      throws java.security.cert.CertificateNotYetValidException,
                             java.security.cert.CertificateExpiredException
          Verify that the current time is within the validity period.
          @@ -571,13 +625,13 @@

          valid

        - +
        • valid

          -
          public void valid(java.util.Date now)
          +
          public void valid​(java.util.Date now)
                      throws java.security.cert.CertificateNotYetValidException,
                             java.security.cert.CertificateExpiredException
          Verify that the passed time is within the validity period.
          @@ -595,21 +649,25 @@

          valid

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateVersion.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateVersion.html index 0db172237..bd1e3595a 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateVersion.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateVersion.html @@ -1,11 +1,20 @@ - + CertificateVersion (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class CertificateVersion

    @@ -107,17 +131,16 @@

    Class CertificateVersion

  • All Implemented Interfaces:
    -
    CertAttrSet
    +
    CertAttrSet

    -
    public class CertificateVersion
     extends java.lang.Object
    -implements CertAttrSet
    +implements CertAttrSet
    This class defines the version of the X509 Certificate.
    See Also:
    -
    CertAttrSet
    +
    CertAttrSet
  • @@ -126,166 +149,194 @@

    Class CertificateVersion

    • +
        -
      • +
      • Field Summary

        - +
        - + + - + - + - + - + - + - + +
        Fields 
        Modifier and TypeField and DescriptionFieldDescription
        static java.lang.StringIDENT +IDENT
        Identifier for this attribute, to be used with the get, set, delete methods of Certificate, x509 type.
        static java.lang.StringNAME +NAME
        Sub attributes name for this CertAttrSet.
        static intV1 +V1
        X509Certificate Version 1
        static intV2 +V2
        X509Certificate Version 2
        static intV3 +V3
        X509Certificate Version 3
        static java.lang.StringVERSION VERSION 
      +
      +
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - + - + - + - + - + - + - + - + - +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        intcompare(int vers) +compare​(int vers)
        Compare versions.
        voiddecode(java.io.InputStream in) +decode​(java.io.InputStream in)
        Decode the CertificateVersion period in DER form from the stream.
        voiddelete(java.lang.String name) +delete​(java.lang.String name)
        Delete the attribute value.
        voidencode(java.io.OutputStream out) +encode​(java.io.OutputStream out)
        Encode the CertificateVersion period in DER form to the stream.
        java.lang.Objectget(java.lang.String name) +get​(java.lang.String name)
        Get the attribute value.
        java.util.Enumeration<java.lang.String>getAttributeNames() +getAttributeNames()
        Return an enumeration of names of attributes existing within this attribute.
        java.lang.StringgetName() +getName()
        Return the name of this attribute.
        voidset(java.lang.String name, - java.lang.Object obj) +set​(java.lang.String name, + java.lang.Object obj)
        Set the attribute value.
        java.lang.StringtoString() +toString()
        Return the version number of the certificate.
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -293,6 +344,7 @@

          Methods inherited from class java.lang.Object

      +
    @@ -300,12 +352,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -319,7 +372,7 @@

          V1

        - +
          @@ -333,7 +386,7 @@

          V2

        - +
          @@ -347,7 +400,7 @@

          V3

        - +
          @@ -362,7 +415,7 @@

          IDENT

        - +
          @@ -376,7 +429,7 @@

          NAME

        - +
          @@ -391,13 +444,15 @@

          VERSION

      +
      +
        -
      • +
      • Constructor Detail

        - +
          @@ -408,13 +463,13 @@

          CertificateVersion

          sets the version to 0 (i.e. X.509 version 1).
        - +
        • CertificateVersion

          -
          public CertificateVersion(int version)
          +
          public CertificateVersion​(int version)
                              throws java.io.IOException
          The constructor for this class for the required version.
          @@ -425,13 +480,13 @@

          CertificateVersion

        - +
        • CertificateVersion

          -
          public CertificateVersion(DerInputStream in)
          +
          public CertificateVersion​(DerInputStream in)
                              throws java.io.IOException
          Create the object, decoding the values from the passed DER stream.
          @@ -442,13 +497,13 @@

          CertificateVersion

        - +
        • CertificateVersion

          -
          public CertificateVersion(java.io.InputStream in)
          +
          public CertificateVersion​(java.io.InputStream in)
                              throws java.io.IOException
          Create the object, decoding the values from the passed stream.
          @@ -459,13 +514,13 @@

          CertificateVersion

        - +
        • CertificateVersion

          -
          public CertificateVersion(DerValue val)
          +
          public CertificateVersion​(DerValue val)
                              throws java.io.IOException
          Create the object, decoding the values from the passed DerValue.
          @@ -478,23 +533,25 @@

          CertificateVersion

      +
      +
        -
      • +
      • Method Detail

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Return the version number of the certificate.
          Specified by:
          -
          toString in interface CertAttrSet
          +
          toString in interface CertAttrSet
          Overrides:
          toString in class java.lang.Object
          Returns:
          @@ -503,18 +560,18 @@

          toString

        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.io.IOException
          Encode the CertificateVersion period in DER form to the stream.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the OutputStream to marshal the contents to.
          Throws:
          @@ -522,18 +579,18 @@

          encode

        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.io.IOException
          Decode the CertificateVersion period in DER form from the stream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to unmarshal the contents from.
          Throws:
          @@ -541,19 +598,19 @@

          decode

        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.io.IOException
          Set the attribute value.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the name of the attribute (e.g. "x509.info.key")
          obj - the attribute object.
          @@ -562,18 +619,18 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.io.IOException
          Get the attribute value.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the name of the attribute to return.
          Throws:
          @@ -581,18 +638,18 @@

          get

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.io.IOException
          Delete the attribute value.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the name of the attribute to delete.
          Throws:
          @@ -600,66 +657,70 @@

          delete

        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          Return an enumeration of names of attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Return the name of this attribute.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
        - +
        • compare

          -
          public int compare(int vers)
          +
          public int compare​(int vers)
          Compare versions.
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateX509Key.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateX509Key.html index 1652ee8b5..2ece1fb71 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateX509Key.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/CertificateX509Key.html @@ -1,11 +1,20 @@ - + CertificateX509Key (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class CertificateX509Key

    @@ -107,17 +131,16 @@

    Class CertificateX509Key

  • All Implemented Interfaces:
    -
    java.io.Serializable, CertAttrSet
    +
    java.io.Serializable, CertAttrSet

    -
    public class CertificateX509Key
     extends java.lang.Object
    -implements CertAttrSet, java.io.Serializable
    +implements CertAttrSet, java.io.Serializable
    This class defines the X509Key attribute for the Certificate.
    See Also:
    -
    CertAttrSet, +
    CertAttrSet, Serialized Form
  • @@ -127,131 +150,153 @@

    Class CertificateX509Key

    • +
        -
      • +
      • Field Summary

        - +
        - + + - + - + + - +
        Fields 
        Modifier and TypeField and DescriptionFieldDescription
        static java.lang.StringIDENT +IDENT
        Identifier for this attribute, to be used with the get, set, delete methods of Certificate, x509 type.
        static java.lang.StringKEY KEY 
        static java.lang.StringNAME +NAME
        Sub attributes name for this CertAttrSet.
      +
      +
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - + - + - + - + - + - + - + - +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        voiddecode(java.io.InputStream in) +decode​(java.io.InputStream in)
        Decode the key in DER form from the stream.
        voiddelete(java.lang.String name) +delete​(java.lang.String name)
        Delete the attribute value.
        voidencode(java.io.OutputStream out) +encode​(java.io.OutputStream out)
        Encode the key in DER form to the stream.
        java.lang.Objectget(java.lang.String name) +get​(java.lang.String name)
        Get the attribute value.
        java.util.Enumeration<java.lang.String>getAttributeNames() +getAttributeNames()
        Return an enumeration of names of attributes existing within this attribute.
        java.lang.StringgetName() +getName()
        Return the name of this attribute.
        voidset(java.lang.String name, - java.lang.Object obj) +set​(java.lang.String name, + java.lang.Object obj)
        Set the attribute value.
        java.lang.StringtoString() +toString()
        Return the key as printable string.
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -259,6 +304,7 @@

          Methods inherited from class java.lang.Object

      +
    @@ -266,12 +312,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -286,7 +333,7 @@

          IDENT

        - +
          @@ -300,7 +347,7 @@

          NAME

        - +
          @@ -315,19 +362,21 @@

          KEY

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • CertificateX509Key

          -
          public CertificateX509Key(X509Key key)
          +
          public CertificateX509Key​(X509Key key)
          Default constructor for the certificate attribute.
          Parameters:
          @@ -335,13 +384,13 @@

          CertificateX509Key

        - +
        • CertificateX509Key

          -
          public CertificateX509Key(DerInputStream in)
          +
          public CertificateX509Key​(DerInputStream in)
                              throws java.io.IOException
          Create the object, decoding the values from the passed DER stream.
          @@ -352,13 +401,13 @@

          CertificateX509Key

        - +
        • CertificateX509Key

          -
          public CertificateX509Key(java.io.InputStream in)
          +
          public CertificateX509Key​(java.io.InputStream in)
                              throws java.io.IOException
          Create the object, decoding the values from the passed stream.
          @@ -371,23 +420,25 @@

          CertificateX509Key

      +
      +
        -
      • +
      • Method Detail

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Return the key as printable string.
          Specified by:
          -
          toString in interface CertAttrSet
          +
          toString in interface CertAttrSet
          Overrides:
          toString in class java.lang.Object
          Returns:
          @@ -396,18 +447,18 @@

          toString

        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.io.IOException
          Decode the key in DER form from the stream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to unmarshal the contents from
          Throws:
          @@ -415,18 +466,18 @@

          decode

        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.io.IOException
          Encode the key in DER form to the stream.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the OutputStream to marshal the contents to.
          Throws:
          @@ -434,19 +485,19 @@

          encode

        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.io.IOException
          Set the attribute value.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the name of the attribute (e.g. "x509.info.key")
          obj - the attribute object.
          @@ -455,18 +506,18 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.io.IOException
          Get the attribute value.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the name of the attribute to return.
          Throws:
          @@ -474,18 +525,18 @@

          get

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.io.IOException
          Delete the attribute value.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the name of the attribute to delete.
          Throws:
          @@ -493,34 +544,34 @@

          delete

        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          Return an enumeration of names of attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Return the name of this attribute.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
          @@ -528,21 +579,25 @@

          getName

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/DNSName.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/DNSName.html index de452cb9c..8fdd6cde1 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/DNSName.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/DNSName.html @@ -1,11 +1,20 @@ - + DNSName (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class DNSName

    @@ -107,13 +131,12 @@

    Class DNSName

  • All Implemented Interfaces:
    -
    java.io.Serializable, GeneralNameInterface
    +
    java.io.Serializable, GeneralNameInterface

    -
    public class DNSName
     extends java.lang.Object
    -implements GeneralNameInterface
    +implements GeneralNameInterface
    This class implements the DNSName as required by the GeneralNames ASN.1 object.
    @@ -127,97 +150,111 @@

    Class DNSName

  • @@ -225,18 +262,19 @@

    Methods inherited from interface org.mozilla.jss.netscape.security.x509
    • +
        -
      • +
      • Constructor Detail

        - +
        • DNSName

          -
          public DNSName(DerValue derValue)
          +
          public DNSName​(DerValue derValue)
                   throws java.io.IOException
          Create the DNSName object from the passed encoded Der value.
          @@ -247,13 +285,13 @@

          DNSName

        - +
        • DNSName

          -
          public DNSName(java.lang.String name)
          +
          public DNSName​(java.lang.String name)
          Create the DNSName object with the specified name.
          Parameters:
          @@ -263,38 +301,40 @@

          DNSName

      +
      +
        -
      • +
      • Method Detail

        - + - + - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Convert the name into user readable string.
          Overrides:
          @@ -316,33 +356,37 @@

          toString

        - +
        • getValue

          -
          public java.lang.String getValue()
          +
          public java.lang.String getValue()
          Get the raw DNSName value.
      +
    +

    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/DeltaCRLIndicatorExtension.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/DeltaCRLIndicatorExtension.html index cec186953..560043fd7 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/DeltaCRLIndicatorExtension.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/DeltaCRLIndicatorExtension.html @@ -1,11 +1,20 @@ - + DeltaCRLIndicatorExtension (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class DeltaCRLIndicatorExtension

    @@ -98,7 +122,7 @@

    Class DeltaCRLIndicat
  • java.lang.Object
  • @@ -297,12 +344,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -316,7 +364,7 @@

          NAME

        - +
          @@ -329,7 +377,7 @@

          NUMBER

        - +
          @@ -345,19 +393,21 @@

          OID

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • DeltaCRLIndicatorExtension

          -
          public DeltaCRLIndicatorExtension(int baseCRLNum)
          +
          public DeltaCRLIndicatorExtension​(int baseCRLNum)
                                      throws java.io.IOException
          Create a DeltaCRLIndicatorExtension with the integer value. The criticality is set to true.
          @@ -369,13 +419,13 @@

          DeltaCRLIndicatorExtension

        - +
        • DeltaCRLIndicatorExtension

          -
          public DeltaCRLIndicatorExtension(java.math.BigInteger baseCRLNum)
          +
          public DeltaCRLIndicatorExtension​(java.math.BigInteger baseCRLNum)
                                      throws java.io.IOException
          Create a DeltaCRLIndicatorExtension with the BigInteger value. The criticality is set to true.
          @@ -387,13 +437,13 @@

          DeltaCRLIndicatorExtension

        - +
        • DeltaCRLIndicatorExtension

          -
          public DeltaCRLIndicatorExtension(java.lang.Boolean critical,
          +
          public DeltaCRLIndicatorExtension​(java.lang.Boolean critical,
                                             java.math.BigInteger baseCRLNum)
                                      throws java.io.IOException
          Create a DeltaCRLIndicatorExtension with the BigInteger value.
          @@ -406,13 +456,13 @@

          DeltaCRLIndicatorExtension

        - +
        • DeltaCRLIndicatorExtension

          -
          public DeltaCRLIndicatorExtension(java.lang.Boolean critical,
          +
          public DeltaCRLIndicatorExtension​(java.lang.Boolean critical,
                                             java.lang.Object value)
                                      throws java.io.IOException
          Create the extension from the passed DER encoded value of the same.
          @@ -427,25 +477,27 @@

          DeltaCRLIndicatorExtension

      +
      +
        -
      • +
      • Method Detail

        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.io.IOException
          Set the attribute value.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the name of the attribute (e.g. "x509.info.key")
          obj - the attribute object.
          @@ -454,18 +506,18 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.io.IOException
          Get the attribute value.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the name of the attribute to return.
          Throws:
          @@ -473,18 +525,18 @@

          get

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.io.IOException
          Delete the attribute value.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the name of the attribute to delete.
          Throws:
          @@ -492,37 +544,37 @@

          delete

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns a printable representation of the DeltaCRLIndicatorExtension.
          Specified by:
          -
          toString in interface CertAttrSet
          +
          toString in interface CertAttrSet
          Overrides:
          -
          toString in class Extension
          +
          toString in class Extension
          Returns:
          value of this certificate attribute in printable form.
        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.io.IOException
          Decode the extension from the InputStream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to unmarshal the contents from.
          Throws:
          @@ -530,18 +582,18 @@

          decode

        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.io.IOException
          Write the extension to the DerOutputStream.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the DerOutputStream to write the extension to.
          Throws:
          @@ -549,34 +601,34 @@

          encode

        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          Return an enumeration of names of attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Return the name of this attribute.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
          @@ -584,21 +636,25 @@

          getName

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/DirStrConverter.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/DirStrConverter.html index eaa9b7a09..6603d6e6a 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/DirStrConverter.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/DirStrConverter.html @@ -1,11 +1,20 @@ - + DirStrConverter (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class DirStrConverter

    @@ -107,13 +131,12 @@

    Class DirStrConverter

  • All Implemented Interfaces:
    -
    AVAValueConverter
    +
    AVAValueConverter

    -
    public class DirStrConverter
     extends java.lang.Object
    -implements AVAValueConverter
    +implements AVAValueConverter
    A DirStrConverter converts a string to a DerValue of ASN.1 Directory String, which is a CHOICE of Printable (subset of ASCII), T.61 (Teletex) or Universal String (UCS-4), and vice versa. @@ -126,8 +149,8 @@

    Class DirStrConverter

    character set) which covers all characters.
    See Also:
    -
    AVAValueConverter, -ASN1CharStrConvMap
    +
    AVAValueConverter, +ASN1CharStrConvMap
  • @@ -136,69 +159,80 @@

    Class DirStrConverter

    @@ -213,12 +248,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -230,34 +266,36 @@

          DirStrConverter

      +
      +
        -
      • +
      • Method Detail

        - +
        • setDefEncodingOrder

          -
          public static void setDefEncodingOrder(byte[] defEncodingOrder)
          +
          public static void setDefEncodingOrder​(byte[] defEncodingOrder)
        - +
        • getValue

          -
          public DerValue getValue(java.lang.String ds)
          +
          public DerValue getValue​(java.lang.String ds)
                             throws java.io.IOException
          -
          Description copied from interface: AVAValueConverter
          +
          Description copied from interface: AVAValueConverter
          Converts a string to a DER encoded attribute value.
          Specified by:
          -
          getValue in interface AVAValueConverter
          +
          getValue in interface AVAValueConverter
          Parameters:
          ds - An AVA value string not encoded in any form.
          Returns:
          @@ -267,19 +305,19 @@

          getValue

        - +
        • getValue

          -
          public DerValue getValue(java.lang.String valueString,
          +
          public DerValue getValue​(java.lang.String valueString,
                                    byte[] tags)
                             throws java.io.IOException
          Like getValue(String) with specified DER tags as encoding order.
          Specified by:
          -
          getValue in interface AVAValueConverter
          +
          getValue in interface AVAValueConverter
          Parameters:
          valueString - An AVA value string not encoded in any form.
          Returns:
          @@ -289,13 +327,13 @@

          getValue

        - +
        • getValue

          -
          public DerValue getValue(byte[] berByteStream)
          +
          public DerValue getValue​(byte[] berByteStream)
                             throws java.io.IOException
          Creates a DerValue from a BER encoded value, obtained from for example a attribute value in octothorpe form of a Ldap DN string. @@ -304,7 +342,7 @@

          getValue

          NOTE: currently only supports DER encoding for the BER encoded value.
          Specified by:
          -
          getValue in interface AVAValueConverter
          +
          getValue in interface AVAValueConverter
          Parameters:
          berByteStream - Byte array of a BER encoded value.
          Returns:
          @@ -315,19 +353,19 @@

          getValue

        - +
        • getAsString

          -
          public java.lang.String getAsString(DerValue avaValue)
          +
          public java.lang.String getAsString​(DerValue avaValue)
                                        throws java.io.IOException
          Converts a DerValue to a string. The string is not in any syntax, such as RFC1779 string syntax.
          Specified by:
          -
          getAsString in interface AVAValueConverter
          +
          getAsString in interface AVAValueConverter
          Parameters:
          avaValue - a DerValue
          Returns:
          @@ -340,21 +378,25 @@

          getAsString

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/DisplayText.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/DisplayText.html index 547220295..1f308e1c5 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/DisplayText.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/DisplayText.html @@ -1,11 +1,20 @@ - + DisplayText (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class DisplayText

    @@ -107,10 +131,9 @@

    Class DisplayText

  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public class DisplayText
     extends java.lang.Object
     implements java.io.Serializable
    @@ -132,88 +155,105 @@

    Class DisplayText

  • @@ -228,12 +269,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -247,7 +289,7 @@

          tag_IA5String

        - +
          @@ -260,7 +302,7 @@

          tag_BMPString

        - +
          @@ -273,7 +315,7 @@

          tag_VisibleString

        - +
          @@ -288,29 +330,31 @@

          tag_UTF8String

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • DisplayText

          -
          public DisplayText(byte tag,
          +
          public DisplayText​(byte tag,
                              java.lang.String s)
        - +
        • DisplayText

          -
          public DisplayText(DerValue val)
          +
          public DisplayText​(DerValue val)
                       throws java.io.IOException
          Throws:
          @@ -320,19 +364,21 @@

          DisplayText

      +
      +
        -
      • +
      • Method Detail

        - +
        • encode

          -
          public void encode(DerOutputStream out)
          +
          public void encode​(DerOutputStream out)
                       throws java.io.IOException
          Write the DisplayText to the DerOutputStream.
          @@ -343,22 +389,22 @@

          encode

        - +
        • getText

          -
          public java.lang.String getText()
          +
          public java.lang.String getText()
        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Overrides:
          toString in class java.lang.Object
          @@ -367,21 +413,25 @@

          toString

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/EDIPartyName.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/EDIPartyName.html index a2b056bb5..8873c3654 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/EDIPartyName.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/EDIPartyName.html @@ -1,11 +1,20 @@ - + EDIPartyName (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class EDIPartyName

    @@ -107,13 +131,12 @@

    Class EDIPartyName

  • All Implemented Interfaces:
    -
    java.io.Serializable, GeneralNameInterface
    +
    java.io.Serializable, GeneralNameInterface

    -
    public class EDIPartyName
     extends java.lang.Object
    -implements GeneralNameInterface
    +implements GeneralNameInterface
    This class defines the EDIPartyName of the GeneralName choice. The ASN.1 syntax for this is: @@ -124,9 +147,9 @@

    Class EDIPartyName

    See Also:
    -
    GeneralName, -GeneralNames, -GeneralNameInterface, +
    GeneralName, +GeneralNames, +GeneralNameInterface, Serialized Form
  • @@ -136,97 +159,111 @@

    Class EDIPartyName

    @@ -234,18 +271,19 @@

    Methods inherited from interface org.mozilla.jss.netscape.security.x509
    • +
        -
      • +
      • Constructor Detail

        - +
        • EDIPartyName

          -
          public EDIPartyName(java.lang.String assignerName,
          +
          public EDIPartyName​(java.lang.String assignerName,
                               java.lang.String partyName)
          Create the EDIPartyName object from the specified names.
          @@ -255,13 +293,13 @@

          EDIPartyName

        - +
        • EDIPartyName

          -
          public EDIPartyName(java.lang.String partyName)
          +
          public EDIPartyName​(java.lang.String partyName)
          Create the EDIPartyName object from the specified name.
          Parameters:
          @@ -269,13 +307,13 @@

          EDIPartyName

        - +
        • EDIPartyName

          -
          public EDIPartyName(DerValue derValue)
          +
          public EDIPartyName​(DerValue derValue)
                        throws java.io.IOException
          Create the EDIPartyName object from the passed encoded Der value.
          @@ -288,38 +326,40 @@

          EDIPartyName

      +
      +
        -
      • +
      • Method Detail

        - + - + - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Return the printable string.
          Overrides:
          @@ -343,21 +383,25 @@

          toString

      +
    +

    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/Extension.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/Extension.html index 73d11ad55..4e7f45b0e 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/Extension.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/Extension.html @@ -1,11 +1,20 @@ - + Extension (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class Extension

    @@ -107,14 +131,13 @@

    Class Extension

  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable
    Direct Known Subclasses:
    -
    AuthInfoAccessExtension, AuthorityKeyIdentifierExtension, BasicConstraintsExtension, CertificateIssuerExtension, CertificatePoliciesExtension, CertificateRenewalWindowExtension, CertificateScopeOfUseExtension, CRLDistributionPointsExtension, CRLNumberExtension, CRLReasonExtension, DeltaCRLIndicatorExtension, ExtendedKeyUsageExtension, FreshestCRLExtension, GenericASN1Extension, HoldInstructionExtension, InhibitAnyPolicyExtension, InvalidityDateExtension, IssuerAlternativeNameExtension, IssuingDistributionPointExtension, KeyUsageExtension, NameConstraintsExtension, NSCCommentExtension, NSCertTypeExtension, OCSPNoCheckExtension, PolicyConstraintsExtension, PolicyMappingsExtension, PresenceServerExtension, PrivateKeyUsageExtension, SubjectAlternativeNameExtension, SubjectDirAttributesExtension, SubjectInfoAccessExtension, SubjectKeyIdentifierExtension
    +
    AuthInfoAccessExtension, AuthorityKeyIdentifierExtension, BasicConstraintsExtension, CertificateIssuerExtension, CertificatePoliciesExtension, CertificateRenewalWindowExtension, CertificateScopeOfUseExtension, CRLDistributionPointsExtension, CRLNumberExtension, CRLReasonExtension, DeltaCRLIndicatorExtension, ExtendedKeyUsageExtension, FreshestCRLExtension, GenericASN1Extension, HoldInstructionExtension, InhibitAnyPolicyExtension, InvalidityDateExtension, IssuerAlternativeNameExtension, IssuingDistributionPointExtension, KeyUsageExtension, NameConstraintsExtension, NSCCommentExtension, NSCertTypeExtension, OCSPNoCheckExtension, PolicyConstraintsExtension, PolicyMappingsExtension, PresenceServerExtension, PrivateKeyUsageExtension, SubjectAlternativeNameExtension, SubjectDirAttributesExtension, SubjectInfoAccessExtension, SubjectKeyIdentifierExtension

    -
    public class Extension
     extends java.lang.Object
     implements java.io.Serializable
    @@ -148,130 +171,154 @@

    Class Extension

  • @@ -286,21 +334,22 @@

    Methods inherited from class java.lang.Object

    • +
      +
      +
        -
      • +
      • Constructor Detail

        - +
          @@ -336,13 +387,13 @@

          Extension

          Default constructor. Used only by sub-classes.
        - +
        • Extension

          -
          public Extension(DerValue derVal)
          +
          public Extension​(DerValue derVal)
                     throws java.io.IOException
          Constructs an extension from a DER encoded array of bytes.
          @@ -351,13 +402,13 @@

          Extension

        - +
        • Extension

          -
          public Extension(ObjectIdentifier extensionId,
          +
          public Extension​(ObjectIdentifier extensionId,
                            boolean critical,
                            byte[] extensionValue)
                     throws java.io.IOException
          @@ -373,13 +424,13 @@

          Extension

        - +
        • Extension

          -
          public Extension(Extension ext)
          +
          public Extension​(Extension ext)
          Constructs an Extension from another extension. To be used for creating decoded subclasses.
          @@ -390,19 +441,21 @@

          Extension

      +
      +
        -
      • +
      • Method Detail

        - +
        • encode

          -
          public void encode(DerOutputStream out)
          +
          public void encode​(DerOutputStream out)
                       throws java.io.IOException
          Write the extension to the DerOutputStream.
          @@ -413,81 +466,81 @@

          encode

        - +
        • isCritical

          -
          public boolean isCritical()
          +
          public boolean isCritical()
          Returns true if extension is critical.
        - +
        • setCritical

          -
          public void setCritical(boolean c)
          +
          public void setCritical​(boolean c)
        - +
        • clearValue

          -
          public void clearValue()
          +
          public void clearValue()
        - + - + - +
        • getExtensionValue

          -
          public byte[] getExtensionValue()
          +
          public byte[] getExtensionValue()
          Returns the extension value as an byte array for further processing. Note, this is the raw DER value of the extension, not the DER encoded octet string which is in the certificate.
        - +
        • setExtensionValue

          -
          public void setExtensionValue(byte[] value)
          +
          public void setExtensionValue​(byte[] value)
        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns the Extension in user readable form.
          Overrides:
          @@ -497,21 +550,25 @@

          toString

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/Extensions.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/Extensions.html index 80cafa730..ec88f50ae 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/Extensions.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/Extensions.html @@ -1,11 +1,20 @@ - + Extensions (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class Extensions

    @@ -104,7 +128,7 @@

    Class Extensions

  • java.util.AbstractList<E>
    • -
    • java.util.Vector<Extension>
    • +
    • java.util.Vector<Extension>
      • org.mozilla.jss.netscape.security.x509.Extensions
      • @@ -122,17 +146,16 @@

        Class Extensions

      • All Implemented Interfaces:
        -
        java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<Extension>, java.util.Collection<Extension>, java.util.List<Extension>, java.util.RandomAccess, CertAttrSet
        +
        java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<Extension>, java.util.Collection<Extension>, java.util.List<Extension>, java.util.RandomAccess, CertAttrSet

        -
        public class Extensions
        -extends java.util.Vector<Extension>
        -implements CertAttrSet
        +extends java.util.Vector<Extension> +implements CertAttrSet
        This class defines the Extensions attribute for the Certificate.
        See Also:
        -
        CertAttrSet, +
        CertAttrSet, Serialized Form
      • @@ -142,40 +165,44 @@

        Class Extensions

        • +
            -
          • +
          • Field Summary

            - +
            - + + - + - +
            Fields 
            Modifier and TypeField and DescriptionFieldDescription
            static java.lang.StringIDENT +IDENT
            Identifier for this attribute, to be used with the get, set, delete methods of Certificate, x509 type.
            static java.lang.StringNAME +NAME
            name
              -
            • +
            • Fields inherited from class java.util.Vector

              capacityIncrement, elementCount, elementData
              -
            • +
            • Fields inherited from class java.util.AbstractList

              @@ -183,129 +210,148 @@

              Fields inherited from class java.util.AbstractList

          +
          +
          +
          +
            -
          • +
          • Method Summary

            - +
            - + + - + - + - + - + + - + - + - + - + + - + + - +
            All Methods Instance Methods Concrete Methods 
            Modifier and TypeMethod and DescriptionMethodDescription
            voiddecode(java.io.InputStream in) +decode​(java.io.InputStream in)
            Decode the extensions from the InputStream.
            voiddelete(java.lang.String name) +delete​(java.lang.String name)
            Delete the attribute value.
            voidencode(java.io.OutputStream out) +encode​(java.io.OutputStream out)
            Encode the extensions in DER form to the stream.
            booleanequals(java.lang.Object obj) equals​(java.lang.Object obj) 
            java.lang.Objectget(java.lang.String name) +get​(java.lang.String name)
            Get the attribute value.
            java.util.Enumeration<java.lang.String>getAttributeNames() +getAttributeNames()
            Return an enumeration of names of attributes existing within this attribute.
            java.lang.StringgetName() +getName()
            Return the name of this attribute.
            inthashCode() hashCode() 
            voidparseExtension(Extension ext) parseExtension​(Extension ext) 
            voidset(java.lang.String name, - java.lang.Object obj) +set​(java.lang.String name, + java.lang.Object obj)
            Set the attribute value.
              -
            • +
            • Methods inherited from class java.util.Vector

              add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, firstElement, forEach, get, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSize
              -
            • +
            • Methods inherited from class java.lang.Object

              finalize, getClass, notify, notifyAll, wait, wait, wait
              -
            • +
            • Methods inherited from interface java.util.Collection

              -parallelStream, stream
            • +parallelStream, stream, toArray
          +
  • @@ -313,12 +359,13 @@

    Methods inherited from interface java.util.Collection

    • +
        -
      • +
      • Field Detail

        - +
          @@ -333,7 +380,7 @@

          IDENT

        - +
          @@ -349,13 +396,15 @@

          NAME

      +
      +
        -
      • +
      • Constructor Detail

        - +
          @@ -365,13 +414,13 @@

          Extensions

          Default constructor for the certificate attribute.
        - +
        • Extensions

          -
          public Extensions(DerInputStream in)
          +
          public Extensions​(DerInputStream in)
                      throws java.io.IOException
          Create the object, decoding the values from the passed DER stream.
          @@ -384,19 +433,21 @@

          Extensions

      +
      +
        -
      • +
      • Method Detail

        - +
        • parseExtension

          -
          public void parseExtension(Extension ext)
          +
          public void parseExtension​(Extension ext)
                               throws java.io.IOException
          Throws:
          @@ -404,18 +455,18 @@

          parseExtension

        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.io.IOException
          Decode the extensions from the InputStream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to unmarshal the contents from.
          Throws:
          @@ -423,19 +474,19 @@

          decode

        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.security.cert.CertificateException,
                              java.io.IOException
          Encode the extensions in DER form to the stream.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the DerOutputStream to marshal the contents to.
          Throws:
          @@ -444,19 +495,19 @@

          encode

        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.io.IOException
          Set the attribute value.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the extension name used in the cache.
          obj - the object to set.
          @@ -465,18 +516,18 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.io.IOException
          Get the attribute value.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the extension name used in the lookup.
          Throws:
          @@ -484,18 +535,18 @@

          get

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.io.IOException
          Delete the attribute value.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the extension name used in the lookup.
          Throws:
          @@ -503,90 +554,94 @@

          delete

        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          Return an enumeration of names of attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Return the name of this attribute.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
        - +
        • hashCode

          -
          public int hashCode()
          +
          public int hashCode()
          Specified by:
          -
          hashCode in interface java.util.Collection<Extension>
          +
          hashCode in interface java.util.Collection<Extension>
          Specified by:
          -
          hashCode in interface java.util.List<Extension>
          +
          hashCode in interface java.util.List<Extension>
          Overrides:
          -
          hashCode in class java.util.Vector<Extension>
          +
          hashCode in class java.util.Vector<Extension>
        - +
        • equals

          -
          public boolean equals(java.lang.Object obj)
          +
          public boolean equals​(java.lang.Object obj)
          Specified by:
          -
          equals in interface java.util.Collection<Extension>
          +
          equals in interface java.util.Collection<Extension>
          Specified by:
          -
          equals in interface java.util.List<Extension>
          +
          equals in interface java.util.List<Extension>
          Overrides:
          -
          equals in class java.util.Vector<Extension>
          +
          equals in class java.util.Vector<Extension>
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/FreshestCRLExtension.Reason.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/FreshestCRLExtension.Reason.html index 4cf92923c..2284417ba 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/FreshestCRLExtension.Reason.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/FreshestCRLExtension.Reason.html @@ -1,11 +1,20 @@ - + FreshestCRLExtension.Reason (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class FreshestCRLExtension.Reason

    @@ -107,10 +131,9 @@

    Class FreshestCRLExt
  • Enclosing class:
    -
    FreshestCRLExtension
    +
    FreshestCRLExtension

    -
    public static class FreshestCRLExtension.Reason
     extends java.lang.Object
    Represents a reason that a cert may be revoked. These reasons are @@ -122,89 +145,106 @@

    Class FreshestCRLExt

    @@ -219,116 +260,119 @@

    Methods inherited from class java.lang.Object

  • +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/FreshestCRLExtension.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/FreshestCRLExtension.html index 81451e885..43f6075a1 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/FreshestCRLExtension.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/FreshestCRLExtension.html @@ -1,11 +1,20 @@ - + FreshestCRLExtension (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class FreshestCRLExtension

    @@ -98,7 +122,7 @@

    Class FreshestCRLExtension<
  • java.lang.Object
    • -
    • org.mozilla.jss.netscape.security.x509.Extension
    • +
    • org.mozilla.jss.netscape.security.x509.Extension
      • org.mozilla.jss.netscape.security.x509.FreshestCRLExtension
      • @@ -112,13 +136,12 @@

        Class FreshestCRLExtension<
      • All Implemented Interfaces:
        -
        java.io.Serializable, CertAttrSet
        +
        java.io.Serializable, CertAttrSet

        -
        public class FreshestCRLExtension
        -extends Extension
        -implements CertAttrSet
        +extends Extension +implements CertAttrSet
        An extension that tells applications where to find the latest (freshest) delta CRL for this certificate or full CRL. @@ -155,80 +178,94 @@

        Class FreshestCRLExtension<

        @@ -365,12 +421,13 @@

        Methods inherited from class java.lang.Object

        • +
            -
          • +
          • Field Detail

            - +
              @@ -383,7 +440,7 @@

              NAME

            - +
              @@ -398,13 +455,15 @@

              OID

          +
          +
            -
          • +
          • Constructor Detail

            - +
              @@ -413,99 +472,101 @@

              FreshestCRLExtension

              public FreshestCRLExtension()
            - +
            • FreshestCRLExtension

              -
              public FreshestCRLExtension(java.lang.Boolean critical,
              +
              public FreshestCRLExtension​(java.lang.Boolean critical,
                                           java.lang.Object value)
              This constructor is called by the CertificateExtensions class to decode an extension whose OID indicates it is a CRLDistributionsPoints extension.
            - +
            • FreshestCRLExtension

              -
              public FreshestCRLExtension(CRLDistributionPoint dp)
              +
              public FreshestCRLExtension​(CRLDistributionPoint dp)
              Creates a new FreshestCRL extension, with the given distribution point as the first element.
          +
          +
            -
          • +
          • Method Detail

            - + - +
            • getNumPoints

              -
              public int getNumPoints()
              +
              public int getNumPoints()
              Returns the number of distribution points in the sequence.
            - + - +
            • setCritical

              -
              public void setCritical(boolean critical)
              +
              public void setCritical​(boolean critical)
              Sets the criticality of this extension. PKIX dictates that this extension SHOULD NOT be critical, so applications can make it critical if they have a very good reason. By default, the extension is not critical.
              Overrides:
              -
              setCritical in class Extension
              +
              setCritical in class Extension
            - +
            • encode

              -
              public void encode(DerOutputStream out)
              +
              public void encode​(DerOutputStream out)
                           throws java.io.IOException
              Encodes this extension to the given DerOutputStream. This method re-encodes each time it is called, so it is not very efficient.
              Overrides:
              -
              encode in class Extension
              +
              encode in class Extension
              Parameters:
              out - the DerOutputStream to write the extension to.
              Throws:
              @@ -513,50 +574,50 @@

              encode

            - +
            • flushCachedEncoding

              -
              public void flushCachedEncoding()
              +
              public void flushCachedEncoding()
              Should be called if any change is made to this data structure so that the cached DER encoding can be discarded.
            - + - +
            • encode

              -
              public void encode(java.io.OutputStream ostream)
              +
              public void encode​(java.io.OutputStream ostream)
                           throws java.security.cert.CertificateException,
                                  java.io.IOException
              DER-encodes this extension to the given OutputStream.
              Specified by:
              -
              encode in interface CertAttrSet
              +
              encode in interface CertAttrSet
              Parameters:
              ostream - the OutputStream to encode the attribute to.
              Throws:
              @@ -565,20 +626,20 @@

              encode

            - +
            • decode

              -
              public void decode(java.io.InputStream in)
              +
              public void decode​(java.io.InputStream in)
                           throws java.security.cert.CertificateException,
                                  java.io.IOException
              -
              Description copied from interface: CertAttrSet
              +
              Description copied from interface: CertAttrSet
              Decodes the attribute in the input stream.
              Specified by:
              -
              decode in interface CertAttrSet
              +
              decode in interface CertAttrSet
              Parameters:
              in - the InputStream to read the encoded attribute from.
              Throws:
              @@ -587,21 +648,21 @@

              decode

            - +
            • set

              -
              public void set(java.lang.String name,
              +
              public void set​(java.lang.String name,
                               java.lang.Object obj)
                        throws java.security.cert.CertificateException,
                               java.io.IOException
              -
              Description copied from interface: CertAttrSet
              +
              Description copied from interface: CertAttrSet
              Sets an attribute value within this CertAttrSet.
              Specified by:
              -
              set in interface CertAttrSet
              +
              set in interface CertAttrSet
              Parameters:
              name - the name of the attribute (e.g. "x509.info.key")
              obj - the attribute object.
              @@ -611,20 +672,20 @@

              set

            - +
            • get

              -
              public java.lang.Object get(java.lang.String name)
              +
              public java.lang.Object get​(java.lang.String name)
                                    throws java.security.cert.CertificateException,
                                           java.io.IOException
              -
              Description copied from interface: CertAttrSet
              +
              Description copied from interface: CertAttrSet
              Gets an attribute value for this CertAttrSet.
              Specified by:
              -
              get in interface CertAttrSet
              +
              get in interface CertAttrSet
              Parameters:
              name - the name of the attribute to return.
              Throws:
              @@ -633,20 +694,20 @@

              get

            - +
            • delete

              -
              public void delete(java.lang.String name)
              +
              public void delete​(java.lang.String name)
                           throws java.security.cert.CertificateException,
                                  java.io.IOException
              -
              Description copied from interface: CertAttrSet
              +
              Description copied from interface: CertAttrSet
              Deletes an attribute value from this CertAttrSet.
              Specified by:
              -
              delete in interface CertAttrSet
              +
              delete in interface CertAttrSet
              Parameters:
              name - the name of the attribute to delete.
              Throws:
              @@ -655,68 +716,72 @@

              delete

            - +
            • getAttributeNames

              -
              public java.util.Enumeration<java.lang.String> getAttributeNames()
              -
              Description copied from interface: CertAttrSet
              +
              public java.util.Enumeration<java.lang.String> getAttributeNames()
              +
              Description copied from interface: CertAttrSet
              Returns an enumeration of the names of the attributes existing within this attribute.
              Specified by:
              -
              getAttributeNames in interface CertAttrSet
              +
              getAttributeNames in interface CertAttrSet
              Returns:
              an enumeration of the attribute names.
            - +
            • getName

              -
              public java.lang.String getName()
              -
              Description copied from interface: CertAttrSet
              +
              public java.lang.String getName()
              +
              Description copied from interface: CertAttrSet
              Returns the name (identifier) of this CertAttrSet.
              Specified by:
              -
              getName in interface CertAttrSet
              +
              getName in interface CertAttrSet
              Returns:
              the name of this CertAttrSet.
            - +
            • main

              -
              public static void main(java.lang.String[] args)
              +
              public static void main​(java.lang.String[] args)
              Test driver.
          +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/GeneralName.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/GeneralName.html index 9dc553bd8..4935cc1e4 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/GeneralName.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/GeneralName.html @@ -1,11 +1,20 @@ - + GeneralName (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class GeneralName

    @@ -107,13 +131,12 @@

    Class GeneralName

  • All Implemented Interfaces:
    -
    java.io.Serializable, GeneralNameInterface
    +
    java.io.Serializable, GeneralNameInterface

    -
    public class GeneralName
     extends java.lang.Object
    -implements GeneralNameInterface
    +implements GeneralNameInterface
    This class implements the ASN.1 GeneralName object class.

    The ASN.1 syntax for this is: @@ -142,98 +165,113 @@

    Class GeneralName

    @@ -248,18 +287,19 @@

    Methods inherited from class java.lang.Object

  • +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/GeneralNameInterface.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/GeneralNameInterface.html index 9ad4c9f13..bf19541bf 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/GeneralNameInterface.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/GeneralNameInterface.html @@ -1,11 +1,20 @@ - + GeneralNameInterface (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Interface GeneralNameInterface

    @@ -99,14 +123,13 @@

    Interface GeneralNameIn
  • All Superinterfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable
    All Known Implementing Classes:
    -
    DNSName, EDIPartyName, GeneralName, IPAddressName, OIDName, OtherName, RFC822Name, URIName, X500Name
    +
    DNSName, EDIPartyName, GeneralName, IPAddressName, OIDName, OtherName, RFC822Name, URIName, X500Name

    -
    public interface GeneralNameInterface
     extends java.io.Serializable
    This interface specifies the abstract methods which have to be @@ -118,93 +141,111 @@

    Interface GeneralNameIn

    @@ -219,12 +261,13 @@

    Method Summary

    • +
        -
      • +
      • Field Detail

        - +
          @@ -238,7 +281,7 @@

          NAME_ANY

        - +
          @@ -251,7 +294,7 @@

          NAME_RFC822

        - +
          @@ -264,7 +307,7 @@

          NAME_DNS

        - +
          @@ -277,7 +320,7 @@

          NAME_X400

        - +
          @@ -290,7 +333,7 @@

          NAME_DIRECTORY

        - +
          @@ -303,7 +346,7 @@

          NAME_EDI

        - +
          @@ -316,7 +359,7 @@

          NAME_URI

        - +
          @@ -329,7 +372,7 @@

          NAME_IP

        - +
          @@ -344,30 +387,32 @@

          NAME_OID

      +
      +
        -
      • +
      • Method Detail

        - +
        • getType

          -
          int getType()
          +
          int getType()
          Return the type of the general name, as defined above.
        - +
        • encode

          -
          void encode(DerOutputStream out)
          +
          void encode​(DerOutputStream out)
                throws java.io.IOException
          Encode the name to the specified DerOutputStream.
          @@ -379,45 +424,49 @@

          encode

        - +
        • validSingle

          -
          default boolean validSingle()
          +
          default boolean validSingle()
          Whether the name is valid as a single name (e.g. for use in Subject Alternative Name extension).
        - +
        • validSubtree

          -
          default boolean validSubtree()
          +
          default boolean validSubtree()
          Whether the name is valid as a subtree name (e.g. for use in Name Constraints extension)
      +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/GeneralNames.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/GeneralNames.html index 1b18386d3..05fb9ddc2 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/GeneralNames.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/GeneralNames.html @@ -1,11 +1,20 @@ - + GeneralNames (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class GeneralNames

    @@ -104,7 +128,7 @@

    Class GeneralNames

  • java.util.AbstractList<E>
    • -
    • java.util.Vector<GeneralNameInterface>
    • +
    • java.util.Vector<GeneralNameInterface>
      • org.mozilla.jss.netscape.security.x509.GeneralNames
      • @@ -122,12 +146,11 @@

        Class GeneralNames

      • All Implemented Interfaces:
        -
        java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<GeneralNameInterface>, java.util.Collection<GeneralNameInterface>, java.util.List<GeneralNameInterface>, java.util.RandomAccess
        +
        java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<GeneralNameInterface>, java.util.Collection<GeneralNameInterface>, java.util.List<GeneralNameInterface>, java.util.RandomAccess

        -
        public class GeneralNames
        -extends java.util.Vector<GeneralNameInterface>
        +extends java.util.Vector<GeneralNameInterface>
        This object class represents the GeneralNames type required in X509 certificates.

        @@ -147,20 +170,21 @@

        Class GeneralNames

        • +
            -
          • +
          • Field Summary

              -
            • +
            • Fields inherited from class java.util.Vector

              capacityIncrement, elementCount, elementData
              -
            • +
            • Fields inherited from class java.util.AbstractList

              @@ -168,77 +192,88 @@

              Fields inherited from class java.util.AbstractList

          +
          +
          +
          +
            -
          • +
          • Method Summary

            - +
            - + + - +
            All Methods Instance Methods Concrete Methods 
            Modifier and TypeMethod and DescriptionMethodDescription
            voidencode(DerOutputStream out) +encode​(DerOutputStream out)
            Write the extension to the DerOutputStream.
              -
            • +
            • Methods inherited from class java.util.Vector

              add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSize
              -
            • +
            • Methods inherited from class java.lang.Object

              finalize, getClass, notify, notifyAll, wait, wait, wait
              -
            • +
            • Methods inherited from interface java.util.Collection

              -parallelStream, stream
            • +parallelStream, stream, toArray
          +
        @@ -246,20 +281,21 @@

        Methods inherited from interface java.util.Collection

  • +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/GeneralNamesException.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/GeneralNamesException.html index 8aa142be3..b64608917 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/GeneralNamesException.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/GeneralNamesException.html @@ -1,11 +1,20 @@ - + GeneralNamesException (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class GeneralNamesException

    @@ -116,10 +140,9 @@

    Class GeneralNamesExceptio
  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public class GeneralNamesException
     extends java.security.GeneralSecurityException
    Generic General Names Exception.
    @@ -134,55 +157,63 @@

    Class GeneralNamesExceptio
    • +
      +
      +
        -
      • +
      • Method Summary

          -
        • +
        • Methods inherited from class java.lang.Throwable

          addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -190,6 +221,7 @@

          Methods inherited from class java.lang.Object

      +

  • @@ -197,12 +229,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -212,13 +245,13 @@

          GeneralNamesException

          Constructs a GeneralNamesException with no detail message.
        - +
        • GeneralNamesException

          -
          public GeneralNamesException(java.lang.String message)
          +
          public GeneralNamesException​(java.lang.String message)
          Constructs the exception with the specified error message.
          Parameters:
          @@ -226,13 +259,13 @@

          GeneralNamesException

        - +
        • GeneralNamesException

          -
          public GeneralNamesException(java.lang.String mesg,
          +
          public GeneralNamesException​(java.lang.String mesg,
                                        java.lang.Throwable cause)
          Constructs the exception with the specified error message and cause.
          @@ -242,13 +275,13 @@

          GeneralNamesException

        - +
        • GeneralNamesException

          -
          public GeneralNamesException(java.lang.Throwable cause)
          +
          public GeneralNamesException​(java.lang.Throwable cause)
          Constructs the exception with the specified cause.
          Parameters:
          @@ -258,21 +291,25 @@

          GeneralNamesException

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/GeneralSubtree.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/GeneralSubtree.html index 413f1b67c..c62591e9c 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/GeneralSubtree.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/GeneralSubtree.html @@ -1,11 +1,20 @@ - + GeneralSubtree (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class GeneralSubtree

    @@ -107,10 +131,9 @@

    Class GeneralSubtree

  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public class GeneralSubtree
     extends java.lang.Object
     implements java.io.Serializable
    @@ -135,74 +158,87 @@

    Class GeneralSubtree

  • @@ -217,18 +254,19 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • GeneralSubtree

          -
          public GeneralSubtree(GeneralName name,
          +
          public GeneralSubtree​(GeneralName name,
                                 int min,
                                 int max)
          The default constructor for the class.
          @@ -240,13 +278,13 @@

          GeneralSubtree

        - +
        • GeneralSubtree

          -
          public GeneralSubtree(DerValue val)
          +
          public GeneralSubtree​(DerValue val)
                          throws java.io.IOException
          Create the object from its DER encoded form.
          @@ -259,19 +297,21 @@

          GeneralSubtree

      +
      +
        -
      • +
      • Method Detail

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Return a printable string of the GeneralSubtree.
          Overrides:
          @@ -279,22 +319,22 @@

          toString

        - +
        • toPrint

          -
          public java.lang.String toPrint(int indent)
          +
          public java.lang.String toPrint​(int indent)
        - +
        • encode

          -
          public void encode(DerOutputStream out)
          +
          public void encode​(DerOutputStream out)
                       throws java.io.IOException
          Encode the GeneralSubtree.
          @@ -305,50 +345,54 @@

          encode

        - + - +
        • getMaxValue

          -
          public int getMaxValue()
          +
          public int getMaxValue()
        - +
        • getMinValue

          -
          public int getMinValue()
          +
          public int getMinValue()
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/GeneralSubtrees.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/GeneralSubtrees.html index 9a2fcd01e..9c6114eba 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/GeneralSubtrees.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/GeneralSubtrees.html @@ -1,11 +1,20 @@ - + GeneralSubtrees (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class GeneralSubtrees

    @@ -107,10 +131,9 @@

    Class GeneralSubtrees

  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public class GeneralSubtrees
     extends java.lang.Object
     implements java.io.Serializable
    @@ -126,64 +149,75 @@

    Class GeneralSubtrees

  • @@ -198,18 +233,19 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • GeneralSubtrees

          -
          public GeneralSubtrees(java.util.Vector<GeneralSubtree> trees)
          +
          public GeneralSubtrees​(java.util.Vector<GeneralSubtree> trees)
          The default constructor for the class.
          Parameters:
          @@ -217,13 +253,13 @@

          GeneralSubtrees

        - +
        • GeneralSubtrees

          -
          public GeneralSubtrees(DerValue val)
          +
          public GeneralSubtrees​(DerValue val)
                           throws java.io.IOException
          Create the object from the passed DER encoded form.
          @@ -236,19 +272,21 @@

          GeneralSubtrees

      +
      +
        -
      • +
      • Method Detail

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Return a printable string of the GeneralSubtree.
          Overrides:
          @@ -256,22 +294,22 @@

          toString

        - +
        • toPrint

          -
          public java.lang.String toPrint(int indent)
          +
          public java.lang.String toPrint​(int indent)
        - +
        • encode

          -
          public void encode(DerOutputStream out)
          +
          public void encode​(DerOutputStream out)
                       throws java.io.IOException
          Encode the GeneralSubtrees.
          @@ -282,32 +320,36 @@

          encode

        - +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/GenericValueConverter.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/GenericValueConverter.html index cbebb3d69..be0e44b9e 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/GenericValueConverter.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/GenericValueConverter.html @@ -1,11 +1,20 @@ - + GenericValueConverter (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class GenericValueConverter

    @@ -107,13 +131,12 @@

    Class GenericValueConverte
  • All Implemented Interfaces:
    -
    AVAValueConverter
    +
    AVAValueConverter

    -
    public class GenericValueConverter
     extends java.lang.Object
    -implements AVAValueConverter
    +implements AVAValueConverter
    A GenericValueConverter converts a string that is not associated with a particular attribute to a DER encoded ASN.1 character string type. Currently supports PrintableString, IA5String, BMPString T.61String and @@ -132,65 +155,75 @@

    Class GenericValueConverte
    • +
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - + - - + + - - + + - - + +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        java.lang.StringgetAsString(DerValue avaValue) +getAsString​(DerValue avaValue)
        Converts a DerValue of ASN1 Character string type to a java string (the string is not encoded in any form).
        DerValuegetValue(byte[] berByteStream) +DerValuegetValue​(byte[] berByteStream)
        Creates a DerValue from the byte array of BER encoded value.
        DerValuegetValue(java.lang.String s) +DerValuegetValue​(java.lang.String s)
        Converts a string to a DER encoded ASN.1 primtable string, defined here as a PrintableString, IA5String, T.61String, BMPString or UniversalString.
        DerValuegetValue(java.lang.String valueString, - byte[] tags) +DerValuegetValue​(java.lang.String valueString, + byte[] tags)
        Converts a string to a DER encoded attribute value.
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -198,6 +231,7 @@

          Methods inherited from class java.lang.Object

      +

    @@ -205,12 +239,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -221,19 +256,21 @@

          GenericValueConverter

      +
      +
        -
      • +
      • Method Detail

        - +
        • getValue

          -
          public DerValue getValue(java.lang.String s)
          +
          public DerValue getValue​(java.lang.String s)
                             throws java.io.IOException
          Converts a string to a DER encoded ASN.1 primtable string, defined here as a PrintableString, IA5String, T.61String, BMPString or @@ -245,7 +282,7 @@

          getValue

          PrintableString character and only a PrintableString encoder is available then an IOException is thrown.
          Specified by:
          -
          getValue in interface AVAValueConverter
          +
          getValue in interface AVAValueConverter
          Parameters:
          s - A string representing a generic attribute string value.
          Returns:
          @@ -257,23 +294,23 @@

          getValue

        - +
        • getValue

          -
          public DerValue getValue(java.lang.String valueString,
          +
          public DerValue getValue​(java.lang.String valueString,
                                    byte[] tags)
                             throws java.io.IOException
          -
          Description copied from interface: AVAValueConverter
          +
          Description copied from interface: AVAValueConverter
          Converts a string to a DER encoded attribute value. Specify the order of DER tags to use if more than one encoding is possible. Currently Directory Strings can have different order for backwards compatibility. By 2003 all should be UTF8String.
          Specified by:
          -
          getValue in interface AVAValueConverter
          +
          getValue in interface AVAValueConverter
          Parameters:
          valueString - An AVA value string not encoded in any form.
          Returns:
          @@ -283,20 +320,20 @@

          getValue

        - +
        • getValue

          -
          public DerValue getValue(byte[] berByteStream)
          +
          public DerValue getValue​(byte[] berByteStream)
                             throws java.io.IOException
          Creates a DerValue from the byte array of BER encoded value. NOTE: currently only supports DER encoding (a form of BER) on input .
          Specified by:
          -
          getValue in interface AVAValueConverter
          +
          getValue in interface AVAValueConverter
          Parameters:
          berByteStream - Byte array of a BER encoded value.
          Returns:
          @@ -307,19 +344,19 @@

          getValue

        - +
        • getAsString

          -
          public java.lang.String getAsString(DerValue avaValue)
          +
          public java.lang.String getAsString​(DerValue avaValue)
                                        throws java.io.IOException
          Converts a DerValue of ASN1 Character string type to a java string (the string is not encoded in any form).
          Specified by:
          -
          getAsString in interface AVAValueConverter
          +
          getAsString in interface AVAValueConverter
          Parameters:
          avaValue - A DerValue
          Returns:
          @@ -334,21 +371,25 @@

          getAsString

      +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/HoldInstructionExtension.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/HoldInstructionExtension.html index eabca0166..db1be3b60 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/HoldInstructionExtension.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/HoldInstructionExtension.html @@ -1,11 +1,20 @@ - + HoldInstructionExtension (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class HoldInstructionExtension

    @@ -98,7 +122,7 @@

    Class HoldInstructionEx
  • java.lang.Object
  • @@ -347,12 +405,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -366,7 +425,7 @@

          NAME

        - +
          @@ -379,7 +438,7 @@

          HOLD_INSTRUCTION

        - +
          @@ -393,7 +452,7 @@

          OID

        - +
          @@ -406,16 +465,16 @@

          NONE_HOLD_INSTR_OID_STR

        - + - +
          @@ -428,16 +487,16 @@

          CALL_ISSUER_HOLD_INSTR_OID_STR

        - +
        • CALL_ISSUER_HOLD_INSTR_OID

          -
          public static final ObjectIdentifier CALL_ISSUER_HOLD_INSTR_OID
          +
          public static final ObjectIdentifier CALL_ISSUER_HOLD_INSTR_OID
        - +
          @@ -450,30 +509,32 @@

          REJECT_HOLD_INSTR_OID_STR

        - +
      +
      +
        -
      • +
      • Constructor Detail

        - +
        • HoldInstructionExtension

          -
          public HoldInstructionExtension(int code)
          +
          public HoldInstructionExtension​(int code)
                                    throws java.io.IOException
          Create a HoldInstructionExtension with the date. The criticality is set to false.
          @@ -485,13 +546,13 @@

          HoldInstructionExtension

        - +
        • HoldInstructionExtension

          -
          public HoldInstructionExtension(java.lang.String oidStr)
          +
          public HoldInstructionExtension​(java.lang.String oidStr)
                                    throws java.io.IOException
          Create a HoldInstructionExtension with the date. The criticality is set to false.
          @@ -503,13 +564,13 @@

          HoldInstructionExtension

        - +
        • HoldInstructionExtension

          -
          public HoldInstructionExtension(ObjectIdentifier oid)
          +
          public HoldInstructionExtension​(ObjectIdentifier oid)
                                    throws java.io.IOException
          Create a HoldInstructionExtension with the date. The criticality is set to false.
          @@ -521,13 +582,13 @@

          HoldInstructionExtension

        - +
        • HoldInstructionExtension

          -
          public HoldInstructionExtension(java.lang.Boolean critical,
          +
          public HoldInstructionExtension​(java.lang.Boolean critical,
                                           int code)
                                    throws java.io.IOException
          Create a HoldInstructionExtension with the date. @@ -541,13 +602,13 @@

          HoldInstructionExtension

        - +
        • HoldInstructionExtension

          -
          public HoldInstructionExtension(java.lang.Boolean critical,
          +
          public HoldInstructionExtension​(java.lang.Boolean critical,
                                           java.lang.String oidStr)
                                    throws java.io.IOException
          Create a HoldInstructionExtension with the date. @@ -561,14 +622,14 @@

          HoldInstructionExtension

        - +
        • HoldInstructionExtension

          -
          public HoldInstructionExtension(java.lang.Boolean critical,
          -                                ObjectIdentifier oid)
          +
          public HoldInstructionExtension​(java.lang.Boolean critical,
          +                                ObjectIdentifier oid)
                                    throws java.io.IOException
          Create a HoldInstructionExtension with the date. The criticality is set to false.
          @@ -581,13 +642,13 @@

          HoldInstructionExtension

        - +
        • HoldInstructionExtension

          -
          public HoldInstructionExtension(java.lang.Boolean critical,
          +
          public HoldInstructionExtension​(java.lang.Boolean critical,
                                           java.lang.Object value)
                                    throws java.io.IOException
          Create the extension from the passed DER encoded value of the same.
          @@ -602,44 +663,46 @@

          HoldInstructionExtension

      +
      +
        -
      • +
      • Method Detail

        - + - +
        • getHoldInstructionCodeDescription

          -
          public java.lang.String getHoldInstructionCodeDescription()
          +
          public java.lang.String getHoldInstructionCodeDescription()
        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.io.IOException
          Set the attribute value.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the name of the attribute (e.g. "x509.info.key")
          obj - the attribute object.
          @@ -648,18 +711,18 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.io.IOException
          Get the attribute value.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the name of the attribute to return.
          Throws:
          @@ -667,18 +730,18 @@

          get

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.io.IOException
          Delete the attribute value.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the name of the attribute to delete.
          Throws:
          @@ -686,37 +749,37 @@

          delete

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns a printable representation of the HoldInstructionExtension.
          Specified by:
          -
          toString in interface CertAttrSet
          +
          toString in interface CertAttrSet
          Overrides:
          -
          toString in class Extension
          +
          toString in class Extension
          Returns:
          value of this certificate attribute in printable form.
        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.io.IOException
          Decode the extension from the InputStream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to unmarshal the contents from.
          Throws:
          @@ -724,18 +787,18 @@

          decode

        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.io.IOException
          Write the extension to the DerOutputStream.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the DerOutputStream to write the extension to.
          Throws:
          @@ -743,34 +806,34 @@

          encode

        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          Return an enumeration of names of attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Return the name of this attribute.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
          @@ -778,21 +841,25 @@

          getName

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/IA5StringConverter.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/IA5StringConverter.html index 4aa12b552..b34976b96 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/IA5StringConverter.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/IA5StringConverter.html @@ -1,11 +1,20 @@ - + IA5StringConverter (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class IA5StringConverter

    @@ -107,18 +131,17 @@

    Class IA5StringConverter

  • All Implemented Interfaces:
    -
    AVAValueConverter
    +
    AVAValueConverter

    -
    public class IA5StringConverter
     extends java.lang.Object
    -implements AVAValueConverter
    +implements AVAValueConverter
    A AVAValueConverter that converts a IA5String attribute to a DerValue and vice versa. An example an attribute that is a IA5String string is "E".
    See Also:
    -
    AVAValueConverter
    +
    AVAValueConverter
  • @@ -127,62 +150,72 @@

    Class IA5StringConverter

    • +
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - + - - + + - - + + - - + +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        java.lang.StringgetAsString(DerValue avaValue) +getAsString​(DerValue avaValue)
        Converts a DER encoded value to a string, not encoded in any form.
        DerValuegetValue(byte[] berStream) +DerValuegetValue​(byte[] berStream)
        Converts a BER encoded value to a DER encoded attribute value.
        DerValuegetValue(java.lang.String valueString) +DerValuegetValue​(java.lang.String valueString)
        Converts a string to a DER encoded attribute value.
        DerValuegetValue(java.lang.String valueString, - byte[] tags) +DerValuegetValue​(java.lang.String valueString, + byte[] tags)
        Converts a string to a DER encoded attribute value.
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -190,6 +223,7 @@

          Methods inherited from class java.lang.Object

      +
    @@ -197,12 +231,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -213,25 +248,27 @@

          IA5StringConverter

      +
      +
        -
      • +
      • Method Detail

        - +
        • getValue

          -
          public DerValue getValue(java.lang.String valueString)
          +
          public DerValue getValue​(java.lang.String valueString)
                             throws java.io.IOException
          -
          Description copied from interface: AVAValueConverter
          +
          Description copied from interface: AVAValueConverter
          Converts a string to a DER encoded attribute value.
          Specified by:
          -
          getValue in interface AVAValueConverter
          +
          getValue in interface AVAValueConverter
          Parameters:
          valueString - An AVA value string not encoded in any form.
          Returns:
          @@ -241,23 +278,23 @@

          getValue

        - +
        • getValue

          -
          public DerValue getValue(java.lang.String valueString,
          +
          public DerValue getValue​(java.lang.String valueString,
                                    byte[] tags)
                             throws java.io.IOException
          -
          Description copied from interface: AVAValueConverter
          +
          Description copied from interface: AVAValueConverter
          Converts a string to a DER encoded attribute value. Specify the order of DER tags to use if more than one encoding is possible. Currently Directory Strings can have different order for backwards compatibility. By 2003 all should be UTF8String.
          Specified by:
          -
          getValue in interface AVAValueConverter
          +
          getValue in interface AVAValueConverter
          Parameters:
          valueString - An AVA value string not encoded in any form.
          Returns:
          @@ -267,19 +304,19 @@

          getValue

        - +
        • getValue

          -
          public DerValue getValue(byte[] berStream)
          +
          public DerValue getValue​(byte[] berStream)
                             throws java.io.IOException
          -
          Description copied from interface: AVAValueConverter
          +
          Description copied from interface: AVAValueConverter
          Converts a BER encoded value to a DER encoded attribute value.
          Specified by:
          -
          getValue in interface AVAValueConverter
          +
          getValue in interface AVAValueConverter
          Parameters:
          berStream - A byte array of the BER encoded AVA value.
          Returns:
          @@ -289,19 +326,19 @@

          getValue

        - +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/IPAddressName.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/IPAddressName.html index b33f0097f..b371f23bf 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/IPAddressName.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/IPAddressName.html @@ -1,11 +1,20 @@ - + IPAddressName (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class IPAddressName

    @@ -107,20 +131,19 @@

    Class IPAddressName

  • All Implemented Interfaces:
    -
    java.io.Serializable, GeneralNameInterface
    +
    java.io.Serializable, GeneralNameInterface

    -
    public class IPAddressName
     extends java.lang.Object
    -implements GeneralNameInterface
    +implements GeneralNameInterface
    This class implements the IPAddressName as required by the GeneralNames ASN.1 object.
    See Also:
    -
    GeneralName, -GeneralNameInterface, -GeneralNames, +
    GeneralName, +GeneralNameInterface, +GeneralNames, Serialized Form
  • @@ -130,110 +153,128 @@

    Class IPAddressName

    @@ -283,12 +329,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -301,7 +348,7 @@

          IPv4_LEN

        - +
          @@ -316,19 +363,21 @@

          IPv6_LEN

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • IPAddressName

          -
          public IPAddressName(DerValue derValue)
          +
          public IPAddressName​(DerValue derValue)
                         throws java.io.IOException
          Create the IPAddressName object from the passed encoded Der value.
          @@ -339,13 +388,13 @@

          IPAddressName

        - +
        • IPAddressName

          -
          public IPAddressName(byte[] address)
          +
          public IPAddressName​(byte[] address)
          Create the IPAddressName object with the specified name.
          Parameters:
          @@ -353,13 +402,13 @@

          IPAddressName

        - +
        • IPAddressName

          -
          public IPAddressName(java.lang.String s,
          +
          public IPAddressName​(java.lang.String s,
                                java.lang.String netmask)
          Create the IPAddressName object with a string representing the ip address and a string representing the netmask, with encoding @@ -372,14 +421,14 @@

          IPAddressName

        - +
        • IPAddressName

          -
          public IPAddressName(java.lang.String s,
          -                     CIDRNetmask mask)
          +
          public IPAddressName​(java.lang.String s,
          +                     CIDRNetmask mask)
          IP address with CIDR netmask
          Parameters:
          @@ -388,13 +437,13 @@

          IPAddressName

        - +
        • IPAddressName

          -
          public IPAddressName(java.lang.String s)
          +
          public IPAddressName​(java.lang.String s)
          Create the IPAddressName object with a string representing the ip address.
          @@ -405,70 +454,72 @@

          IPAddressName

      +
      +
        -
      • +
      • Method Detail

        - + - + - + - + - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Return a printable string of IPaddress
          Overrides:
          @@ -490,25 +541,25 @@

          toString

        - +
        • fillIPv4Address

          -
          public static int fillIPv4Address(java.lang.String s,
          +
          public static int fillIPv4Address​(java.lang.String s,
                                             byte[] address,
                                             int start)
          Gets an IP v4 address in the form n.n.n.n.
        - +
        • fillIPv6Address

          -
          public static int fillIPv6Address(java.lang.String s,
          +
          public static int fillIPv6Address​(java.lang.String s,
                                             byte[] address,
                                             int start)
          Gets an IP address in the forms as defined in RFC1884:
          @@ -521,21 +572,25 @@

          fillIPv6Address

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/InvalidIPAddressException.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/InvalidIPAddressException.html index d3a04481c..bf890a727 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/InvalidIPAddressException.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/InvalidIPAddressException.html @@ -1,11 +1,20 @@ - + InvalidIPAddressException (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class InvalidIPAddressException

    @@ -116,10 +140,9 @@

    Class InvalidIPAddress
  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public class InvalidIPAddressException
     extends java.lang.RuntimeException
    @@ -133,50 +156,58 @@

    Class InvalidIPAddress

  • @@ -191,12 +223,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -205,32 +238,32 @@

          InvalidIPAddressException

          public InvalidIPAddressException()
        - +
        • InvalidIPAddressException

          -
          public InvalidIPAddressException(java.lang.String ip)
          +
          public InvalidIPAddressException​(java.lang.String ip)
        - +
        • InvalidIPAddressException

          -
          public InvalidIPAddressException(java.lang.String ip,
          +
          public InvalidIPAddressException​(java.lang.String ip,
                                            java.lang.Throwable cause)
        - +
        • InvalidIPAddressException

          -
          public InvalidIPAddressException(java.lang.String ip,
          +
          public InvalidIPAddressException​(java.lang.String ip,
                                            java.lang.Throwable cause,
                                            boolean enableSuppression,
                                            boolean writableStackTrace)
          @@ -238,21 +271,25 @@

          InvalidIPAddressException

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/InvalidNetmaskException.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/InvalidNetmaskException.html index 084e9866f..5e20a3508 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/InvalidNetmaskException.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/InvalidNetmaskException.html @@ -1,11 +1,20 @@ - + InvalidNetmaskException (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class InvalidNetmaskException

    @@ -116,10 +140,9 @@

    Class InvalidNetmaskExce
  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public class InvalidNetmaskException
     extends java.lang.RuntimeException
    @@ -133,47 +156,54 @@

    Class InvalidNetmaskExce
    • +
      +
      +
        -
      • +
      • Method Summary

          -
        • +
        • Methods inherited from class java.lang.Throwable

          addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -181,6 +211,7 @@

          Methods inherited from class java.lang.Object

      +

  • @@ -188,37 +219,38 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • InvalidNetmaskException

          -
          public InvalidNetmaskException(java.lang.String netmask)
          +
          public InvalidNetmaskException​(java.lang.String netmask)
        - +
        • InvalidNetmaskException

          -
          public InvalidNetmaskException(java.lang.String netmask,
          +
          public InvalidNetmaskException​(java.lang.String netmask,
                                          java.lang.Throwable cause)
        - +
        • InvalidNetmaskException

          -
          public InvalidNetmaskException(java.lang.String netmask,
          +
          public InvalidNetmaskException​(java.lang.String netmask,
                                          java.lang.Throwable cause,
                                          boolean enableSuppression,
                                          boolean writableStackTrace)
          @@ -226,21 +258,25 @@

          InvalidNetmaskException

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/InvalidityDateExtension.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/InvalidityDateExtension.html index b45715767..c85d91e97 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/InvalidityDateExtension.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/InvalidityDateExtension.html @@ -1,11 +1,20 @@ - + InvalidityDateExtension (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class InvalidityDateExtension

    @@ -98,7 +122,7 @@

    Class InvalidityDateExte
  • java.lang.Object
  • @@ -298,12 +345,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -317,7 +365,7 @@

          NAME

        - +
          @@ -330,7 +378,7 @@

          INVALIDITY_DATE

        - +
          @@ -346,19 +394,21 @@

          OID

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • InvalidityDateExtension

          -
          public InvalidityDateExtension(java.util.Date dateOfInvalidity)
          +
          public InvalidityDateExtension​(java.util.Date dateOfInvalidity)
                                   throws java.io.IOException
          Create a InvalidityDateExtension with the date. The criticality is set to false.
          @@ -370,13 +420,13 @@

          InvalidityDateExtension

        - +
        • InvalidityDateExtension

          -
          public InvalidityDateExtension(java.lang.Boolean critical,
          +
          public InvalidityDateExtension​(java.lang.Boolean critical,
                                          java.util.Date dateOfInvalidity)
                                   throws java.io.IOException
          Create a InvalidityDateExtension with the date. @@ -390,13 +440,13 @@

          InvalidityDateExtension

        - +
        • InvalidityDateExtension

          -
          public InvalidityDateExtension(java.lang.Boolean critical,
          +
          public InvalidityDateExtension​(java.lang.Boolean critical,
                                          java.lang.Object value)
                                   throws java.io.IOException
          Create the extension from the passed DER encoded value of the same.
          @@ -411,35 +461,37 @@

          InvalidityDateExtension

      +
      +
        -
      • +
      • Method Detail

        - +
        • getInvalidityDate

          -
          public java.util.Date getInvalidityDate()
          +
          public java.util.Date getInvalidityDate()
          Get the invalidity date.
        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.io.IOException
          Set the attribute value.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the name of the attribute (e.g. "x509.info.key")
          obj - the attribute object.
          @@ -448,18 +500,18 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.io.IOException
          Get the attribute value.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the name of the attribute to return.
          Throws:
          @@ -467,18 +519,18 @@

          get

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.io.IOException
          Delete the attribute value.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the name of the attribute to delete.
          Throws:
          @@ -486,37 +538,37 @@

          delete

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns a printable representation of the InvalidityDateExtension.
          Specified by:
          -
          toString in interface CertAttrSet
          +
          toString in interface CertAttrSet
          Overrides:
          -
          toString in class Extension
          +
          toString in class Extension
          Returns:
          value of this certificate attribute in printable form.
        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.io.IOException
          Decode the extension from the InputStream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to unmarshal the contents from.
          Throws:
          @@ -524,18 +576,18 @@

          decode

        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.io.IOException
          Write the extension to the DerOutputStream.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the DerOutputStream to write the extension to.
          Throws:
          @@ -543,34 +595,34 @@

          encode

        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          Return an enumeration of names of attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Return the name of this attribute.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
          @@ -578,21 +630,25 @@

          getName

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/IssuerAlternativeNameExtension.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/IssuerAlternativeNameExtension.html index 13f8ed628..6b3653856 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/IssuerAlternativeNameExtension.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/IssuerAlternativeNameExtension.html @@ -1,11 +1,20 @@ - + IssuerAlternativeNameExtension (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class IssuerAlternativeNameExtension

    @@ -98,7 +122,7 @@

    Class IssuerAlter
  • java.lang.Object
  • @@ -301,12 +348,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -321,7 +369,7 @@

          IDENT

        - +
          @@ -335,7 +383,7 @@

          NAME

        - +
          @@ -350,20 +398,22 @@

          ISSUER_NAME

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • IssuerAlternativeNameExtension

          -
          public IssuerAlternativeNameExtension(java.lang.Boolean critical,
          -                                      GeneralNames names)
          +
          public IssuerAlternativeNameExtension​(java.lang.Boolean critical,
          +                                      GeneralNames names)
                                          throws java.io.IOException
          Create a IssuerAlternativeNameExtension with the passed GeneralNames.
          @@ -375,13 +425,13 @@

          IssuerAlternativeNameExtension

        - +
        • IssuerAlternativeNameExtension

          -
          public IssuerAlternativeNameExtension(GeneralNames names)
          +
          public IssuerAlternativeNameExtension​(GeneralNames names)
                                          throws java.io.IOException
          Create a IssuerAlternativeNameExtension with the passed GeneralNames.
          @@ -392,7 +442,7 @@

          IssuerAlternativeNameExtension

        - +
          @@ -402,13 +452,13 @@

          IssuerAlternativeNameExtension

          Create a default IssuerAlternativeNameExtension.
        - +
        • IssuerAlternativeNameExtension

          -
          public IssuerAlternativeNameExtension(java.lang.Boolean critical,
          +
          public IssuerAlternativeNameExtension​(java.lang.Boolean critical,
                                                 java.lang.Object value)
                                          throws java.io.IOException
          Create the extension from the passed DER encoded value.
          @@ -423,43 +473,45 @@

          IssuerAlternativeNameExtension

      +
      +
        -
      • +
      • Method Detail

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns a printable representation of the IssuerAlternativeName.
          Specified by:
          -
          toString in interface CertAttrSet
          +
          toString in interface CertAttrSet
          Overrides:
          -
          toString in class Extension
          +
          toString in class Extension
          Returns:
          value of this certificate attribute in printable form.
        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.io.IOException
          Decode the extension from the InputStream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to unmarshal the contents from.
          Throws:
          @@ -467,18 +519,18 @@

          decode

        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.io.IOException
          Write the extension to the OutputStream.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the OutputStream to write the extension to.
          Throws:
          @@ -486,19 +538,19 @@

          encode

        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.io.IOException
          Set the attribute value.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the name of the attribute (e.g. "x509.info.key")
          obj - the attribute object.
          @@ -507,18 +559,18 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.io.IOException
          Get the attribute value.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the name of the attribute to return.
          Throws:
          @@ -526,18 +578,18 @@

          get

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.io.IOException
          Delete the attribute value.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the name of the attribute to delete.
          Throws:
          @@ -545,34 +597,34 @@

          delete

        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          Return an enumeration of names of attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Return the name of this attribute.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
          @@ -580,21 +632,25 @@

          getName

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/IssuingDistributionPoint.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/IssuingDistributionPoint.html index dd7a0f4b3..067a140f0 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/IssuingDistributionPoint.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/IssuingDistributionPoint.html @@ -1,11 +1,20 @@ - + IssuingDistributionPoint (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class IssuingDistributionPoint

    @@ -107,13 +131,12 @@

    Class IssuingDistributi
  • All Implemented Interfaces:
    -
    ASN1Value
    +
    ASN1Value

    -
    public class IssuingDistributionPoint
     extends java.lang.Object
    -implements ASN1Value
    +implements ASN1Value
      issuingDistributionPoint ::= SEQUENCE {
              distributionPoint       [0] DistributionPointName OPTIONAL,
    @@ -177,123 +200,145 @@ 

    Class IssuingDistributi

    @@ -308,12 +354,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -324,40 +371,42 @@

          IssuingDistributionPoint

      +
      +
        -
      • +
      • Method Detail

        - +
        • getFullName

          -
          public GeneralNames getFullName()
          +
          public GeneralNames getFullName()
          Returns the fullName of the DistributionPointName, which may be null.
        - +
        • getRelativeName

          -
          public RDN getRelativeName()
          +
          public RDN getRelativeName()
          Returns the relativeName of the DistributionPointName, which may be null.
        - +
        • setFullName

          -
          public void setFullName(GeneralNames fullName)
          -                 throws GeneralNamesException,
          +
          public void setFullName​(GeneralNames fullName)
          +                 throws GeneralNamesException,
                                   java.io.IOException
          Sets the fullName of the DistributionPointName. It may be set to null. If it is set to a non-null value, relativeName will be @@ -365,131 +414,131 @@

          setFullName

          can be specified at a time.
          Throws:
          -
          GeneralNamesException - If an error occurs encoding the +
          GeneralNamesException - If an error occurs encoding the name.
          java.io.IOException
        - +
        • setRelativeName

          -
          public void setRelativeName(RDN relativeName)
          +
          public void setRelativeName​(RDN relativeName)
          Sets the relativeName of the DistributionPointName. It may be set to null. If it is set to a non-null value, fullName will be set to null, because at most one of these two attributes can be specified at a time.
        - +
        • getOnlyContainsUserCerts

          -
          public boolean getOnlyContainsUserCerts()
          +
          public boolean getOnlyContainsUserCerts()
        - +
        • setOnlyContainsUserCerts

          -
          public void setOnlyContainsUserCerts(boolean b)
          +
          public void setOnlyContainsUserCerts​(boolean b)
        - +
        • getOnlyContainsCACerts

          -
          public boolean getOnlyContainsCACerts()
          +
          public boolean getOnlyContainsCACerts()
        - +
        • setOnlyContainsCACerts

          -
          public void setOnlyContainsCACerts(boolean b)
          +
          public void setOnlyContainsCACerts​(boolean b)
        - +
        • getOnlySomeReasons

          -
          public BitArray getOnlySomeReasons()
          +
          public BitArray getOnlySomeReasons()
          Returns the reason flags for this distribution point. May be null.
        - +
        • setOnlySomeReasons

          -
          public void setOnlySomeReasons(BitArray reasons)
          +
          public void setOnlySomeReasons​(BitArray reasons)
          Sets the reason flags for this distribution point. May be set to null.
        - +
        • getIndirectCRL

          -
          public boolean getIndirectCRL()
          +
          public boolean getIndirectCRL()
        - +
        • setIndirectCRL

          -
          public void setIndirectCRL(boolean b)
          +
          public void setIndirectCRL​(boolean b)
        - +
        • getTag

          -
          public Tag getTag()
          -
          Description copied from interface: ASN1Value
          +
          public Tag getTag()
          +
          Description copied from interface: ASN1Value
          Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
          Specified by:
          -
          getTag in interface ASN1Value
          +
          getTag in interface ASN1Value
          Returns:
          Base tag.
        - +
        • encode

          -
          public void encode(java.io.OutputStream ostream)
          +
          public void encode​(java.io.OutputStream ostream)
                       throws java.io.IOException
          -
          Description copied from interface: ASN1Value
          +
          Description copied from interface: ASN1Value
          Write this value's DER encoding to an output stream using its own base tag.
          Specified by:
          -
          encode in interface ASN1Value
          +
          encode in interface ASN1Value
          Parameters:
          ostream - Output stream.
          Throws:
          @@ -497,21 +546,21 @@

          encode

        - +
        • encode

          -
          public void encode(Tag implicitTag,
          +
          public void encode​(Tag implicitTag,
                              java.io.OutputStream ostream)
                       throws java.io.IOException
          -
          Description copied from interface: ASN1Value
          +
          Description copied from interface: ASN1Value
          Write this value's DER encoding to an output stream using an implicit tag.
          Specified by:
          -
          encode in interface ASN1Value
          +
          encode in interface ASN1Value
          Parameters:
          implicitTag - Implicit tag.
          ostream - Output stream.
          @@ -520,32 +569,36 @@

          encode

        - +
        • main

          -
          public static void main(java.lang.String[] args)
          +
          public static void main​(java.lang.String[] args)
      +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/IssuingDistributionPointExtension.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/IssuingDistributionPointExtension.html index 1c2174de8..b6f77d894 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/IssuingDistributionPointExtension.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/IssuingDistributionPointExtension.html @@ -1,11 +1,20 @@ - + IssuingDistributionPointExtension (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class IssuingDistributionPointExtension

    @@ -98,7 +122,7 @@

    Class IssuingD
  • java.lang.Object
    • -
    • org.mozilla.jss.netscape.security.x509.Extension
    • +
    • org.mozilla.jss.netscape.security.x509.Extension
      • org.mozilla.jss.netscape.security.x509.IssuingDistributionPointExtension
      • @@ -112,13 +136,12 @@

        Class IssuingD
      • All Implemented Interfaces:
        -
        java.io.Serializable, CertAttrSet
        +
        java.io.Serializable, CertAttrSet

        -
        public class IssuingDistributionPointExtension
        -extends Extension
        -implements CertAttrSet
        +extends Extension +implements CertAttrSet
        A critical CRL extension that identifies the CRL distribution point for a particular CRL @@ -186,63 +209,73 @@

        Class IssuingD

        @@ -373,12 +424,13 @@

        Methods inherited from class java.lang.Object

        • +
            -
          • +
          • Field Detail

            - +
              @@ -392,7 +444,7 @@

              OID

            - +
              @@ -406,7 +458,7 @@

              NAME

            - +
              @@ -421,19 +473,21 @@

              ISSUING_DISTRIBUTION_POINT

          +
          +
            -
          • +
          • Constructor Detail

            - +
            • IssuingDistributionPointExtension

              -
              public IssuingDistributionPointExtension(java.lang.Boolean critical,
              +
              public IssuingDistributionPointExtension​(java.lang.Boolean critical,
                                                        java.lang.Object value)
                                                 throws java.io.IOException
              This constructor is very important, since it will be called @@ -444,76 +498,78 @@

              IssuingDistributionPointExtension

            - +
            • IssuingDistributionPointExtension

              -
              public IssuingDistributionPointExtension(IssuingDistributionPoint idp)
              +
              public IssuingDistributionPointExtension​(IssuingDistributionPoint idp)
              Creates a new IssuingDistributionPoint extension, with the given issuing distribution point as the first element.
          +
          +
            -
          • +
          • Method Detail

            - + - +
            • setCritical

              -
              public void setCritical(boolean critical)
              +
              public void setCritical​(boolean critical)
              Sets the criticality of this extension. PKIX dictates that this extension SHOULD be critical, so applications can make it not critical if they have a very good reason. By default, the extension is critical.
              Overrides:
              -
              setCritical in class Extension
              +
              setCritical in class Extension
            - +
            • getCritical

              -
              public boolean getCritical(boolean critical)
              +
              public boolean getCritical​(boolean critical)
              Gets the criticality of this extension. PKIX dictates that this extension SHOULD be critical, so by default, the extension is critical.
            - +
            • encode

              -
              public void encode(DerOutputStream out)
              +
              public void encode​(DerOutputStream out)
                           throws java.io.IOException
              Encodes this extension to the given DerOutputStream. This method re-encodes each time it is called, so it is not very efficient.
              Overrides:
              -
              encode in class Extension
              +
              encode in class Extension
              Parameters:
              out - the DerOutputStream to write the extension to.
              Throws:
              @@ -521,49 +577,49 @@

              encode

            - +
            • flushCachedEncoding

              -
              public void flushCachedEncoding()
              +
              public void flushCachedEncoding()
              Should be called if any change is made to this data structure so that the cached DER encoding can be discarded.
            - +
            • toString

              -
              public java.lang.String toString()
              +
              public java.lang.String toString()
              Returns a printable representation of the IssuingDistributionPointExtension
              Specified by:
              -
              toString in interface CertAttrSet
              +
              toString in interface CertAttrSet
              Overrides:
              -
              toString in class Extension
              +
              toString in class Extension
              Returns:
              value of this certificate attribute in printable form.
            - +
            • encode

              -
              public void encode(java.io.OutputStream ostream)
              +
              public void encode​(java.io.OutputStream ostream)
                           throws java.security.cert.CertificateException,
                                  java.io.IOException
              DER-encodes this extension to the given OutputStream.
              Specified by:
              -
              encode in interface CertAttrSet
              +
              encode in interface CertAttrSet
              Parameters:
              ostream - the OutputStream to encode the attribute to.
              Throws:
              @@ -572,20 +628,20 @@

              encode

            - +
            • decode

              -
              public void decode(java.io.InputStream in)
              +
              public void decode​(java.io.InputStream in)
                           throws java.security.cert.CertificateException,
                                  java.io.IOException
              -
              Description copied from interface: CertAttrSet
              +
              Description copied from interface: CertAttrSet
              Decodes the attribute in the input stream.
              Specified by:
              -
              decode in interface CertAttrSet
              +
              decode in interface CertAttrSet
              Parameters:
              in - the InputStream to read the encoded attribute from.
              Throws:
              @@ -594,21 +650,21 @@

              decode

            - +
            • set

              -
              public void set(java.lang.String name,
              +
              public void set​(java.lang.String name,
                               java.lang.Object obj)
                        throws java.security.cert.CertificateException,
                               java.io.IOException
              -
              Description copied from interface: CertAttrSet
              +
              Description copied from interface: CertAttrSet
              Sets an attribute value within this CertAttrSet.
              Specified by:
              -
              set in interface CertAttrSet
              +
              set in interface CertAttrSet
              Parameters:
              name - the name of the attribute (e.g. "x509.info.key")
              obj - the attribute object.
              @@ -618,20 +674,20 @@

              set

            - +
            • get

              -
              public java.lang.Object get(java.lang.String name)
              +
              public java.lang.Object get​(java.lang.String name)
                                    throws java.security.cert.CertificateException,
                                           java.io.IOException
              -
              Description copied from interface: CertAttrSet
              +
              Description copied from interface: CertAttrSet
              Gets an attribute value for this CertAttrSet.
              Specified by:
              -
              get in interface CertAttrSet
              +
              get in interface CertAttrSet
              Parameters:
              name - the name of the attribute to return.
              Throws:
              @@ -640,20 +696,20 @@

              get

            - +
            • delete

              -
              public void delete(java.lang.String name)
              +
              public void delete​(java.lang.String name)
                           throws java.security.cert.CertificateException,
                                  java.io.IOException
              -
              Description copied from interface: CertAttrSet
              +
              Description copied from interface: CertAttrSet
              Deletes an attribute value from this CertAttrSet.
              Specified by:
              -
              delete in interface CertAttrSet
              +
              delete in interface CertAttrSet
              Parameters:
              name - the name of the attribute to delete.
              Throws:
              @@ -662,68 +718,72 @@

              delete

            - +
            • getAttributeNames

              -
              public java.util.Enumeration<java.lang.String> getAttributeNames()
              -
              Description copied from interface: CertAttrSet
              +
              public java.util.Enumeration<java.lang.String> getAttributeNames()
              +
              Description copied from interface: CertAttrSet
              Returns an enumeration of the names of the attributes existing within this attribute.
              Specified by:
              -
              getAttributeNames in interface CertAttrSet
              +
              getAttributeNames in interface CertAttrSet
              Returns:
              an enumeration of the attribute names.
            - +
            • getName

              -
              public java.lang.String getName()
              -
              Description copied from interface: CertAttrSet
              +
              public java.lang.String getName()
              +
              Description copied from interface: CertAttrSet
              Returns the name (identifier) of this CertAttrSet.
              Specified by:
              -
              getName in interface CertAttrSet
              +
              getName in interface CertAttrSet
              Returns:
              the name of this CertAttrSet.
            - +
            • main

              -
              public static void main(java.lang.String[] args)
              +
              public static void main​(java.lang.String[] args)
              Test driver.
          +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/KeyIdentifier.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/KeyIdentifier.html index c789bf0ef..050e34add 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/KeyIdentifier.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/KeyIdentifier.html @@ -1,11 +1,20 @@ - + KeyIdentifier (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class KeyIdentifier

    @@ -107,10 +131,9 @@

    Class KeyIdentifier

  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public class KeyIdentifier
     extends java.lang.Object
     implements java.io.Serializable
    @@ -126,56 +149,65 @@

    Class KeyIdentifier

    • +
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - + - +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        byte[]getIdentifier() +getIdentifier()
        Return the value of the KeyIdentifier as byte array.
        java.lang.StringtoString() +toString()
        Returns a printable representation of the KeyUsage.
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -183,6 +215,7 @@

          Methods inherited from class java.lang.Object

      +
  • @@ -190,18 +223,19 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • KeyIdentifier

          -
          public KeyIdentifier(byte[] octetString)
          +
          public KeyIdentifier​(byte[] octetString)
          Create a KeyIdentifier with the passed bit settings.
          Parameters:
          @@ -209,13 +243,13 @@

          KeyIdentifier

        - +
        • KeyIdentifier

          -
          public KeyIdentifier(DerValue val)
          +
          public KeyIdentifier​(DerValue val)
                         throws java.io.IOException
          Create a KeyIdentifier from the DER encoded value.
          @@ -228,29 +262,31 @@

          KeyIdentifier

      +
      +
        -
      • +
      • Method Detail

        - +
        • getIdentifier

          -
          public byte[] getIdentifier()
          +
          public byte[] getIdentifier()
          Return the value of the KeyIdentifier as byte array.
        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns a printable representation of the KeyUsage.
          Overrides:
          @@ -260,21 +296,25 @@

          toString

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/KeyUsageExtension.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/KeyUsageExtension.html index 6788811c2..123395f40 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/KeyUsageExtension.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/KeyUsageExtension.html @@ -1,11 +1,20 @@ - + KeyUsageExtension (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class KeyUsageExtension

    @@ -98,7 +122,7 @@

    Class KeyUsageExtension

  • java.lang.Object
  • @@ -390,12 +460,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -410,7 +481,7 @@

          IDENT

        - +
          @@ -424,7 +495,7 @@

          NAME

        - +
          @@ -437,7 +508,7 @@

          DIGITAL_SIGNATURE

        - +
          @@ -450,7 +521,7 @@

          NON_REPUDIATION

        - +
          @@ -463,7 +534,7 @@

          KEY_ENCIPHERMENT

        - +
          @@ -476,7 +547,7 @@

          DATA_ENCIPHERMENT

        - +
          @@ -489,7 +560,7 @@

          KEY_AGREEMENT

        - +
          @@ -502,7 +573,7 @@

          KEY_CERTSIGN

        - +
          @@ -515,7 +586,7 @@

          CRL_SIGN

        - +
          @@ -528,7 +599,7 @@

          ENCIPHER_ONLY

        - +
          @@ -541,7 +612,7 @@

          DECIPHER_ONLY

        - +
          @@ -554,7 +625,7 @@

          DIGITAL_SIGNATURE_BIT

        - +
          @@ -567,7 +638,7 @@

          NON_REPUDIATION_BIT

        - +
          @@ -580,7 +651,7 @@

          KEY_ENCIPHERMENT_BIT

        - +
          @@ -593,7 +664,7 @@

          DATA_ENCIPHERMENT_BIT

        - +
          @@ -606,7 +677,7 @@

          KEY_AGREEMENT_BIT

        - +
          @@ -619,7 +690,7 @@

          KEY_CERTSIGN_BIT

        - +
          @@ -632,7 +703,7 @@

          CRL_SIGN_BIT

        - +
          @@ -645,7 +716,7 @@

          ENCIPHER_ONLY_BIT

        - +
          @@ -658,7 +729,7 @@

          DECIPHER_ONLY_BIT

        - +
          @@ -671,7 +742,7 @@

          NBITS

        - +
          @@ -682,19 +753,21 @@

          names

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • KeyUsageExtension

          -
          public KeyUsageExtension(boolean critical,
          +
          public KeyUsageExtension​(boolean critical,
                                    byte[] bitString)
                             throws java.io.IOException
          Create a KeyUsageExtension with the passed bit settings. The criticality @@ -707,13 +780,13 @@

          KeyUsageExtension

        - +
        • KeyUsageExtension

          -
          public KeyUsageExtension(byte[] bitString)
          +
          public KeyUsageExtension​(byte[] bitString)
                             throws java.io.IOException
          Throws:
          @@ -721,13 +794,13 @@

          KeyUsageExtension

        - +
        • KeyUsageExtension

          -
          public KeyUsageExtension(boolean critical,
          +
          public KeyUsageExtension​(boolean critical,
                                    boolean[] bitString)
                             throws java.io.IOException
          Create a KeyUsageExtension with the passed bit settings. The criticality @@ -740,13 +813,13 @@

          KeyUsageExtension

        - +
        • KeyUsageExtension

          -
          public KeyUsageExtension(boolean[] bitString)
          +
          public KeyUsageExtension​(boolean[] bitString)
                             throws java.io.IOException
          Throws:
          @@ -754,13 +827,13 @@

          KeyUsageExtension

        - +
        • KeyUsageExtension

          -
          public KeyUsageExtension(BitArray bitString)
          +
          public KeyUsageExtension​(BitArray bitString)
                             throws java.io.IOException
          Create a KeyUsageExtension with the passed bit settings. The criticality is set to true.
          @@ -772,13 +845,13 @@

          KeyUsageExtension

        - +
        • KeyUsageExtension

          -
          public KeyUsageExtension(java.lang.Boolean critical,
          +
          public KeyUsageExtension​(java.lang.Boolean critical,
                                    java.lang.Object value)
                             throws java.io.IOException
          Create the extension from the passed DER encoded value of the same.
          @@ -791,7 +864,7 @@

          KeyUsageExtension

        - +
          @@ -803,25 +876,27 @@

          KeyUsageExtension

      +
      +
        -
      • +
      • Method Detail

        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.io.IOException
          Set the attribute value.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the name of the attribute (e.g. "x509.info.key")
          obj - the attribute object.
          @@ -830,18 +905,18 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.io.IOException
          Get the attribute value.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the name of the attribute to return.
          Throws:
          @@ -849,18 +924,18 @@

          get

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.io.IOException
          Delete the attribute value.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the name of the attribute to delete.
          Throws:
          @@ -868,37 +943,37 @@

          delete

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns a printable representation of the KeyUsage.
          Specified by:
          -
          toString in interface CertAttrSet
          +
          toString in interface CertAttrSet
          Overrides:
          -
          toString in class Extension
          +
          toString in class Extension
          Returns:
          value of this certificate attribute in printable form.
        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.io.IOException
          Decode the extension from the InputStream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to unmarshal the contents from.
          Throws:
          @@ -906,18 +981,18 @@

          decode

        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.io.IOException
          Write the extension to the DerOutputStream.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the DerOutputStream to write the extension to.
          Throws:
          @@ -925,43 +1000,43 @@

          encode

        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          Return an enumeration of names of attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getBits

          -
          public boolean[] getBits()
          +
          public boolean[] getBits()
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Return the name of this attribute.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
          @@ -969,21 +1044,25 @@

          getName

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/LdapDNStrConverter.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/LdapDNStrConverter.html index 8d93203a0..3e4b8a7b0 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/LdapDNStrConverter.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/LdapDNStrConverter.html @@ -1,11 +1,20 @@ - + LdapDNStrConverter (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class LdapDNStrConverter

    @@ -107,10 +131,9 @@

    Class LdapDNStrConverter

  • Direct Known Subclasses:
    -
    LdapV3DNStrConverter
    +
    LdapV3DNStrConverter

    -
    public abstract class LdapDNStrConverter
     extends java.lang.Object
    Abstract class that converts a Ldap DN String to an X500Name, RDN or AVA @@ -122,106 +145,123 @@

    Class LdapDNStrConverter

    @@ -236,12 +277,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -252,19 +294,21 @@

          LdapDNStrConverter

      +
      +
        -
      • +
      • Method Detail

        - +
        • parseDN

          -
          public abstract X500Name parseDN(java.lang.String dn)
          +
          public abstract X500Name parseDN​(java.lang.String dn)
                                     throws java.io.IOException
          Converts a Ldap DN string to a X500Name object.
          @@ -277,13 +321,13 @@

          parseDN

        - +
        • parseDN

          -
          public abstract X500Name parseDN(java.lang.String dn,
          +
          public abstract X500Name parseDN​(java.lang.String dn,
                                            byte[] tags)
                                     throws java.io.IOException
          Like parseDN with a specified DER encoding order for Directory Strings.
          @@ -293,13 +337,13 @@

          parseDN

        - +
        • parseRDN

          -
          public abstract RDN parseRDN(java.lang.String rdn)
          +
          public abstract RDN parseRDN​(java.lang.String rdn)
                                 throws java.io.IOException
          Converts a Ldap DN string to a RDN object.
          @@ -312,13 +356,13 @@

          parseRDN

        - +
        • parseRDN

          -
          public abstract RDN parseRDN(java.lang.String rdn,
          +
          public abstract RDN parseRDN​(java.lang.String rdn,
                                        byte[] tags)
                                 throws java.io.IOException
          Like parseRDN with a specified DER encoding order for Directory Strings.
          @@ -328,13 +372,13 @@

          parseRDN

        - +
        • parseAVA

          -
          public abstract AVA parseAVA(java.lang.String ava)
          +
          public abstract AVA parseAVA​(java.lang.String ava)
                                 throws java.io.IOException
          Converts a Ldap DN string to a AVA object.
          @@ -347,13 +391,13 @@

          parseAVA

        - +
        • parseAVA

          -
          public abstract AVA parseAVA(java.lang.String rdn,
          +
          public abstract AVA parseAVA​(java.lang.String rdn,
                                        byte[] tags)
                                 throws java.io.IOException
          Like parseAVA with a specified DER encoding order for Directory Strings.
          @@ -363,13 +407,13 @@

          parseAVA

        - +
        • encodeDN

          -
          public abstract java.lang.String encodeDN(X500Name dn)
          +
          public abstract java.lang.String encodeDN​(X500Name dn)
                                              throws java.io.IOException
          Converts a X500Name object to a Ldap dn string.
          @@ -382,13 +426,13 @@

          encodeDN

        - +
        • encodeRDN

          -
          public abstract java.lang.String encodeRDN(RDN rdn)
          +
          public abstract java.lang.String encodeRDN​(RDN rdn)
                                               throws java.io.IOException
          Converts an RDN object to a Ldap dn string.
          @@ -401,13 +445,13 @@

          encodeRDN

        - +
        • encodeAVA

          -
          public abstract java.lang.String encodeAVA(AVA ava)
          +
          public abstract java.lang.String encodeAVA​(AVA ava)
                                               throws java.io.IOException
          Converts an AVA object to a Ldap dn string.
          @@ -420,13 +464,13 @@

          encodeAVA

        - +
        • getDefault

          -
          public static LdapDNStrConverter getDefault()
          +
          public static LdapDNStrConverter getDefault()
          Gets a global default Ldap DN String converter. Currently it is LdapV3DNStrConverter object using the default X500NameAttrMap and accepts unknown OIDs.
          @@ -434,17 +478,17 @@

          getDefault

          Returns:
          The global default LdapDNStrConverter instance.
          See Also:
          -
          LdapV3DNStrConverter
          +
          LdapV3DNStrConverter
        - +
        • setDefault

          -
          public static void setDefault(LdapDNStrConverter defConverter)
          +
          public static void setDefault​(LdapDNStrConverter defConverter)
          Set the global default LdapDNStrConverter object.
          Parameters:
          @@ -455,21 +499,25 @@

          setDefault

      +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/LdapV3DNStrConverter.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/LdapV3DNStrConverter.html index e879df5f5..03c24304c 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/LdapV3DNStrConverter.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/LdapV3DNStrConverter.html @@ -1,11 +1,20 @@ - + LdapV3DNStrConverter (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class LdapV3DNStrConverter

    @@ -98,7 +122,7 @@

    Class LdapV3DNStrConverter<
  • java.lang.Object
  • @@ -418,21 +484,22 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - + - +
          @@ -441,7 +508,7 @@

          acceptUnknownOids

          protected boolean acceptUnknownOids
        - +
          @@ -454,7 +521,7 @@

          specialChars

        - +
          @@ -467,7 +534,7 @@

          valueEndChars

        - +
          @@ -480,7 +547,7 @@

          quotedEndChars

        - +
          @@ -493,7 +560,7 @@

          octoEndChars

        - +
          @@ -508,13 +575,15 @@

          hexDigits

      +
      +
        -
      • +
      • Constructor Detail

        - +
          @@ -525,17 +594,17 @@

          LdapV3DNStrConverter

          X500NameAttrMap and accept OIDs not in the default X500NameAttrMap.
          See Also:
          -
          X500NameAttrMap
          +
          X500NameAttrMap
        - +
        • LdapV3DNStrConverter

          -
          public LdapV3DNStrConverter(X500NameAttrMap attributeMap,
          +
          public LdapV3DNStrConverter​(X500NameAttrMap attributeMap,
                                       boolean doAcceptUnknownOids)
          Constructs a LdapV3DNStrConverter using the specified X500NameAttrMap and a boolean indicating whether to accept OIDs not listed in the @@ -546,30 +615,32 @@

          LdapV3DNStrConverter

          doAcceptUnknownOids - whether to convert unregistered OIDs (oids not in the X500NameAttrMap)
          See Also:
          -
          X500NameAttrMap
          +
          X500NameAttrMap
      +
      +
        -
      • +
      • Method Detail

        - +
        • parseDN

          -
          public X500Name parseDN(java.lang.String dn)
          +
          public X500Name parseDN​(java.lang.String dn)
                            throws java.io.IOException
          Parse a Ldap v3 DN string to a X500Name.
          Specified by:
          -
          parseDN in class LdapDNStrConverter
          +
          parseDN in class LdapDNStrConverter
          Parameters:
          dn - a LDAP v3 DN String
          Returns:
          @@ -579,37 +650,37 @@

          parseDN

        - +
        • parseDN

          -
          public X500Name parseDN(java.lang.String dn,
          +
          public X500Name parseDN​(java.lang.String dn,
                                   byte[] encodingOrder)
                            throws java.io.IOException
          Like parseDN(String) with a DER encoding order given as argument for Directory Strings.
          Specified by:
          -
          parseDN in class LdapDNStrConverter
          +
          parseDN in class LdapDNStrConverter
          Throws:
          java.io.IOException
        - +
        • parseRDN

          -
          public RDN parseRDN(java.lang.String rdn)
          +
          public RDN parseRDN​(java.lang.String rdn)
                        throws java.io.IOException
          Parse a Ldap v3 DN string with a RDN component to a RDN
          Specified by:
          -
          parseRDN in class LdapDNStrConverter
          +
          parseRDN in class LdapDNStrConverter
          Parameters:
          rdn - a LDAP v3 DN String
          Returns:
          @@ -619,37 +690,37 @@

          parseRDN

        - +
        • parseRDN

          -
          public RDN parseRDN(java.lang.String rdn,
          +
          public RDN parseRDN​(java.lang.String rdn,
                               byte[] encodingOrder)
                        throws java.io.IOException
          Like parseRDN(String) with a DER encoding order given as argument for Directory Strings.
          Specified by:
          -
          parseRDN in class LdapDNStrConverter
          +
          parseRDN in class LdapDNStrConverter
          Throws:
          java.io.IOException
        - +
        • parseAVA

          -
          public AVA parseAVA(java.lang.String ava)
          +
          public AVA parseAVA​(java.lang.String ava)
                        throws java.io.IOException
          Parse a Ldap v3 DN string with a AVA component to a AVA.
          Specified by:
          -
          parseAVA in class LdapDNStrConverter
          +
          parseAVA in class LdapDNStrConverter
          Parameters:
          ava - a LDAP v3 DN string
          Returns:
          @@ -659,32 +730,32 @@

          parseAVA

        - +
        • parseAVA

          -
          public AVA parseAVA(java.lang.String ava,
          +
          public AVA parseAVA​(java.lang.String ava,
                               byte[] encodingOrder)
                        throws java.io.IOException
          Like parseDN(String) with a DER encoding order given as argument for Directory Strings.
          Specified by:
          -
          parseAVA in class LdapDNStrConverter
          +
          parseAVA in class LdapDNStrConverter
          Throws:
          java.io.IOException
        - +
        • parseDN

          -
          public X500Name parseDN(java.io.PushbackReader in)
          +
          public X500Name parseDN​(java.io.PushbackReader in)
                            throws java.io.IOException
          Parses a Ldap DN string in a string reader to a X500Name.
          @@ -699,13 +770,13 @@

          parseDN

        - +
        • parseDN

          -
          public X500Name parseDN(java.io.PushbackReader in,
          +
          public X500Name parseDN​(java.io.PushbackReader in,
                                   byte[] encodingOrder)
                            throws java.io.IOException
          Like parseDN(PushbackReader in) with a DER encoding order given as @@ -716,13 +787,13 @@

          parseDN

        - +
        • parseRDN

          -
          public RDN parseRDN(java.io.PushbackReader in)
          +
          public RDN parseRDN​(java.io.PushbackReader in)
                        throws java.io.IOException
          Parses Ldap DN string with a rdn component from a string reader to a RDN. The string reader will point @@ -740,13 +811,13 @@

          parseRDN

        - +
        • parseRDN

          -
          public RDN parseRDN(java.io.PushbackReader in,
          +
          public RDN parseRDN​(java.io.PushbackReader in,
                               byte[] encodingOrder)
                        throws java.io.IOException
          Like parseRDN(PushbackReader) with a DER encoding order given as @@ -757,13 +828,13 @@

          parseRDN

        - +
        • parseAVA

          -
          public AVA parseAVA(java.io.PushbackReader in)
          +
          public AVA parseAVA​(java.io.PushbackReader in)
                        throws java.io.IOException
          Parses a Ldap DN string with a AVA component from a string reader to an AVA. The string reader will point @@ -781,13 +852,13 @@

          parseAVA

        - +
        • parseAVA

          -
          public AVA parseAVA(java.io.PushbackReader in,
          +
          public AVA parseAVA​(java.io.PushbackReader in,
                               byte[] encodingOrder)
                        throws java.io.IOException
          Like parseAVA(PushbackReader) with a DER encoding order given as @@ -798,13 +869,13 @@

          parseAVA

        - +
        • parseAVAKeyword

          -
          public ObjectIdentifier parseAVAKeyword(java.lang.String avaKeyword)
          +
          public ObjectIdentifier parseAVAKeyword​(java.lang.String avaKeyword)
                                            throws java.io.IOException
          Converts a AVA keyword from a Ldap DN string to an ObjectIdentifier from the attribute map or, if this keyword is an OID not @@ -822,14 +893,14 @@

          parseAVAKeyword

        - +
        • parseAVAValue

          -
          public DerValue parseAVAValue(java.lang.String avaValueString,
          -                              ObjectIdentifier oid)
          +
          public DerValue parseAVAValue​(java.lang.String avaValueString,
          +                              ObjectIdentifier oid)
                                  throws java.io.IOException
          Converts a AVA value from a Ldap dn string to a DerValue according the attribute type. For example, a value for @@ -846,18 +917,18 @@

          parseAVAValue

          Throws:
          java.io.IOException - if an error occurs during conversion.
          See Also:
          -
          AVAValueConverter
          +
          AVAValueConverter
        - +
        • parseAVAValue

          -
          public DerValue parseAVAValue(java.lang.String avaValueString,
          -                              ObjectIdentifier oid,
          +
          public DerValue parseAVAValue​(java.lang.String avaValueString,
          +                              ObjectIdentifier oid,
                                         byte[] encodingOrder)
                                  throws java.io.IOException
          Like parseAVAValue(String) with a DER encoding order given as argument @@ -868,14 +939,14 @@

          parseAVAValue

        - +
        • parseAVAValue

          -
          public DerValue parseAVAValue(byte[] berValue,
          -                              ObjectIdentifier oid)
          +
          public DerValue parseAVAValue​(byte[] berValue,
          +                              ObjectIdentifier oid)
                                  throws java.io.IOException
          Converts a value in BER encoding, for example given in octothorpe form in a Ldap v3 dn string, to a DerValue. Checks if the BER encoded value @@ -893,18 +964,18 @@

          parseAVAValue

        - +
        • encodeDN

          -
          public java.lang.String encodeDN(X500Name x500name)
          +
          public java.lang.String encodeDN​(X500Name x500name)
                                     throws java.io.IOException
          Converts a X500Name object to a Ldap v3 DN string (except in unicode).
          Specified by:
          -
          encodeDN in class LdapDNStrConverter
          +
          encodeDN in class LdapDNStrConverter
          Parameters:
          x500name - a X500Name
          Returns:
          @@ -914,18 +985,18 @@

          encodeDN

        - +
        • encodeRDN

          -
          public java.lang.String encodeRDN(RDN rdn)
          +
          public java.lang.String encodeRDN​(RDN rdn)
                                      throws java.io.IOException
          Converts a RDN to a Ldap v3 DN string (except in unicode).
          Specified by:
          -
          encodeRDN in class LdapDNStrConverter
          +
          encodeRDN in class LdapDNStrConverter
          Parameters:
          rdn - a RDN
          Returns:
          @@ -935,18 +1006,18 @@

          encodeRDN

        - +
        • encodeAVA

          -
          public java.lang.String encodeAVA(AVA ava)
          +
          public java.lang.String encodeAVA​(AVA ava)
                                      throws java.io.IOException
          Converts a AVA to a Ldap v3 DN String (except in unicode).
          Specified by:
          -
          encodeAVA in class LdapDNStrConverter
          +
          encodeAVA in class LdapDNStrConverter
          Parameters:
          ava - an AVA
          Returns:
          @@ -956,13 +1027,13 @@

          encodeAVA

        - +
        • encodeOID

          -
          public java.lang.String encodeOID(ObjectIdentifier oid)
          +
          public java.lang.String encodeOID​(ObjectIdentifier oid)
                                      throws java.io.IOException
          Converts an OID to a attribute keyword in a Ldap v3 DN string - either a keyword if known or a string of "1.2.3.4" syntax.
          @@ -976,14 +1047,14 @@

          encodeOID

        - +
        • encodeValue

          -
          public java.lang.String encodeValue(DerValue attrValue,
          -                                    ObjectIdentifier oid)
          +
          public java.lang.String encodeValue​(DerValue attrValue,
          +                                    ObjectIdentifier oid)
                                        throws java.io.IOException
          Converts a value as a DerValue to a string in a Ldap V3 DN String. If the value cannot be converted to a string it will be encoded in @@ -999,13 +1070,13 @@

          encodeValue

        - +
        • encodeString

          -
          public java.lang.String encodeString(java.lang.String valueStr)
          +
          public java.lang.String encodeString​(java.lang.String valueStr)
          converts a raw value string to a string in Ldap V3 DN string format.
          Parameters:
          @@ -1015,13 +1086,13 @@

          encodeString

        - +
        • getAttrMap

          -
          public X500NameAttrMap getAttrMap()
          +
          public X500NameAttrMap getAttrMap()
          gets the X500NameAttrMap used by the converter.
          Returns:
          @@ -1029,13 +1100,13 @@

          getAttrMap

        - +
        • getAcceptUnknownOids

          -
          public boolean getAcceptUnknownOids()
          +
          public boolean getAcceptUnknownOids()
          returns true if the converter accepts unregistered attributes i.e. OIDS not in the X500NameAttrMap.
          @@ -1045,13 +1116,13 @@

          getAcceptUnknownOids

        - +
        • getStringFromHexpairs

          -
          protected static char[] getStringFromHexpairs(char[] hexPairs)
          +
          protected static char[] getStringFromHexpairs​(char[] hexPairs)
                                                  throws java.io.UnsupportedEncodingException
          Parse a sequence of hex pairs, each pair a UTF8 byte to a java string. For example, "4C75C48D" is "Luc", the last c with caron.
          @@ -1063,21 +1134,25 @@

          getStringFromHexpairs

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/NSCCommentExtension.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/NSCCommentExtension.html index 03797675b..a8317f48f 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/NSCCommentExtension.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/NSCCommentExtension.html @@ -1,11 +1,20 @@ - + NSCCommentExtension (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class NSCCommentExtension

    @@ -98,7 +122,7 @@

    Class NSCCommentExtensionjava.lang.Object
  • @@ -304,12 +354,13 @@

    Methods inherited from class java.lang.Object

    • +
      +
      +
        -
      • +
      • Constructor Detail

        - +
        • NSCCommentExtension

          -
          public NSCCommentExtension(boolean critical,
          +
          public NSCCommentExtension​(boolean critical,
                                      java.lang.String comment)
                               throws java.io.IOException
          Create a NSCCommentExtension with the Vector of CertificatePolicyInfo.
          @@ -393,23 +446,23 @@

          NSCCommentExtension

        - +
        • NSCCommentExtension

          -
          public NSCCommentExtension(boolean critical)
          +
          public NSCCommentExtension​(boolean critical)
          Create a default NSCCommentExtension.
        - +
        • NSCCommentExtension

          -
          public NSCCommentExtension(java.lang.Boolean critical,
          +
          public NSCCommentExtension​(java.lang.Boolean critical,
                                      java.lang.Object value)
                               throws java.io.IOException
          Create the extension from the passed DER encoded value.
          @@ -424,52 +477,54 @@

          NSCCommentExtension

      +
      +
        -
      • +
      • Method Detail

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns a printable representation of the policy extension.
          Specified by:
          -
          toString in interface CertAttrSet
          +
          toString in interface CertAttrSet
          Overrides:
          -
          toString in class Extension
          +
          toString in class Extension
          Returns:
          value of this certificate attribute in printable form.
        - +
        • toPrint

          -
          public java.lang.String toPrint(int indent)
          +
          public java.lang.String toPrint​(int indent)
        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.io.IOException
          Write the extension to the OutputStream.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the OutputStream to write the extension to.
          Throws:
          @@ -477,18 +532,18 @@

          encode

        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.io.IOException
          Decode the extension from the InputStream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to unmarshal the contents from.
          Throws:
          @@ -496,28 +551,28 @@

          decode

        - +
        • getComment

          -
          public java.lang.String getComment()
          +
          public java.lang.String getComment()
        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.io.IOException
          Set the attribute value.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the name of the attribute (e.g. "x509.info.key")
          obj - the attribute object.
          @@ -526,18 +581,18 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.io.IOException
          Get the attribute value.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the name of the attribute to return.
          Throws:
          @@ -545,18 +600,18 @@

          get

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.io.IOException
          Delete the attribute value.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the name of the attribute to delete.
          Throws:
          @@ -564,34 +619,34 @@

          delete

        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          Return an enumeration of names of attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Return the name of this attribute.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
          @@ -599,21 +654,25 @@

          getName

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/NameConstraintsExtension.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/NameConstraintsExtension.html index 1555691b1..87fd7ebb8 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/NameConstraintsExtension.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/NameConstraintsExtension.html @@ -1,11 +1,20 @@ - + NameConstraintsExtension (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class NameConstraintsExtension

    @@ -98,7 +122,7 @@

    Class NameConstraintsEx
  • java.lang.Object
  • @@ -316,12 +364,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -336,7 +385,7 @@

          IDENT

        - +
          @@ -350,7 +399,7 @@

          NAME

        - +
          @@ -363,7 +412,7 @@

          PERMITTED_SUBTREES

        - +
          @@ -378,20 +427,22 @@

          EXCLUDED_SUBTREES

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • NameConstraintsExtension

          -
          public NameConstraintsExtension(GeneralSubtrees permitted,
          -                                GeneralSubtrees excluded)
          +
          public NameConstraintsExtension​(GeneralSubtrees permitted,
          +                                GeneralSubtrees excluded)
                                    throws java.io.IOException
          The default constructor for this class. Either parameter can be set to null to indicate it is omitted but both @@ -405,15 +456,15 @@

          NameConstraintsExtension

        - +
        • NameConstraintsExtension

          -
          public NameConstraintsExtension(boolean critical,
          -                                GeneralSubtrees permitted,
          -                                GeneralSubtrees excluded)
          +
          public NameConstraintsExtension​(boolean critical,
          +                                GeneralSubtrees permitted,
          +                                GeneralSubtrees excluded)
                                    throws java.io.IOException
          Throws:
          @@ -421,13 +472,13 @@

          NameConstraintsExtension

        - +
        • NameConstraintsExtension

          -
          public NameConstraintsExtension(java.lang.Boolean critical,
          +
          public NameConstraintsExtension​(java.lang.Boolean critical,
                                           java.lang.Object value)
                                    throws java.io.IOException
          Create the extension from the passed DER encoded value.
          @@ -442,52 +493,54 @@

          NameConstraintsExtension

      +
      +
        -
      • +
      • Method Detail

        - + - +
        • toPrint

          -
          public java.lang.String toPrint(int indent)
          +
          public java.lang.String toPrint​(int indent)
        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.io.IOException
          Decode the extension from the InputStream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to unmarshal the contents from.
          Throws:
          @@ -495,18 +548,18 @@

          decode

        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.io.IOException
          Write the extension to the OutputStream.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the OutputStream to write the extension to.
          Throws:
          @@ -514,19 +567,19 @@

          encode

        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.io.IOException
          Set the attribute value.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the name of the attribute (e.g. "x509.info.key")
          obj - the attribute object.
          @@ -535,18 +588,18 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.io.IOException
          Get the attribute value.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the name of the attribute to return.
          Throws:
          @@ -554,18 +607,18 @@

          get

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.io.IOException
          Delete the attribute value.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the name of the attribute to delete.
          Throws:
          @@ -573,34 +626,34 @@

          delete

        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          Return an enumeration of names of attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Return the name of this attribute.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
          @@ -608,21 +661,25 @@

          getName

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/NoticeReference.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/NoticeReference.html index 9d8c188ee..3470d4a96 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/NoticeReference.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/NoticeReference.html @@ -1,11 +1,20 @@ - + NoticeReference (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class NoticeReference

    @@ -107,10 +131,9 @@

    Class NoticeReference

  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public class NoticeReference
     extends java.lang.Object
     implements java.io.Serializable
    @@ -131,55 +154,65 @@

    Class NoticeReference

  • @@ -194,28 +228,29 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • NoticeReference

          -
          public NoticeReference(DisplayText org,
          +
          public NoticeReference​(DisplayText org,
                                  int[] numbers)
        - +
        • NoticeReference

          -
          public NoticeReference(DerValue val)
          +
          public NoticeReference​(DerValue val)
                           throws java.io.IOException
          Throws:
          @@ -225,37 +260,39 @@

          NoticeReference

      +
      +
        -
      • +
      • Method Detail

        - + - +
        • getNumbers

          -
          public int[] getNumbers()
          +
          public int[] getNumbers()
        - +
        • encode

          -
          public void encode(DerOutputStream out)
          +
          public void encode​(DerOutputStream out)
                       throws java.io.IOException
          Write the NoticeReference to the DerOutputStream.
          @@ -268,21 +305,25 @@

          encode

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/OIDMap.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/OIDMap.html index 946655dec..5beb110c0 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/OIDMap.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/OIDMap.html @@ -1,11 +1,20 @@ - + OIDMap (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class OIDMap

    @@ -106,7 +130,6 @@

    Class OIDMap


    • -
      public class OIDMap
       extends java.lang.Object
      This class defines the mapping from OID and name to classes and vice @@ -119,39 +142,46 @@

      Class OIDMap

      @@ -243,12 +287,13 @@

      Methods inherited from class java.lang.Object

      • +
          -
        • +
        • Field Detail

          - +
            @@ -259,7 +304,7 @@

            EXTENSIONS_HOME

            the local system.
    - +
      @@ -274,7 +319,7 @@

      EXTENSIONS_OIDS

    - +
      @@ -287,7 +332,7 @@

      EXTENSIONS_CLASSES

    - +
      @@ -300,7 +345,7 @@

      EXT_KEY_USAGE_NAME

    - +
      @@ -315,13 +360,15 @@

      EXT_INHIBIT_ANY_POLICY_NAME

    + +
      -
    • +
    • Constructor Detail

      - +
        @@ -332,31 +379,33 @@

        OIDMap

    +
    +
      -
    • +
    • Method Detail

      - +
      • addClass

        -
        public static void addClass(java.lang.Class<? extends Extension> clazz)
        +
        public static void addClass​(java.lang.Class<? extends Extension> clazz)
        Add an extension to the OIDMap. Assumes existence of static OID and NAME fields with unique values.
      - +
      • addAttribute

        -
        public static void addAttribute(java.lang.String className,
        +
        public static void addAttribute​(java.lang.String className,
                                         java.lang.String oid,
                                         java.lang.String name)
                                  throws java.security.cert.CertificateException
        @@ -373,13 +422,13 @@

        addAttribute

      - +
      • getName

        -
        public static java.lang.String getName(ObjectIdentifier oid)
        +
        public static java.lang.String getName​(ObjectIdentifier oid)
        Return user friendly name associated with the OID.
        Parameters:
        @@ -390,13 +439,13 @@

        getName

      - +
      • getOID

        -
        public static ObjectIdentifier getOID(java.lang.String name)
        +
        public static ObjectIdentifier getOID​(java.lang.String name)
        Return Object identifier for user friendly name.
        Parameters:
        @@ -407,13 +456,13 @@

        getOID

      - +
      • getClass

        -
        public static java.lang.Class<?> getClass(java.lang.String name)
        +
        public static java.lang.Class<?> getClass​(java.lang.String name)
                                            throws java.security.cert.CertificateException
        Return the java class object associated with the user friendly name.
        @@ -424,13 +473,13 @@

        getClass

      - +
      • getClass

        -
        public static java.lang.Class<?> getClass(ObjectIdentifier oid)
        +
        public static java.lang.Class<?> getClass​(ObjectIdentifier oid)
                                            throws java.security.cert.CertificateException
        Return the java class object associated with the object identifier..
        @@ -443,21 +492,25 @@

        getClass

    +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/OIDName.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/OIDName.html index ee863f641..7b728d8e7 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/OIDName.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/OIDName.html @@ -1,11 +1,20 @@ - + OIDName (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class OIDName

    @@ -107,20 +131,19 @@

    Class OIDName

  • All Implemented Interfaces:
    -
    java.io.Serializable, GeneralNameInterface
    +
    java.io.Serializable, GeneralNameInterface

    -
    public class OIDName
     extends java.lang.Object
    -implements GeneralNameInterface
    +implements GeneralNameInterface
    This class implements the OIDName as required by the GeneralNames ASN.1 object.
    See Also:
    -
    GeneralName, -GeneralNames, -GeneralNameInterface, +
    GeneralName, +GeneralNames, +GeneralNameInterface, Serialized Form
  • @@ -130,94 +153,108 @@

    Class OIDName

    @@ -225,18 +262,19 @@

    Methods inherited from interface org.mozilla.jss.netscape.security.x509
    • +
        -
      • +
      • Constructor Detail

        - +
        • OIDName

          -
          public OIDName(DerValue derValue)
          +
          public OIDName​(DerValue derValue)
                   throws java.io.IOException
          Create the OIDName object from the passed encoded Der value.
          @@ -247,13 +285,13 @@

          OIDName

        - +
        • OIDName

          -
          public OIDName(ObjectIdentifier oid)
          +
          public OIDName​(ObjectIdentifier oid)
          Create the OIDName object with the specified name.
          Parameters:
          @@ -261,49 +299,51 @@

          OIDName

        - +
        • OIDName

          -
          public OIDName(java.lang.String oid)
          +
          public OIDName​(java.lang.String oid)
      +
      +
        -
      • +
      • Method Detail

        - + - + - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Convert the name into user readable string.
          Overrides:
          @@ -327,21 +367,25 @@

          toString

      +
    +

    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/OtherName.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/OtherName.html index 6fa96deca..f40f4eee8 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/OtherName.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/OtherName.html @@ -1,11 +1,20 @@ - + OtherName (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class OtherName

    @@ -107,13 +131,12 @@

    Class OtherName

  • All Implemented Interfaces:
    -
    java.io.Serializable, GeneralNameInterface
    +
    java.io.Serializable, GeneralNameInterface

    -
    public class OtherName
     extends java.lang.Object
    -implements GeneralNameInterface
    +implements GeneralNameInterface
    This class implements the OtherName as required by the GeneralNames ASN.1 object. @@ -123,9 +146,9 @@

    Class OtherName

    }
    See Also:
    -
    GeneralName, -GeneralNameInterface, -GeneralNames, +
    GeneralName, +GeneralNameInterface, +GeneralNames, Serialized Form
  • @@ -135,120 +158,140 @@

    Class OtherName

    @@ -256,18 +299,19 @@

    Methods inherited from interface org.mozilla.jss.netscape.security.x509
    • +
        -
      • +
      • Constructor Detail

        - +
        • OtherName

          -
          public OtherName(DerValue derValue)
          +
          public OtherName​(DerValue derValue)
                     throws java.io.IOException
          Create the IPAddressName object from the passed encoded Der value.
          @@ -278,13 +322,13 @@

          OtherName

        - +
        • OtherName

          -
          public OtherName(ObjectIdentifier oid,
          +
          public OtherName​(ObjectIdentifier oid,
                            byte[] data)
                     throws java.io.IOException
          @@ -293,13 +337,13 @@

          OtherName

        - +
        • OtherName

          -
          public OtherName(ObjectIdentifier oid,
          +
          public OtherName​(ObjectIdentifier oid,
                            byte tag,
                            java.lang.String value)
                     throws java.io.IOException
          @@ -310,13 +354,13 @@

          OtherName

        - +
        • OtherName

          -
          public OtherName(ObjectIdentifier oid,
          +
          public OtherName​(ObjectIdentifier oid,
                            java.lang.String value)
                     throws java.io.IOException
          @@ -325,58 +369,60 @@

          OtherName

        - +
        • OtherName

          -
          public OtherName(byte[] data)
          +
          public OtherName​(byte[] data)
      +
      +
        -
      • +
      • Method Detail

        - + - + - + - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.io.IOException
          Throws:
          @@ -398,22 +444,22 @@

          decode

        - +
        • getValue

          -
          public byte[] getValue()
          +
          public byte[] getValue()
        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Return a printable string of IPaddress
          Overrides:
          @@ -421,32 +467,36 @@

          toString

        - +
        • toStr

          -
          public java.lang.String toStr(byte[] data)
          +
          public java.lang.String toStr​(byte[] data)
      +
    +

    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/PKIXExtensions.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/PKIXExtensions.html index 91a524951..8e19ac8ef 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/PKIXExtensions.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/PKIXExtensions.html @@ -1,11 +1,20 @@ - + PKIXExtensions (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class PKIXExtensions

    @@ -100,7 +124,6 @@

    Class PKIXExtensions


    • -
      public class PKIXExtensions
       extends java.lang.Object
      Lists all the object identifiers of the X509 extensions of the PKIX profile. @@ -115,7 +138,7 @@

      Class PKIXExtensions

      of the extension value).
      See Also:
      -
      Extension
      +
      Extension
    @@ -124,181 +147,210 @@

    Class PKIXExtensions

    @@ -313,241 +366,244 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
        • AuthorityKey_Id

          -
          public static final ObjectIdentifier AuthorityKey_Id
          +
          public static final ObjectIdentifier AuthorityKey_Id
          Identifies the particular public key used to sign the certificate.
        - +
        • SubjectKey_Id

          -
          public static final ObjectIdentifier SubjectKey_Id
          +
          public static final ObjectIdentifier SubjectKey_Id
          Identifies the particular public key used in an application.
        - +
        • KeyUsage_Id

          -
          public static final ObjectIdentifier KeyUsage_Id
          +
          public static final ObjectIdentifier KeyUsage_Id
          Defines the purpose of the key contained in the certificate.
        - +
        • PrivateKeyUsage_Id

          -
          public static final ObjectIdentifier PrivateKeyUsage_Id
          +
          public static final ObjectIdentifier PrivateKeyUsage_Id
          Allows the certificate issuer to specify a different validity period for the private key than the certificate.
        - +
        • CertificatePolicies_Id

          -
          public static final ObjectIdentifier CertificatePolicies_Id
          +
          public static final ObjectIdentifier CertificatePolicies_Id
          Contains the sequence of policy information terms.
        - +
        • PolicyMappings_Id

          -
          public static final ObjectIdentifier PolicyMappings_Id
          +
          public static final ObjectIdentifier PolicyMappings_Id
          Lists pairs of objectidentifiers of policies considered equivalent by the issuing CA to the subject CA.
        - +
        • SubjectAlternativeName_Id

          -
          public static final ObjectIdentifier SubjectAlternativeName_Id
          +
          public static final ObjectIdentifier SubjectAlternativeName_Id
          Allows additional identities to be bound to the subject of the certificate.
        - +
        • IssuerAlternativeName_Id

          -
          public static final ObjectIdentifier IssuerAlternativeName_Id
          +
          public static final ObjectIdentifier IssuerAlternativeName_Id
          Allows additional identities to be associated with the certificate issuer.
        - +
        • SubjectDirectoryAttributes_Id

          -
          public static final ObjectIdentifier SubjectDirectoryAttributes_Id
          +
          public static final ObjectIdentifier SubjectDirectoryAttributes_Id
          Identifies additional directory attributes. This extension is always non-critical.
        - +
        • BasicConstraints_Id

          -
          public static final ObjectIdentifier BasicConstraints_Id
          +
          public static final ObjectIdentifier BasicConstraints_Id
          Identifies whether the subject of the certificate is a CA and how deep a certification path may exist through that CA.
        - +
        • NameConstraints_Id

          -
          public static final ObjectIdentifier NameConstraints_Id
          +
          public static final ObjectIdentifier NameConstraints_Id
          Provides for permitted and excluded subtrees that place restrictions on names that may be included within a certificate issued by a given CA.
        - +
        • PolicyConstraints_Id

          -
          public static final ObjectIdentifier PolicyConstraints_Id
          +
          public static final ObjectIdentifier PolicyConstraints_Id
          Used to either prohibit policy mapping or limit the set of policies that can be in subsequent certificates.
        - +
        • CRLDistributionPoints_Id

          -
          public static final ObjectIdentifier CRLDistributionPoints_Id
          +
          public static final ObjectIdentifier CRLDistributionPoints_Id
          Identifies how CRL information is obtained.
        - +
        • CRLNumber_Id

          -
          public static final ObjectIdentifier CRLNumber_Id
          +
          public static final ObjectIdentifier CRLNumber_Id
          Conveys a monotonically increasing sequence number for each CRL issued by a given CA.
        - +
        • IssuingDistributionPoint_Id

          -
          public static final ObjectIdentifier IssuingDistributionPoint_Id
          +
          public static final ObjectIdentifier IssuingDistributionPoint_Id
          Identifies the CRL distribution point for a particular CRL.
        - +
        • DeltaCRLIndicator_Id

          -
          public static final ObjectIdentifier DeltaCRLIndicator_Id
          +
          public static final ObjectIdentifier DeltaCRLIndicator_Id
          Identifies the delta CRL.
        - +
        • ReasonCode_Id

          -
          public static final ObjectIdentifier ReasonCode_Id
          +
          public static final ObjectIdentifier ReasonCode_Id
          Identifies the reason for the certificate revocation.
        - +
        • HoldInstructionCode_Id

          -
          public static final ObjectIdentifier HoldInstructionCode_Id
          +
          public static final ObjectIdentifier HoldInstructionCode_Id
          This extension provides a registered instruction identifier indicating the action to be taken, after encountering a certificate that has been placed on hold.
        - +
        • InvalidityDate_Id

          -
          public static final ObjectIdentifier InvalidityDate_Id
          +
          public static final ObjectIdentifier InvalidityDate_Id
          Identifies the date on which it is known or suspected that the private key was compromised or that the certificate otherwise became invalid.
        - +
        • CertificateIssuer_Id

          -
          public static final ObjectIdentifier CertificateIssuer_Id
          +
          public static final ObjectIdentifier CertificateIssuer_Id
          Identifies the date on which it is known or suspected that the private key was compromised or that the certificate otherwise became invalid.
        - +
        • FreshestCRL_Id

          -
          public static final ObjectIdentifier FreshestCRL_Id
          +
          public static final ObjectIdentifier FreshestCRL_Id
          Identifies how delta CRL information is obtained.
      +
      +
        -
      • +
      • Constructor Detail

        - +
          @@ -558,21 +614,25 @@

          PKIXExtensions

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/PolicyConstraint.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/PolicyConstraint.html index ca7454304..a5e24fadb 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/PolicyConstraint.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/PolicyConstraint.html @@ -1,11 +1,20 @@ - + PolicyConstraint (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class PolicyConstraint

    @@ -106,7 +130,6 @@

    Class PolicyConstraint


    • -
      public class PolicyConstraint
       extends java.lang.Object
      This class defines the PolicyConstraint ASN.1 object.
      @@ -117,58 +140,67 @@

      Class PolicyConstraint

    @@ -183,18 +216,19 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • PolicyConstraint

          -
          public PolicyConstraint(CertificatePolicySet set,
          +
          public PolicyConstraint​(CertificatePolicySet set,
                                   int require,
                                   int inhibit)
          The default constructor for this object
          @@ -206,13 +240,13 @@

          PolicyConstraint

        - +
        • PolicyConstraint

          -
          public PolicyConstraint(DerValue val)
          +
          public PolicyConstraint​(DerValue val)
                            throws java.io.IOException
          Create the PolicyConstraint from the DerValue.
          @@ -225,19 +259,21 @@

          PolicyConstraint

      +
      +
        -
      • +
      • Method Detail

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Return user readable form of the object.
          Overrides:
          @@ -245,13 +281,13 @@

          toString

        - +
        • encode

          -
          public void encode(DerOutputStream out)
          +
          public void encode​(DerOutputStream out)
                       throws java.io.IOException
          Encode the object to the output stream.
          @@ -264,21 +300,25 @@

          encode

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/PolicyConstraintsExtension.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/PolicyConstraintsExtension.html index bf733b185..ce1abe104 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/PolicyConstraintsExtension.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/PolicyConstraintsExtension.html @@ -1,11 +1,20 @@ - + PolicyConstraintsExtension (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class PolicyConstraintsExtension

    @@ -98,7 +122,7 @@

    Class PolicyConstrain
  • java.lang.Object
  • @@ -323,12 +372,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -343,7 +393,7 @@

          IDENT

        - +
          @@ -357,7 +407,7 @@

          NAME

        - +
          @@ -370,7 +420,7 @@

          REQUIRE

        - +
          @@ -385,19 +435,21 @@

          INHIBIT

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • PolicyConstraintsExtension

          -
          public PolicyConstraintsExtension(boolean crit,
          +
          public PolicyConstraintsExtension​(boolean crit,
                                             int require,
                                             int inhibit)
                                      throws java.io.IOException
          @@ -413,13 +465,13 @@

          PolicyConstraintsExtension

        - +
        • PolicyConstraintsExtension

          -
          public PolicyConstraintsExtension(int require,
          +
          public PolicyConstraintsExtension​(int require,
                                             int inhibit)
                                      throws java.io.IOException
          Create a PolicyConstraintsExtension object with both @@ -433,13 +485,13 @@

          PolicyConstraintsExtension

        - +
        • PolicyConstraintsExtension

          -
          public PolicyConstraintsExtension(java.lang.Boolean critical,
          +
          public PolicyConstraintsExtension​(java.lang.Boolean critical,
                                             java.lang.Object value)
                                      throws java.io.IOException
          Create the extension from its DER encoded value and criticality.
          @@ -454,43 +506,45 @@

          PolicyConstraintsExtension

      +
      +
        -
      • +
      • Method Detail

        - + - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.io.IOException
          Decode the extension from the InputStream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to unmarshal the contents from.
          Throws:
          @@ -498,18 +552,18 @@

          decode

        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.io.IOException
          Write the extension to the DerOutputStream.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the DerOutputStream to write the extension to.
          Throws:
          @@ -517,19 +571,19 @@

          encode

        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.io.IOException
          Set the attribute value.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the name of the attribute (e.g. "x509.info.key")
          obj - the attribute object.
          @@ -538,18 +592,18 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.io.IOException
          Get the attribute value.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the name of the attribute to return.
          Throws:
          @@ -557,18 +611,18 @@

          get

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.io.IOException
          Delete the attribute value.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the name of the attribute to delete.
          Throws:
          @@ -576,76 +630,80 @@

          delete

        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          Return an enumeration of names of attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Return the name of this attribute.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
        - +
        • getRequireExplicitMapping

          -
          public int getRequireExplicitMapping()
          +
          public int getRequireExplicitMapping()
          returns the requireExplicitMapping parameter.
        - +
        • getInhibitPolicyMapping

          -
          public int getInhibitPolicyMapping()
          +
          public int getInhibitPolicyMapping()
          returns the inhibitPolicyMapping parameter.
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/PolicyMappingsExtension.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/PolicyMappingsExtension.html index 8ad527fd5..3d3901dd1 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/PolicyMappingsExtension.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/PolicyMappingsExtension.html @@ -1,11 +1,20 @@ - + PolicyMappingsExtension (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class PolicyMappingsExtension

    @@ -98,7 +122,7 @@

    Class PolicyMappingsExte
  • java.lang.Object
  • @@ -310,12 +358,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -330,7 +379,7 @@

          IDENT

        - +
          @@ -344,7 +393,7 @@

          NAME

        - +
          @@ -359,19 +408,21 @@

          MAP

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • PolicyMappingsExtension

          -
          public PolicyMappingsExtension(java.util.Vector<CertificatePolicyMap> map)
          +
          public PolicyMappingsExtension​(java.util.Vector<CertificatePolicyMap> map)
                                   throws java.io.IOException
          Create a PolicyMappings with the Vector of CertificatePolicyMap.
          @@ -382,14 +433,14 @@

          PolicyMappingsExtension

        - +
        • PolicyMappingsExtension

          -
          public PolicyMappingsExtension(boolean critical,
          -                               java.util.Vector<CertificatePolicyMap> map)
          +
          public PolicyMappingsExtension​(boolean critical,
          +                               java.util.Vector<CertificatePolicyMap> map)
                                   throws java.io.IOException
          Create a PolicyMappings with the Vector of CertificatePolicyMap.
          @@ -401,7 +452,7 @@

          PolicyMappingsExtension

        - +
          @@ -411,13 +462,13 @@

          PolicyMappingsExtension

          Create a default PolicyMappingsExtension.
        - +
        • PolicyMappingsExtension

          -
          public PolicyMappingsExtension(java.lang.Boolean critical,
          +
          public PolicyMappingsExtension​(java.lang.Boolean critical,
                                          java.lang.Object value)
                                   throws java.io.IOException
          Create the extension from the passed DER encoded value.
          @@ -432,43 +483,45 @@

          PolicyMappingsExtension

      +
      +
        -
      • +
      • Method Detail

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns a printable representation of the policy map.
          Specified by:
          -
          toString in interface CertAttrSet
          +
          toString in interface CertAttrSet
          Overrides:
          -
          toString in class Extension
          +
          toString in class Extension
          Returns:
          value of this certificate attribute in printable form.
        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.io.IOException
          Write the extension to the OutputStream.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the OutputStream to write the extension to.
          Throws:
          @@ -476,18 +529,18 @@

          encode

        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.io.IOException
          Decode the extension from the InputStream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to unmarshal the contents from.
          Throws:
          @@ -495,19 +548,19 @@

          decode

        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.io.IOException
          Set the attribute value.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the name of the attribute (e.g. "x509.info.key")
          obj - the attribute object.
          @@ -516,18 +569,18 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.io.IOException
          Get the attribute value.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the name of the attribute to return.
          Throws:
          @@ -535,18 +588,18 @@

          get

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.io.IOException
          Delete the attribute value.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the name of the attribute to delete.
          Throws:
          @@ -554,66 +607,70 @@

          delete

        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          Return an enumeration of names of attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Return the name of this attribute.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
        - +
        • getMappings

          -
          public java.util.Enumeration<CertificatePolicyMap> getMappings()
          +
          public java.util.Enumeration<CertificatePolicyMap> getMappings()
          Returns an enumeration of the mappings in the extension.
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/PolicyQualifierInfo.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/PolicyQualifierInfo.html index 9aa5fdd92..f72fbfb55 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/PolicyQualifierInfo.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/PolicyQualifierInfo.html @@ -1,11 +1,20 @@ - + PolicyQualifierInfo (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class PolicyQualifierInfo

    @@ -107,10 +131,9 @@

    Class PolicyQualifierInfo
    All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public class PolicyQualifierInfo
     extends java.lang.Object
     implements java.io.Serializable
    @@ -131,98 +154,116 @@

    Class PolicyQualifierInfo
  • +
    +
    +
    +
    +
    +
  • @@ -237,12 +279,13 @@

    Methods inherited from class java.lang.Object

    • +
      +
      +
        -
      • +
      • Constructor Detail

        - +
        • PolicyQualifierInfo

          -
          public PolicyQualifierInfo(ObjectIdentifier id,
          -                           Qualifier qualifier)
          +
          public PolicyQualifierInfo​(ObjectIdentifier id,
          +                           Qualifier qualifier)
          Create a PolicyQualifierInfo
          Parameters:
          @@ -301,13 +346,13 @@

          PolicyQualifierInfo

        - +
        • PolicyQualifierInfo

          -
          public PolicyQualifierInfo(DerValue val)
          +
          public PolicyQualifierInfo​(DerValue val)
                               throws java.io.IOException
          Create the object from its Der encoded value.
          @@ -320,38 +365,40 @@

          PolicyQualifierInfo

      +
      +
        -
      • +
      • Method Detail

        - + - +
        • getQualifier

          -
          public Qualifier getQualifier()
          +
          public Qualifier getQualifier()
          Returns object of type CPSuri or UserNotice.
        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns a printable representation of the CertificatePolicyId.
          Overrides:
          @@ -359,13 +406,13 @@

          toString

        - +
        • encode

          -
          public void encode(DerOutputStream out)
          +
          public void encode​(DerOutputStream out)
                       throws java.io.IOException
          Write the PolicyQualifier to the DerOutputStream.
          @@ -378,21 +425,25 @@

          encode

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/PolicyQualifiers.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/PolicyQualifiers.html index ebbcbb40f..60bbc420b 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/PolicyQualifiers.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/PolicyQualifiers.html @@ -1,11 +1,20 @@ - + PolicyQualifiers (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class PolicyQualifiers

    @@ -107,10 +131,9 @@

    Class PolicyQualifiers

  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public class PolicyQualifiers
     extends java.lang.Object
     implements java.io.Serializable
    @@ -128,68 +151,80 @@

    Class PolicyQualifiers

  • @@ -204,12 +240,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -219,13 +256,13 @@

          PolicyQualifiers

          Create a PolicyQualifiers with the ObjectIdentifier.
        - +
        • PolicyQualifiers

          -
          public PolicyQualifiers(DerValue val)
          +
          public PolicyQualifiers​(DerValue val)
                            throws java.io.IOException
          Create the object from its Der encoded value.
          @@ -238,46 +275,48 @@

          PolicyQualifiers

      +
      +
        -
      • +
      • Method Detail

        - + - +
        • size

          -
          public int size()
          +
          public int size()
        - + - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns a printable representation of the CertificatePolicyId.
          Overrides:
          @@ -285,13 +324,13 @@

          toString

        - +
        • encode

          -
          public void encode(DerOutputStream out)
          +
          public void encode​(DerOutputStream out)
                       throws java.io.IOException
          Write the PolicyQualifiers to the DerOutputStream.
          @@ -304,21 +343,25 @@

          encode

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/PrintableConverter.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/PrintableConverter.html index 4f96553ad..6eee8d2aa 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/PrintableConverter.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/PrintableConverter.html @@ -1,11 +1,20 @@ - + PrintableConverter (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class PrintableConverter

    @@ -107,19 +131,18 @@

    Class PrintableConverter

  • All Implemented Interfaces:
    -
    AVAValueConverter
    +
    AVAValueConverter

    -
    public class PrintableConverter
     extends java.lang.Object
    -implements AVAValueConverter
    +implements AVAValueConverter
    A AVAValueConverter that converts a Printable String attribute to a DerValue and vice versa. An example an attribute that is a printable string is "C".
    See Also:
    -
    ASN1CharStrConvMap, -AVAValueConverter
    +
    ASN1CharStrConvMap, +AVAValueConverter
  • @@ -128,63 +151,73 @@

    Class PrintableConverter

    • +
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - + - - + + - - + + - - + +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        java.lang.StringgetAsString(DerValue avaValue) +getAsString​(DerValue avaValue)
        Converts a DerValue of PrintableString to a java string with PrintableString characters.
        DerValuegetValue(byte[] berStream) +DerValuegetValue​(byte[] berStream)
        Converts a BER encoded value of PrintableString to a DER encoded value.
        DerValuegetValue(java.lang.String valueString) +DerValuegetValue​(java.lang.String valueString)
        Converts a string with ASN.1 Printable characters to a DerValue.
        DerValuegetValue(java.lang.String valueString, - byte[] tags) +DerValuegetValue​(java.lang.String valueString, + byte[] tags)
        Converts a string to a DER encoded attribute value.
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -192,6 +225,7 @@

          Methods inherited from class java.lang.Object

      +
    @@ -199,12 +233,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -215,24 +250,26 @@

          PrintableConverter

      +
      +
        -
      • +
      • Method Detail

        - +
        • getValue

          -
          public DerValue getValue(java.lang.String valueString)
          +
          public DerValue getValue​(java.lang.String valueString)
                             throws java.io.IOException
          Converts a string with ASN.1 Printable characters to a DerValue.
          Specified by:
          -
          getValue in interface AVAValueConverter
          +
          getValue in interface AVAValueConverter
          Parameters:
          valueString - a string with Printable characters.
          Returns:
          @@ -243,23 +280,23 @@

          getValue

        - +
        • getValue

          -
          public DerValue getValue(java.lang.String valueString,
          +
          public DerValue getValue​(java.lang.String valueString,
                                    byte[] tags)
                             throws java.io.IOException
          -
          Description copied from interface: AVAValueConverter
          +
          Description copied from interface: AVAValueConverter
          Converts a string to a DER encoded attribute value. Specify the order of DER tags to use if more than one encoding is possible. Currently Directory Strings can have different order for backwards compatibility. By 2003 all should be UTF8String.
          Specified by:
          -
          getValue in interface AVAValueConverter
          +
          getValue in interface AVAValueConverter
          Parameters:
          valueString - An AVA value string not encoded in any form.
          Returns:
          @@ -269,20 +306,20 @@

          getValue

        - +
        • getValue

          -
          public DerValue getValue(byte[] berStream)
          +
          public DerValue getValue​(byte[] berStream)
                             throws java.io.IOException
          Converts a BER encoded value of PrintableString to a DER encoded value. Checks if the BER encoded value is a PrintableString. NOTE only DER encoded values are currently accepted on input.
          Specified by:
          -
          getValue in interface AVAValueConverter
          +
          getValue in interface AVAValueConverter
          Parameters:
          berStream - A byte array of the BER encoded value.
          Returns:
          @@ -293,19 +330,19 @@

          getValue

        - +
        • getAsString

          -
          public java.lang.String getAsString(DerValue avaValue)
          +
          public java.lang.String getAsString​(DerValue avaValue)
                                        throws java.io.IOException
          Converts a DerValue of PrintableString to a java string with PrintableString characters.
          Specified by:
          -
          getAsString in interface AVAValueConverter
          +
          getAsString in interface AVAValueConverter
          Parameters:
          avaValue - a DerValue.
          Returns:
          @@ -319,21 +356,25 @@

          getAsString

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/PrivateKeyUsageExtension.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/PrivateKeyUsageExtension.html index 66a8d01e6..cc1cd64d6 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/PrivateKeyUsageExtension.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/PrivateKeyUsageExtension.html @@ -1,11 +1,20 @@ - + PrivateKeyUsageExtension (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class PrivateKeyUsageExtension

    @@ -98,7 +122,7 @@

    Class PrivateKeyUsageEx
  • java.lang.Object
  • @@ -323,12 +373,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -343,7 +394,7 @@

          IDENT

        - +
          @@ -357,7 +408,7 @@

          NAME

        - +
          @@ -370,7 +421,7 @@

          NOT_BEFORE

        - +
          @@ -385,19 +436,21 @@

          NOT_AFTER

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • PrivateKeyUsageExtension

          -
          public PrivateKeyUsageExtension(java.util.Date notBefore,
          +
          public PrivateKeyUsageExtension​(java.util.Date notBefore,
                                           java.util.Date notAfter)
                                    throws java.io.IOException
          The default constructor for PrivateKeyUsageExtension.
          @@ -412,13 +465,13 @@

          PrivateKeyUsageExtension

        - +
        • PrivateKeyUsageExtension

          -
          public PrivateKeyUsageExtension(java.lang.Boolean critical,
          +
          public PrivateKeyUsageExtension​(java.lang.Boolean critical,
                                           java.lang.Object value)
                                    throws java.security.cert.CertificateException,
                                           java.io.IOException
          @@ -435,58 +488,60 @@

          PrivateKeyUsageExtension

      +
      +
        -
      • +
      • Method Detail

        - + - +
        • getNotBefore

          -
          public java.util.Date getNotBefore()
          +
          public java.util.Date getNotBefore()
          Return notBefore date
        - +
        • getNotAfter

          -
          public java.util.Date getNotAfter()
          +
          public java.util.Date getNotAfter()
          Return notAfter date
        - +
        • valid

          -
          public void valid()
          +
          public void valid()
                      throws java.security.cert.CertificateNotYetValidException,
                             java.security.cert.CertificateExpiredException
          Verify that that the current time is within the validity period.
          @@ -498,13 +553,13 @@

          valid

        - +
        • valid

          -
          public void valid(java.util.Date now)
          +
          public void valid​(java.util.Date now)
                      throws java.security.cert.CertificateNotYetValidException,
                             java.security.cert.CertificateExpiredException
          Verify that that the passed time is within the validity period.
          @@ -517,18 +572,18 @@

          valid

        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.io.IOException
          Write the extension to the OutputStream.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the OutputStream to write the extension to.
          Throws:
          @@ -536,18 +591,18 @@

          encode

        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.security.cert.CertificateException
          Decode the extension from the InputStream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to unmarshal the contents from.
          Throws:
          @@ -555,19 +610,19 @@

          decode

        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.security.cert.CertificateException
          Set the attribute value.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the name of the attribute (e.g. "x509.info.key")
          obj - the attribute object.
          @@ -576,18 +631,18 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.security.cert.CertificateException
          Get the attribute value.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the name of the attribute to return.
          Throws:
          @@ -595,18 +650,18 @@

          get

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.security.cert.CertificateException
          Delete the attribute value.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the name of the attribute to delete.
          Throws:
          @@ -614,34 +669,34 @@

          delete

        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          Return an enumeration of names of attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Return the name of this attribute.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
          @@ -649,21 +704,25 @@

          getName

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/Qualifier.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/Qualifier.html index 53e80ea0b..dfc0f522c 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/Qualifier.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/Qualifier.html @@ -1,11 +1,20 @@ - + Qualifier (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class Qualifier

    @@ -107,14 +131,13 @@

    Class Qualifier

  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable
    Direct Known Subclasses:
    -
    CPSuri, UserNotice
    +
    CPSuri, UserNotice

    -
    public class Qualifier
     extends java.lang.Object
     implements java.io.Serializable
    @@ -135,48 +158,56 @@

    Class Qualifier

  • @@ -191,12 +223,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -206,13 +239,13 @@

          Qualifier

          Create a PolicyQualifierInfo
        - +
        • Qualifier

          -
          public Qualifier(DerValue val)
          +
          public Qualifier​(DerValue val)
                     throws java.io.IOException
          Throws:
          @@ -222,19 +255,21 @@

          Qualifier

      +
      +
        -
      • +
      • Method Detail

        - +
        • encode

          -
          public void encode(DerOutputStream out)
          +
          public void encode​(DerOutputStream out)
                       throws java.io.IOException
          Write the PolicyQualifier to the DerOutputStream.
          @@ -247,21 +282,25 @@

          encode

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/RDN.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/RDN.html index 7d913bfee..cac4f8e64 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/RDN.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/RDN.html @@ -1,11 +1,20 @@ - + RDN (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class RDN

    @@ -106,7 +130,6 @@

    Class RDN


    • -
      public class RDN
       extends java.lang.Object
      RDNs are a set of {attribute = value} assertions. Some of those @@ -121,9 +144,9 @@

      Class RDN

      it, but we'll need to sort them when we expose the RDN class more.
      See Also:
      -
      X500Name, -AVA, -LdapDNStrConverter
      +
      X500Name, +AVA, +LdapDNStrConverter
    @@ -132,127 +155,148 @@

    Class RDN

    • +
        -
      • +
      • Constructor Summary

        - +
        - + + - + - + - + - + - + - + - +
        Constructors 
        Constructor and DescriptionConstructorDescription
        RDN(AVA[] avas) -
        Constructs a RDN from an array of AVA.
        +
        RDN​(java.lang.String rdnString) +
        Constructs a RDN from a Ldap DN String with one RDN component + using the global default LdapDNStrConverter.
        RDN(DerInputStream in) -
        Constructs a RDN from a Der Input Stream.
        +
        RDN​(java.lang.String rdnString, + byte[] tags) +
        Like RDN(String) with a DER encoding order given as argument for + Directory Strings.
        RDN(DerValue set) -
        Constructs a RDN from a DerValue.
        +
        RDN​(java.lang.String rdnString, + LdapDNStrConverter ldapDNStrConverter) +
        Constructs a RDN from a Ldap DN string with one RDN component + using the specified Ldap DN Str converter.
        RDN(java.lang.String rdnString) -
        Constructs a RDN from a Ldap DN String with one RDN component - using the global default LdapDNStrConverter.
        +
        RDN​(java.util.Vector<AVA> avaVector) +
        convenience method.
        RDN(java.lang.String rdnString, - byte[] tags) -
        Like RDN(String) with a DER encoding order given as argument for - Directory Strings.
        +
        RDN​(DerInputStream in) +
        Constructs a RDN from a Der Input Stream.
        RDN(java.lang.String rdnString, - LdapDNStrConverter ldapDNStrConverter) -
        Constructs a RDN from a Ldap DN string with one RDN component - using the specified Ldap DN Str converter.
        +
        RDN​(DerValue set) +
        Constructs a RDN from a DerValue.
        RDN(java.util.Vector<AVA> avaVector) -
        convenience method.
        +
        RDN​(AVA[] avas) +
        Constructs a RDN from an array of AVA.
      +
      +
      +
    @@ -267,18 +312,19 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • RDN

          -
          public RDN(java.lang.String rdnString)
          +
          public RDN​(java.lang.String rdnString)
               throws java.io.IOException
          Constructs a RDN from a Ldap DN String with one RDN component using the global default LdapDNStrConverter.
          @@ -289,17 +335,17 @@

          RDN

          Throws:
          java.io.IOException - if error occurs while parsing the string.
          See Also:
          -
          LdapDNStrConverter
          +
          LdapDNStrConverter
        - +
        • RDN

          -
          public RDN(java.lang.String rdnString,
          +
          public RDN​(java.lang.String rdnString,
                      byte[] tags)
               throws java.io.IOException
          Like RDN(String) with a DER encoding order given as argument for @@ -310,14 +356,14 @@

          RDN

        - +
        • RDN

          -
          public RDN(java.lang.String rdnString,
          -           LdapDNStrConverter ldapDNStrConverter)
          +
          public RDN​(java.lang.String rdnString,
          +           LdapDNStrConverter ldapDNStrConverter)
               throws java.io.IOException
          Constructs a RDN from a Ldap DN string with one RDN component using the specified Ldap DN Str converter. @@ -330,17 +376,17 @@

          RDN

          Throws:
          java.io.IOException
          See Also:
          -
          LdapDNStrConverter
          +
          LdapDNStrConverter
        - +
        • RDN

          -
          public RDN(DerValue set)
          +
          public RDN​(DerValue set)
               throws java.io.IOException
          Constructs a RDN from a DerValue.
          @@ -351,13 +397,13 @@

          RDN

        - +
        • RDN

          -
          public RDN(DerInputStream in)
          +
          public RDN​(DerInputStream in)
               throws java.io.IOException
          Constructs a RDN from a Der Input Stream.
          @@ -368,13 +414,13 @@

          RDN

        - +
        • RDN

          -
          public RDN(AVA[] avas)
          +
          public RDN​(AVA[] avas)
          Constructs a RDN from an array of AVA.
          Parameters:
          @@ -382,31 +428,33 @@

          RDN

        - +
        • RDN

          -
          public RDN(java.util.Vector<AVA> avaVector)
          +
          public RDN​(java.util.Vector<AVA> avaVector)
          convenience method.
      +
      +
        -
      • +
      • Method Detail

        - +
        • getAssertion

          -
          public AVA[] getAssertion()
          +
          public AVA[] getAssertion()
          returns an array of AVA in the RDN.
          Returns:
          @@ -414,13 +462,13 @@

          getAssertion

        - +
        • getAssertionLength

          -
          public int getAssertionLength()
          +
          public int getAssertionLength()
          returns the number of AVAs in the RDN.
          Returns:
          @@ -428,39 +476,39 @@

          getAssertionLength

        - +
        • hashCode

          -
          public int hashCode()
          +
          public int hashCode()
          Overrides:
          hashCode in class java.lang.Object
        - +
        • equals

          -
          public boolean equals(java.lang.Object obj)
          +
          public boolean equals​(java.lang.Object obj)
          Overrides:
          equals in class java.lang.Object
        - +
        • encode

          -
          public void encode(DerOutputStream out)
          +
          public void encode​(DerOutputStream out)
                       throws java.io.IOException
          Encodes this RDN to a Der output stream.
          @@ -471,13 +519,13 @@

          encode

        - +
        • getAVAs

          -
          public java.util.Enumeration<AVA> getAVAs()
          +
          public java.util.Enumeration<AVA> getAVAs()
          returns an enumeration of AVAs that make up this RDN.
          Returns:
          @@ -485,13 +533,13 @@

          getAVAs

        - +
        • toLdapDNString

          -
          public java.lang.String toLdapDNString()
          +
          public java.lang.String toLdapDNString()
                                           throws java.io.IOException
          Returns a Ldap DN string with one RDN component using the global default LdapDNStrConverter.
          @@ -501,17 +549,17 @@

          toLdapDNString

          Throws:
          java.io.IOException - if an error occurs during the conversion.
          See Also:
          -
          LdapDNStrConverter
          +
          LdapDNStrConverter
        - +
        • toLdapDNString

          -
          public java.lang.String toLdapDNString(LdapDNStrConverter ldapDNStrConverter)
          +
          public java.lang.String toLdapDNString​(LdapDNStrConverter ldapDNStrConverter)
                                           throws java.io.IOException
          Returns a Ldap DN String with this RDN component using the specified LdapDNStrConverter.
          @@ -523,17 +571,17 @@

          toLdapDNString

          Throws:
          java.io.IOException - if an error occurs in the conversion.
          See Also:
          -
          LdapDNStrConverter
          +
          LdapDNStrConverter
        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns a Ldap DN string with this RDN component using the global default LdapDNStrConverter.
          @@ -543,27 +591,31 @@

          toString

          the Ldap DN String with this RDN component, null if an error occurs in the conversion.
          See Also:
          -
          LdapDNStrConverter
          +
          LdapDNStrConverter
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/RFC1779StrConverter.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/RFC1779StrConverter.html index f3bdc3446..a3cd9135e 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/RFC1779StrConverter.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/RFC1779StrConverter.html @@ -1,11 +1,20 @@ - + RFC1779StrConverter (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class RFC1779StrConverter

    @@ -98,10 +122,10 @@

    Class RFC1779StrConverterjava.lang.Object
  • @@ -231,12 +266,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -247,13 +283,13 @@

          RFC1779StrConverter

          X500NameAttrMap and accepts OIDs not listed in the attribute map.
        - +
        • RFC1779StrConverter

          -
          public RFC1779StrConverter(X500NameAttrMap attributeMap,
          +
          public RFC1779StrConverter​(X500NameAttrMap attributeMap,
                                      boolean doAcceptUnknownOids)
          Constructs a RFC1779StrConverter using the specified X500NameAttrMap and boolean for whether to accept OIDs not in the X500NameAttrMap.
          @@ -267,25 +303,27 @@

          RFC1779StrConverter

      +
      +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/RFC822Name.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/RFC822Name.html index 2a3a4dfaa..db957e2ef 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/RFC822Name.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/RFC822Name.html @@ -1,11 +1,20 @@ - + RFC822Name (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class RFC822Name

    @@ -107,20 +131,19 @@

    Class RFC822Name

  • All Implemented Interfaces:
    -
    java.io.Serializable, GeneralNameInterface
    +
    java.io.Serializable, GeneralNameInterface

    -
    public class RFC822Name
     extends java.lang.Object
    -implements GeneralNameInterface
    +implements GeneralNameInterface
    This class implements the RFC822Name as required by the GeneralNames ASN.1 object.
    See Also:
    -
    GeneralName, -GeneralNames, -GeneralNameInterface, +
    GeneralName, +GeneralNames, +GeneralNameInterface, Serialized Form
  • @@ -130,91 +153,104 @@

    Class RFC822Name

    @@ -222,18 +258,19 @@

    Methods inherited from interface org.mozilla.jss.netscape.security.x509
    • +
        -
      • +
      • Constructor Detail

        - +
        • RFC822Name

          -
          public RFC822Name(DerValue derValue)
          +
          public RFC822Name​(DerValue derValue)
                      throws java.io.IOException
          Create the RFC822Name object from the passed encoded Der value.
          @@ -244,13 +281,13 @@

          RFC822Name

        - +
        • RFC822Name

          -
          public RFC822Name(java.lang.String name)
          +
          public RFC822Name​(java.lang.String name)
          Create the RFC822Name object with the specified name.
          Parameters:
          @@ -260,38 +297,40 @@

          RFC822Name

      +
      +
        -
      • +
      • Method Detail

        - + - + - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Convert the name into user readable string.
          Overrides:
          @@ -315,21 +354,25 @@

          toString

      +
    +

    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/ReasonFlags.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/ReasonFlags.html index 3963263c8..4535f6ede 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/ReasonFlags.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/ReasonFlags.html @@ -1,11 +1,20 @@ - + ReasonFlags (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class ReasonFlags

    @@ -106,7 +130,6 @@

    Class ReasonFlags


    • -
      public class ReasonFlags
       extends java.lang.Object
      Represent the CRL Reason Flags. @@ -115,8 +138,8 @@

      Class ReasonFlags

      This extension, if present, defines the identifies the reason for the certificate revocation.
      See Also:
      -
      Extension, -CertAttrSet
      +
      Extension, +CertAttrSet
    @@ -125,150 +148,178 @@

    Class ReasonFlags

    @@ -283,12 +335,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -302,7 +355,7 @@

          UNUSED

        - +
          @@ -315,7 +368,7 @@

          KEY_COMPROMISE

        - +
          @@ -328,7 +381,7 @@

          CA_COMPROMISE

        - +
          @@ -341,7 +394,7 @@

          AFFLIATION_CHANGED

        - +
          @@ -354,7 +407,7 @@

          SUPERSEDED

        - +
          @@ -367,7 +420,7 @@

          CESSATION_OF_OPERATION

        - +
          @@ -380,7 +433,7 @@

          CERTIFICATION_HOLD

        - +
          @@ -393,7 +446,7 @@

          PRIVILEGE_WITHDRAWN

        - +
          @@ -408,19 +461,21 @@

          AA_COMPROMISE

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • ReasonFlags

          -
          public ReasonFlags(byte[] reasons)
          +
          public ReasonFlags​(byte[] reasons)
          Create a ReasonFlags with the passed bit settings.
          Parameters:
          @@ -428,13 +483,13 @@

          ReasonFlags

        - +
        • ReasonFlags

          -
          public ReasonFlags(boolean[] reasons)
          +
          public ReasonFlags​(boolean[] reasons)
          Create a ReasonFlags with the passed bit settings.
          Parameters:
          @@ -442,13 +497,13 @@

          ReasonFlags

        - +
        • ReasonFlags

          -
          public ReasonFlags(BitArray reasons)
          +
          public ReasonFlags​(BitArray reasons)
          Create a ReasonFlags with the passed bit settings.
          Parameters:
          @@ -456,13 +511,13 @@

          ReasonFlags

        - +
        • ReasonFlags

          -
          public ReasonFlags(DerInputStream in)
          +
          public ReasonFlags​(DerInputStream in)
                       throws java.io.IOException
          Create the object from the passed DER encoded value.
          @@ -473,13 +528,13 @@

          ReasonFlags

        - +
        • ReasonFlags

          -
          public ReasonFlags(DerValue derVal)
          +
          public ReasonFlags​(DerValue derVal)
                       throws java.io.IOException
          Create the object from the passed DER encoded value.
          @@ -492,19 +547,21 @@

          ReasonFlags

      +
      +
        -
      • +
      • Method Detail

        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.io.IOException
          Set the attribute value.
          @@ -514,13 +571,13 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.io.IOException
          Get the attribute value.
          @@ -529,13 +586,13 @@

          get

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.io.IOException
          Delete the attribute value.
          @@ -544,13 +601,13 @@

          delete

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns a printable representation of the ReasonFlags.
          Overrides:
          @@ -558,13 +615,13 @@

          toString

        - +
        • encode

          -
          public void encode(DerOutputStream out)
          +
          public void encode​(DerOutputStream out)
                       throws java.io.IOException
          Write the extension to the DerOutputStream.
          @@ -575,34 +632,38 @@

          encode

        - +
        • getElements

          -
          public java.util.Enumeration<java.lang.String> getElements()
          +
          public java.util.Enumeration<java.lang.String> getElements()
          Return an enumeration of names of attributes existing within this attribute.
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/RevocationReason.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/RevocationReason.html index 671060bd4..dd35578b1 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/RevocationReason.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/RevocationReason.html @@ -1,11 +1,20 @@ - + RevocationReason (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class RevocationReason

    @@ -107,10 +131,9 @@

    Class RevocationReason

  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public final class RevocationReason
     extends java.lang.Object
     implements java.io.Serializable
    @@ -126,125 +149,152 @@

    Class RevocationReason

  • @@ -259,224 +310,227 @@

    Methods inherited from class java.lang.Object

    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/RevocationReasonAdapter.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/RevocationReasonAdapter.html index 147f7ab67..f5067331c 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/RevocationReasonAdapter.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/RevocationReasonAdapter.html @@ -1,11 +1,20 @@ - + RevocationReasonAdapter (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class RevocationReasonAdapter

    @@ -98,7 +122,7 @@

    Class RevocationReasonAd
  • java.lang.Object
    • -
    • javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,RevocationReason>
    • +
    • javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,​RevocationReason>
      • org.mozilla.jss.netscape.security.x509.RevocationReasonAdapter
      • @@ -111,9 +135,8 @@

        Class RevocationReasonAd

        • -
          public class RevocationReasonAdapter
          -extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,RevocationReason>
          +extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,​RevocationReason>
          The RevocationReasonAdapter class provides custom marshaling for RevocationReason.
        @@ -122,45 +145,53 @@

        Class RevocationReasonAd

  • @@ -175,12 +207,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -191,39 +224,41 @@

          RevocationReasonAdapter

      +
      +
        -
      • +
      • Method Detail

        - +
        • unmarshal

          -
          public RevocationReason unmarshal(java.lang.String value)
          +
          public RevocationReason unmarshal​(java.lang.String value)
                                      throws java.lang.Exception
          Specified by:
          -
          unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,RevocationReason>
          +
          unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,​RevocationReason>
          Throws:
          java.lang.Exception
        - +
        • marshal

          -
          public java.lang.String marshal(RevocationReason value)
          +
          public java.lang.String marshal​(RevocationReason value)
                                    throws java.lang.Exception
          Specified by:
          -
          marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,RevocationReason>
          +
          marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,​RevocationReason>
          Throws:
          java.lang.Exception
          @@ -231,21 +266,25 @@

          marshal

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/RevokedCertImpl.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/RevokedCertImpl.html index f306cf4cd..bb69846c2 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/RevokedCertImpl.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/RevokedCertImpl.html @@ -1,11 +1,20 @@ - + RevokedCertImpl (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class RevokedCertImpl

    @@ -101,7 +125,7 @@

    Class RevokedCertImpl

  • java.security.cert.X509CRLEntry
    • -
    • org.mozilla.jss.netscape.security.x509.RevokedCertificate
    • +
    • org.mozilla.jss.netscape.security.x509.RevokedCertificate
      • org.mozilla.jss.netscape.security.x509.RevokedCertImpl
      • @@ -117,12 +141,11 @@

        Class RevokedCertImpl

      • All Implemented Interfaces:
        -
        java.io.Serializable, java.security.cert.X509Extension
        +
        java.io.Serializable, java.security.cert.X509Extension

        -
        public class RevokedCertImpl
        -extends RevokedCertificate
        +extends RevokedCertificate
         implements java.io.Serializable

        Abstract class for a revoked certificate in a CRL. This class is for each entry in the @@ -160,149 +183,172 @@

        Class RevokedCertImpl

        @@ -317,12 +364,13 @@

        Methods inherited from class java.lang.Object

        • +
            -
          • +
          • Constructor Detail

            - +
              @@ -332,13 +380,13 @@

              RevokedCertImpl

              Default constructor.
            - +
            • RevokedCertImpl

              -
              public RevokedCertImpl(java.math.BigInteger num,
              +
              public RevokedCertImpl​(java.math.BigInteger num,
                                      java.util.Date date)
              Constructs a revoked certificate entry using the serial number and revocation date.
              @@ -349,15 +397,15 @@

              RevokedCertImpl

            - +
            • RevokedCertImpl

              -
              public RevokedCertImpl(java.math.BigInteger num,
              +
              public RevokedCertImpl​(java.math.BigInteger num,
                                      java.util.Date date,
              -                       CRLExtensions crlEntryExts)
              + CRLExtensions crlEntryExts)
              Constructs a revoked certificate entry using the serial number, revocation date and the entry extensions.
              @@ -368,59 +416,61 @@

              RevokedCertImpl

            - +
            • RevokedCertImpl

              -
              public RevokedCertImpl(byte[] revokedCert)
              +
              public RevokedCertImpl​(byte[] revokedCert)
                               throws java.security.cert.CRLException,
              -                       X509ExtensionException
              + X509ExtensionException
              Unmarshals a revoked certificate from its encoded form.
              Parameters:
              revokedCert - the encoded bytes.
              Throws:
              java.security.cert.CRLException - on parsing errors.
              -
              X509ExtensionException - on extension handling errors.
              +
              X509ExtensionException - on extension handling errors.
            - +
          +
          +
            -
          • +
          • Method Detail

            - +
            • getEncoded

              -
              public byte[] getEncoded()
              +
              public byte[] getEncoded()
                                 throws java.security.cert.CRLException
              Specified by:
              @@ -430,26 +480,26 @@

              getEncoded

            - +
            • hasUnsupportedCriticalExtension

              -
              public boolean hasUnsupportedCriticalExtension()
              +
              public boolean hasUnsupportedCriticalExtension()
              Specified by:
              hasUnsupportedCriticalExtension in interface java.security.cert.X509Extension
            - +
            • setExtensions

              -
              public void setExtensions(CRLExtensions crlEntryExts)
              +
              public void setExtensions​(CRLExtensions crlEntryExts)
              Sets extensions for this impl.
              Parameters:
              @@ -457,51 +507,51 @@

              setExtensions

            - +
            • hasExtensions

              -
              public boolean hasExtensions()
              +
              public boolean hasExtensions()
              Returns true if this revoked certificate entry has extensions, otherwise false.
              Specified by:
              -
              hasExtensions in class RevokedCertificate
              +
              hasExtensions in class RevokedCertificate
              Returns:
              true if this CRL entry has extensions, otherwise false.
            - +
            • decode

              -
              public void decode(java.io.InputStream inStrm)
              +
              public void decode​(java.io.InputStream inStrm)
                           throws java.security.cert.CRLException,
              -                   X509ExtensionException
              + X509ExtensionException
              Decode a revoked certificate from an input stream.
              Parameters:
              inStrm - an input stream holding at least one revoked certificate
              Throws:
              java.security.cert.CRLException - on parsing errors.
              -
              X509ExtensionException - on extension handling errors.
              +
              X509ExtensionException - on extension handling errors.
            - + - + - + - + - +
            • toString

              -
              public java.lang.String toString()
              +
              public java.lang.String toString()
              Returns a printable string of this revoked certificate.
              Specified by:
              -
              toString in class RevokedCertificate
              +
              toString in class RevokedCertificate
              Returns:
              value of this revoked certificate in a printable form.
            - +
            • getCriticalExtensionOIDs

              -
              public java.util.Set<java.lang.String> getCriticalExtensionOIDs()
              +
              public java.util.Set<java.lang.String> getCriticalExtensionOIDs()
              Gets a Set of the extension(s) marked CRITICAL in the RevokedCertificate by OID strings.
              @@ -595,13 +645,13 @@

              getCriticalExtensionOIDs

            - +
            • getNonCriticalExtensionOIDs

              -
              public java.util.Set<java.lang.String> getNonCriticalExtensionOIDs()
              +
              public java.util.Set<java.lang.String> getNonCriticalExtensionOIDs()
              Gets a Set of the extension(s) marked NON-CRITICAL in the RevokedCertificate by OID strings.
              @@ -613,13 +663,13 @@

              getNonCriticalExtensionOIDs

            - +
            • getExtensionValue

              -
              public byte[] getExtensionValue(java.lang.String oid)
              +
              public byte[] getExtensionValue​(java.lang.String oid)
              Gets the DER encoded OCTET string for the extension value (extnValue) identified by the passed in oid String. The oid string is @@ -639,21 +689,25 @@

              getExtensionValue

          +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/RevokedCertificate.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/RevokedCertificate.html index 56a7cf3f2..a39337ad7 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/RevokedCertificate.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/RevokedCertificate.html @@ -1,11 +1,20 @@ - + RevokedCertificate (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class RevokedCertificate

    @@ -112,14 +136,13 @@

    Class RevokedCertificate

  • All Implemented Interfaces:
    -
    java.security.cert.X509Extension
    +
    java.security.cert.X509Extension
    Direct Known Subclasses:
    -
    RevokedCertImpl
    +
    RevokedCertImpl

    -
    public abstract class RevokedCertificate
     extends java.security.cert.X509CRLEntry

    @@ -156,82 +179,93 @@

    Class RevokedCertificate

    • +
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - - + + + - + - + - + - +
        All Methods Instance Methods Abstract Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        abstract CRLExtensionsgetExtensions() abstract CRLExtensionsgetExtensions() 
        abstract java.util.DategetRevocationDate() +getRevocationDate()
        Gets the revocation date for this RevokedCertificate, the revocationDate.
        abstract java.math.BigIntegergetSerialNumber() +getSerialNumber()
        Gets the serial number for this RevokedCertificate, the userCertificate.
        abstract booleanhasExtensions() +hasExtensions()
        Returns true if this revoked certificate entry has extensions.
        abstract java.lang.StringtoString() +toString()
        Returns a string representation of this revoked certificate.
          -
        • +
        • Methods inherited from class java.security.cert.X509CRLEntry

          equals, getCertificateIssuer, getEncoded, getRevocationReason, hashCode
          -
        • +
        • Methods inherited from class java.lang.Object

          clone, finalize, getClass, notify, notifyAll, wait, wait, wait
          -
        • +
        • Methods inherited from interface java.security.cert.X509Extension

          @@ -239,6 +273,7 @@

          Methods inherited from interface java.security.cert.X509Extension

      +
    @@ -246,12 +281,13 @@

    Methods inherited from interface java.security.cert.X509Extension

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -262,19 +298,21 @@

          RevokedCertificate

      +
      +
        -
      • +
      • Method Detail

        - +
        • getSerialNumber

          -
          public abstract java.math.BigInteger getSerialNumber()
          +
          public abstract java.math.BigInteger getSerialNumber()
          Gets the serial number for this RevokedCertificate, the userCertificate.
          @@ -285,13 +323,13 @@

          getSerialNumber

        - +
        • getRevocationDate

          -
          public abstract java.util.Date getRevocationDate()
          +
          public abstract java.util.Date getRevocationDate()
          Gets the revocation date for this RevokedCertificate, the revocationDate.
          @@ -302,13 +340,13 @@

          getRevocationDate

        - +
        • hasExtensions

          -
          public abstract boolean hasExtensions()
          +
          public abstract boolean hasExtensions()
          Returns true if this revoked certificate entry has extensions.
          @@ -319,13 +357,13 @@

          hasExtensions

        - +
        • toString

          -
          public abstract java.lang.String toString()
          +
          public abstract java.lang.String toString()
          Returns a string representation of this revoked certificate.
          Specified by:
          @@ -335,32 +373,36 @@

          toString

        - +
      +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/SerialNumber.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/SerialNumber.html index 541d4ba4c..5d4a12e2b 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/SerialNumber.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/SerialNumber.html @@ -1,11 +1,20 @@ - + SerialNumber (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class SerialNumber

    @@ -107,10 +131,9 @@

    Class SerialNumber

  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public class SerialNumber
     extends java.lang.Object
     implements java.io.Serializable
    @@ -126,80 +149,94 @@

    Class SerialNumber

    • +
        -
      • +
      • Constructor Summary

        - +
        - + + - + + - + - + - + + - + - +
        Constructors 
        Constructor and DescriptionConstructorDescription
        SerialNumber(BigInt num) SerialNumber​(int num) +
        The default constructor for this class using int.
        +
        SerialNumber(java.math.BigInteger num) -
        The default constructor for this class using BigInteger.
        +
        SerialNumber​(java.io.InputStream in) +
        Create the object, decoding the values from the passed stream.
        SerialNumber(DerInputStream in) -
        Create the object, decoding the values from the passed DER stream.
        +
        SerialNumber​(java.math.BigInteger num) +
        The default constructor for this class using BigInteger.
        SerialNumber(DerValue val) -
        Create the object, decoding the values from the passed DerValue.
        -
        SerialNumber​(BigInt num) 
        SerialNumber(java.io.InputStream in) -
        Create the object, decoding the values from the passed stream.
        +
        SerialNumber​(DerInputStream in) +
        Create the object, decoding the values from the passed DER stream.
        SerialNumber(int num) -
        The default constructor for this class using int.
        +
        SerialNumber​(DerValue val) +
        Create the object, decoding the values from the passed DerValue.
      +
      +
      +
  • @@ -214,18 +252,19 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • SerialNumber

          -
          public SerialNumber(java.math.BigInteger num)
          +
          public SerialNumber​(java.math.BigInteger num)
          The default constructor for this class using BigInteger.
          Parameters:
          @@ -233,22 +272,22 @@

          SerialNumber

        - +
        • SerialNumber

          -
          public SerialNumber(BigInt num)
          +
          public SerialNumber​(BigInt num)
        - +
        • SerialNumber

          -
          public SerialNumber(int num)
          +
          public SerialNumber​(int num)
          The default constructor for this class using int.
          Parameters:
          @@ -256,13 +295,13 @@

          SerialNumber

        - +
        • SerialNumber

          -
          public SerialNumber(DerInputStream in)
          +
          public SerialNumber​(DerInputStream in)
                        throws java.io.IOException
          Create the object, decoding the values from the passed DER stream.
          @@ -273,13 +312,13 @@

          SerialNumber

        - +
        • SerialNumber

          -
          public SerialNumber(DerValue val)
          +
          public SerialNumber​(DerValue val)
                        throws java.io.IOException
          Create the object, decoding the values from the passed DerValue.
          @@ -290,13 +329,13 @@

          SerialNumber

        - +
        • SerialNumber

          -
          public SerialNumber(java.io.InputStream in)
          +
          public SerialNumber​(java.io.InputStream in)
                        throws java.io.IOException
          Create the object, decoding the values from the passed stream.
          @@ -309,19 +348,21 @@

          SerialNumber

      +
      +
        -
      • +
      • Method Detail

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Return the SerialNumber as user readable string.
          Overrides:
          @@ -329,13 +370,13 @@

          toString

        - +
        • encode

          -
          public void encode(DerOutputStream out)
          +
          public void encode​(DerOutputStream out)
                       throws java.io.IOException
          Encode the SerialNumber in DER form to the stream.
          @@ -346,33 +387,37 @@

          encode

        - +
        • getNumber

          -
          public BigInt getNumber()
          +
          public BigInt getNumber()
          Return the serial number.
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/SubjectAlternativeNameExtension.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/SubjectAlternativeNameExtension.html index 92fdedd43..5e4591e4e 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/SubjectAlternativeNameExtension.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/SubjectAlternativeNameExtension.html @@ -1,11 +1,20 @@ - + SubjectAlternativeNameExtension (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class SubjectAlternativeNameExtension

    @@ -98,7 +122,7 @@

    Class SubjectAlt
  • java.lang.Object
  • @@ -318,12 +367,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -338,7 +388,7 @@

          IDENT

        - +
          @@ -352,7 +402,7 @@

          NAME

        - +
          @@ -367,20 +417,22 @@

          SUBJECT_NAME

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • SubjectAlternativeNameExtension

          -
          public SubjectAlternativeNameExtension(boolean critical,
          -                                       GeneralNames names)
          +
          public SubjectAlternativeNameExtension​(boolean critical,
          +                                       GeneralNames names)
                                           throws java.io.IOException
          Create a SubjectAlternativeNameExtension with the passed GeneralNames.
          @@ -391,13 +443,13 @@

          SubjectAlternativeNameExtension

        - +
        • SubjectAlternativeNameExtension

          -
          public SubjectAlternativeNameExtension(GeneralNames names)
          +
          public SubjectAlternativeNameExtension​(GeneralNames names)
                                           throws java.io.IOException
          Throws:
          @@ -405,7 +457,7 @@

          SubjectAlternativeNameExtension

        - +
          @@ -415,13 +467,13 @@

          SubjectAlternativeNameExtension

          Create a default SubjectAlternativeNameExtension.
        - +
        • SubjectAlternativeNameExtension

          -
          public SubjectAlternativeNameExtension(java.lang.Boolean critical,
          +
          public SubjectAlternativeNameExtension​(java.lang.Boolean critical,
                                                  java.lang.Object value)
                                           throws java.io.IOException
          Create the extension from the passed DER encoded value.
          @@ -436,43 +488,45 @@

          SubjectAlternativeNameExtension

      +
      +
        -
      • +
      • Method Detail

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns a printable representation of the SubjectAlternativeName.
          Specified by:
          -
          toString in interface CertAttrSet
          +
          toString in interface CertAttrSet
          Overrides:
          -
          toString in class Extension
          +
          toString in class Extension
          Returns:
          value of this certificate attribute in printable form.
        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.io.IOException
          Decode the extension from the InputStream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to unmarshal the contents from.
          Throws:
          @@ -480,18 +534,18 @@

          decode

        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.io.IOException
          Write the extension to the OutputStream.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the OutputStream to write the extension to.
          Throws:
          @@ -499,19 +553,19 @@

          encode

        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.io.IOException
          Set the attribute value.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the name of the attribute (e.g. "x509.info.key")
          obj - the attribute object.
          @@ -520,38 +574,38 @@

          set

        - +
        • setGeneralNames

          -
          public void setGeneralNames(GeneralNames names)
          +
          public void setGeneralNames​(GeneralNames names)
          Set the GeneralNames of this extension.
        - +
        • getGeneralNames

          -
          public GeneralNames getGeneralNames()
          +
          public GeneralNames getGeneralNames()
          Get the GeneralNames of this extension.
        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.io.IOException
          Get the attribute value.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the name of the attribute to return.
          Throws:
          @@ -559,18 +613,18 @@

          get

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.io.IOException
          Delete the attribute value.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the name of the attribute to delete.
          Throws:
          @@ -578,34 +632,34 @@

          delete

        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          Return an enumeration of names of attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Return the name of this attribute.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
          @@ -613,21 +667,25 @@

          getName

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/SubjectDirAttributesExtension.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/SubjectDirAttributesExtension.html index b18398a69..e6a98c2e9 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/SubjectDirAttributesExtension.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/SubjectDirAttributesExtension.html @@ -1,11 +1,20 @@ - + SubjectDirAttributesExtension (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class SubjectDirAttributesExtension

    @@ -98,7 +122,7 @@

    Class SubjectDirAt
  • java.lang.Object
  • @@ -315,12 +362,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -335,7 +383,7 @@

          IDENT

        - +
          @@ -351,19 +399,21 @@

          NAME

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • SubjectDirAttributesExtension

          -
          public SubjectDirAttributesExtension(DerValue derVal)
          +
          public SubjectDirAttributesExtension​(DerValue derVal)
                                         throws java.io.IOException
          Default constructor for this object.
          @@ -374,13 +424,13 @@

          SubjectDirAttributesExtension

        - +
        • SubjectDirAttributesExtension

          -
          public SubjectDirAttributesExtension(Attribute[] list)
          +
          public SubjectDirAttributesExtension​(Attribute[] list)
                                         throws java.io.IOException
          Default constructor for this object.
          @@ -391,13 +441,13 @@

          SubjectDirAttributesExtension

        - +
        • SubjectDirAttributesExtension

          -
          public SubjectDirAttributesExtension(java.lang.Boolean crit,
          +
          public SubjectDirAttributesExtension​(java.lang.Boolean crit,
                                                java.lang.Object value)
                                         throws java.io.IOException
          Constructor from parsing extension
          @@ -407,13 +457,13 @@

          SubjectDirAttributesExtension

        - +
        • SubjectDirAttributesExtension

          -
          public SubjectDirAttributesExtension(Attribute[] list,
          +
          public SubjectDirAttributesExtension​(Attribute[] list,
                                                boolean critical)
                                         throws java.io.IOException
          Constructor for this object.
          @@ -428,43 +478,45 @@

          SubjectDirAttributesExtension

      +
      +
        -
      • +
      • Method Detail

        - + - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.io.IOException
          Decode the extension from the InputStream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to unmarshal the contents from.
          Throws:
          @@ -472,18 +524,18 @@

          decode

        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.io.IOException
          Encode this extension value to the output stream.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the DerOutputStream to encode the extension to.
          Throws:
          @@ -491,19 +543,19 @@

          encode

        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.io.IOException
          Set the attribute value.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the name of the attribute (e.g. "x509.info.key")
          obj - the attribute object.
          @@ -512,18 +564,18 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.io.IOException
          Get the attribute value.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the name of the attribute to return.
          Throws:
          @@ -531,18 +583,18 @@

          get

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.io.IOException
          Delete the attribute value.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the name of the attribute to delete.
          Throws:
          @@ -550,66 +602,70 @@

          delete

        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          Return an enumeration of names of attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Return the name of this attribute.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
        - +
        • getAttributesList

          -
          public java.util.Enumeration<Attribute> getAttributesList()
          +
          public java.util.Enumeration<Attribute> getAttributesList()
          Returns an enumeration of attributes in the extension.
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/SubjectKeyIdentifierExtension.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/SubjectKeyIdentifierExtension.html index 520cf11b0..c2c67007e 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/SubjectKeyIdentifierExtension.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/SubjectKeyIdentifierExtension.html @@ -1,11 +1,20 @@ - + SubjectKeyIdentifierExtension (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class SubjectKeyIdentifierExtension

    @@ -98,7 +122,7 @@

    Class SubjectKeyId
  • java.lang.Object
  • @@ -299,12 +345,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -319,7 +366,7 @@

          IDENT

        - +
          @@ -333,7 +380,7 @@

          NAME

        - +
          @@ -348,19 +395,21 @@

          KEY_ID

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • SubjectKeyIdentifierExtension

          -
          public SubjectKeyIdentifierExtension(boolean critical,
          +
          public SubjectKeyIdentifierExtension​(boolean critical,
                                                byte[] octetString)
                                         throws java.io.IOException
          Create a SubjectKeyIdentifierExtension with the passed octet string. @@ -373,13 +422,13 @@

          SubjectKeyIdentifierExtension

        - +
        • SubjectKeyIdentifierExtension

          -
          public SubjectKeyIdentifierExtension(byte[] octetString)
          +
          public SubjectKeyIdentifierExtension​(byte[] octetString)
                                         throws java.io.IOException
          Throws:
          @@ -387,13 +436,13 @@

          SubjectKeyIdentifierExtension

        - +
        • SubjectKeyIdentifierExtension

          -
          public SubjectKeyIdentifierExtension(java.lang.Boolean critical,
          +
          public SubjectKeyIdentifierExtension​(java.lang.Boolean critical,
                                                java.lang.Object value)
                                         throws java.io.IOException
          Create the extension from the passed DER encoded value.
          @@ -408,43 +457,45 @@

          SubjectKeyIdentifierExtension

      +
      +
        -
      • +
      • Method Detail

        - + - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.io.IOException
          Write the extension to the OutputStream.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - the OutputStream to write the extension to.
          Throws:
          @@ -452,18 +503,18 @@

          encode

        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.io.IOException
          Decode the extension from the InputStream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - the InputStream to unmarshal the contents from.
          Throws:
          @@ -471,19 +522,19 @@

          decode

        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.io.IOException
          Set the attribute value.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the name of the attribute (e.g. "x509.info.key")
          obj - the attribute object.
          @@ -492,18 +543,18 @@

          set

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.io.IOException
          Get the attribute value.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the name of the attribute to return.
          Throws:
          @@ -511,18 +562,18 @@

          get

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.io.IOException
          Delete the attribute value.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the name of the attribute to delete.
          Throws:
          @@ -530,34 +581,34 @@

          delete

        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          Return an enumeration of names of attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Return the name of this attribute.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
          @@ -565,21 +616,25 @@

          getName

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/URIName.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/URIName.html index 41b04bfdb..989af5882 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/URIName.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/URIName.html @@ -1,11 +1,20 @@ - + URIName (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class URIName

    @@ -107,20 +131,19 @@

    Class URIName

  • All Implemented Interfaces:
    -
    java.io.Serializable, GeneralNameInterface
    +
    java.io.Serializable, GeneralNameInterface

    -
    public class URIName
     extends java.lang.Object
    -implements GeneralNameInterface
    +implements GeneralNameInterface
    This class implements the URIName as required by the GeneralNames ASN.1 object.
    See Also:
    -
    GeneralName, -GeneralNames, -GeneralNameInterface, +
    GeneralName, +GeneralNames, +GeneralNameInterface, Serialized Form
  • @@ -130,91 +153,104 @@

    Class URIName

    @@ -222,18 +258,19 @@

    Methods inherited from interface org.mozilla.jss.netscape.security.x509
    • +
        -
      • +
      • Constructor Detail

        - +
        • URIName

          -
          public URIName(DerValue derValue)
          +
          public URIName​(DerValue derValue)
                   throws java.io.IOException
          Create the URIName object from the passed encoded Der value.
          @@ -244,13 +281,13 @@

          URIName

        - +
        • URIName

          -
          public URIName(java.lang.String name)
          +
          public URIName​(java.lang.String name)
          Create the URIName object with the specified name.
          Parameters:
          @@ -260,38 +297,40 @@

          URIName

      +
      +
        -
      • +
      • Method Detail

        - + - + - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Convert the name into user readable string.
          Overrides:
          @@ -315,21 +354,25 @@

          toString

      +
    +

    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/UniqueIdentity.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/UniqueIdentity.html index 18f7f27bb..cad3e9787 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/UniqueIdentity.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/UniqueIdentity.html @@ -1,11 +1,20 @@ - + UniqueIdentity (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class UniqueIdentity

    @@ -106,7 +130,6 @@

    Class UniqueIdentity

    @@ -198,18 +234,19 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • UniqueIdentity

          -
          public UniqueIdentity(BitArray id)
          +
          public UniqueIdentity​(BitArray id)
          The default constructor for this class.
          Parameters:
          @@ -217,13 +254,13 @@

          UniqueIdentity

        - +
        • UniqueIdentity

          -
          public UniqueIdentity(byte[] id)
          +
          public UniqueIdentity​(byte[] id)
          The default constructor for this class.
          Parameters:
          @@ -231,13 +268,13 @@

          UniqueIdentity

        - +
        • UniqueIdentity

          -
          public UniqueIdentity(DerInputStream in)
          +
          public UniqueIdentity​(DerInputStream in)
                          throws java.io.IOException
          Create the object, decoding the values from the passed DER stream.
          @@ -248,13 +285,13 @@

          UniqueIdentity

        - +
        • UniqueIdentity

          -
          public UniqueIdentity(DerValue derVal)
          +
          public UniqueIdentity​(DerValue derVal)
                          throws java.io.IOException
          Create the object, decoding the values from the passed DER stream.
          @@ -267,19 +304,21 @@

          UniqueIdentity

      +
      +
        -
      • +
      • Method Detail

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Return the UniqueIdentity as a printable string.
          Overrides:
          @@ -287,13 +326,13 @@

          toString

        - +
        • encode

          -
          public void encode(DerOutputStream out,
          +
          public void encode​(DerOutputStream out,
                              byte tag)
                       throws java.io.IOException
          Encode the UniqueIdentity in DER form to the stream.
          @@ -306,33 +345,37 @@

          encode

        - +
        • getId

          -
          public boolean[] getId()
          +
          public boolean[] getId()
          Return the unique id.
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/UserNotice.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/UserNotice.html index c7bfa5ad1..c207e6283 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/UserNotice.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/UserNotice.html @@ -1,11 +1,20 @@ - + UserNotice (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class UserNotice

    @@ -98,7 +122,7 @@

    Class UserNotice

  • java.lang.Object
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/X500Name.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/X500Name.html index 40526f591..3ef037fba 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/X500Name.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/X500Name.html @@ -1,11 +1,20 @@ - + X500Name (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class X500Name

    @@ -107,13 +131,12 @@

    Class X500Name

  • All Implemented Interfaces:
    -
    java.io.Serializable, java.security.Principal, GeneralNameInterface
    +
    java.io.Serializable, java.security.Principal, GeneralNameInterface

    -
    public class X500Name
     extends java.lang.Object
    -implements java.security.Principal, GeneralNameInterface
    +implements java.security.Principal, GeneralNameInterface
    X.500 names are used to identify entities, such as those which are identified by X.509 certificates. They are world-wide, hierarchical, and descriptive. Entities can be identified by attributes, and in @@ -127,12 +150,12 @@

    Class X500Name

    be lifted over time.
    See Also:
    -
    GeneralName, -GeneralNames, -GeneralNameInterface, -RDN, -AVA, -LdapDNStrConverter, +
    GeneralName, +GeneralNames, +GeneralNameInterface, +RDN, +AVA, +LdapDNStrConverter, Serialized Form
  • @@ -142,338 +165,390 @@

    Class X500Name

    @@ -481,136 +556,139 @@

    Methods inherited from interface org.mozilla.jss.netscape.security.x509
    • +
        -
      • +
      • Field Detail

        - +
        • commonName_oid

          -
          public static final ObjectIdentifier commonName_oid
          +
          public static final ObjectIdentifier commonName_oid
          OID for the "CN=" attribute, denoting a person's common name.
        - +
        • uidName_oid

          -
          public static final ObjectIdentifier uidName_oid
          +
          public static final ObjectIdentifier uidName_oid
          OID for the "UID=" attribute, denoting a person's ID.
        - +
        • countryName_oid

          -
          public static final ObjectIdentifier countryName_oid
          +
          public static final ObjectIdentifier countryName_oid
          OID for the "C=" attribute, denoting a country.
        - +
        • localityName_oid

          -
          public static final ObjectIdentifier localityName_oid
          +
          public static final ObjectIdentifier localityName_oid
          OID for the "L=" attribute, denoting a locality (such as a city)
        - +
        • orgName_oid

          -
          public static final ObjectIdentifier orgName_oid
          +
          public static final ObjectIdentifier orgName_oid
          OID for the "O=" attribute, denoting an organization name
        - +
        • orgUnitName_oid

          -
          public static final ObjectIdentifier orgUnitName_oid
          +
          public static final ObjectIdentifier orgUnitName_oid
          OID for the "OU=" attribute, denoting an organizational unit name
        - +
        • stateName_oid

          -
          public static final ObjectIdentifier stateName_oid
          +
          public static final ObjectIdentifier stateName_oid
          OID for the "S=" attribute, denoting a state (such as Delaware)
        - +
        • streetAddress_oid

          -
          public static final ObjectIdentifier streetAddress_oid
          +
          public static final ObjectIdentifier streetAddress_oid
          OID for the "STREET=" attribute, denoting a street address.
        - +
        • title_oid

          -
          public static final ObjectIdentifier title_oid
          +
          public static final ObjectIdentifier title_oid
          OID for the "T=" attribute, denoting a person's title.
        - +
        • email_oid

          -
          public static final ObjectIdentifier email_oid
          +
          public static final ObjectIdentifier email_oid
          OID for the "E=" attribute, denoting a person's email address.
        - +
        • ipAddress_oid

          -
          public static final ObjectIdentifier ipAddress_oid
          +
          public static final ObjectIdentifier ipAddress_oid
          OID for "IP=" IP address attributes, used with SKIP.
      +
      +
        -
      • +
      • Constructor Detail

        - +
        • X500Name

          -
          public X500Name(java.lang.String ldapDNString)
          +
          public X500Name​(java.lang.String ldapDNString)
                    throws java.io.IOException
          Constructs a name from a Ldap DN string, such as "CN=Dave, OU=JavaSoft, O=Sun Microsystems, C=US". The @@ -624,14 +702,14 @@

          X500Name

        - +
        • X500Name

          -
          public X500Name(java.lang.String ldapDNString,
          -                LdapDNStrConverter ldapDNStrConverter,
          +
          public X500Name​(java.lang.String ldapDNString,
          +                LdapDNStrConverter ldapDNStrConverter,
                           byte[] tags)
                    throws java.io.IOException
          Constructs a X500Name from a Ldap DN String using the specified @@ -643,17 +721,17 @@

          X500Name

          Throws:
          java.io.IOException
          See Also:
          -
          LdapDNStrConverter
          +
          LdapDNStrConverter
        - +
        • X500Name

          -
          public X500Name(java.lang.String ldapDNString,
          +
          public X500Name​(java.lang.String ldapDNString,
                           byte[] tags)
                    throws java.io.IOException
          @@ -662,14 +740,14 @@

          X500Name

        - +
        • X500Name

          -
          public X500Name(java.lang.String ldapDNString,
          -                LdapDNStrConverter ldapDNStrConverter)
          +
          public X500Name​(java.lang.String ldapDNString,
          +                LdapDNStrConverter ldapDNStrConverter)
                    throws java.io.IOException
          Constructs a X500Name from a Ldap DN String using the specified LdapDNStrConverter.
          @@ -680,17 +758,17 @@

          X500Name

          Throws:
          java.io.IOException
          See Also:
          -
          LdapDNStrConverter
          +
          LdapDNStrConverter
        - +
        • X500Name

          -
          public X500Name(java.lang.String commonName,
          +
          public X500Name​(java.lang.String commonName,
                           java.lang.String organizationUnit,
                           java.lang.String organizationName,
                           java.lang.String country)
          @@ -708,13 +786,13 @@ 

          X500Name

        - +
        • X500Name

          -
          public X500Name(java.lang.String commonName,
          +
          public X500Name​(java.lang.String commonName,
                           java.lang.String organizationUnit,
                           java.lang.String organizationName,
                           java.lang.String localityName,
          @@ -736,13 +814,13 @@ 

          X500Name

        - +
        • X500Name

          -
          public X500Name(DerValue value)
          +
          public X500Name​(DerValue value)
                    throws java.io.IOException
          Constructs a name from an ASN.1 encoded value. The encoding of the name in the stream uses DER (a BER/1 subset).
          @@ -754,13 +832,13 @@

          X500Name

        - +
        • X500Name

          -
          public X500Name(DerInputStream in)
          +
          public X500Name​(DerInputStream in)
                    throws java.io.IOException
          Constructs a name from an ASN.1 encoded input stream. The encoding of the name in the stream uses DER (a BER/1 subset).
          @@ -772,13 +850,13 @@

          X500Name

        - +
        • X500Name

          -
          public X500Name(byte[] name)
          +
          public X500Name​(byte[] name)
                    throws java.io.IOException
          Constructs a name from an ASN.1 encoded byte array.
          @@ -789,13 +867,13 @@

          X500Name

        - +
        • X500Name

          -
          public X500Name(RDN[] rdns)
          +
          public X500Name​(RDN[] rdns)
                    throws java.io.IOException
          Constructs a X500Name from array of RDN. The RDNs are expected to be in big endian order i.e. most significant first.
          @@ -807,13 +885,13 @@

          X500Name

        - +
        • X500Name

          -
          public X500Name(java.util.Vector<RDN> rdnVector)
          +
          public X500Name​(java.util.Vector<RDN> rdnVector)
                    throws java.io.IOException
          convenience method.
          @@ -826,19 +904,21 @@

          X500Name

      +
      +
        -
      • +
      • Method Detail

        - +
        • hashCode

          -
          public int hashCode()
          +
          public int hashCode()
          Specified by:
          hashCode in interface java.security.Principal
          @@ -847,13 +927,13 @@

          hashCode

        - +
        • equals

          -
          public boolean equals(java.lang.Object obj)
          +
          public boolean equals​(java.lang.Object obj)
          Specified by:
          equals in interface java.security.Principal
          @@ -862,27 +942,27 @@

          equals

        - + - +
        • getCountry

          -
          public java.lang.String getCountry()
          +
          public java.lang.String getCountry()
                                       throws java.io.IOException
          Returns a "Country" name component. If more than one such attribute exists, the topmost one is returned.
          @@ -894,13 +974,13 @@

          getCountry

        - +
        • getOrganization

          -
          public java.lang.String getOrganization()
          +
          public java.lang.String getOrganization()
                                            throws java.io.IOException
          Returns an "Organization" name component. If more than one such attribute exists, the topmost one is returned.
          @@ -912,13 +992,13 @@

          getOrganization

        - +
        • getOrganizationalUnit

          -
          public java.lang.String getOrganizationalUnit()
          +
          public java.lang.String getOrganizationalUnit()
                                                  throws java.io.IOException
          Returns an "Organizational Unit" name component. If more than one such attribute exists, the topmost one is returned.
          @@ -930,13 +1010,13 @@

          getOrganizationalUnit

        - +
        • getCommonName

          -
          public java.lang.String getCommonName()
          +
          public java.lang.String getCommonName()
                                          throws java.io.IOException
          Returns a "Common Name" component. If more than one such attribute exists, the topmost one is returned.
          @@ -948,13 +1028,13 @@

          getCommonName

        - +
        • getUserID

          -
          public java.lang.String getUserID()
          +
          public java.lang.String getUserID()
                                      throws java.io.IOException
          Returns a "UID" component. If more than one such attribute exists, the topmost one is returned.
          @@ -966,13 +1046,13 @@

          getUserID

        - +
        • getLocality

          -
          public java.lang.String getLocality()
          +
          public java.lang.String getLocality()
                                        throws java.io.IOException
          Returns a "Locality" name component. If more than one such component exists, the topmost one is returned.
          @@ -984,13 +1064,13 @@

          getLocality

        - +
        • getState

          -
          public java.lang.String getState()
          +
          public java.lang.String getState()
                                     throws java.io.IOException
          Returns a "State" name component. If more than one such component exists, the topmost one is returned.
          @@ -1002,13 +1082,13 @@

          getState

        - +
        • getEmail

          -
          public java.lang.String getEmail()
          +
          public java.lang.String getEmail()
                                     throws java.io.IOException
          Returns a "Email" name component. If more than one such component exists, the topmost one is returned.
          @@ -1020,13 +1100,13 @@

          getEmail

        - +
        • toLdapDNString

          -
          public java.lang.String toLdapDNString()
          +
          public java.lang.String toLdapDNString()
                                           throws java.io.IOException
          Returns a Ldap DN String from the X500Name using the global default LdapDNStrConverter
          @@ -1036,17 +1116,17 @@

          toLdapDNString

          Throws:
          java.io.IOException
          See Also:
          -
          LdapDNStrConverter
          +
          LdapDNStrConverter
        - +
        • getAttributesForOid

          -
          public java.util.List<java.lang.String> getAttributesForOid(ObjectIdentifier oid)
          +
          public java.util.List<java.lang.String> getAttributesForOid​(ObjectIdentifier oid)
                                                                throws java.io.IOException
          Return a list of attributes of the given type. @@ -1060,13 +1140,13 @@

          getAttributesForOid

        - +
        • toLdapDNString

          -
          public java.lang.String toLdapDNString(LdapDNStrConverter ldapDNStrConverter)
          +
          public java.lang.String toLdapDNString​(LdapDNStrConverter ldapDNStrConverter)
                                           throws java.io.IOException
          Returns a Ldap DN String from the X500Name using the specified LdapDNStrconverter. @@ -1080,17 +1160,17 @@

          toLdapDNString

          Throws:
          java.io.IOException
          See Also:
          -
          LdapDNStrConverter
          +
          LdapDNStrConverter
        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns a Ldap DN string, using the global default LdapDNStrConverter or null if an error occurs in the conversion.
          @@ -1101,13 +1181,13 @@

          toString

        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Returns the value of toString(). This call is needed to implement the java.security.Principal interface.
          @@ -1116,13 +1196,13 @@

          getName

        - +
        • getRDNs

          -
          public java.util.Enumeration<RDN> getRDNs()
          +
          public java.util.Enumeration<RDN> getRDNs()
          Returns an enumerator of RDNs in the X500Name.
          Returns:
          @@ -1130,13 +1210,13 @@

          getRDNs

        - +
        • getNames

          -
          public RDN[] getNames()
          +
          public RDN[] getNames()
          Returns an array of RDN in the X500Name.
          Returns:
          @@ -1144,13 +1224,13 @@

          getNames

        - +
        • getNamesLength

          -
          public int getNamesLength()
          +
          public int getNamesLength()
          Returns the number of RDNs in the X500Name.
          Returns:
          @@ -1158,18 +1238,18 @@

          getNamesLength

        - + - +
        • getEncoded

          -
          public byte[] getEncoded()
          +
          public byte[] getEncoded()
                             throws java.io.IOException
          Gets the name in DER-encoded form.
          @@ -1198,21 +1278,25 @@

          getEncoded

      +
    +

    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/X500NameAttrMap.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/X500NameAttrMap.html index 6a75a8ffb..d4b3f1ef4 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/X500NameAttrMap.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/X500NameAttrMap.html @@ -1,11 +1,20 @@ - + X500NameAttrMap (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class X500NameAttrMap

    @@ -106,7 +130,6 @@

    Class X500NameAttrMap

    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/X500Signer.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/X500Signer.html index dcf5c6458..a365abcaf 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/X500Signer.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/X500Signer.html @@ -1,11 +1,20 @@ - + X500Signer (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class X500Signer

    @@ -106,7 +130,6 @@

    Class X500Signer


    • -
      public final class X500Signer
       extends java.lang.Object
      This class provides a binding between a Signature object and an @@ -127,64 +150,74 @@

      Class X500Signer

      @@ -199,36 +233,39 @@

      Methods inherited from class java.lang.Object

      • +
          -
        • +
        • Constructor Detail

          - +
          • X500Signer

            -
            public X500Signer(java.security.Signature sig,
            -                  X500Name agent)
            +
            public X500Signer​(java.security.Signature sig,
            +                  X500Name agent)
        +
        +
          -
        • +
        • Method Detail

          - +
          • update

            -
            public void update(byte[] buf,
            +
            public void update​(byte[] buf,
                                int offset,
                                int len)
                         throws java.security.SignatureException
            @@ -245,13 +282,13 @@

            update

          - +
          • sign

            -
            public byte[] sign()
            +
            public byte[] sign()
                         throws java.security.SignatureException
            Produces the signature for the data processed by update().
            @@ -260,43 +297,47 @@

            sign

          - +
          • getAlgorithmId

            -
            public AlgorithmId getAlgorithmId()
            +
            public AlgorithmId getAlgorithmId()
            Returns the algorithm used to sign.
          - +
          • getSigner

            -
            public X500Name getSigner()
            +
            public X500Name getSigner()
            Returns the name of the signing agent.
        +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/X509AttributeName.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/X509AttributeName.html index 8143563a5..e19ea10f6 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/X509AttributeName.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/X509AttributeName.html @@ -1,11 +1,20 @@ - + X509AttributeName (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class X509AttributeName

    @@ -106,7 +130,6 @@

    Class X509AttributeName


    • -
      public class X509AttributeName
       extends java.lang.Object
      This class is used to parse attribute names like "x509.info.extensions".
      @@ -117,51 +140,59 @@

      Class X509AttributeName

      • +
          -
        • +
        • Constructor Summary

          - +
          - + + - +
          Constructors 
          Constructor and DescriptionConstructorDescription
          X509AttributeName(java.lang.String name) +X509AttributeName​(java.lang.String name)
          Default constructor for the class.
        +
        +
          -
        • +
        • Method Summary

          - +
          - + + - + - +
          All Methods Instance Methods Concrete Methods 
          Modifier and TypeMethod and DescriptionMethodDescription
          java.lang.StringgetPrefix() +getPrefix()
          Return the prefix of the name.
          java.lang.StringgetSuffix() +getSuffix()
          Return the suffix of the name.
            -
          • +
          • Methods inherited from class java.lang.Object

            @@ -169,6 +200,7 @@

            Methods inherited from class java.lang.Object

        +
    @@ -176,18 +208,19 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • X509AttributeName

          -
          public X509AttributeName(java.lang.String name)
          +
          public X509AttributeName​(java.lang.String name)
          Default constructor for the class. Name is of the form "x509.info.extensions".
          @@ -198,49 +231,55 @@

          X509AttributeName

      +
      +
        -
      • +
      • Method Detail

        - +
        • getPrefix

          -
          public java.lang.String getPrefix()
          +
          public java.lang.String getPrefix()
          Return the prefix of the name.
        - +
        • getSuffix

          -
          public java.lang.String getSuffix()
          +
          public java.lang.String getSuffix()
          Return the suffix of the name.
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/X509CRLImpl.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/X509CRLImpl.html index a57fefae6..badc093f2 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/X509CRLImpl.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/X509CRLImpl.html @@ -1,11 +1,20 @@ - + X509CRLImpl (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class X509CRLImpl

    @@ -117,10 +141,9 @@

    Class X509CRLImpl

  • All Implemented Interfaces:
    -
    java.security.cert.X509Extension
    +
    java.security.cert.X509Extension

    -
    public class X509CRLImpl
     extends java.security.cert.X509CRL

    @@ -168,282 +191,328 @@

    Class X509CRLImpl

    @@ -481,20 +551,21 @@

    Methods inherited from class java.lang.Object

    • +
      +
      +
        -
      • +
      • Method Detail

        - +
        • getEncoded

          -
          public byte[] getEncoded()
          +
          public byte[] getEncoded()
                             throws java.security.cert.CRLException
          Returns the ASN.1 DER encoded form of this CRL.
          @@ -702,13 +775,13 @@

          getEncoded

        - +
        • setSignedCRL

          -
          public boolean setSignedCRL(byte[] crl)
          +
          public boolean setSignedCRL​(byte[] crl)
          Returns true if signedCRL was set.
          Parameters:
          @@ -716,41 +789,41 @@

          setSignedCRL

        - +
        • hasUnsupportedCriticalExtension

          -
          public boolean hasUnsupportedCriticalExtension()
          +
          public boolean hasUnsupportedCriticalExtension()
        - +
        • encodeInfo

          -
          public void encodeInfo(java.io.OutputStream out)
          +
          public void encodeInfo​(java.io.OutputStream out)
                           throws java.security.cert.CRLException,
          -                       X509ExtensionException
          + X509ExtensionException
          Encodes the "to-be-signed" CRL to the OutputStream.
          Parameters:
          out - the OutputStream to write to.
          Throws:
          java.security.cert.CRLException - on encoding errors.
          -
          X509ExtensionException - on extension encoding errors.
          +
          X509ExtensionException - on extension encoding errors.
        - +
        • verify

          -
          public void verify(java.security.PublicKey key)
          +
          public void verify​(java.security.PublicKey key)
                       throws java.security.cert.CRLException,
                              java.security.NoSuchAlgorithmException,
                              java.security.InvalidKeyException,
          @@ -773,13 +846,13 @@ 

          verify

        - +
        • verify

          -
          public void verify(java.security.PublicKey key,
          +
          public void verify​(java.security.PublicKey key,
                              java.lang.String sigProvider)
                       throws java.security.cert.CRLException,
                              java.security.NoSuchAlgorithmException,
          @@ -806,20 +879,20 @@ 

          verify

        - +
        • sign

          -
          public void sign(java.security.PrivateKey key,
          +
          public void sign​(java.security.PrivateKey key,
                            java.lang.String algorithm)
                     throws java.security.cert.CRLException,
                            java.security.NoSuchAlgorithmException,
                            java.security.InvalidKeyException,
                            java.security.NoSuchProviderException,
                            java.security.SignatureException,
          -                 X509ExtensionException
          + X509ExtensionException
          Encodes an X.509 CRL, and signs it using the key passed.
          @@ -833,17 +906,17 @@

          sign

          java.security.NoSuchProviderException - on incorrect provider.
          java.security.SignatureException - on signature errors.
          java.security.cert.CRLException - if any mandatory data was omitted.
          -
          X509ExtensionException - on any extension errors.
          +
          X509ExtensionException - on any extension errors.
        - +
        • sign

          -
          public void sign(java.security.PrivateKey key,
          +
          public void sign​(java.security.PrivateKey key,
                            java.lang.String algorithm,
                            java.lang.String provider)
                     throws java.security.cert.CRLException,
          @@ -851,7 +924,7 @@ 

          sign

          java.security.InvalidKeyException, java.security.NoSuchProviderException, java.security.SignatureException, - X509ExtensionException
          + X509ExtensionException
          Encodes an X.509 CRL, and signs it using the key passed.
          @@ -866,17 +939,17 @@

          sign

          java.security.NoSuchProviderException - on incorrect provider.
          java.security.SignatureException - on signature errors.
          java.security.cert.CRLException - if any mandatory data was omitted.
          -
          X509ExtensionException - on any extension errors.
          +
          X509ExtensionException - on any extension errors.
        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns a printable string of this CRL.
          Specified by:
          @@ -886,13 +959,13 @@

          toString

        - +
        • isRevoked

          -
          public boolean isRevoked(java.math.BigInteger serialNumber)
          +
          public boolean isRevoked​(java.math.BigInteger serialNumber)
          Checks whether the given serial number is on this CRL.
          Parameters:
          @@ -903,26 +976,26 @@

          isRevoked

        - +
        • isRevoked

          -
          public boolean isRevoked(java.security.cert.Certificate cert)
          +
          public boolean isRevoked​(java.security.cert.Certificate cert)
          Specified by:
          isRevoked in class java.security.cert.CRL
        - +
        • getVersion

          -
          public int getVersion()
          +
          public int getVersion()
          Gets the version number from the CRL. The ASN.1 definition for this is: @@ -939,13 +1012,13 @@

          getVersion

        - +
        • getIssuerDN

          -
          public java.security.Principal getIssuerDN()
          +
          public java.security.Principal getIssuerDN()
          Gets the issuer distinguished name from this CRL. The issuer name identifies the entity who has signed (and issued the CRL). The issuer name field contains an @@ -981,13 +1054,13 @@

          getIssuerDN

        - +
        • getThisUpdate

          -
          public java.util.Date getThisUpdate()
          +
          public java.util.Date getThisUpdate()
          Gets the thisUpdate date from the CRL. The ASN.1 definition for this is:
          @@ -998,13 +1071,13 @@

          getThisUpdate

        - +
        • getNextUpdate

          -
          public java.util.Date getNextUpdate()
          +
          public java.util.Date getNextUpdate()
          Gets the nextUpdate date from the CRL.
          Specified by:
          @@ -1015,13 +1088,13 @@

          getNextUpdate

        - +
        • getRevokedCertificate

          -
          public java.security.cert.X509CRLEntry getRevokedCertificate(java.math.BigInteger serialNumber)
          +
          public java.security.cert.X509CRLEntry getRevokedCertificate​(java.math.BigInteger serialNumber)
          Get the revoked certificate from the CRL by the serial number provided.
          @@ -1031,17 +1104,17 @@

          getRevokedCertificate

          the revoked certificate or null if there is no entry in the CRL marked with the provided serial number.
          See Also:
          -
          RevokedCertificate
          +
          RevokedCertificate
        - +
        • getRevokedCertificates

          -
          public java.util.Set<RevokedCertificate> getRevokedCertificates()
          +
          public java.util.Set<RevokedCertificate> getRevokedCertificates()
          Gets all the revoked certificates from the CRL. A Set of RevokedCertificate.
          @@ -1051,35 +1124,35 @@

          getRevokedCertificates

          all the revoked certificates or null if there are none.
          See Also:
          -
          RevokedCertificate
          +
          RevokedCertificate
        - +
        • getListOfRevokedCertificates

          -
          public java.util.Hashtable<java.math.BigInteger,RevokedCertificate> getListOfRevokedCertificates()
          +
          public java.util.Hashtable<java.math.BigInteger,​RevokedCertificate> getListOfRevokedCertificates()
        - +
        • getNumberOfRevokedCertificates

          -
          public int getNumberOfRevokedCertificates()
          +
          public int getNumberOfRevokedCertificates()
        - +
        • getTBSCertList

          -
          public byte[] getTBSCertList()
          +
          public byte[] getTBSCertList()
                                 throws java.security.cert.CRLException
          Gets the DER encoded CRL information, the tbsCertList from this CRL. This can be used to verify the signature independently.
          @@ -1093,13 +1166,13 @@

          getTBSCertList

        - +
        • getSignature

          -
          public byte[] getSignature()
          +
          public byte[] getSignature()
          Gets the raw Signature bits from the CRL.
          Specified by:
          @@ -1109,13 +1182,13 @@

          getSignature

        - +
        • setSignature

          -
          public boolean setSignature(byte[] crlSignature)
          +
          public boolean setSignature​(byte[] crlSignature)
          Returns true if signature was set.
          Parameters:
          @@ -1123,13 +1196,13 @@

          setSignature

        - +
        • getSigAlgName

          -
          public java.lang.String getSigAlgName()
          +
          public java.lang.String getSigAlgName()
          Gets the signature algorithm name for the CRL signature algorithm. For example, the string "SHA1withDSA". The ASN.1 definition for this is: @@ -1150,13 +1223,13 @@

          getSigAlgName

        - +
        • getSigAlgOID

          -
          public java.lang.String getSigAlgOID()
          +
          public java.lang.String getSigAlgOID()
          Gets the signature algorithm OID string from the CRL. An OID is represented by a set of positive whole number separated by ".", that means,
          @@ -1171,13 +1244,13 @@

          getSigAlgOID

        - +
        • getSigAlgParams

          -
          public byte[] getSigAlgParams()
          +
          public byte[] getSigAlgParams()
          Gets the DER encoded signature algorithm parameters from this CRL's signature algorithm. In most cases, the signature algorithm parameters are null, the parameters are usually @@ -1191,13 +1264,13 @@

          getSigAlgParams

        - +
        • getCriticalExtensionOIDs

          -
          public java.util.Set<java.lang.String> getCriticalExtensionOIDs()
          +
          public java.util.Set<java.lang.String> getCriticalExtensionOIDs()
          Gets a Set of the extension(s) marked CRITICAL in the CRL by OID strings.
          @@ -1207,13 +1280,13 @@

          getCriticalExtensionOIDs

        - +
        • getNonCriticalExtensionOIDs

          -
          public java.util.Set<java.lang.String> getNonCriticalExtensionOIDs()
          +
          public java.util.Set<java.lang.String> getNonCriticalExtensionOIDs()
          Gets a Set of the extension(s) marked NON-CRITICAL in the CRL by OID strings.
          @@ -1223,13 +1296,13 @@

          getNonCriticalExtensionOIDs

        - +
        • getExtensionValue

          -
          public byte[] getExtensionValue(java.lang.String oid)
          +
          public byte[] getExtensionValue​(java.lang.String oid)
          Gets the DER encoded OCTET string for the extension value (extnValue) identified by the passed in oid String. The oid string is @@ -1244,69 +1317,73 @@

          getExtensionValue

        - +
        • getCRLNumber

          -
          public java.math.BigInteger getCRLNumber()
          +
          public java.math.BigInteger getCRLNumber()
        - +
        • getDeltaBaseCRLNumber

          -
          public java.math.BigInteger getDeltaBaseCRLNumber()
          +
          public java.math.BigInteger getDeltaBaseCRLNumber()
        - +
        • isDeltaCRL

          -
          public boolean isDeltaCRL()
          +
          public boolean isDeltaCRL()
        - + - +
        • areEntriesIncluded

          -
          public boolean areEntriesIncluded()
          +
          public boolean areEntriesIncluded()
      +
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/X509Cert.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/X509Cert.html index c10cf1545..e0cd1e2b3 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/X509Cert.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/X509Cert.html @@ -1,11 +1,20 @@ - + X509Cert (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class X509Cert

    @@ -107,21 +131,20 @@

    Class X509Cert

  • All Implemented Interfaces:
    -
    java.io.Serializable, java.security.Certificate
    +
    java.io.Serializable, java.security.Certificate

    -
    Deprecated.  -
    Use the new X509Certificate class. - This class is only restored for backwards compatibility.
    -
    -
    @Deprecated
     public class X509Cert
     extends java.lang.Object
     implements java.security.Certificate, java.io.Serializable
    +
    Deprecated. +
    Use the new X509Certificate class. + This class is only restored for backwards compatibility.
    +
    See Also:
    -
    CertAndKeyGen, +
    CertAndKeyGen, Serialized Form
  • @@ -131,217 +154,249 @@

    Class X509Cert

    • +
        -
      • +
      • Field Summary

        - +
        - + + - - + +
        Fields 
        Modifier and TypeField and DescriptionFieldDescription
        protected AlgorithmIdalgid -
        Deprecated. 
        +
        protected AlgorithmIdalgid +
        Deprecated.
         
      +
      +
        -
      • +
      • Constructor Summary

        - +
        - + + - + - + - + - + - +
        Constructors 
        Constructor and DescriptionConstructorDescription
        X509Cert() -
        Deprecated. 
        +
        X509Cert() +
        Deprecated.
        Construct a uninitialized X509 Cert on which decode must later be called (or which may be deserialized).
        X509Cert(byte[] cert) -
        Deprecated. 
        +
        X509Cert​(byte[] cert) +
        Deprecated.
        Unmarshals a certificate from its encoded form, parsing the encoded bytes.
        X509Cert(byte[] buf, +X509Cert​(byte[] buf, int offset, - int len) -
        Deprecated. 
        + int len)
        +
        Deprecated.
        Unmarshals a certificate from its encoded form, parsing the encoded bytes.
        X509Cert(DerValue derVal) -
        Deprecated. 
        +
        X509Cert​(DerValue derVal) +
        Deprecated.
        Unmarshal a certificate from its encoded form, parsing a DER value.
        X509Cert(X500Name subjectName, - X509Key subjectPublicKey, +X509Cert​(X500Name subjectName, + X509Key subjectPublicKey, java.util.Date notBefore, - java.util.Date notAfter) -
        Deprecated. 
        + java.util.Date notAfter)
        +
        Deprecated.
        Partially constructs a certificate from descriptive parameters.
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - + - + - + - + - + - + - + - - + + - - + + - + - + - + - + - - + + - + - - + + - - + + - + - + - + - + - + - +
        All Methods Instance Methods Concrete Methods Deprecated Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        voiddecode(java.io.InputStream in) -
        Deprecated. 
        +
        decode​(java.io.InputStream in) +
        Deprecated.
        Decode an X.509 certificate from an input stream.
        voidencode(java.io.OutputStream out) -
        Deprecated. 
        +
        encode​(java.io.OutputStream out) +
        Deprecated.
        Appends the certificate to an output stream.
        byte[]encodeAndSign(BigInt serial, - X500Signer issuer) -
        Deprecated. 
        +
        encodeAndSign​(BigInt serial, + X500Signer issuer) +
        Deprecated.
        Creates an X.509 certificate, and signs it using the issuer passed (associating a signature algorithm and an X.500 name).
        booleanequals(java.lang.Object other) -
        Deprecated. 
        +
        equals​(java.lang.Object other) +
        Deprecated.
        Compares two certificates.
        booleanequals(X509Cert src) -
        Deprecated. 
        +
        equals​(X509Cert src) +
        Deprecated.
        Compares two certificates, returning false if any data differs between the two.
        java.lang.StringgetFormat() -
        Deprecated. 
        +
        getFormat() +
        Deprecated.
        Returns the "X.509" format identifier.
        java.security.PrincipalgetGuarantor() -
        Deprecated. 
        +
        getGuarantor() +
        Deprecated.
        AlgorithmIdgetIssuerAlgorithmId() -
        Deprecated. 
        +
        AlgorithmIdgetIssuerAlgorithmId() +
        Deprecated.
        Returns the algorithm used by the issuer to sign the certificate.
        X500NamegetIssuerName() -
        Deprecated. 
        +
        X500NamegetIssuerName() +
        Deprecated.
        Returns the certificate issuer's X.500 distinguished name.
        java.util.DategetNotAfter() -
        Deprecated. 
        +
        getNotAfter() +
        Deprecated.
        Returns the last time the certificate is valid.
        java.util.DategetNotBefore() -
        Deprecated. 
        +
        getNotBefore() +
        Deprecated.
        Returns the first time the certificate is valid.
        java.security.PrincipalgetPrincipal() -
        Deprecated. 
        +
        getPrincipal() +
        Deprecated.
        java.security.PublicKeygetPublicKey() -
        Deprecated. 
        +
        getPublicKey() +
        Deprecated.
        Returns the subject's public key.
        BigIntgetSerialNumber() -
        Deprecated. 
        +
        BigIntgetSerialNumber() +
        Deprecated.
        Returns the certificate's serial number.
        byte[]getSignedCert() -
        Deprecated. 
        +
        getSignedCert() +
        Deprecated.
        Return the signed X.509 certificate as a byte array.
        X500SignergetSigner(AlgorithmId algorithmId, - java.security.PrivateKey privateKey) -
        Deprecated. 
        +
        X500SignergetSigner​(AlgorithmId algorithmId, + java.security.PrivateKey privateKey) +
        Deprecated.
        Returns an X500Signer that may be used to create signatures.
        X500NamegetSubjectName() -
        Deprecated. 
        +
        X500NamegetSubjectName() +
        Deprecated.
        Returns the subject's X.500 distinguished name.
        java.security.SignaturegetVerifier(java.lang.String algorithm) -
        Deprecated. 
        +
        getVerifier​(java.lang.String algorithm) +
        Deprecated.
        Returns a signature object that may be used to verify signatures created using a specified signature algorithm and the public key contained in this certificate.
        @@ -349,36 +404,41 @@

        Method Summary

        intgetVersion() -
        Deprecated. 
        +
        getVersion() +
        Deprecated.
        Returns the X.509 version number of this certificate, zero based.
        inthashCode() -
        Deprecated. 
        +
        hashCode() +
        Deprecated.
        Calculates a hash code value for the object.
        java.lang.StringtoString() -
        Deprecated. 
        +
        toString() +
        Deprecated.
        Returns a printable representation of the certificate.
        java.lang.StringtoString(boolean detailed) -
        Deprecated. 
        +
        toString​(boolean detailed) +
        Deprecated.
        Returns a printable representation of the certificate.
        voidverify(java.security.PublicKey issuerPublicKey) -
        Deprecated. 
        +
        verify​(java.security.PublicKey issuerPublicKey) +
        Deprecated.
        Throws an exception if the certificate is invalid because it is now outside of the certificate's validity period, or because it was not signed using the verification key provided.
        @@ -386,7 +446,7 @@

        Method Summary

          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -394,6 +454,7 @@

          Methods inherited from class java.lang.Object

      +
    @@ -401,50 +462,53 @@

    Methods inherited from class java.lang.Object

    • +
      +
      +
        -
      • +
      • Constructor Detail

        - +
        • X509Cert

          public X509Cert()
          -
          Deprecated. 
          +
          Deprecated.
          Construct a uninitialized X509 Cert on which decode must later be called (or which may be deserialized).
        - +
        • X509Cert

          -
          public X509Cert(byte[] cert)
          +
          public X509Cert​(byte[] cert)
                    throws java.io.IOException
          -
          Deprecated. 
          +
          Deprecated.
          Unmarshals a certificate from its encoded form, parsing the encoded bytes. This form of constructor is used by agents which need to examine and use certificate contents. That is, this is @@ -460,17 +524,17 @@

          X509Cert

        - +
        • X509Cert

          -
          public X509Cert(byte[] buf,
          +
          public X509Cert​(byte[] buf,
                           int offset,
                           int len)
                    throws java.io.IOException
          -
          Deprecated. 
          +
          Deprecated.
          Unmarshals a certificate from its encoded form, parsing the encoded bytes. This form of constructor is used by agents which need to examine and use certificate contents. That is, this is @@ -485,15 +549,15 @@

          X509Cert

        - +
        • X509Cert

          -
          public X509Cert(DerValue derVal)
          +
          public X509Cert​(DerValue derVal)
                    throws java.io.IOException
          -
          Deprecated. 
          +
          Deprecated.
          Unmarshal a certificate from its encoded form, parsing a DER value. This form of constructor is used by agents which need to examine and use certificate contents.
          @@ -505,18 +569,18 @@

          X509Cert

        - +
        • X509Cert

          -
          public X509Cert(X500Name subjectName,
          -                X509Key subjectPublicKey,
          +
          public X509Cert​(X500Name subjectName,
          +                X509Key subjectPublicKey,
                           java.util.Date notBefore,
                           java.util.Date notAfter)
          -         throws CertException
          -
          Deprecated. 
          + throws CertException
          +
          Deprecated.
          Partially constructs a certificate from descriptive parameters. This constructor may be used by Certificate Authority (CA) code, which later signs and encodes the @@ -540,29 +604,31 @@

          X509Cert

          notBefore - the first time the certificate is valid
          notAfter - the last time the certificate is valid
          Throws:
          -
          CertException - if the public key is inappropriate
          +
          CertException - if the public key is inappropriate
          See Also:
          -
          CertAndKeyGen
          +
          CertAndKeyGen
      +
      +
        -
      • +
      • Method Detail

        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.io.IOException
          -
          Deprecated. 
          +
          Deprecated.
          Decode an X.509 certificate from an input stream.
          Specified by:
          @@ -574,15 +640,15 @@

          decode

        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.io.IOException
          -
          Deprecated. 
          +
          Deprecated.
          Appends the certificate to an output stream.
          Specified by:
          @@ -594,14 +660,14 @@

          encode

        - +
        • equals

          -
          public boolean equals(java.lang.Object other)
          -
          Deprecated. 
          +
          public boolean equals​(java.lang.Object other)
          +
          Deprecated.
          Compares two certificates. This is false if the certificates are not both X.509 certs, otherwise it compares them as binary data.
          @@ -615,14 +681,14 @@

          equals

        - +
        • equals

          -
          public boolean equals(X509Cert src)
          -
          Deprecated. 
          +
          public boolean equals​(X509Cert src)
          +
          Deprecated.
          Compares two certificates, returning false if any data differs between the two.
          @@ -633,14 +699,14 @@

          equals

        - +
        • getFormat

          -
          public java.lang.String getFormat()
          -
          Deprecated. 
          +
          public java.lang.String getFormat()
          +
          Deprecated.
          Returns the "X.509" format identifier.
          Specified by:
          @@ -648,14 +714,14 @@

          getFormat

        - +
        • getGuarantor

          -
          public java.security.Principal getGuarantor()
          -
          Deprecated. 
          +
          public java.security.Principal getGuarantor()
          +
          Deprecated.
          Specified by:
          @@ -663,14 +729,14 @@

          getGuarantor

        - +
        • getPrincipal

          -
          public java.security.Principal getPrincipal()
          -
          Deprecated. 
          +
          public java.security.Principal getPrincipal()
          +
          Deprecated.
          Specified by:
          @@ -678,15 +744,15 @@

          getPrincipal

        - +
        • verify

          -
          public void verify(java.security.PublicKey issuerPublicKey)
          -            throws CertException
          -
          Deprecated. 
          +
          public void verify​(java.security.PublicKey issuerPublicKey)
          +            throws CertException
          +
          Deprecated.
          Throws an exception if the certificate is invalid because it is now outside of the certificate's validity period, or because it was not signed using the verification key provided. Successfully @@ -712,21 +778,21 @@

          verify

          Parameters:
          issuerPublicKey - the public key of the issuing CA
          Throws:
          -
          CertException - when the certificate is not valid.
          +
          CertException - when the certificate is not valid.
        - + - +
        • getSigner

          -
          public X500Signer getSigner(AlgorithmId algorithmId,
          +
          public X500Signer getSigner​(AlgorithmId algorithmId,
                                       java.security.PrivateKey privateKey)
                                throws java.security.NoSuchAlgorithmException,
                                       java.security.InvalidKeyException
          -
          Deprecated. 
          +
          Deprecated.
          Returns an X500Signer that may be used to create signatures. Those signature may in turn be verified using this certificate (or a copy of it). @@ -787,16 +853,16 @@

          getSigner

        - +
        • getVerifier

          -
          public java.security.Signature getVerifier(java.lang.String algorithm)
          +
          public java.security.Signature getVerifier​(java.lang.String algorithm)
                                               throws java.security.NoSuchAlgorithmException,
                                                      java.security.InvalidKeyException
          -
          Deprecated. 
          +
          Deprecated.
          Returns a signature object that may be used to verify signatures created using a specified signature algorithm and the public key contained in this certificate. @@ -821,96 +887,96 @@

          getVerifier

        - +
        • getSignedCert

          -
          public byte[] getSignedCert()
          -
          Deprecated. 
          +
          public byte[] getSignedCert()
          +
          Deprecated.
          Return the signed X.509 certificate as a byte array. The bytes are in standard DER marshaled form. Null is returned in the case of a partially constructed cert.
        - +
        • getSerialNumber

          -
          public BigInt getSerialNumber()
          -
          Deprecated. 
          +
          public BigInt getSerialNumber()
          +
          Deprecated.
          Returns the certificate's serial number. Null is returned in the case of a partially constructed cert.
        - +
        • getSubjectName

          -
          public X500Name getSubjectName()
          -
          Deprecated. 
          +
          public X500Name getSubjectName()
          +
          Deprecated.
          Returns the subject's X.500 distinguished name.
        - +
        • getIssuerName

          -
          public X500Name getIssuerName()
          -
          Deprecated. 
          +
          public X500Name getIssuerName()
          +
          Deprecated.
          Returns the certificate issuer's X.500 distinguished name. Null is returned in the case of a partially constructed cert.
        - +
        • getIssuerAlgorithmId

          -
          public AlgorithmId getIssuerAlgorithmId()
          -
          Deprecated. 
          +
          public AlgorithmId getIssuerAlgorithmId()
          +
          Deprecated.
          Returns the algorithm used by the issuer to sign the certificate. Null is returned in the case of a partially constructed cert.
        - +
        • getNotBefore

          -
          public java.util.Date getNotBefore()
          -
          Deprecated. 
          +
          public java.util.Date getNotBefore()
          +
          Deprecated.
          Returns the first time the certificate is valid.
        - +
        • getNotAfter

          -
          public java.util.Date getNotAfter()
          -
          Deprecated. 
          +
          public java.util.Date getNotAfter()
          +
          Deprecated.
          Returns the last time the certificate is valid.
        - +
        • getPublicKey

          -
          public java.security.PublicKey getPublicKey()
          -
          Deprecated. 
          +
          public java.security.PublicKey getPublicKey()
          +
          Deprecated.
          Returns the subject's public key. Note that some public key algorithms support an optional certificate generation policy where the keys in the certificates are not in themselves sufficient @@ -928,28 +994,28 @@

          getPublicKey

        - +
        • getVersion

          -
          public int getVersion()
          -
          Deprecated. 
          +
          public int getVersion()
          +
          Deprecated.
          Returns the X.509 version number of this certificate, zero based. That is, "2" indicates an X.509 version 3 (1993) certificate, and "0" indicates X.509v1 (1988). Zero is returned in the case of a partially constructed cert.
        - +
        • hashCode

          -
          public int hashCode()
          -
          Deprecated. 
          +
          public int hashCode()
          +
          Deprecated.
          Calculates a hash code value for the object. Objects which are equal will also have the same hashcode.
          @@ -958,14 +1024,14 @@

          hashCode

        - +
        • toString

          -
          public java.lang.String toString()
          -
          Deprecated. 
          +
          public java.lang.String toString()
          +
          Deprecated.
          Returns a printable representation of the certificate. This does not contain all the information available to distinguish this from any other certificate. The certificate must be fully constructed @@ -978,14 +1044,14 @@

          toString

        - +
        • toString

          -
          public java.lang.String toString(boolean detailed)
          -
          Deprecated. 
          +
          public java.lang.String toString​(boolean detailed)
          +
          Deprecated.
          Returns a printable representation of the certificate.
          Specified by:
          @@ -997,21 +1063,25 @@

          toString

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/X509CertImpl.CertificateRep1.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/X509CertImpl.CertificateRep1.html index c622ff7a3..056333187 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/X509CertImpl.CertificateRep1.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/X509CertImpl.CertificateRep1.html @@ -1,11 +1,20 @@ - + X509CertImpl.CertificateRep1 (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class X509CertImpl.CertificateRep1

    @@ -107,14 +131,13 @@

    Class X509CertImpl.
  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable
    Enclosing class:
    -
    X509CertImpl
    +
    X509CertImpl

    -
    protected static class X509CertImpl.CertificateRep1
     extends java.lang.Object
     implements java.io.Serializable
    @@ -129,21 +152,24 @@

    Class X509CertImpl.
    • +
        -
      • +
      • Constructor Summary

        - +
        - + + - + @@ -151,27 +177,31 @@

        Constructor Summary

        Constructors 
        ModifierConstructor and DescriptionConstructorDescription
        protected CertificateRep1(java.lang.String type, - byte[] data) +CertificateRep1​(java.lang.String type, + byte[] data)
        Construct the alternate Certificate class with the Certificate type and Certificate encoding bytes.
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        protected java.lang.ObjectreadResolve() +readResolve()
        Resolve the Certificate Object.
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -179,6 +209,7 @@

          Methods inherited from class java.lang.Object

      +

  • @@ -186,18 +217,19 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • CertificateRep1

          -
          protected CertificateRep1(java.lang.String type,
          +
          protected CertificateRep1​(java.lang.String type,
                                     byte[] data)
          Construct the alternate Certificate class with the Certificate type and Certificate encoding bytes. @@ -213,19 +245,21 @@

          CertificateRep1

      +
      +
        -
      • +
      • Method Detail

        - +
        • readResolve

          -
          protected java.lang.Object readResolve()
          +
          protected java.lang.Object readResolve()
                                           throws java.io.ObjectStreamException
          Resolve the Certificate Object. @@ -241,21 +275,25 @@

          readResolve

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/X509CertImpl.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/X509CertImpl.html index 15f7a6bba..fe209ef46 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/X509CertImpl.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/X509CertImpl.html @@ -1,11 +1,20 @@ - + X509CertImpl (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class X509CertImpl

    @@ -117,13 +141,12 @@

    Class X509CertImpl

  • All Implemented Interfaces:
    -
    java.io.Serializable, java.security.cert.X509Extension, DerEncoder
    +
    java.io.Serializable, java.security.cert.X509Extension, DerEncoder

    -
    public class X509CertImpl
     extends java.security.cert.X509Certificate
    -implements java.io.Serializable, DerEncoder
    +implements java.io.Serializable, DerEncoder
    The X509CertImpl class represents an X.509 certificate. These certificates are widely used to support authentication and other functionality in Internet security systems. Common applications include Privacy Enhanced @@ -148,7 +171,7 @@

    Class X509CertImpl

    More recent work includes the IETF PKIX Working Group efforts, especially part 1.
    See Also:
    -
    X509CertInfo, +
    X509CertInfo, Serialized Form
  • @@ -158,24 +181,27 @@

    Class X509CertImpl

    @@ -607,12 +705,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -626,7 +725,7 @@

          NAME

        - +
          @@ -639,7 +738,7 @@

          INFO

        - +
          @@ -652,7 +751,7 @@

          ALG_ID

        - +
          @@ -665,7 +764,7 @@

          SIGNATURE

        - +
          @@ -678,7 +777,7 @@

          SIGNED_CERT

        - +
          @@ -693,7 +792,7 @@

          SUBJECT_DN

        - +
          @@ -706,7 +805,7 @@

          ISSUER_DN

        - +
          @@ -719,7 +818,7 @@

          SERIAL_ID

        - +
          @@ -732,7 +831,7 @@

          PUBLIC_KEY

        - +
          @@ -745,7 +844,7 @@

          SIG_ALG

        - +
          @@ -758,25 +857,25 @@

          SIG

        - + - + - +
          @@ -787,13 +886,15 @@

          signature

      +
      +
        -
      • +
      • Constructor Detail

        - +
          @@ -803,13 +904,13 @@

          X509CertImpl

          Default constructor.
        - +
        • X509CertImpl

          -
          public X509CertImpl(byte[] certData)
          +
          public X509CertImpl​(byte[] certData)
                        throws java.security.cert.CertificateException
          Unmarshals a certificate from its encoded form, parsing the encoded bytes. This form of constructor is used by agents which @@ -826,14 +927,14 @@

          X509CertImpl

        - +
        • X509CertImpl

          -
          public X509CertImpl(byte[] certData,
          -                    X509CertInfo certInfo)
          +
          public X509CertImpl​(byte[] certData,
          +                    X509CertInfo certInfo)
                        throws java.security.cert.CertificateException
          As a special optimization, this constructor acts as X509CertImpl(byte[]) except that it takes an X509CertInfo which it uses as a 'hint' for @@ -848,13 +949,13 @@

          X509CertImpl

        - +
        • X509CertImpl

          -
          public X509CertImpl(java.io.InputStream in)
          +
          public X509CertImpl​(java.io.InputStream in)
                        throws java.security.cert.CertificateException
          unmarshals an X.509 certificate from an input stream.
          @@ -865,13 +966,13 @@

          X509CertImpl

        - +
        • X509CertImpl

          -
          public X509CertImpl(X509CertInfo certInfo)
          +
          public X509CertImpl​(X509CertInfo certInfo)
          Construct an initialized X509 Certificate. The certificate is stored in raw form and has to be signed to be useful.
          @@ -881,13 +982,13 @@

          X509CertImpl

        - +
        • X509CertImpl

          -
          public X509CertImpl(DerValue derVal)
          +
          public X509CertImpl​(DerValue derVal)
                        throws java.security.cert.CertificateException
          Unmarshal a certificate from its encoded form, parsing a DER value. This form of constructor is used by agents which need to examine @@ -902,32 +1003,34 @@

          X509CertImpl

      +
      +
        -
      • +
      • Method Detail

        - +
        • hasUnsupportedCriticalExtension

          -
          public boolean hasUnsupportedCriticalExtension()
          +
          public boolean hasUnsupportedCriticalExtension()
          Specified by:
          hasUnsupportedCriticalExtension in interface java.security.cert.X509Extension
        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.security.cert.CertificateException,
                              java.io.IOException
          Decode an X.509 certificate from an input stream.
          @@ -940,13 +1043,13 @@

          decode

        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.security.cert.CertificateEncodingException
          Appends the certificate to an output stream.
          @@ -957,19 +1060,19 @@

          encode

        - +
        • derEncode

          -
          public void derEncode(java.io.OutputStream out)
          +
          public void derEncode​(java.io.OutputStream out)
                          throws java.io.IOException
          DER encode this object onto an output stream. Implements the DerEncoder interface.
          Specified by:
          -
          derEncode in interface DerEncoder
          +
          derEncode in interface DerEncoder
          Parameters:
          out - the output stream on which to write the DER encoding.
          Throws:
          @@ -977,13 +1080,13 @@

          derEncode

        - +
        • getEncoded

          -
          public byte[] getEncoded()
          +
          public byte[] getEncoded()
                             throws java.security.cert.CertificateEncodingException
          Returns the encoded form of this certificate. It is assumed that each certificate type would have only a single @@ -997,13 +1100,13 @@

          getEncoded

        - +
        • verify

          -
          public void verify(java.security.PublicKey key)
          +
          public void verify​(java.security.PublicKey key)
                       throws java.security.cert.CertificateException,
                              java.security.NoSuchAlgorithmException,
                              java.security.InvalidKeyException,
          @@ -1028,13 +1131,13 @@ 

          verify

        - +
        • verify

          -
          public void verify(java.security.PublicKey key,
          +
          public void verify​(java.security.PublicKey key,
                              java.lang.String sigProvider)
                       throws java.security.cert.CertificateException,
                              java.security.NoSuchAlgorithmException,
          @@ -1061,13 +1164,13 @@ 

          verify

        - +
        • sign

          -
          public void sign(java.security.PrivateKey key,
          +
          public void sign​(java.security.PrivateKey key,
                            java.lang.String algorithm)
                     throws java.security.cert.CertificateException,
                            java.security.NoSuchAlgorithmException,
          @@ -1092,13 +1195,13 @@ 

          sign

        - +
        • sign

          -
          public void sign(java.security.PrivateKey key,
          +
          public void sign​(java.security.PrivateKey key,
                            java.lang.String algorithm,
                            java.lang.String provider)
                     throws java.security.cert.CertificateException,
          @@ -1125,13 +1228,13 @@ 

          sign

        - +
        • checkValidity

          -
          public void checkValidity()
          +
          public void checkValidity()
                              throws java.security.cert.CertificateExpiredException,
                                     java.security.cert.CertificateNotYetValidException
          Checks that the certificate is currently valid, i.e. the current @@ -1146,13 +1249,13 @@

          checkValidity

        - +
        • checkValidity

          -
          public void checkValidity(java.util.Date date)
          +
          public void checkValidity​(java.util.Date date)
                              throws java.security.cert.CertificateExpiredException,
                                     java.security.cert.CertificateNotYetValidException
          Checks that the specified date is within the certificate's @@ -1172,13 +1275,13 @@

          checkValidity

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.security.cert.CertificateParsingException
          Return the requested attribute from the certificate.
          @@ -1189,13 +1292,13 @@

          get

        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object obj)
                    throws java.security.cert.CertificateException,
                           java.io.IOException
          @@ -1210,13 +1313,13 @@

          set

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.security.cert.CertificateException,
                              java.io.IOException
          Delete the requested attribute from the certificate.
          @@ -1229,34 +1332,34 @@

          delete

        - +
        • getElements

          -
          public java.util.Enumeration<java.lang.String> getElements()
          +
          public java.util.Enumeration<java.lang.String> getElements()
          Return an enumeration of names of attributes existing within this attribute.
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Return the name of this attribute.
        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns a printable representation of the certificate. This does not contain all the information available to distinguish this from any other certificate. The certificate must be fully constructed @@ -1267,13 +1370,13 @@

          toString

        - +
        • getPublicKey

          -
          public java.security.PublicKey getPublicKey()
          +
          public java.security.PublicKey getPublicKey()
          Gets the publickey from this certificate.
          Specified by:
          @@ -1283,13 +1386,13 @@

          getPublicKey

        - +
        • getVersion

          -
          public int getVersion()
          +
          public int getVersion()
          Gets the version number from the certificate.
          Specified by:
          @@ -1299,13 +1402,13 @@

          getVersion

        - +
        • getSerialNumber

          -
          public java.math.BigInteger getSerialNumber()
          +
          public java.math.BigInteger getSerialNumber()
          Gets the serial number from the certificate.
          Specified by:
          @@ -1315,13 +1418,13 @@

          getSerialNumber

        - +
        • getSubjectDN

          -
          public java.security.Principal getSubjectDN()
          +
          public java.security.Principal getSubjectDN()
          Gets the subject distinguished name from the certificate.
          Specified by:
          @@ -1331,31 +1434,31 @@

          getSubjectDN

        - + - + - +
        • getIssuerDN

          -
          public java.security.Principal getIssuerDN()
          +
          public java.security.Principal getIssuerDN()
          Gets the issuer distinguished name from the certificate.
          Specified by:
          @@ -1365,22 +1468,22 @@

          getIssuerDN

        - + - +
        • getNotBefore

          -
          public java.util.Date getNotBefore()
          +
          public java.util.Date getNotBefore()
          Gets the notBefore date from the validity period of the certificate.
          Specified by:
          @@ -1390,13 +1493,13 @@

          getNotBefore

        - +
        • getNotAfter

          -
          public java.util.Date getNotAfter()
          +
          public java.util.Date getNotAfter()
          Gets the notAfter date from the validity period of the certificate.
          Specified by:
          @@ -1406,13 +1509,13 @@

          getNotAfter

        - +
        • getTBSCertificate

          -
          public byte[] getTBSCertificate()
          +
          public byte[] getTBSCertificate()
                                    throws java.security.cert.CertificateEncodingException
          Gets the DER encoded certificate informations, the tbsCertificate from this certificate. This can be used to verify the signature independently.
          @@ -1426,13 +1529,13 @@

          getTBSCertificate

        - +
        • getSignature

          -
          public byte[] getSignature()
          +
          public byte[] getSignature()
          Gets the raw Signature bits from the certificate.
          Specified by:
          @@ -1442,13 +1545,13 @@

          getSignature

        - +
        • getSigAlgName

          -
          public java.lang.String getSigAlgName()
          +
          public java.lang.String getSigAlgName()
          Gets the signature algorithm name for the certificate signature algorithm. For example, the string "SHA-1/DSA" or "DSS".
          @@ -1460,13 +1563,13 @@

          getSigAlgName

        - +
        • getSigAlgOID

          -
          public java.lang.String getSigAlgOID()
          +
          public java.lang.String getSigAlgOID()
          Gets the signature algorithm OID string from the certificate. For example, the string "1.2.840.10040.4.3"
          @@ -1477,13 +1580,13 @@

          getSigAlgOID

        - +
        • getSigAlgParams

          -
          public byte[] getSigAlgParams()
          +
          public byte[] getSigAlgParams()
          Gets the DER encoded signature algorithm parameters from this certificate's signature algorithm.
          @@ -1495,13 +1598,13 @@

          getSigAlgParams

        - +
        • getIssuerUniqueID

          -
          public boolean[] getIssuerUniqueID()
          +
          public boolean[] getIssuerUniqueID()
          Gets the Issuer Unique Identity from the certificate.
          Specified by:
          @@ -1511,13 +1614,13 @@

          getIssuerUniqueID

        - +
        • getSubjectUniqueID

          -
          public boolean[] getSubjectUniqueID()
          +
          public boolean[] getSubjectUniqueID()
          Gets the Subject Unique Identity from the certificate.
          Specified by:
          @@ -1527,13 +1630,13 @@

          getSubjectUniqueID

        - +
        • getCriticalExtensionOIDs

          -
          public java.util.Set<java.lang.String> getCriticalExtensionOIDs()
          +
          public java.util.Set<java.lang.String> getCriticalExtensionOIDs()
          Gets a Set of the extension(s) marked CRITICAL in the certificate by OID strings.
          @@ -1545,13 +1648,13 @@

          getCriticalExtensionOIDs

        - +
        • getNonCriticalExtensionOIDs

          -
          public java.util.Set<java.lang.String> getNonCriticalExtensionOIDs()
          +
          public java.util.Set<java.lang.String> getNonCriticalExtensionOIDs()
          Gets a Set of the extension(s) marked NON-CRITICAL in the certificate by OID strings.
          @@ -1563,22 +1666,22 @@

          getNonCriticalExtensionOIDs

        - +
        • getExtension

          -
          public Extension getExtension(java.lang.String oid)
          +
          public Extension getExtension​(java.lang.String oid)
        - +
        • getExtensionValue

          -
          public byte[] getExtensionValue(java.lang.String oid)
          +
          public byte[] getExtensionValue​(java.lang.String oid)
          Gets the DER encoded extension identified by the passed in oid String.
          @@ -1589,13 +1692,13 @@

          getExtensionValue

        - +
        • getKeyUsage

          -
          public boolean[] getKeyUsage()
          +
          public boolean[] getKeyUsage()
          Get a boolean array representing the bits of the KeyUsage extension, (oid = 2.5.29.15).
          @@ -1606,13 +1709,13 @@

          getKeyUsage

        - +
        • getBasicConstraints

          -
          public int getBasicConstraints()
          +
          public int getBasicConstraints()
          Get the certificate constraints path length from the the critical BasicConstraints extension, (oid = 2.5.29.19).
          @@ -1623,22 +1726,22 @@

          getBasicConstraints

        - +
        • getBasicConstraintsIsCA

          -
          public boolean getBasicConstraintsIsCA()
          +
          public boolean getBasicConstraintsIsCA()
        - +
        • writeReplace

          -
          protected java.lang.Object writeReplace()
          +
          protected java.lang.Object writeReplace()
                                            throws java.io.ObjectStreamException
          Overrides:
          @@ -1650,21 +1753,25 @@

          writeReplace

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/X509CertInfo.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/X509CertInfo.html index 060fb062b..36b26ad5d 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/X509CertInfo.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/X509CertInfo.html @@ -1,11 +1,20 @@ - + X509CertInfo (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class X509CertInfo

    @@ -107,17 +131,16 @@

    Class X509CertInfo

  • All Implemented Interfaces:
    -
    java.io.Serializable, CertAttrSet
    +
    java.io.Serializable, CertAttrSet
    Direct Known Subclasses:
    -
    CertInfo
    +
    CertInfo

    -
    public class X509CertInfo
     extends java.lang.Object
    -implements CertAttrSet, java.io.Serializable
    +implements CertAttrSet, java.io.Serializable
    The X509CertInfo class represents X.509 certificate information.

    @@ -141,9 +164,9 @@

    Class X509CertInfo

    See Also:
    -
    CertAttrSet, +
    CertAttrSet, Serializable, -X509CertImpl, +X509CertImpl, Serialized Form
  • @@ -153,251 +176,300 @@

    Class X509CertInfo

    @@ -412,12 +485,13 @@

    Methods inherited from class java.lang.Object

    • +
      +
      +
        -
      • +
      • Constructor Detail

        - +
          @@ -684,13 +760,13 @@

          X509CertInfo

          decode must later be called (or which may be deserialized).
        - +
        • X509CertInfo

          -
          public X509CertInfo(byte[] cert)
          +
          public X509CertInfo​(byte[] cert)
                        throws java.security.cert.CertificateParsingException
          Unmarshals a certificate from its encoded form, parsing the encoded bytes. This form of constructor is used by agents which @@ -707,13 +783,13 @@

          X509CertInfo

        - +
        • X509CertInfo

          -
          public X509CertInfo(DerValue derVal)
          +
          public X509CertInfo​(DerValue derVal)
                        throws java.security.cert.CertificateParsingException
          Unmarshal a certificate from its encoded form, parsing a DER value. This form of constructor is used by agents which need to examine @@ -728,25 +804,27 @@

          X509CertInfo

      +
      +
        -
      • +
      • Method Detail

        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.security.cert.CertificateParsingException,
                              java.io.IOException
          Decode an X.509 certificate from an input stream.
          Specified by:
          -
          decode in interface CertAttrSet
          +
          decode in interface CertAttrSet
          Parameters:
          in - an input stream holding at least one certificate
          Throws:
          @@ -755,19 +833,19 @@

          decode

        - +
        • encode

          -
          public void encode(java.io.OutputStream out)
          +
          public void encode​(java.io.OutputStream out)
                       throws java.security.cert.CertificateException,
                              java.io.IOException
          Appends the certificate to an output stream.
          Specified by:
          -
          encode in interface CertAttrSet
          +
          encode in interface CertAttrSet
          Parameters:
          out - an output stream to which the certificate is appended.
          Throws:
          @@ -776,13 +854,13 @@

          encode

        - +
        • encode

          -
          public void encode(java.io.OutputStream out,
          +
          public void encode​(java.io.OutputStream out,
                              boolean ignoreCache)
                       throws java.io.IOException,
                              java.security.cert.CertificateException
          @@ -798,46 +876,46 @@

          encode

        - +
        • getAttributeNames

          -
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          +
          public java.util.Enumeration<java.lang.String> getAttributeNames()
          Return an enumeration of names of attributes existing within this attribute.
          Specified by:
          -
          getAttributeNames in interface CertAttrSet
          +
          getAttributeNames in interface CertAttrSet
          Returns:
          an enumeration of the attribute names.
        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Return the name of this attribute.
          Specified by:
          -
          getName in interface CertAttrSet
          +
          getName in interface CertAttrSet
          Returns:
          the name of this CertAttrSet.
        - +
        • getEncodedInfo

          -
          public byte[] getEncodedInfo()
          +
          public byte[] getEncodedInfo()
                                 throws java.security.cert.CertificateEncodingException
          Returns the encoded certificate info.
          @@ -846,13 +924,13 @@

          getEncodedInfo

        - +
        • getEncodedInfo

          -
          public byte[] getEncodedInfo(boolean ignoreCache)
          +
          public byte[] getEncodedInfo​(boolean ignoreCache)
                                 throws java.security.cert.CertificateEncodingException
          Throws:
          @@ -860,13 +938,13 @@

          getEncodedInfo

        - +
        • equals

          -
          public boolean equals(java.lang.Object other)
          +
          public boolean equals​(java.lang.Object other)
          Compares two X509CertInfo objects. This is false if the certificates are not both X.509 certs, otherwise it compares them as binary data.
          @@ -880,13 +958,13 @@

          equals

        - +
        • equals

          -
          public boolean equals(X509CertInfo other)
          +
          public boolean equals​(X509CertInfo other)
          Compares two certificates, returning false if any data differs between the two.
          @@ -897,13 +975,13 @@

          equals

        - +
        • hashCode

          -
          public int hashCode()
          +
          public int hashCode()
          Calculates a hash code value for the object. Objects which are equal will also have the same hashcode.
          @@ -912,17 +990,17 @@

          hashCode

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Returns a printable representation of the certificate.
          Specified by:
          -
          toString in interface CertAttrSet
          +
          toString in interface CertAttrSet
          Overrides:
          toString in class java.lang.Object
          Returns:
          @@ -931,20 +1009,20 @@

          toString

        - +
        • set

          -
          public void set(java.lang.String name,
          +
          public void set​(java.lang.String name,
                           java.lang.Object val)
                    throws java.security.cert.CertificateException,
                           java.io.IOException
          Set the certificate attribute.
          Specified by:
          -
          set in interface CertAttrSet
          +
          set in interface CertAttrSet
          Parameters:
          name - the name of the Certificate attribute.
          val - the value of the Certificate attribute.
          @@ -954,19 +1032,19 @@

          set

        - +
        • delete

          -
          public void delete(java.lang.String name)
          +
          public void delete​(java.lang.String name)
                       throws java.security.cert.CertificateException,
                              java.io.IOException
          Delete the certificate attribute.
          Specified by:
          -
          delete in interface CertAttrSet
          +
          delete in interface CertAttrSet
          Parameters:
          name - the name of the Certificate attribute.
          Throws:
          @@ -975,19 +1053,19 @@

          delete

        - +
        • get

          -
          public java.lang.Object get(java.lang.String name)
          +
          public java.lang.Object get​(java.lang.String name)
                                throws java.security.cert.CertificateException,
                                       java.io.IOException
          Get the certificate attribute.
          Specified by:
          -
          get in interface CertAttrSet
          +
          get in interface CertAttrSet
          Parameters:
          name - the name of the Certificate attribute.
          Throws:
          @@ -996,41 +1074,45 @@

          get

        - + - +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/X509ExtensionException.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/X509ExtensionException.html index 168f0712e..a18706375 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/X509ExtensionException.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/X509ExtensionException.html @@ -1,11 +1,20 @@ - + X509ExtensionException (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class X509ExtensionException

    @@ -116,10 +140,9 @@

    Class X509ExtensionExcept
  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public class X509ExtensionException
     extends java.security.GeneralSecurityException
    X.509 Extension Exception.
    @@ -134,36 +157,42 @@

    Class X509ExtensionExcept
    • +
      +
      +
        -
      • +
      • Method Summary

          -
        • +
        • Methods inherited from class java.lang.Throwable

          addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -193,6 +224,7 @@

          Methods inherited from class java.lang.Object

      +

  • @@ -200,12 +232,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -217,13 +250,13 @@

          X509ExtensionException

          exception.
        - +
        • X509ExtensionException

          -
          public X509ExtensionException(java.lang.String mesg)
          +
          public X509ExtensionException​(java.lang.String mesg)
          Constructs the exception with the specified detail message. A detail message is a String that describes this particular exception.
          @@ -233,13 +266,13 @@

          X509ExtensionException

        - +
        • X509ExtensionException

          -
          public X509ExtensionException(java.lang.String mesg,
          +
          public X509ExtensionException​(java.lang.String mesg,
                                         java.lang.Throwable cause)
          Constructs the exception with the specified detail message and cause of this exception. A detail message is a @@ -251,13 +284,13 @@

          X509ExtensionException

        - +
        • X509ExtensionException

          -
          public X509ExtensionException(java.lang.Throwable cause)
          +
          public X509ExtensionException​(java.lang.Throwable cause)
          Constructs the exception with the specified cause of this exception.
          @@ -268,21 +301,25 @@

          X509ExtensionException

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/X509Key.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/X509Key.html index 828cbadbc..3dda79032 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/X509Key.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/X509Key.html @@ -1,11 +1,20 @@ - + X509Key (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.netscape.security.x509
    +

    Class X509Key

    @@ -107,14 +131,13 @@

    Class X509Key

  • All Implemented Interfaces:
    -
    java.io.Serializable, java.security.Key, java.security.PublicKey
    +
    java.io.Serializable, java.security.Key, java.security.PublicKey
    Direct Known Subclasses:
    -
    DSAPublicKey, RSAPublicKey
    +
    DSAPublicKey, RSAPublicKey

    -
    public class X509Key
     extends java.lang.Object
     implements java.security.PublicKey
    @@ -139,152 +162,180 @@

    Class X509Key

  • @@ -299,21 +351,22 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - + - +
          @@ -322,7 +375,7 @@

          key

          protected byte[] key
        - +
          @@ -333,13 +386,15 @@

          encodedKey

      +
      +
        -
      • +
      • Constructor Detail

        - +
          @@ -351,13 +406,13 @@

          X509Key

          by using decode.
        - +
        • X509Key

          -
          public X509Key(AlgorithmId algid,
          +
          public X509Key​(AlgorithmId algid,
                          byte[] key)
                   throws java.security.InvalidKeyException
          @@ -368,19 +423,21 @@

          X509Key

      +
      +
        -
      • +
      • Method Detail

        - +
        • parse

          -
          public static X509Key parse(DerValue in)
          +
          public static X509Key parse​(DerValue in)
                                throws java.io.IOException
          Construct X.509 subject public key from a DER value. If the runtime environment is configured with a specific class for @@ -399,13 +456,13 @@

          parse

        - +
        • parseKeyBits

          -
          protected void parseKeyBits()
          +
          protected void parseKeyBits()
                                throws java.io.IOException,
                                       java.security.InvalidKeyException
          Parse the key bits. This may be redefined by subclasses to take @@ -424,13 +481,13 @@

          parseKeyBits

        - +
        • getAlgorithm

          -
          public java.lang.String getAlgorithm()
          +
          public java.lang.String getAlgorithm()
          Returns the algorithm to be used with this key.
          Specified by:
          @@ -438,23 +495,23 @@

          getAlgorithm

        - +
        • getAlgorithmId

          -
          public AlgorithmId getAlgorithmId()
          +
          public AlgorithmId getAlgorithmId()
          Returns the algorithm ID to be used with this key.
        - +
        • encode

          -
          public final void encode(DerOutputStream out)
          +
          public final void encode​(DerOutputStream out)
                             throws java.io.IOException
          Encode SubjectPublicKeyInfo sequence on the DER output stream.
          @@ -463,13 +520,13 @@

          encode

        - +
        • getEncoded

          -
          public byte[] getEncoded()
          +
          public byte[] getEncoded()
          Returns the DER-encoded form of the key as a byte array.
          Specified by:
          @@ -477,13 +534,13 @@

          getEncoded

        - +
        • getFormat

          -
          public java.lang.String getFormat()
          +
          public java.lang.String getFormat()
          Returns the format for this key: "X.509"
          Specified by:
          @@ -491,23 +548,23 @@

          getFormat

        - +
        • getKey

          -
          public byte[] getKey()
          +
          public byte[] getKey()
          Returns the raw key as a byte array
        - +
        • encode

          -
          public byte[] encode()
          +
          public byte[] encode()
                         throws java.security.InvalidKeyException
          Returns the DER-encoded form of the key as a byte array.
          @@ -516,26 +573,26 @@

          encode

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Overrides:
          toString in class java.lang.Object
        - +
        • decode

          -
          public void decode(java.io.InputStream in)
          +
          public void decode​(java.io.InputStream in)
                       throws java.security.InvalidKeyException
          Initialize an X509Key object from an input stream. The data on that input stream must be encoded using DER, obeying the X.509 SubjectPublicKeyInfo format. That is, the @@ -561,13 +618,13 @@

          decode

        - +
        • decode

          -
          public void decode(byte[] encodedKey)
          +
          public void decode​(byte[] encodedKey)
                       throws java.security.InvalidKeyException
          Throws:
          @@ -575,26 +632,26 @@

          decode

        - +
        • equals

          -
          public boolean equals(java.lang.Object object)
          +
          public boolean equals​(java.lang.Object object)
          Overrides:
          equals in class java.lang.Object
        - +
        • hashCode

          -
          public int hashCode()
          +
          public int hashCode()
          Calculates a hash code value for the object. Objects which are equal will also have the same hashcode.
          @@ -603,13 +660,13 @@

          hashCode

        - +
        • parsePublicKey

          -
          public static java.security.PublicKey parsePublicKey(DerValue in)
          +
          public static java.security.PublicKey parsePublicKey​(DerValue in)
                                                         throws java.io.IOException
          Throws:
          @@ -619,21 +676,25 @@

          parsePublicKey

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/package-frame.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/package-frame.html deleted file mode 100644 index 6f230c10a..000000000 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/package-frame.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - -org.mozilla.jss.netscape.security.x509 (JSS: Java Security Services) - - - - -

    org.mozilla.jss.netscape.security.x509

    -
    -

    Interfaces

    - -

    Classes

    - -

    Exceptions

    - -
    - - diff --git a/master/javadocs/org/mozilla/jss/netscape/security/x509/package-summary.html b/master/javadocs/org/mozilla/jss/netscape/security/x509/package-summary.html index af5ee92fe..6f8d01cc6 100644 --- a/master/javadocs/org/mozilla/jss/netscape/security/x509/package-summary.html +++ b/master/javadocs/org/mozilla/jss/netscape/security/x509/package-summary.html @@ -1,11 +1,20 @@ - + org.mozilla.jss.netscape.security.x509 (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Package org.mozilla.jss.netscape.security.x509

    + +
    +
    +
      -
    • +
    • Method Summary

      - +
      - + + - + - + +
      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and TypeMethod and DescriptionMethodDescription
      abstract intcheck(SSLFDProxy fd, - int error) +check​(SSLFDProxy fd, + int error)
      Returns the PRErrorCode the error validating certificate auth, else 0.
      voidrun() run() 
        -
      • +
      • Methods inherited from class java.lang.Object

        @@ -221,6 +258,7 @@

        Methods inherited from class java.lang.Object

    +
    @@ -228,12 +266,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -244,7 +283,7 @@

          error

          check operation.
        - +
          @@ -255,7 +294,7 @@

          result

          operation.
        - +
          @@ -268,19 +307,21 @@

          finished

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • BadCertHandler

          -
          public BadCertHandler(SSLFDProxy fd,
          +
          public BadCertHandler​(SSLFDProxy fd,
                                 int error)
          Constructor to store SSLFDProxy, error information. @@ -291,19 +332,21 @@

          BadCertHandler

      +
      +
        -
      • +
      • Method Detail

        - +
        • check

          -
          public abstract int check(SSLFDProxy fd,
          +
          public abstract int check​(SSLFDProxy fd,
                                     int error)
          Returns the PRErrorCode the error validating certificate auth, else 0. @@ -315,13 +358,13 @@

          check

          Note that returning 0 here means SECis returned
        - +
        • run

          -
          public void run()
          +
          public void run()
          Specified by:
          run in interface java.lang.Runnable
          @@ -330,21 +373,25 @@

          run

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/nss/Buffer.html b/master/javadocs/org/mozilla/jss/nss/Buffer.html index 411851ce0..20a7710ba 100644 --- a/master/javadocs/org/mozilla/jss/nss/Buffer.html +++ b/master/javadocs/org/mozilla/jss/nss/Buffer.html @@ -1,11 +1,20 @@ - + Buffer (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.nss
    +

    Class Buffer

    @@ -106,7 +130,6 @@

    Class Buffer

    @@ -232,12 +273,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -248,144 +290,146 @@

          Buffer

      +
      +
        -
      • +
      • Method Detail

        - +
        • Create

          -
          public static BufferProxy Create(long length)
          +
          public static BufferProxy Create​(long length)
          Create a new j_buffer object with the specified number of bytes. See also: jb_alloc in org/mozilla/jss/ssl/javax/j_buffer.h
        - +
        • Capacity

          -
          public static long Capacity(BufferProxy buf)
          +
          public static long Capacity​(BufferProxy buf)
          Check the total capacity of a buffer object. See also: jb_capacity in org/mozilla/jss/ssl/javax/j_buffer.h
        - +
        • CanRead

          -
          public static boolean CanRead(BufferProxy buf)
          +
          public static boolean CanRead​(BufferProxy buf)
          Check whether or not the buffer can be read from (i.e., is non-empty). See also: jb_can_read in org/mozilla/jss/ssl/javax/j_buffer.h
        - +
        • ReadCapacity

          -
          public static long ReadCapacity(BufferProxy buf)
          +
          public static long ReadCapacity​(BufferProxy buf)
          Check the remaining number of bytes that can be read from the buffer. See also: jb_read_capacity in org/mozilla/jss/ssl/javax/j_buffer.h
        - +
        • CanWrite

          -
          public static boolean CanWrite(BufferProxy buf)
          +
          public static boolean CanWrite​(BufferProxy buf)
          Check whether or not the buffer can be written to (i.e., is not full). See also: jb_can_write in org/mozilla/jss/ssl/javax/j_buffer.h
        - +
        • WriteCapacity

          -
          public static long WriteCapacity(BufferProxy buf)
          +
          public static long WriteCapacity​(BufferProxy buf)
          Check the remaining number of bytes that can be written to the buffer. See also: jb_write_capacity in org/mozilla/jss/ssl/javax/j_buffer.h
        - +
        • Read

          -
          public static byte[] Read(BufferProxy buf,
          +
          public static byte[] Read​(BufferProxy buf,
                                     long length)
          Read the specified number of bytes from the buffer. See also: jb_read in org/mozilla/jss/ssl/javax/j_buffer.h
        - +
        • Write

          -
          public static long Write(BufferProxy buf,
          +
          public static long Write​(BufferProxy buf,
                                    byte[] input)
          Write the specified bytes to the buffer. See also: jb_write in org/mozilla/jss/ssl/javax/j_buffer.h
        - +
        • Get

          -
          public static int Get(BufferProxy buf)
          +
          public static int Get​(BufferProxy buf)
          Get a single character from the buffer. See also: jb_get in org/mozilla/jss/ssl/javax/j_buffer.h
        - +
        • Put

          -
          public static int Put(BufferProxy buf,
          +
          public static int Put​(BufferProxy buf,
                                 byte input)
          Put a single character into the buffer. See also: jb_put in org/mozilla/jss/ssl/javax/j_buffer.h
        - +
        • Free

          -
          public static void Free(BufferProxy buf)
          +
          public static void Free​(BufferProxy buf)
          Destroy a buffer object, freeing its resources. See also: jb_free in org/mozilla/jss/ssl/javax/j_buffer.h
          @@ -393,21 +437,25 @@

          Free

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/nss/BufferProxy.html b/master/javadocs/org/mozilla/jss/nss/BufferProxy.html index dfac3e2d4..0dbdd3c4c 100644 --- a/master/javadocs/org/mozilla/jss/nss/BufferProxy.html +++ b/master/javadocs/org/mozilla/jss/nss/BufferProxy.html @@ -1,11 +1,20 @@ - + BufferProxy (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.nss
    +

    Class BufferProxy

    @@ -98,7 +122,7 @@

    Class BufferProxy

  • java.lang.Object
  • @@ -125,71 +148,81 @@

    Class BufferProxy

    @@ -204,54 +238,57 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • BufferProxy

          -
          public BufferProxy(byte[] pointer)
          +
          public BufferProxy​(byte[] pointer)
      +
      +
        -
      • +
      • Method Detail

        - + - +
        • finalize

          -
          protected void finalize()
          +
          protected void finalize()
                            throws java.lang.Throwable
          -
          Description copied from class: NativeProxy
          +
          Description copied from class: NativeProxy
          Finalize this NativeProxy by releasing its native resources. The finalizer calls releaseNativeResources() so you don't have to. This finalizer should be called from the finalize() method of all @@ -267,7 +304,7 @@

          finalize

          }
          Overrides:
          -
          finalize in class NativeProxy
          +
          finalize in class NativeProxy
          Throws:
          java.lang.Throwable
          @@ -275,21 +312,25 @@

          finalize

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/nss/Cert.html b/master/javadocs/org/mozilla/jss/nss/Cert.html index 462afd47c..bd8314c82 100644 --- a/master/javadocs/org/mozilla/jss/nss/Cert.html +++ b/master/javadocs/org/mozilla/jss/nss/Cert.html @@ -1,11 +1,20 @@ - + Cert (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.nss
    +

    Class Cert

    @@ -106,7 +130,6 @@

    Class Cert


    • -
      public class Cert
       extends java.lang.Object
    • @@ -116,41 +139,48 @@

      Class Cert

      • +
          -
        • +
        • Constructor Summary

          - +
          - + + - + +
          Constructors 
          Constructor and DescriptionConstructorDescription
          Cert() Cert() 
        +
        +
        +
    @@ -165,12 +196,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -181,38 +213,44 @@

          Cert

      +
      +
        -
      • +
      • Method Detail

        - +
        • MatchExceptionToNSSError

          -
          public static int MatchExceptionToNSSError(java.lang.Exception excpt)
          +
          public static int MatchExceptionToNSSError​(java.lang.Exception excpt)
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/nss/CertAuthHandler.html b/master/javadocs/org/mozilla/jss/nss/CertAuthHandler.html index acac08f49..fef78f188 100644 --- a/master/javadocs/org/mozilla/jss/nss/CertAuthHandler.html +++ b/master/javadocs/org/mozilla/jss/nss/CertAuthHandler.html @@ -1,11 +1,20 @@ - + CertAuthHandler (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.nss
    +

    Class CertAuthHandler

    @@ -107,10 +131,9 @@

    Class CertAuthHandler

  • All Implemented Interfaces:
    -
    java.lang.Runnable
    +
    java.lang.Runnable

    -
    public abstract class CertAuthHandler
     extends java.lang.Object
     implements java.lang.Runnable
    @@ -132,27 +155,31 @@

    Class CertAuthHandler

    • +
        -
      • +
      • Field Summary

        - +
        - + + - + - + @@ -160,51 +187,60 @@

        Field Summary

        Fields 
        Modifier and TypeField and DescriptionFieldDescription
        booleanfinished +finished
        Whether or not the check operation has been executed yet, when invoked via run().
        intresult +result
        When invoked via run(), the result of the check operation.
      +
      +
      +
      +
      +
  • @@ -219,12 +256,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -235,7 +273,7 @@

          result

          operation.
        - +
          @@ -248,19 +286,21 @@

          finished

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • CertAuthHandler

          -
          public CertAuthHandler(SSLFDProxy fd)
          +
          public CertAuthHandler​(SSLFDProxy fd)
          Constructor to store SSLFDProxy information. This is useful for implementations which expect to be used @@ -270,19 +310,21 @@

          CertAuthHandler

      +
      +
        -
      • +
      • Method Detail

        - +
        • check

          -
          public abstract int check(SSLFDProxy fd)
          +
          public abstract int check​(SSLFDProxy fd)
          Returns the PRErrorCode the error validating certificate auth, else 0. @@ -291,13 +333,13 @@

          check

          properly.
        - +
        • run

          -
          public void run()
          +
          public void run()
          Specified by:
          run in interface java.lang.Runnable
          @@ -306,21 +348,25 @@

          run

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/nss/PR.html b/master/javadocs/org/mozilla/jss/nss/PR.html index c428520d2..f83b54368 100644 --- a/master/javadocs/org/mozilla/jss/nss/PR.html +++ b/master/javadocs/org/mozilla/jss/nss/PR.html @@ -1,11 +1,20 @@ - + PR (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.nss
    +

    Class PR

    @@ -106,7 +130,6 @@

    Class PR


    • -
      public class PR
       extends java.lang.Object
      This class provides static access to raw NSPS calls with the PR prefix, @@ -118,184 +141,212 @@

      Class PR

      • +
        +
        +
          -
        • +
        • Constructor Summary

          - +
          - + + - + +
          Constructors 
          Constructor and DescriptionConstructorDescription
          PR() PR() 
        +
        +
          -
        • +
        • Method Summary

          - +
          - + + - + - + - + - + - + - + - - + + - - + + - - + + - + - + - + - + - +
          All Methods Static Methods Concrete Methods 
          Modifier and TypeMethod and DescriptionMethodDescription
          static intClose(PRFDProxy fd) +Close​(PRFDProxy fd)
          Close an existing PRFDProxy, clearing the pointer if successful.
          static intClose(PRFDProxy fd, - boolean clear) +Close​(PRFDProxy fd, + boolean clear)
          Close an existing PRFDProxy with an option to clear the pointer.
          static intClose(SSLFDProxy fd) +Close​(SSLFDProxy fd)
          Close an existing SSLFDProxy.
          static java.lang.StringErrorToName(int code) +ErrorToName​(int code)
          Get the constant name of the current PR error.
          static intGetError() +GetError()
          Get the value of the current PR error.
          static java.lang.StringGetErrorText() +GetErrorText()
          Get the error text of the current PR error.
          static PRFDProxyNewBufferPRFD(BufferProxy read_buf, - BufferProxy write_buf, - byte[] peer_info) +static PRFDProxyNewBufferPRFD​(BufferProxy read_buf, + BufferProxy write_buf, + byte[] peer_info)
          Create a new j_buffer backed PRFileDesc, mimicing a TCP socket with the specified peer_info.
          static PRFDProxyNewTCPSocket() +static PRFDProxyNewTCPSocket()
          Open a new TCP Socket and create a new PRFDProxy for that socket.
          static PRFDProxyOpen(java.lang.String name, +static PRFDProxyOpen​(java.lang.String name, int flags, - int mode) + int mode)
          Open the file at name (with the specified flags and mode) and create a new PRFDProxy (to a NSPR PRFileDesc *) for that file.
          static byte[]Read(PRFDProxy fd, - int amount) +Read​(PRFDProxy fd, + int amount)
          Read up to amount bytes from a PRFDProxy.
          static byte[]Recv(PRFDProxy fd, +Recv​(PRFDProxy fd, int amount, int flags, - long timeout) + long timeout)
          Recv up to amount bytes from a PRFDProxy, given the specified receive flags and timeout value.
          static intSend(PRFDProxy fd, +Send​(PRFDProxy fd, byte[] buf, int flags, - long timeout) + long timeout)
          Send the specified bytes via the PRFDProxy, given the specified send flags and timeout value.
          static intShutdown(PRFDProxy fd, - int how) +Shutdown​(PRFDProxy fd, + int how)
          Shutdown an existing PRFDProxy.
          static intWrite(PRFDProxy fd, - byte[] buf) +Write​(PRFDProxy fd, + byte[] buf)
          Write the specified bytes to the PRFDProxy.
            -
          • +
          • Methods inherited from class java.lang.Object

            @@ -303,6 +354,7 @@

            Methods inherited from class java.lang.Object

        +
      @@ -310,12 +362,13 @@

      Methods inherited from class java.lang.Object

      • +
          -
        • +
        • Field Detail

          - +
            @@ -327,7 +380,7 @@

            SHUTDOWN_RCV

            See also: Shutdown
    - +
      @@ -339,7 +392,7 @@

      SHUTDOWN_SEND

      See also: Shutdown
    - +
      @@ -351,7 +404,7 @@

      SHUTDOWN_BOTH

      See also: Shutdown
    - +
      @@ -363,7 +416,7 @@

      SUCCESS

      See also: PR_SUCCESS in /usr/include/nspr4/prtypes.h
    - +
      @@ -377,13 +430,15 @@

      FAILURE

    + +
      -
    • +
    • Constructor Detail

      - +
        @@ -394,19 +449,21 @@

        PR

    +
    +
      -
    • +
    • Method Detail

      - +
      • Open

        -
        public static PRFDProxy Open(java.lang.String name,
        +
        public static PRFDProxy Open​(java.lang.String name,
                                      int flags,
                                      int mode)
        Open the file at name (with the specified flags and mode) and create @@ -415,26 +472,26 @@

        Open

        See also: PR_Open in /usr/include/nspr4/prio.h
      - +
      • NewTCPSocket

        -
        public static PRFDProxy NewTCPSocket()
        +
        public static PRFDProxy NewTCPSocket()
        Open a new TCP Socket and create a new PRFDProxy for that socket. See also: PR_NewTCPSocket in /usr/include/nspr4/prio.h
      - +
      • NewBufferPRFD

        -
        public static PRFDProxy NewBufferPRFD(BufferProxy read_buf,
        -                                      BufferProxy write_buf,
        +
        public static PRFDProxy NewBufferPRFD​(BufferProxy read_buf,
        +                                      BufferProxy write_buf,
                                               byte[] peer_info)
        Create a new j_buffer backed PRFileDesc, mimicing a TCP socket with the specified peer_info. @@ -442,38 +499,38 @@

        NewBufferPRFD

        See also: newBufferPRFileDesc in org/mozilla/jss/ssl/javax/BufferPRFD.h
      - +
      • Close

        -
        public static int Close(PRFDProxy fd)
        +
        public static int Close​(PRFDProxy fd)
        Close an existing PRFDProxy, clearing the pointer if successful. See also: PR_Close in /usr/include/nspr4/prio.h
      - +
      • Close

        -
        public static int Close(PRFDProxy fd,
        +
        public static int Close​(PRFDProxy fd,
                                 boolean clear)
        Close an existing PRFDProxy with an option to clear the pointer. See also: PR_Close in /usr/include/nspr4/prio.h
      - +
      • Close

        -
        public static int Close(SSLFDProxy fd)
        +
        public static int Close​(SSLFDProxy fd)
                          throws java.lang.Exception
        Close an existing SSLFDProxy. @@ -485,13 +542,13 @@

        Close

      - +
      • Shutdown

        -
        public static int Shutdown(PRFDProxy fd,
        +
        public static int Shutdown​(PRFDProxy fd,
                                    int how)
        Shutdown an existing PRFDProxy. This is usually used with TCP modes. @@ -499,26 +556,26 @@

        Shutdown

        See also: PR_Shutdown in /usr/include/nspr4/prio.h
      - +
      • Read

        -
        public static byte[] Read(PRFDProxy fd,
        +
        public static byte[] Read​(PRFDProxy fd,
                                   int amount)
        Read up to amount bytes from a PRFDProxy. See also: PR_Read in /usr/include/nspr4/prio.h
      - +
      • Recv

        -
        public static byte[] Recv(PRFDProxy fd,
        +
        public static byte[] Recv​(PRFDProxy fd,
                                   int amount,
                                   int flags,
                                   long timeout)
        @@ -528,13 +585,13 @@

        Recv

        See also: PR_Recv in /usr/include/nspr4/prio.h
      - +
      • Write

        -
        public static int Write(PRFDProxy fd,
        +
        public static int Write​(PRFDProxy fd,
                                 byte[] buf)
        Write the specified bytes to the PRFDProxy. @@ -544,13 +601,13 @@

        Write

        See also: PR_Write in /usr/include/nspr4/prio.h
      - +
      • Send

        -
        public static int Send(PRFDProxy fd,
        +
        public static int Send​(PRFDProxy fd,
                                byte[] buf,
                                int flags,
                                long timeout)
        @@ -560,39 +617,39 @@

        Send

        See also: PR_Send in /usr/include/nspr4/prio.h
      - +
      • GetError

        -
        public static int GetError()
        +
        public static int GetError()
        Get the value of the current PR error. This is cleared on each NSPR call. See also: PR_GetError in /usr/include/nspr4/prio.h
      - +
      • GetErrorText

        -
        public static java.lang.String GetErrorText()
        +
        public static java.lang.String GetErrorText()
        Get the error text of the current PR error. This is cleared on each NSPR call. See also: PR_GetErrorText in /usr/include/nspr4/prio.h
      - +
      • ErrorToName

        -
        public static java.lang.String ErrorToName(int code)
        +
        public static java.lang.String ErrorToName​(int code)
        Get the constant name of the current PR error. This is cleared on each NSPR call. @@ -601,21 +658,25 @@

        ErrorToName

    +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/nss/PRErrors.html b/master/javadocs/org/mozilla/jss/nss/PRErrors.html index b366fae4b..d5431914a 100644 --- a/master/javadocs/org/mozilla/jss/nss/PRErrors.html +++ b/master/javadocs/org/mozilla/jss/nss/PRErrors.html @@ -1,11 +1,20 @@ - + PRErrors (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.nss
    +

    Class PRErrors

    @@ -100,7 +124,6 @@

    Class PRErrors


    • -
      public class PRErrors
       extends java.lang.Object
      This class provides access to useful NSPR errors, getting their values from @@ -113,57 +136,67 @@

      Class PRErrors

      • +
        +
        +
          -
        • +
        • Constructor Summary

          - +
          - + + - + +
          Constructors 
          Constructor and DescriptionConstructorDescription
          PRErrors() PRErrors() 
        +
        +
          -
        • +
        • Method Summary

            -
          • +
          • Methods inherited from class java.lang.Object

            @@ -171,6 +204,7 @@

            Methods inherited from class java.lang.Object

        +
      @@ -178,12 +212,13 @@

      Methods inherited from class java.lang.Object

      • +
          -
        • +
        • Field Detail

          - +
            @@ -195,7 +230,7 @@

            WOULD_BLOCK_ERROR

            See also: PR_WOULD_BLOCK_ERROR in /usr/include/nspr4/prerr.h
    - +
      @@ -209,13 +244,15 @@

      SOCKET_SHUTDOWN_ERROR

    + +
      -
    • +
    • Constructor Detail

      - +
        @@ -226,21 +263,25 @@

        PRErrors

    +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/nss/PRFDProxy.html b/master/javadocs/org/mozilla/jss/nss/PRFDProxy.html index 379ecfea1..a1d0b31cb 100644 --- a/master/javadocs/org/mozilla/jss/nss/PRFDProxy.html +++ b/master/javadocs/org/mozilla/jss/nss/PRFDProxy.html @@ -1,11 +1,20 @@ - + PRFDProxy (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.nss
    +

    Class PRFDProxy

    @@ -98,7 +122,7 @@

    Class PRFDProxy

  • java.lang.Object
  • @@ -129,71 +152,81 @@

    Class PRFDProxy

    @@ -208,37 +242,40 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • PRFDProxy

          -
          public PRFDProxy(byte[] pointer)
          +
          public PRFDProxy​(byte[] pointer)
      +
      +
        -
      • +
      • Method Detail

        - +
        • releaseNativeResources

          -
          protected void releaseNativeResources()
          +
          protected void releaseNativeResources()
                                          throws java.lang.Exception
          -
          Description copied from class: NativeProxy
          +
          Description copied from class: NativeProxy
          Release the native resources used by this proxy. Subclasses of NativeProxy must define this method to clean up data structures in C code that are referenced by this proxy. @@ -249,21 +286,21 @@

          releaseNativeResources

          If you free these resources explicitly, call clear(); instead.
          Specified by:
          -
          releaseNativeResources in class NativeProxy
          +
          releaseNativeResources in class NativeProxy
          Throws:
          java.lang.Exception
        - +
        • finalize

          -
          protected void finalize()
          +
          protected void finalize()
                            throws java.lang.Throwable
          -
          Description copied from class: NativeProxy
          +
          Description copied from class: NativeProxy
          Finalize this NativeProxy by releasing its native resources. The finalizer calls releaseNativeResources() so you don't have to. This finalizer should be called from the finalize() method of all @@ -279,7 +316,7 @@

          finalize

          }
          Overrides:
          -
          finalize in class NativeProxy
          +
          finalize in class NativeProxy
          Throws:
          java.lang.Throwable
          @@ -287,21 +324,25 @@

          finalize

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/nss/SECErrors.html b/master/javadocs/org/mozilla/jss/nss/SECErrors.html index 959ee3fe7..8c5b88d06 100644 --- a/master/javadocs/org/mozilla/jss/nss/SECErrors.html +++ b/master/javadocs/org/mozilla/jss/nss/SECErrors.html @@ -1,11 +1,20 @@ - + SECErrors (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.nss
    +

    Class SECErrors

    @@ -100,7 +124,6 @@

    Class SECErrors


    • -
      public class SECErrors
       extends java.lang.Object
      This class provides access to useful NSS errors, getting their values from @@ -114,87 +137,102 @@

      Class SECErrors

      @@ -209,12 +248,13 @@

      Methods inherited from class java.lang.Object

      • +
          -
        • +
        • Field Detail

          - +
            @@ -226,7 +266,7 @@

            BAD_DER

            See also: SEC_ERROR_BAD_DER in /usr/include/nss3/secerr.h
    - +
      @@ -238,7 +278,7 @@

      EXPIRED_CERTIFICATE

      See also: SEC_ERROR_EXPIRED_CERTIFICATE in /usr/include/nss3/secerr.h
    - +
      @@ -250,7 +290,7 @@

      CERT_NOT_VALID

      See also: SEC_ERROR_CERT_NOT_VALID in /usr/include/nss3/secerr.h
    - +
      @@ -262,7 +302,7 @@

      REVOKED_CERTIFICATE_OCSP

      See also: SEC_ERROR_REVOKED_CERTIFICATE_OCSP in /usr/include/nss3/secerr.h
    - +
      @@ -274,7 +314,7 @@

      REVOKED_CERTIFICATE

      See also: SEC_ERROR_REVOKED_CERTIFICATE in /usr/include/nss3/secerr.h
    - +
      @@ -286,7 +326,7 @@

      UNTRUSTED_ISSUER

      See also: SEC_ERROR_UNTRUSTED_ISSUER in /usr/include/nss3/secerr.h
    - +
      @@ -300,13 +340,15 @@

      UNTRUSTED_CERT

    + +
      -
    • +
    • Constructor Detail

      - +
        @@ -317,21 +359,25 @@

        SECErrors

    +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/nss/SSL.html b/master/javadocs/org/mozilla/jss/nss/SSL.html index 37a0b7be8..d25876cf9 100644 --- a/master/javadocs/org/mozilla/jss/nss/SSL.html +++ b/master/javadocs/org/mozilla/jss/nss/SSL.html @@ -1,11 +1,20 @@ - + SSL (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.nss
    +

    Class SSL

    @@ -106,7 +130,6 @@

    Class SSL

    @@ -554,12 +643,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -572,7 +662,7 @@

          REQUEST_CERTIFICATE

          See also: SSL_REQUEST_CERTIFICATE in /usr/include/nss3/ssl.h
        - +
          @@ -585,7 +675,7 @@

          REQUIRE_CERTIFICATE

          See also: SSL_REQUIRE_CERTIFICATE in /usr/include/nss3/ssl.h
        - +
          @@ -597,7 +687,7 @@

          SECSuccess

          See also: SECSuccess in /usr/include/nss3/seccomon.h
        - +
          @@ -609,7 +699,7 @@

          SECFailure

          See also: SECFailure in /usr/include/nss3/seccomon.h
        - +
          @@ -621,7 +711,7 @@

          SECWouldBlock

          See also: SECWouldBlock in /usr/include/nss3/seccomon.h
        - +
          @@ -634,7 +724,7 @@

          ENABLE_POST_HANDSHAKE_AUTH

          See also: SSL_ENABLE_POST_HANDSHAKE_AUTH in /usr/include/nss3/ssl.h
        - +
          @@ -647,7 +737,7 @@

          ENABLE_RENEGOTIATION

          See also: SSL_ENABLE_RENEGOTIATION in /usr/include/nss3/ssl.h
        - +
          @@ -660,7 +750,7 @@

          REQUIRE_SAFE_NEGOTIATION

          See also: SSL_REQUIRE_SAFE_NEGOTIATION in /usr/include/nss3/ssl.h
        - +
          @@ -673,7 +763,7 @@

          RENEGOTIATE_NEVER

          See also: SSL_RENEGOTIATE_NEVER in /usr/include/nss3/ssl.h
        - +
          @@ -688,7 +778,7 @@

          RENEGOTIATE_UNRESTRICTED

          See also: SSL_RENEGOTIATE_UNRESTRICTED in /usr/include/nss3/ssl.h
        - +
          @@ -702,7 +792,7 @@

          RENEGOTIATE_REQUIRES_XTN

          See also: SSL_RENEGOTIATE_REQUIRES_XTN in /usr/include/nss3/ssl.h
        - +
          @@ -716,7 +806,7 @@

          RENEGOTIATE_TRANSITIONAL

          See also: SSL_RENEGOTIATE_TRANSITIONAL in /usr/include/nss3/ssl.h
        - +
          @@ -729,7 +819,7 @@

          ENABLE_FALLBACK_SCSV

          See also: SSL_ENABLE_FALLBACK_SCSV in /usr/include/nss3/ssl.h
        - +
          @@ -742,7 +832,7 @@

          REQUIRE_NEVER

          See also: SSL_REQUIRE_NEVER in /usr/include/nss3/ssl.h
        - +
          @@ -755,7 +845,7 @@

          REQUIRE_ALWAYS

          See also: SSL_REQUIRE_ALWAYS in /usr/include/nss3/ssl.h
        - +
          @@ -768,7 +858,7 @@

          REQUIRE_FIRST_HANDSHAKE

          See also: SSL_REQUIRE_FIRST_HANDSHAKE in /usr/include/nss3/ssl.h
        - +
          @@ -784,13 +874,15 @@

          REQUIRE_NO_ERROR

      +
      +
        -
      • +
      • Constructor Detail

        - +
          @@ -801,42 +893,44 @@

          SSL

      +
      +
        -
      • +
      • Method Detail

        - + - + - +
        • OptionSet

          -
          public static int OptionSet(SSLFDProxy fd,
          +
          public static int OptionSet​(SSLFDProxy fd,
                                       int option,
                                       int val)
          Set the value of a SSL option on the specified PRFileDesc. @@ -844,13 +938,13 @@

          OptionSet

          See also: SSL_OptionSet in /usr/include/nss3/ssl.h
        - +
        • OptionGet

          -
          public static int OptionGet(SSLFDProxy fd,
          +
          public static int OptionGet​(SSLFDProxy fd,
                                       int option)
                                throws java.lang.Exception
          Get the value of a SSL option on the specified PRFileDesc. Note that @@ -863,26 +957,26 @@

          OptionGet

        - +
        • SetURL

          -
          public static int SetURL(SSLFDProxy fd,
          +
          public static int SetURL​(SSLFDProxy fd,
                                    java.lang.String url)
          Set the hostname of a handshake on the specified PRFileDesc. See also: SSL_SetURL in /usr/include/nss3/ssl.h
        - +
        • CipherPrefSet

          -
          public static int CipherPrefSet(SSLFDProxy fd,
          +
          public static int CipherPrefSet​(SSLFDProxy fd,
                                           int cipher,
                                           boolean enabled)
          Set the preference for a specific cipher suite on the specified @@ -891,13 +985,13 @@

          CipherPrefSet

          See also: SSL_CipherPrefSet in /usr/include/nss3/ssl.h
        - +
        • CipherPrefGet

          -
          public static boolean CipherPrefGet(SSLFDProxy fd,
          +
          public static boolean CipherPrefGet​(SSLFDProxy fd,
                                               int cipher)
                                        throws java.lang.Exception
          Get the preference for a specific cipher suite on the specified @@ -911,13 +1005,13 @@

          CipherPrefGet

        - +
        • CipherPrefSetDefault

          -
          public static int CipherPrefSetDefault(int cipher,
          +
          public static int CipherPrefSetDefault​(int cipher,
                                                  boolean enabled)
          Set the default preferences for a specific cipher suite across all future PRFileDesc's. @@ -925,13 +1019,13 @@

          CipherPrefSetDefault

          See also: SSL_CipherPrefSetDefault in /usr/include/nss3/ssl.h
        - +
        • CipherPrefGetDefault

          -
          public static boolean CipherPrefGetDefault(int cipher)
          +
          public static boolean CipherPrefGetDefault​(int cipher)
          Get the default preferences for a specific cipher suite across all future PRFileDesc's. Note that this can raise an Exception when the cipher is unknown. @@ -939,26 +1033,26 @@

          CipherPrefGetDefault

          See also: SSL_CipherPrefGetDefault in /usr/include/nss3/ssl.h
        - +
        • VersionRangeSet

          -
          public static int VersionRangeSet(SSLFDProxy fd,
          -                                  SSLVersionRange range)
          +
          public static int VersionRangeSet​(SSLFDProxy fd,
          +                                  SSLVersionRange range)
          Set the range of TLS versions enabled by this server by SSLVersionRange. See also: SSL_VersionRangeSet in /usr/include/nss3/ssl.h
        - +
        • VersionRangeGet

          -
          public static SSLVersionRange VersionRangeGet(SSLFDProxy fd)
          +
          public static SSLVersionRange VersionRangeGet​(SSLFDProxy fd)
                                                  throws java.lang.Exception
          Get the range of TLS versions enabled by this server. @@ -969,171 +1063,173 @@

          VersionRangeGet

        - +
        • VersionRangeSetDefault

          -
          public static int VersionRangeSetDefault(SSLVersionRange range)
          +
          public static int VersionRangeSetDefault​(SSLVersionRange range)
          Set the range of TLS versions enabled by default, for all future PRFileDesc's of the default protocol variant type, STREAM. See also: SSL_VersionRangeSetDefault in /usr/include/nss3/ssl.h
        - +
        • VersionRangeSetDefault

          -
          public static int VersionRangeSetDefault(SSLProtocolVariant variant,
          -                                         SSLVersionRange range)
          +
          public static int VersionRangeSetDefault​(SSLProtocolVariant variant,
          +                                         SSLVersionRange range)
          Set the range of TLS versions enabled by default, for all future PRFileDesc's of the specified protocol variant. See also: SSL_VersionRangeSetDefault in /usr/include/nss3/ssl.h
        - +
        • VersionRangeGetDefault

          -
          public static SSLVersionRange VersionRangeGetDefault()
          +
          public static SSLVersionRange VersionRangeGetDefault()
          Get the range of TLS versions enabled in all future PRFileDesc's of the default STREAM protocol variant.. See also: SSL_VersionRangeGetDefault in /usr/include/nss3/ssl.h
        - +
        • VersionRangeGetDefault

          -
          public static SSLVersionRange VersionRangeGetDefault(SSLProtocolVariant variant)
          +
          public static SSLVersionRange VersionRangeGetDefault​(SSLProtocolVariant variant)
          Get the range of TLS versions enabled in all future PRFileDesc's of the specified protocol variant. See also: SSL_VersionRangeGetDefault in /usr/include/nss3/ssl.h
        - + - +
        • GetChannelInfo

          -
          public static SSLChannelInfo GetChannelInfo(SSLFDProxy fd)
          +
          public static SSLChannelInfo GetChannelInfo​(SSLFDProxy fd)
          Inquire for SSL Channel Information after the handshake has completed. See also: SSL_GetChannelInfo in /usr/include/nss3/ssl.h
        - + - +
        • ResetHandshake

          -
          public static int ResetHandshake(SSLFDProxy fd,
          +
          public static int ResetHandshake​(SSLFDProxy fd,
                                            boolean asServer)
          Reset the handshake status, optionally handshaking as a server. See also: SSL_ResetHandshake in /usr/include/nss3/ssl.h
        - +
        • ReHandshake

          -
          public static int ReHandshake(SSLFDProxy fd,
          +
          public static int ReHandshake​(SSLFDProxy fd,
                                         boolean flushCache)
          Rehandshake an existing socket, optionally flushing the cache line. See also: SSL_ReHandshake in /usr/include/nss3/ssl.h
        - +
        • ForceHandshake

          -
          public static int ForceHandshake(SSLFDProxy fd)
          +
          public static int ForceHandshake​(SSLFDProxy fd)
          Force a handshake to occur if not started, else step one. See also: SSL_ForceHandshake in /usr/include/nss3/ssl.h
        - +
        • ConfigSecureServer

          -
          @Deprecated
          -public static int ConfigSecureServer(SSLFDProxy fd,
          -                                                 PK11Cert cert,
          -                                                 PK11PrivKey key,
          -                                                 int kea)
          -
          Deprecated. replaced with ConfigServerCert - See also: SSL_ConfigSecureServer in /usr/include/nss3/ssl.h
          +
          @Deprecated
          +public static int ConfigSecureServer​(SSLFDProxy fd,
          +                                     PK11Cert cert,
          +                                     PK11PrivKey key,
          +                                     int kea)
          +
          Deprecated. +
          replaced with ConfigServerCert + See also: SSL_ConfigSecureServer in /usr/include/nss3/ssl.h
          +
          Configure the certificate and private key for a server socket.
        - +
        • ConfigServerCert

          -
          public static int ConfigServerCert(SSLFDProxy fd,
          -                                   PK11Cert cert,
          -                                   PK11PrivKey key)
          +
          public static int ConfigServerCert​(SSLFDProxy fd,
          +                                   PK11Cert cert,
          +                                   PK11PrivKey key)
          Configure the certificate and private key for a server socket. This form assumes no additional data is passed. See also: SSL_ConfigServerCert in /usr/include/nss3/ssl.h
        - +
        • ConfigServerSessionIDCache

          -
          public static int ConfigServerSessionIDCache(int maxCacheEntries,
          +
          public static int ConfigServerSessionIDCache​(int maxCacheEntries,
                                                        long timeout,
                                                        long ssl3_timeout,
                                                        java.lang.String directory)
          @@ -1142,37 +1238,37 @@

          ConfigServerSessionIDCache

          See also: SSL_ConfigServerSessionIDCache in /usr/include/nss3/ssl.h
        - +
        • InvalidateSession

          -
          public static int InvalidateSession(SSLFDProxy fd)
          +
          public static int InvalidateSession​(SSLFDProxy fd)
          Invalidate the SSL session associated with this socket. See also: SSL_InvalidateSession in /usr/include/nss3/ssl.h
        - +
        • PeerCertificate

          -
          public static PK11Cert PeerCertificate(SSLFDProxy fd)
          +
          public static PK11Cert PeerCertificate​(SSLFDProxy fd)
          Introspect the peer's certificate. See also: SSL_PeerCertificate in /usr/include/nss3/ssl.h
        - +
        • PeerCertificateChain

          -
          public static PK11Cert[] PeerCertificateChain(SSLFDProxy fd)
          +
          public static PK11Cert[] PeerCertificateChain​(SSLFDProxy fd)
                                                  throws java.lang.Exception
          Introspect the peer's certificate chain. @@ -1183,64 +1279,64 @@

          PeerCertificateChain

        - +
        • SendCertificateRequest

          -
          public static int SendCertificateRequest(SSLFDProxy fd)
          +
          public static int SendCertificateRequest​(SSLFDProxy fd)
          Send the TLS 1.3 Certificate Request as a server; experimental. See also: SSL_SendCertificateRequest in /usr/include/nss3/sslexp.h
        - +
        • KeyUpdate

          -
          public static int KeyUpdate(SSLFDProxy fd,
          +
          public static int KeyUpdate​(SSLFDProxy fd,
                                       boolean requestUpdate)
          Send the TLS 1.3 KeyUpdate Request; experimental. See also: SSL_KeyUpdate in /usr/include/nss3/sslexp.h
        - +
        • AttachClientCertCallback

          -
          public static int AttachClientCertCallback(SSLFDProxy fd)
          +
          public static int AttachClientCertCallback​(SSLFDProxy fd)
          Use client authentication; set client certificate from SSLFDProxy. See also: SSL_GetClientAuthDataHook in /usr/include/nss3/ssl.h, org.mozilla.jss.nss.SSLFDProxy.SetClientCert(...)
        - +
        • EnableAlertLogging

          -
          public static int EnableAlertLogging(SSLFDProxy fd)
          +
          public static int EnableAlertLogging​(SSLFDProxy fd)
          Enable recording of alerts in the SSLFDProxy object. See also: SSL_AlertReceivedCallback in /usr/include/nss3/ssl.h, SSL_AlertSentCallback in /usr/include/nss3/ssl.h
        - +
        • ConfigJSSDefaultCertAuthCallback

          -
          public static int ConfigJSSDefaultCertAuthCallback(SSLFDProxy fd)
          +
          public static int ConfigJSSDefaultCertAuthCallback​(SSLFDProxy fd)
          Use the default JSS certificate checking handler (which understands CryptoManager OCSP status). @@ -1248,13 +1344,13 @@

          ConfigJSSDefaultCertAuthCallback

          JSSL_DefaultCertAuthCallback in jss/ssl/callbacks.c
        - +
        • ConfigAsyncTrustManagerCertAuthCallback

          -
          public static int ConfigAsyncTrustManagerCertAuthCallback(SSLFDProxy fd)
          +
          public static int ConfigAsyncTrustManagerCertAuthCallback​(SSLFDProxy fd)
          Use an asynchronous certificate checking handler which allows us to invoke an arbitrary number of TrustManagers. This makes functions like SSL_ForceHandshake, PR_Read, and PR_Write return back to the caller @@ -1267,13 +1363,13 @@

          ConfigAsyncTrustManagerCertAuthCallback

          JSSL_SSLFDAsyncCertAuthCallback in jss/nss/SSLFDProxy.c
        - +
        • ConfigSyncTrustManagerCertAuthCallback

          -
          public static int ConfigSyncTrustManagerCertAuthCallback(SSLFDProxy fd)
          +
          public static int ConfigSyncTrustManagerCertAuthCallback​(SSLFDProxy fd)
          Use a synchronous certificate checking handler based off the SSLFDProxy proper. This allows us to invoke an arbitrary number of TrustManagers, but with the caveat that it needs to be synchronous and respond via the @@ -1284,13 +1380,13 @@

          ConfigSyncTrustManagerCertAuthCallback

          JSSL_SSLFDSyncCertAuthCallback in jss/nss/SSLFDProxy.c
        - +
        • ConfigAsyncBadCertCallback

          -
          public static int ConfigAsyncBadCertCallback(SSLFDProxy fd)
          +
          public static int ConfigAsyncBadCertCallback​(SSLFDProxy fd)
          Use an asynchronous bad certificate handler which allows us to approve rejected certificates. This allows us to bypass the hostname check failure caused by the Java socket having no knowledge of the hostname @@ -1303,13 +1399,13 @@

          ConfigAsyncBadCertCallback

          JSSL_SSLFDAsyncBadCertCallback in jss/nss/SSLFDProxy.c
        - +
        • ConfigSyncBadCertCallback

          -
          public static int ConfigSyncBadCertCallback(SSLFDProxy fd)
          +
          public static int ConfigSyncBadCertCallback​(SSLFDProxy fd)
          Use a synchronous bad certificate handler which allows us to approve rejected certificates. This allows us to bypass the hostname check failure caused by the Java socket having no knowledge of the hostname @@ -1320,13 +1416,13 @@

          ConfigSyncBadCertCallback

          JSSL_SSLFDSyncBadCertCallback in jss/nss/SSLFDProxy.c
        - +
        • AuthCertificateComplete

          -
          public static int AuthCertificateComplete(SSLFDProxy fd,
          +
          public static int AuthCertificateComplete​(SSLFDProxy fd,
                                                     int error)
          Inform NSS that the asynchronous certificate check handler has completed, allowing us to continue the handshake. @@ -1336,42 +1432,46 @@

          AuthCertificateComplete

          See also: SSL_AuthCertificateComplete in /usr/include/nss3/ssl.h
        - +
        • RemoveCallbacks

          -
          public static void RemoveCallbacks(SSLFDProxy fd)
          +
          public static void RemoveCallbacks​(SSLFDProxy fd)
          Removes all enabled callbacks.
        - +
        • EnableHandshakeCallback

          -
          public static int EnableHandshakeCallback(SSLFDProxy fd)
          +
          public static int EnableHandshakeCallback​(SSLFDProxy fd)
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/nss/SSLChannelInfo.html b/master/javadocs/org/mozilla/jss/nss/SSLChannelInfo.html index 53567fed6..a54ebbeca 100644 --- a/master/javadocs/org/mozilla/jss/nss/SSLChannelInfo.html +++ b/master/javadocs/org/mozilla/jss/nss/SSLChannelInfo.html @@ -1,11 +1,20 @@ - + SSLChannelInfo (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.nss
    +

    Class SSLChannelInfo

    @@ -106,7 +130,6 @@

    Class SSLChannelInfo

    +
    + diff --git a/master/javadocs/org/mozilla/jss/nss/SSLErrors.html b/master/javadocs/org/mozilla/jss/nss/SSLErrors.html index 368a3eac3..231fac917 100644 --- a/master/javadocs/org/mozilla/jss/nss/SSLErrors.html +++ b/master/javadocs/org/mozilla/jss/nss/SSLErrors.html @@ -1,11 +1,20 @@ - + SSLErrors (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.nss
    +

    Class SSLErrors

    @@ -100,7 +124,6 @@

    Class SSLErrors


    • -
      public class SSLErrors
       extends java.lang.Object
      This class provides access to useful NSS/SSL errors, getting their values @@ -114,51 +137,60 @@

      Class SSLErrors

      • +
          -
        • +
        • Field Summary

          - +
          - + + - +
          Fields 
          Modifier and TypeField and DescriptionFieldDescription
          static intBAD_CERT_DOMAIN +BAD_CERT_DOMAIN
          Certificate has a bad hostname.
        +
        +
          -
        • +
        • Constructor Summary

          - +
          - + + - + +
          Constructors 
          Constructor and DescriptionConstructorDescription
          SSLErrors() SSLErrors() 
        +
        +
          -
        • +
        • Method Summary

            -
          • +
          • Methods inherited from class java.lang.Object

            @@ -166,6 +198,7 @@

            Methods inherited from class java.lang.Object

        +
      @@ -173,12 +206,13 @@

      Methods inherited from class java.lang.Object

      • +
          -
        • +
        • Field Detail

          - +
            @@ -192,13 +226,15 @@

            BAD_CERT_DOMAIN

        +
        +
          -
        • +
        • Constructor Detail

          - +
            @@ -209,21 +245,25 @@

            SSLErrors

        +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/nss/SSLFDProxy.html b/master/javadocs/org/mozilla/jss/nss/SSLFDProxy.html index f65354261..07b3e1367 100644 --- a/master/javadocs/org/mozilla/jss/nss/SSLFDProxy.html +++ b/master/javadocs/org/mozilla/jss/nss/SSLFDProxy.html @@ -1,11 +1,20 @@ - + SSLFDProxy (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.nss
    +

    Class SSLFDProxy

    @@ -98,10 +122,10 @@

    Class SSLFDProxy

  • java.lang.Object
  • @@ -130,139 +153,164 @@

    Class SSLFDProxy

    @@ -277,39 +326,40 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - + - + - +
        • inboundAlerts

          -
          public java.util.ArrayList<SSLAlertEvent> inboundAlerts
          +
          public java.util.ArrayList<SSLAlertEvent> inboundAlerts
        - +
          @@ -318,16 +368,16 @@

          inboundOffset

          public int inboundOffset
        - +
        • outboundAlerts

          -
          public java.util.ArrayList<SSLAlertEvent> outboundAlerts
          +
          public java.util.ArrayList<SSLAlertEvent> outboundAlerts
        - +
          @@ -336,7 +386,7 @@

          outboundOffset

          public int outboundOffset
        - +
          @@ -345,7 +395,7 @@

          needCertValidation

          public boolean needCertValidation
        - +
          @@ -354,7 +404,7 @@

          needBadCertValidation

          public boolean needBadCertValidation
        - +
          @@ -363,7 +413,7 @@

          badCertError

          public int badCertError
        - +
          @@ -372,56 +422,60 @@

          handshakeComplete

          public boolean handshakeComplete
        - + - +
      +
      +
        -
      • +
      • Constructor Detail

        - +
        • SSLFDProxy

          -
          public SSLFDProxy(byte[] pointer)
          +
          public SSLFDProxy​(byte[] pointer)
      +
      +
        -
      • +
      • Method Detail

        - +
        • SetClientCert

          -
          public void SetClientCert(X509Certificate cert)
          +
          public void SetClientCert​(X509Certificate cert)
                              throws java.lang.IllegalArgumentException
          Throws:
          @@ -429,15 +483,15 @@

          SetClientCert

        - +
        • releaseNativeResources

          -
          protected void releaseNativeResources()
          +
          protected void releaseNativeResources()
                                          throws java.lang.Exception
          -
          Description copied from class: NativeProxy
          +
          Description copied from class: NativeProxy
          Release the native resources used by this proxy. Subclasses of NativeProxy must define this method to clean up data structures in C code that are referenced by this proxy. @@ -448,47 +502,51 @@

          releaseNativeResources

          If you free these resources explicitly, call clear(); instead.
          Overrides:
          -
          releaseNativeResources in class PRFDProxy
          +
          releaseNativeResources in class PRFDProxy
          Throws:
          java.lang.Exception
        - +
        • invokeCertAuthHandler

          -
          public int invokeCertAuthHandler()
          +
          public int invokeCertAuthHandler()
        - +
        • invokeBadCertHandler

          -
          public int invokeBadCertHandler(int error)
          +
          public int invokeBadCertHandler​(int error)
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/nss/SSLPreliminaryChannelInfo.html b/master/javadocs/org/mozilla/jss/nss/SSLPreliminaryChannelInfo.html index 156b0e367..af938c99f 100644 --- a/master/javadocs/org/mozilla/jss/nss/SSLPreliminaryChannelInfo.html +++ b/master/javadocs/org/mozilla/jss/nss/SSLPreliminaryChannelInfo.html @@ -1,11 +1,20 @@ - + SSLPreliminaryChannelInfo (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.nss
    +

    Class SSLPreliminaryChannelInfo

    @@ -106,7 +130,6 @@

    Class SSLPreliminaryCh

    • -
      public class SSLPreliminaryChannelInfo
       extends java.lang.Object
      Class representing the SSLPreliminaryChannelInfo struct from NSS's sslt.h. @@ -130,18 +153,20 @@

      Class SSLPreliminaryCh

      @@ -260,18 +301,19 @@

      Methods inherited from class java.lang.Object

      • +
          -
        • +
        • Constructor Detail

          - +
          • SSLPreliminaryChannelInfo

            -
            public SSLPreliminaryChannelInfo(long valuesSet,
            +
            public SSLPreliminaryChannelInfo​(long valuesSet,
                                              int protocolVersion,
                                              int cipherSuite,
                                              boolean canSendEarlyData,
            @@ -289,58 +331,60 @@ 

            SSLPreliminaryChannelInfo

        +
        +
        +

    +
    + diff --git a/master/javadocs/org/mozilla/jss/nss/SecurityStatusResult.html b/master/javadocs/org/mozilla/jss/nss/SecurityStatusResult.html index 9cacadec9..01cc5aaa7 100644 --- a/master/javadocs/org/mozilla/jss/nss/SecurityStatusResult.html +++ b/master/javadocs/org/mozilla/jss/nss/SecurityStatusResult.html @@ -1,11 +1,20 @@ - + SecurityStatusResult (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.nss
    +

    Class SecurityStatusResult

    @@ -106,7 +130,6 @@

    Class SecurityStatusResult<

    • -
      public class SecurityStatusResult
       extends java.lang.Object
      The fields in a SecurityStatusResult indicate whether a given SSL-enabled @@ -121,85 +144,101 @@

      Class SecurityStatusResult<

      @@ -214,12 +254,13 @@

      Methods inherited from class java.lang.Object

      • +
          -
        • +
        • Field Detail

          - +
            @@ -228,7 +269,7 @@

            on

            public int on
          - +
            @@ -237,7 +278,7 @@

            cipher

            public byte[] cipher
          - +
            @@ -246,7 +287,7 @@

            keySize

            public int keySize
          - +
            @@ -255,7 +296,7 @@

            secretKeySize

            public int secretKeySize
          - +
            @@ -264,7 +305,7 @@

            issuer

            public byte[] issuer
          - +
            @@ -275,19 +316,21 @@

            subject

        +
        +
          -
        • +
        • Constructor Detail

          - +
          • SecurityStatusResult

            -
            public SecurityStatusResult(int _on,
            +
            public SecurityStatusResult​(int _on,
                                         byte[] _cipher,
                                         int _keySize,
                                         int _secretKeySize,
            @@ -297,19 +340,21 @@ 

            SecurityStatusResult

        +
        +
          -
        • +
        • Method Detail

          - +
          • toString

            -
            public java.lang.String toString()
            +
            public java.lang.String toString()
            Overrides:
            toString in class java.lang.Object
            @@ -318,21 +363,25 @@

            toString

        +

    +
    + diff --git a/master/javadocs/org/mozilla/jss/nss/package-frame.html b/master/javadocs/org/mozilla/jss/nss/package-frame.html deleted file mode 100644 index d2411254c..000000000 --- a/master/javadocs/org/mozilla/jss/nss/package-frame.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - -org.mozilla.jss.nss (JSS: Java Security Services) - - - - -

    org.mozilla.jss.nss

    - - - diff --git a/master/javadocs/org/mozilla/jss/nss/package-summary.html b/master/javadocs/org/mozilla/jss/nss/package-summary.html index 3c6e95388..2a61f8b24 100644 --- a/master/javadocs/org/mozilla/jss/nss/package-summary.html +++ b/master/javadocs/org/mozilla/jss/nss/package-summary.html @@ -1,11 +1,20 @@ - + org.mozilla.jss.nss (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Package org.mozilla.jss.nss

    - - - -

    Package org.mozilla.jss Description

    -
    Configuration and top-level operations of the JSS system.
    +
    + diff --git a/master/javadocs/org/mozilla/jss/package-tree.html b/master/javadocs/org/mozilla/jss/package-tree.html index 90bec89f0..43df7c866 100644 --- a/master/javadocs/org/mozilla/jss/package-tree.html +++ b/master/javadocs/org/mozilla/jss/package-tree.html @@ -1,11 +1,20 @@ - + org.mozilla.jss Class Hierarchy (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Hierarchy For Package org.mozilla.jss

    Package Hierarchies: @@ -75,23 +99,24 @@

    Hierarchy For Package org.mozilla.jss

    +

    Class Hierarchy

    +

    Enum Hierarchy

      -
    • java.lang.Object +
    • java.lang.Object
        -
      • java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable) +
      • java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable)
    +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs10/CertificationRequest.Template.html b/master/javadocs/org/mozilla/jss/pkcs10/CertificationRequest.Template.html index bdfe55557..b601d3c66 100644 --- a/master/javadocs/org/mozilla/jss/pkcs10/CertificationRequest.Template.html +++ b/master/javadocs/org/mozilla/jss/pkcs10/CertificationRequest.Template.html @@ -1,11 +1,20 @@ - + CertificationRequest.Template (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs10
    +

    Class CertificationRequest.Template

    @@ -107,17 +131,16 @@

    Class Certificatio
  • All Implemented Interfaces:
    -
    ASN1Template
    +
    ASN1Template
    Enclosing class:
    -
    CertificationRequest
    +
    CertificationRequest

    -
    public static class CertificationRequest.Template
     extends java.lang.Object
    -implements ASN1Template
    +implements ASN1Template
  • @@ -125,57 +148,66 @@

    Class Certificatio
    • +
        -
      • +
      • Constructor Summary

        - +
        - + + - + +
        Constructors 
        Constructor and DescriptionConstructorDescription
        Template() Template() 
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - - + + - - + + - +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        ASN1Valuedecode(java.io.InputStream istream) +ASN1Valuedecode​(java.io.InputStream istream)
        Decodes an ASN1Value from the InputStream without an implicit tag.
        ASN1Valuedecode(Tag implicitTag, - java.io.InputStream istream) +ASN1Valuedecode​(Tag implicitTag, + java.io.InputStream istream)
        Decodes an ASN1Value from the InputStream with the given implicit tag.
        booleantagMatch(Tag tag) +tagMatch​(Tag tag)
        Determines whether the given tag will satisfy this template.
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -183,6 +215,7 @@

          Methods inherited from class java.lang.Object

      +
    @@ -190,12 +223,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -206,24 +240,26 @@

          Template

      +
      +
        -
      • +
      • Method Detail

        - +
        • tagMatch

          -
          public boolean tagMatch(Tag tag)
          -
          Description copied from interface: ASN1Template
          +
          public boolean tagMatch​(Tag tag)
          +
          Description copied from interface: ASN1Template
          Determines whether the given tag will satisfy this template.
          Specified by:
          -
          tagMatch in interface ASN1Template
          +
          tagMatch in interface ASN1Template
          Parameters:
          tag - Tag.
          Returns:
          @@ -231,20 +267,20 @@

          tagMatch

        - +
        • decode

          -
          public ASN1Value decode(java.io.InputStream istream)
          -                 throws InvalidBERException,
          +
          public ASN1Value decode​(java.io.InputStream istream)
          +                 throws InvalidBERException,
                                   java.io.IOException
          -
          Description copied from interface: ASN1Template
          +
          Description copied from interface: ASN1Template
          Decodes an ASN1Value from the InputStream without an implicit tag.
          Specified by:
          -
          decode in interface ASN1Template
          +
          decode in interface ASN1Template
          Parameters:
          istream - Must support marking (markSupported() == true). For example, ByteArrayInputStream and BufferedInputStream @@ -254,27 +290,27 @@

          decode

          Returns:
          ASN.1 value.
          Throws:
          -
          InvalidBERException - If there is an invalid BER encoding.
          +
          InvalidBERException - If there is an invalid BER encoding.
          java.io.IOException - If other error occurred.
        - +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs10/CertificationRequest.html b/master/javadocs/org/mozilla/jss/pkcs10/CertificationRequest.html index 2b07a48c0..2813fad8d 100644 --- a/master/javadocs/org/mozilla/jss/pkcs10/CertificationRequest.html +++ b/master/javadocs/org/mozilla/jss/pkcs10/CertificationRequest.html @@ -1,11 +1,20 @@ - + CertificationRequest (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs10
    +

    Class CertificationRequest

    @@ -107,13 +131,12 @@

    Class CertificationRequest<
  • All Implemented Interfaces:
    -
    ASN1Value
    +
    ASN1Value

    -
    public class CertificationRequest
     extends java.lang.Object
    -implements ASN1Value
    +implements ASN1Value
    A pkcs10 signed CertificationRequest.
  • @@ -122,116 +145,135 @@

    Class CertificationRequest<

    @@ -246,23 +289,24 @@

    Methods inherited from class java.lang.Object

    • +
      +
      +
        -
      • +
      • Method Detail

        - + - +
        • verify

          -
          public void verify(java.security.PublicKey key)
          +
          public void verify​(java.security.PublicKey key)
                       throws java.security.InvalidKeyException,
          -                   NotInitializedException,
          +                   NotInitializedException,
                              java.security.NoSuchAlgorithmException,
                              java.security.cert.CertificateException,
          -                   TokenException,
          +                   TokenException,
                              java.security.SignatureException
          Verifies the signature on this CertificationRequest, using the given public key. Does not indicate the CertificationRequest is valid at any specific time.
          Throws:
          java.security.InvalidKeyException
          -
          NotInitializedException
          +
          NotInitializedException
          java.security.NoSuchAlgorithmException
          java.security.cert.CertificateException
          -
          TokenException
          +
          TokenException
          java.security.SignatureException
        - +
        • verify

          -
          public void verify(java.security.PublicKey key,
          -                   CryptoToken token)
          +
          public void verify​(java.security.PublicKey key,
          +                   CryptoToken token)
                       throws java.security.NoSuchAlgorithmException,
                              java.security.cert.CertificateException,
          -                   TokenException,
          +                   TokenException,
                              java.security.SignatureException,
                              java.security.InvalidKeyException
          Verifies the signature on this CertificationRequest, using the given public @@ -376,54 +422,54 @@

          verify

          Throws:
          java.security.NoSuchAlgorithmException
          java.security.cert.CertificateException
          -
          TokenException
          +
          TokenException
          java.security.SignatureException
          java.security.InvalidKeyException
        - + - +
        • getTag

          -
          public Tag getTag()
          -
          Description copied from interface: ASN1Value
          +
          public Tag getTag()
          +
          Description copied from interface: ASN1Value
          Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
          Specified by:
          -
          getTag in interface ASN1Value
          +
          getTag in interface ASN1Value
          Returns:
          Base tag.
        - +
        • encode

          -
          public void encode(java.io.OutputStream ostream)
          +
          public void encode​(java.io.OutputStream ostream)
                       throws java.io.IOException
          -
          Description copied from interface: ASN1Value
          +
          Description copied from interface: ASN1Value
          Write this value's DER encoding to an output stream using its own base tag.
          Specified by:
          -
          encode in interface ASN1Value
          +
          encode in interface ASN1Value
          Parameters:
          ostream - Output stream.
          Throws:
          @@ -431,21 +477,21 @@

          encode

        - +
        • encode

          -
          public void encode(Tag implicitTag,
          +
          public void encode​(Tag implicitTag,
                              java.io.OutputStream ostream)
                       throws java.io.IOException
          -
          Description copied from interface: ASN1Value
          +
          Description copied from interface: ASN1Value
          Write this value's DER encoding to an output stream using an implicit tag.
          Specified by:
          -
          encode in interface ASN1Value
          +
          encode in interface ASN1Value
          Parameters:
          implicitTag - Implicit tag.
          ostream - Output stream.
          @@ -454,41 +500,45 @@

          encode

        - + - +
        • main

          -
          public static void main(java.lang.String[] argv)
          +
          public static void main​(java.lang.String[] argv)
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs10/CertificationRequestInfo.Template.html b/master/javadocs/org/mozilla/jss/pkcs10/CertificationRequestInfo.Template.html index e44b8d4cd..20f3ec588 100644 --- a/master/javadocs/org/mozilla/jss/pkcs10/CertificationRequestInfo.Template.html +++ b/master/javadocs/org/mozilla/jss/pkcs10/CertificationRequestInfo.Template.html @@ -1,11 +1,20 @@ - + CertificationRequestInfo.Template (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs10
    +

    Class CertificationRequestInfo.Template

    @@ -107,17 +131,16 @@

    Class Certific
  • All Implemented Interfaces:
    -
    ASN1Template
    +
    ASN1Template
    Enclosing class:
    -
    CertificationRequestInfo
    +
    CertificationRequestInfo

    -
    public static class CertificationRequestInfo.Template
     extends java.lang.Object
    -implements ASN1Template
    +implements ASN1Template
    Template class for decoding a CertificationRequestInfo.
  • @@ -126,57 +149,66 @@

    Class Certific
    • +
        -
      • +
      • Constructor Summary

        - +
        - + + - + +
        Constructors 
        Constructor and DescriptionConstructorDescription
        Template() Template() 
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - - + + - - + + - +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        ASN1Valuedecode(java.io.InputStream istream) +ASN1Valuedecode​(java.io.InputStream istream)
        Decodes an ASN1Value from the InputStream without an implicit tag.
        ASN1Valuedecode(Tag implicitTag, - java.io.InputStream istream) +ASN1Valuedecode​(Tag implicitTag, + java.io.InputStream istream)
        Decodes an ASN1Value from the InputStream with the given implicit tag.
        booleantagMatch(Tag tag) +tagMatch​(Tag tag)
        Determines whether the given tag will satisfy this template.
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -184,6 +216,7 @@

          Methods inherited from class java.lang.Object

      +

    @@ -191,12 +224,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -207,24 +241,26 @@

          Template

      +
      +
        -
      • +
      • Method Detail

        - +
        • tagMatch

          -
          public boolean tagMatch(Tag tag)
          -
          Description copied from interface: ASN1Template
          +
          public boolean tagMatch​(Tag tag)
          +
          Description copied from interface: ASN1Template
          Determines whether the given tag will satisfy this template.
          Specified by:
          -
          tagMatch in interface ASN1Template
          +
          tagMatch in interface ASN1Template
          Parameters:
          tag - Tag.
          Returns:
          @@ -232,20 +268,20 @@

          tagMatch

        - +
        • decode

          -
          public ASN1Value decode(java.io.InputStream istream)
          -                 throws InvalidBERException,
          +
          public ASN1Value decode​(java.io.InputStream istream)
          +                 throws InvalidBERException,
                                   java.io.IOException
          -
          Description copied from interface: ASN1Template
          +
          Description copied from interface: ASN1Template
          Decodes an ASN1Value from the InputStream without an implicit tag.
          Specified by:
          -
          decode in interface ASN1Template
          +
          decode in interface ASN1Template
          Parameters:
          istream - Must support marking (markSupported() == true). For example, ByteArrayInputStream and BufferedInputStream @@ -255,27 +291,27 @@

          decode

          Returns:
          ASN.1 value.
          Throws:
          -
          InvalidBERException - If there is an invalid BER encoding.
          +
          InvalidBERException - If there is an invalid BER encoding.
          java.io.IOException - If other error occurred.
        - +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs10/CertificationRequestInfo.html b/master/javadocs/org/mozilla/jss/pkcs10/CertificationRequestInfo.html index 3ff50b18d..2ec3ba0d9 100644 --- a/master/javadocs/org/mozilla/jss/pkcs10/CertificationRequestInfo.html +++ b/master/javadocs/org/mozilla/jss/pkcs10/CertificationRequestInfo.html @@ -1,11 +1,20 @@ - + CertificationRequestInfo (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs10
    +

    Class CertificationRequestInfo

    @@ -107,13 +131,12 @@

    Class CertificationRequ
  • All Implemented Interfaces:
    -
    ASN1Value
    +
    ASN1Value

    -
    public class CertificationRequestInfo
     extends java.lang.Object
    -implements ASN1Value
    +implements ASN1Value
    A TBSCertificationRequest (to-be-signed CertificationRequest), the actual information in a CertificationRequest apart from the signature.
    @@ -124,132 +147,156 @@

    Class CertificationRequ

  • @@ -264,155 +312,158 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • CertificationRequestInfo

          -
          public CertificationRequestInfo(INTEGER version,
          -                                Name subject,
          -                                SubjectPublicKeyInfo subjectPublicKeyInfo,
          -                                SET attributes)
          +
          public CertificationRequestInfo​(INTEGER version,
          +                                Name subject,
          +                                SubjectPublicKeyInfo subjectPublicKeyInfo,
          +                                SET attributes)
          Creates a CertificationRequestInfo with the required fields.
      +
      +
        -
      • +
      • Method Detail

        - +
        • setVersion

          -
          public void setVersion(INTEGER version)
          +
          public void setVersion​(INTEGER version)
        - +
        • getVersion

          -
          public INTEGER getVersion()
          +
          public INTEGER getVersion()
        - +
        • setSubject

          -
          public void setSubject(Name subject)
          +
          public void setSubject​(Name subject)
        - +
        • getSubject

          -
          public Name getSubject()
          +
          public Name getSubject()
        - + - +
        • setSubjectPublicKeyInfo

          -
          public void setSubjectPublicKeyInfo(java.security.PublicKey pubk)
          -                             throws InvalidBERException,
          +
          public void setSubjectPublicKeyInfo​(java.security.PublicKey pubk)
          +                             throws InvalidBERException,
                                               java.io.IOException
          Extracts the SubjectPublicKeyInfo from the given public key and stores it in the CertificationRequestInfo.
          Throws:
          -
          InvalidBERException - If an error occurs decoding the +
          InvalidBERException - If an error occurs decoding the the information extracted from the public key.
          java.io.IOException
        - + - +
        • setAttributes

          -
          public void setAttributes(SET attributes)
          +
          public void setAttributes​(SET attributes)
        - +
        • getAttributes

          -
          public SET getAttributes()
          +
          public SET getAttributes()
        - +
        • getTag

          -
          public Tag getTag()
          -
          Description copied from interface: ASN1Value
          +
          public Tag getTag()
          +
          Description copied from interface: ASN1Value
          Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
          Specified by:
          -
          getTag in interface ASN1Value
          +
          getTag in interface ASN1Value
          Returns:
          Base tag.
        - +
        • encode

          -
          public void encode(java.io.OutputStream ostream)
          +
          public void encode​(java.io.OutputStream ostream)
                       throws java.io.IOException
          -
          Description copied from interface: ASN1Value
          +
          Description copied from interface: ASN1Value
          Write this value's DER encoding to an output stream using its own base tag.
          Specified by:
          -
          encode in interface ASN1Value
          +
          encode in interface ASN1Value
          Parameters:
          ostream - Output stream.
          Throws:
          @@ -420,21 +471,21 @@

          encode

        - +
        • encode

          -
          public void encode(Tag implicitTag,
          +
          public void encode​(Tag implicitTag,
                              java.io.OutputStream ostream)
                       throws java.io.IOException
          -
          Description copied from interface: ASN1Value
          +
          Description copied from interface: ASN1Value
          Write this value's DER encoding to an output stream using an implicit tag.
          Specified by:
          -
          encode in interface ASN1Value
          +
          encode in interface ASN1Value
          Parameters:
          implicitTag - Implicit tag.
          ostream - Output stream.
          @@ -443,48 +494,52 @@

          encode

        - + - +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs10/package-frame.html b/master/javadocs/org/mozilla/jss/pkcs10/package-frame.html deleted file mode 100644 index 1e5daa1eb..000000000 --- a/master/javadocs/org/mozilla/jss/pkcs10/package-frame.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - -org.mozilla.jss.pkcs10 (JSS: Java Security Services) - - - - -

    org.mozilla.jss.pkcs10

    - - - diff --git a/master/javadocs/org/mozilla/jss/pkcs10/package-summary.html b/master/javadocs/org/mozilla/jss/pkcs10/package-summary.html index 870abe1c2..303533f39 100644 --- a/master/javadocs/org/mozilla/jss/pkcs10/package-summary.html +++ b/master/javadocs/org/mozilla/jss/pkcs10/package-summary.html @@ -1,11 +1,20 @@ - + org.mozilla.jss.pkcs10 (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Package org.mozilla.jss.pkcs10

    -
    -
    Encoding and decoding pkcs10 request
    -
    -

    See: Description

    +
    + + +
    Encoding and decoding pkcs10 request
    +
    - - - -

    Package org.mozilla.jss.pkcs10 Description

    -
    Encoding and decoding pkcs10 request
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs10/package-tree.html b/master/javadocs/org/mozilla/jss/pkcs10/package-tree.html index e85dd678e..59afe0adb 100644 --- a/master/javadocs/org/mozilla/jss/pkcs10/package-tree.html +++ b/master/javadocs/org/mozilla/jss/pkcs10/package-tree.html @@ -1,11 +1,20 @@ - + org.mozilla.jss.pkcs10 Class Hierarchy (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Hierarchy For Package org.mozilla.jss.pkcs10

    Package Hierarchies: @@ -75,28 +99,33 @@

    Hierarchy For Package org.mozilla.jss.pkcs10

    +

    Class Hierarchy

    +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/KeyType.html b/master/javadocs/org/mozilla/jss/pkcs11/KeyType.html index d9f1e6151..7601bb220 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/KeyType.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/KeyType.html @@ -1,11 +1,20 @@ - + KeyType (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11
    +

    Class KeyType

    @@ -106,7 +130,6 @@

    Class KeyType

    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/PK11Cert.StringPrincipal.html b/master/javadocs/org/mozilla/jss/pkcs11/PK11Cert.StringPrincipal.html index 749a611e3..3a9f34f29 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/PK11Cert.StringPrincipal.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/PK11Cert.StringPrincipal.html @@ -1,11 +1,20 @@ - + PK11Cert.StringPrincipal (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11
    +

    Class PK11Cert.StringPrincipal

    @@ -107,14 +131,13 @@

    Class PK11Cert.StringPr
  • All Implemented Interfaces:
    -
    java.security.Principal
    +
    java.security.Principal
    Enclosing class:
    -
    PK11Cert
    +
    PK11Cert

    -
    protected static class PK11Cert.StringPrincipal
     extends java.lang.Object
     implements java.security.Principal
    @@ -126,79 +149,93 @@

    Class PK11Cert.StringPr
    • +
        -
      • +
      • Field Summary

        - +
        - + + - + +
        Fields 
        Modifier and TypeField and DescriptionFieldDescription
        protected java.lang.Stringstr str 
      +
      +
        -
      • +
      • Constructor Summary

        - +
        - + + - + +
        Constructors 
        Constructor and DescriptionConstructorDescription
        StringPrincipal(java.lang.String str) StringPrincipal​(java.lang.String str) 
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - + + - + + - + + - + +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        booleanequals(java.lang.Object other) equals​(java.lang.Object other) 
        java.lang.StringgetName() getName() 
        inthashCode() hashCode() 
        java.lang.StringtoString() toString() 
          -
        • +
        • Methods inherited from class java.lang.Object

          clone, finalize, getClass, notify, notifyAll, wait, wait, wait
          -
        • +
        • Methods inherited from interface java.security.Principal

          @@ -206,6 +243,7 @@

          Methods inherited from interface java.security.Principal

      +

  • @@ -213,12 +251,13 @@

    Methods inherited from interface java.security.Principal

    • +
        -
      • +
      • Field Detail

        - +
          @@ -229,36 +268,40 @@

          str

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • StringPrincipal

          -
          public StringPrincipal(java.lang.String str)
          +
          public StringPrincipal​(java.lang.String str)
      +
      +
        -
      • +
      • Method Detail

        - +
        • equals

          -
          public boolean equals(java.lang.Object other)
          +
          public boolean equals​(java.lang.Object other)
          Specified by:
          equals in interface java.security.Principal
          @@ -267,26 +310,26 @@

          equals

        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Specified by:
          getName in interface java.security.Principal
        - +
        • hashCode

          -
          public int hashCode()
          +
          public int hashCode()
          Specified by:
          hashCode in interface java.security.Principal
          @@ -295,13 +338,13 @@

          hashCode

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Specified by:
          toString in interface java.security.Principal
          @@ -312,21 +355,25 @@

          toString

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/PK11Cert.html b/master/javadocs/org/mozilla/jss/pkcs11/PK11Cert.html index b7e4a34bf..539cc63ee 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/PK11Cert.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/PK11Cert.html @@ -1,11 +1,20 @@ - + PK11Cert (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11
    +

    Class PK11Cert

    @@ -117,17 +141,16 @@

    Class PK11Cert

  • All Implemented Interfaces:
    -
    java.io.Serializable, java.lang.AutoCloseable, java.security.cert.X509Extension, X509Certificate
    +
    java.io.Serializable, java.lang.AutoCloseable, java.security.cert.X509Extension, X509Certificate
    Direct Known Subclasses:
    -
    PK11InternalCert, PK11TokenCert
    +
    PK11InternalCert, PK11TokenCert

    -
    public class PK11Cert
     extends java.security.cert.X509Certificate
    -implements X509Certificate, java.lang.AutoCloseable
    +implements X509Certificate, java.lang.AutoCloseable
    See Also:
    Serialized Form
    @@ -139,26 +162,29 @@

    Class PK11Cert

  • @@ -398,12 +473,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -412,7 +488,7 @@

          logger

          public static org.slf4j.Logger logger
        - +
          @@ -421,16 +497,16 @@

          certProxy

          protected org.mozilla.jss.pkcs11.CertProxy certProxy
        - + - +
          @@ -441,23 +517,25 @@

          nickname

      +
      +
        -
      • +
      • Method Detail

        - +
        • getEncoded

          -
          public byte[] getEncoded()
          +
          public byte[] getEncoded()
                             throws java.security.cert.CertificateEncodingException
          Specified by:
          -
          getEncoded in interface X509Certificate
          +
          getEncoded in interface X509Certificate
          Specified by:
          getEncoded in class java.security.cert.Certificate
          Returns:
          @@ -467,57 +545,57 @@

          getEncoded

        - + - +
        • hashCode

          -
          public int hashCode()
          +
          public int hashCode()
          Overrides:
          hashCode in class java.security.cert.Certificate
        - +
        • equals

          -
          public boolean equals(java.lang.Object other)
          +
          public boolean equals​(java.lang.Object other)
          Overrides:
          equals in class java.security.cert.Certificate
        - +
        • getSubjectDN

          -
          public java.security.Principal getSubjectDN()
          +
          public java.security.Principal getSubjectDN()
          Specified by:
          -
          getSubjectDN in interface X509Certificate
          +
          getSubjectDN in interface X509Certificate
          Specified by:
          getSubjectDN in class java.security.cert.X509Certificate
          Returns:
          @@ -525,16 +603,16 @@

          getSubjectDN

        - +
        • getIssuerDN

          -
          public java.security.Principal getIssuerDN()
          +
          public java.security.Principal getIssuerDN()
          Specified by:
          -
          getIssuerDN in interface X509Certificate
          +
          getIssuerDN in interface X509Certificate
          Specified by:
          getIssuerDN in class java.security.cert.X509Certificate
          Returns:
          @@ -542,16 +620,16 @@

          getIssuerDN

        - +
        • getSerialNumber

          -
          public java.math.BigInteger getSerialNumber()
          +
          public java.math.BigInteger getSerialNumber()
          Specified by:
          -
          getSerialNumber in interface X509Certificate
          +
          getSerialNumber in interface X509Certificate
          Specified by:
          getSerialNumber in class java.security.cert.X509Certificate
          Returns:
          @@ -559,43 +637,43 @@

          getSerialNumber

        - +
        • getSerialNumberByteArray

          -
          protected byte[] getSerialNumberByteArray()
          +
          protected byte[] getSerialNumberByteArray()
        - +
        • getSubjectDNString

          -
          protected java.lang.String getSubjectDNString()
          +
          protected java.lang.String getSubjectDNString()
        - +
        • getIssuerDNString

          -
          protected java.lang.String getIssuerDNString()
          +
          protected java.lang.String getIssuerDNString()
        - +
        • getPublicKey

          -
          public java.security.PublicKey getPublicKey()
          +
          public java.security.PublicKey getPublicKey()
          Specified by:
          -
          getPublicKey in interface X509Certificate
          +
          getPublicKey in interface X509Certificate
          Specified by:
          getPublicKey in class java.security.cert.Certificate
          Returns:
          @@ -603,16 +681,16 @@

          getPublicKey

        - +
        • getVersion

          -
          public int getVersion()
          +
          public int getVersion()
          Specified by:
          -
          getVersion in interface X509Certificate
          +
          getVersion in interface X509Certificate
          Specified by:
          getVersion in class java.security.cert.X509Certificate
          Returns:
          @@ -621,117 +699,117 @@

          getVersion

        - +
        • getBasicConstraints

          -
          public int getBasicConstraints()
          +
          public int getBasicConstraints()
          Specified by:
          getBasicConstraints in class java.security.cert.X509Certificate
        - +
        • getKeyUsage

          -
          public boolean[] getKeyUsage()
          +
          public boolean[] getKeyUsage()
          Specified by:
          getKeyUsage in class java.security.cert.X509Certificate
        - +
        • getSubjectUniqueID

          -
          public boolean[] getSubjectUniqueID()
          +
          public boolean[] getSubjectUniqueID()
          Specified by:
          getSubjectUniqueID in class java.security.cert.X509Certificate
        - +
        • getIssuerUniqueID

          -
          public boolean[] getIssuerUniqueID()
          +
          public boolean[] getIssuerUniqueID()
          Specified by:
          getIssuerUniqueID in class java.security.cert.X509Certificate
        - +
        • getSigAlgParams

          -
          public byte[] getSigAlgParams()
          +
          public byte[] getSigAlgParams()
          Specified by:
          getSigAlgParams in class java.security.cert.X509Certificate
        - +
        • getSigAlgName

          -
          public java.lang.String getSigAlgName()
          +
          public java.lang.String getSigAlgName()
          Specified by:
          getSigAlgName in class java.security.cert.X509Certificate
        - +
        • getSigAlgOID

          -
          public java.lang.String getSigAlgOID()
          +
          public java.lang.String getSigAlgOID()
          Specified by:
          getSigAlgOID in class java.security.cert.X509Certificate
        - +
        • getSignature

          -
          public byte[] getSignature()
          +
          public byte[] getSignature()
          Specified by:
          getSignature in class java.security.cert.X509Certificate
        - +
        • getTBSCertificate

          -
          public byte[] getTBSCertificate()
          +
          public byte[] getTBSCertificate()
                                    throws java.security.cert.CertificateEncodingException
          Specified by:
          @@ -741,39 +819,39 @@

          getTBSCertificate

        - +
        • getNotAfter

          -
          public java.util.Date getNotAfter()
          +
          public java.util.Date getNotAfter()
          Specified by:
          getNotAfter in class java.security.cert.X509Certificate
        - +
        • getNotBefore

          -
          public java.util.Date getNotBefore()
          +
          public java.util.Date getNotBefore()
          Specified by:
          getNotBefore in class java.security.cert.X509Certificate
        - +
        • checkValidity

          -
          public void checkValidity()
          +
          public void checkValidity()
                              throws java.security.cert.CertificateExpiredException,
                                     java.security.cert.CertificateNotYetValidException
          @@ -785,13 +863,13 @@

          checkValidity

        - +
        • checkValidity

          -
          public void checkValidity(java.util.Date date)
          +
          public void checkValidity​(java.util.Date date)
                              throws java.security.cert.CertificateExpiredException,
                                     java.security.cert.CertificateNotYetValidException
          @@ -803,26 +881,26 @@

          checkValidity

        - +
        • toString

          -
          public java.lang.String toString()
          +
          public java.lang.String toString()
          Specified by:
          toString in class java.security.cert.Certificate
        - +
        • verify

          -
          public void verify(java.security.PublicKey key)
          +
          public void verify​(java.security.PublicKey key)
                       throws java.security.cert.CertificateException,
                              java.security.NoSuchAlgorithmException,
                              java.security.InvalidKeyException,
          @@ -840,13 +918,13 @@ 

          verify

        - +
        • verify

          -
          public void verify(java.security.PublicKey key,
          +
          public void verify​(java.security.PublicKey key,
                              java.lang.String sigProvider)
                       throws java.security.cert.CertificateException,
                              java.security.NoSuchAlgorithmException,
          @@ -865,65 +943,65 @@ 

          verify

        - +
        • getExtensionValue

          -
          public byte[] getExtensionValue(java.lang.String oid)
          +
          public byte[] getExtensionValue​(java.lang.String oid)
          Specified by:
          getExtensionValue in interface java.security.cert.X509Extension
        - +
        • getCriticalExtensionOIDs

          -
          public java.util.Set<java.lang.String> getCriticalExtensionOIDs()
          +
          public java.util.Set<java.lang.String> getCriticalExtensionOIDs()
          Specified by:
          getCriticalExtensionOIDs in interface java.security.cert.X509Extension
        - +
        • getNonCriticalExtensionOIDs

          -
          public java.util.Set<java.lang.String> getNonCriticalExtensionOIDs()
          +
          public java.util.Set<java.lang.String> getNonCriticalExtensionOIDs()
          Specified by:
          getNonCriticalExtensionOIDs in interface java.security.cert.X509Extension
        - +
        • hasUnsupportedCriticalExtension

          -
          public boolean hasUnsupportedCriticalExtension()
          +
          public boolean hasUnsupportedCriticalExtension()
          Specified by:
          hasUnsupportedCriticalExtension in interface java.security.cert.X509Extension
        - +
        • finalize

          -
          public void finalize()
          +
          public void finalize()
                         throws java.lang.Throwable
          Overrides:
          @@ -933,13 +1011,13 @@

          finalize

        - +
        • close

          -
          public void close()
          +
          public void close()
                      throws java.lang.Exception
          Specified by:
          @@ -949,31 +1027,31 @@

          close

        - +
        • getUniqueID

          -
          protected byte[] getUniqueID()
          +
          protected byte[] getUniqueID()
        - + - +
        • setTrust

          -
          protected void setTrust(int type,
          +
          protected void setTrust​(int type,
                                   int trust)
          Sets the trust flags for this cert.
          @@ -983,13 +1061,13 @@

          setTrust

        - +
        • getTrust

          -
          protected int getTrust(int type)
          +
          protected int getTrust​(int type)
          Gets the trust flags for this cert.
          Parameters:
          @@ -1001,21 +1079,25 @@

          getTrust

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/PK11Cipher.html b/master/javadocs/org/mozilla/jss/pkcs11/PK11Cipher.html index c04cbea22..2c42ca55d 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/PK11Cipher.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/PK11Cipher.html @@ -1,11 +1,20 @@ - + PK11Cipher (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11
    +

    Class PK11Cipher

    @@ -98,7 +122,7 @@

    Class PK11Cipher

  • java.lang.Object
    • -
    • org.mozilla.jss.crypto.Cipher
    • +
    • org.mozilla.jss.crypto.Cipher
      • org.mozilla.jss.pkcs11.PK11Cipher
      • @@ -112,12 +136,11 @@

        Class PK11Cipher

      • All Implemented Interfaces:
        -
        java.lang.AutoCloseable
        +
        java.lang.AutoCloseable

        -
        public final class PK11Cipher
        -extends Cipher
        +extends Cipher
         implements java.lang.AutoCloseable
      @@ -126,103 +149,116 @@

      Class PK11Cipher

      • +
          -
        • +
        • Method Summary

          - +
          - + + - + + - + - + - + - + + - + - + - + - + - + - +
          All Methods Instance Methods Concrete Methods Deprecated Methods 
          Modifier and TypeMethod and DescriptionMethodDescription
          voidclose() close() 
          byte[]doFinal() -
          Deprecated.  -
          isPadded() in EncryptionAlgorithm has been deprecated
          +
          doFinal() +
          Deprecated. +
          isPadded() in EncryptionAlgorithm has been deprecated
          byte[]doFinal(byte[] bytes) -
          Deprecated.  -
          isPadded() in EncryptionAlgorithm has been deprecated
          +
          doFinal​(byte[] bytes) +
          Deprecated. +
          isPadded() in EncryptionAlgorithm has been deprecated
          byte[]doFinal(byte[] bytes, +doFinal​(byte[] bytes, int offset, - int length) + int length)
          Completes an cipher operation.
          voidfinalize() finalize() 
          voidinitDecrypt(SymmetricKey key) +initDecrypt​(SymmetricKey key)
          Initializes a decryption context with a symmetric key.
          voidinitDecrypt(SymmetricKey key, - java.security.spec.AlgorithmParameterSpec parameters) -
          Deprecated.  -
          isPadded() in EncryptionAlgorithm has been deprecated
          +
          initDecrypt​(SymmetricKey key, + java.security.spec.AlgorithmParameterSpec parameters) +
          Deprecated. +
          isPadded() in EncryptionAlgorithm has been deprecated
          voidinitEncrypt(SymmetricKey key) +initEncrypt​(SymmetricKey key)
          Initializes a encryption context with a symmetric key.
          voidinitEncrypt(SymmetricKey key, - java.security.spec.AlgorithmParameterSpec parameters) -
          Deprecated.  -
          isPadded() in EncryptionAlgorithm has been deprecated
          +
          initEncrypt​(SymmetricKey key, + java.security.spec.AlgorithmParameterSpec parameters) +
          Deprecated. +
          isPadded() in EncryptionAlgorithm has been deprecated
          byte[]update(byte[] bytes) +update​(byte[] bytes)
          Updates the encryption context with additional input.
          byte[]update(byte[] bytes, +update​(byte[] bytes, int offset, - int length) + int length)
          Updates the encryption context with additional plaintext.
            -
          • +
          • Methods inherited from class java.lang.Object

            @@ -230,6 +266,7 @@

            Methods inherited from class java.lang.Object

        +
  • @@ -237,121 +274,126 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Method Detail

        - + - + - +
        • initEncrypt

          -
          @Deprecated
          -public void initEncrypt(SymmetricKey key,
          -                                    java.security.spec.AlgorithmParameterSpec parameters)
          -                             throws java.security.InvalidKeyException,
          -                                    java.security.InvalidAlgorithmParameterException,
          -                                    TokenException
          -
          Deprecated. isPadded() in EncryptionAlgorithm has been deprecated
          -
          Description copied from class: Cipher
          +
          @Deprecated
          +public void initEncrypt​(SymmetricKey key,
          +                        java.security.spec.AlgorithmParameterSpec parameters)
          +                 throws java.security.InvalidKeyException,
          +                        java.security.InvalidAlgorithmParameterException,
          +                        TokenException
          +
          Deprecated. +
          isPadded() in EncryptionAlgorithm has been deprecated
          +
          +
          Description copied from class: Cipher
          Initializes an encryption context with a symmetric key and algorithm parameters.
          Specified by:
          -
          initEncrypt in class Cipher
          +
          initEncrypt in class Cipher
          Throws:
          java.security.InvalidKeyException
          java.security.InvalidAlgorithmParameterException
          -
          TokenException
          +
          TokenException
        - +
        • initDecrypt

          -
          @Deprecated
          -public void initDecrypt(SymmetricKey key,
          -                                    java.security.spec.AlgorithmParameterSpec parameters)
          -                             throws java.security.InvalidKeyException,
          -                                    java.security.InvalidAlgorithmParameterException,
          -                                    TokenException
          -
          Deprecated. isPadded() in EncryptionAlgorithm has been deprecated
          -
          Description copied from class: Cipher
          +
          @Deprecated
          +public void initDecrypt​(SymmetricKey key,
          +                        java.security.spec.AlgorithmParameterSpec parameters)
          +                 throws java.security.InvalidKeyException,
          +                        java.security.InvalidAlgorithmParameterException,
          +                        TokenException
          +
          Deprecated. +
          isPadded() in EncryptionAlgorithm has been deprecated
          +
          +
          Description copied from class: Cipher
          Initializes a decryption context with a symmetric key and algorithm parameters.
          Specified by:
          -
          initDecrypt in class Cipher
          +
          initDecrypt in class Cipher
          Throws:
          java.security.InvalidKeyException
          java.security.InvalidAlgorithmParameterException
          -
          TokenException
          +
          TokenException
        - +
        • update

          -
          public byte[] update(byte[] bytes)
          +
          public byte[] update​(byte[] bytes)
                         throws java.lang.IllegalStateException,
          -                     TokenException
          -
          Description copied from class: Cipher
          + TokenException
          +
          Description copied from class: Cipher
          Updates the encryption context with additional input.
          Specified by:
          -
          update in class Cipher
          +
          update in class Cipher
          Parameters:
          bytes - Bytes of plaintext (if encrypting) or ciphertext (if decrypting).
          @@ -359,26 +401,26 @@

          update

          Bytes of ciphertext (if encrypting) or plaintext (if decrypting).
          Throws:
          java.lang.IllegalStateException
          -
          TokenException
          +
          TokenException
        - +
        • update

          -
          public byte[] update(byte[] bytes,
          +
          public byte[] update​(byte[] bytes,
                                int offset,
                                int length)
                         throws java.lang.IllegalStateException,
          -                     TokenException
          -
          Description copied from class: Cipher
          + TokenException
          +
          Description copied from class: Cipher
          Updates the encryption context with additional plaintext.
          Specified by:
          -
          update in class Cipher
          +
          update in class Cipher
          Parameters:
          bytes - Bytes of plaintext (if encrypting) or ciphertext (if decrypting).
          @@ -388,30 +430,32 @@

          update

          Bytes of ciphertext (if encrypting) or plaintext (if decrypting).
          Throws:
          java.lang.IllegalStateException
          -
          TokenException
          +
          TokenException
        - +
        • doFinal

          -
          @Deprecated
          -public byte[] doFinal(byte[] bytes)
          -                           throws java.lang.IllegalStateException,
          -                                  IllegalBlockSizeException,
          -                                  javax.crypto.BadPaddingException,
          -                                  TokenException
          -
          Deprecated. isPadded() in EncryptionAlgorithm has been deprecated
          -
          Description copied from class: Cipher
          +
          @Deprecated
          +public byte[] doFinal​(byte[] bytes)
          +               throws java.lang.IllegalStateException,
          +                      IllegalBlockSizeException,
          +                      javax.crypto.BadPaddingException,
          +                      TokenException
          +
          Deprecated. +
          isPadded() in EncryptionAlgorithm has been deprecated
          +
          +
          Description copied from class: Cipher
          Completes an cipher operation. This can be called directly after the context is initialized, or update may be called any number of times before calling final.
          Specified by:
          -
          doFinal in class Cipher
          +
          doFinal in class Cipher
          Parameters:
          bytes - Bytes of plaintext (if encrypting) or ciphertext (if decrypting).
          @@ -419,30 +463,30 @@

          doFinal

          The last of the output.
          Throws:
          java.lang.IllegalStateException
          -
          IllegalBlockSizeException
          +
          IllegalBlockSizeException
          javax.crypto.BadPaddingException
          -
          TokenException
          +
          TokenException
        - + - + - +
        • finalize

          -
          public void finalize()
          +
          public void finalize()
                         throws java.lang.Throwable
          Overrides:
          @@ -502,13 +548,13 @@

          finalize

        - +
        • close

          -
          public void close()
          +
          public void close()
                      throws java.lang.Exception
          Specified by:
          @@ -520,21 +566,25 @@

          close

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/PK11DSAPrivateKey.html b/master/javadocs/org/mozilla/jss/pkcs11/PK11DSAPrivateKey.html index 5827fd5be..2e0f89797 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/PK11DSAPrivateKey.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/PK11DSAPrivateKey.html @@ -1,11 +1,20 @@ - + PK11DSAPrivateKey (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11
    +

    Class PK11DSAPrivateKey

    @@ -98,7 +122,7 @@

    Class PK11DSAPrivateKey

  • java.lang.Object
  • @@ -277,12 +320,13 @@

    Methods inherited from interface javax.security.auth.Destroyable

    • +
        -
      • +
      • Field Detail

        - +
          @@ -293,51 +337,57 @@

          keyProxy

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • PK11DSAPrivateKey

          -
          protected PK11DSAPrivateKey(byte[] pointer)
          +
          protected PK11DSAPrivateKey​(byte[] pointer)
      +
      +
        -
      • +
      • Method Detail

        - + - +
        • getParams

          -
          public java.security.interfaces.DSAParams getParams()
          +
          public java.security.interfaces.DSAParams getParams()
          If this fails, we just return null, since no exceptions are allowed.
          Specified by:
          @@ -345,13 +395,13 @@

          getParams

        - +
        • getX

          -
          public java.math.BigInteger getX()
          +
          public java.math.BigInteger getX()
          Not implemented. NSS doesn't support extracting private key material like this.
          @@ -360,13 +410,13 @@

          getX

        - +
        • getEncoded

          -
          public byte[] getEncoded()
          +
          public byte[] getEncoded()
          Subclasses that support encoding can overload this method.
          Specified by:
          @@ -374,13 +424,13 @@

          getEncoded

        - +
        • getFormat

          -
          public java.lang.String getFormat()
          +
          public java.lang.String getFormat()
          Subclasses that support encoding can overload this method.
          Specified by:
          @@ -388,13 +438,13 @@

          getFormat

        - +
        • finalize

          -
          public void finalize()
          +
          public void finalize()
                         throws java.lang.Throwable
          Overrides:
          @@ -404,13 +454,13 @@

          finalize

        - +
        • close

          -
          public void close()
          +
          public void close()
                      throws java.lang.Exception
          Specified by:
          @@ -422,21 +472,25 @@

          close

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/PK11DSAPublicKey.html b/master/javadocs/org/mozilla/jss/pkcs11/PK11DSAPublicKey.html index 723833972..8201e3830 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/PK11DSAPublicKey.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/PK11DSAPublicKey.html @@ -1,11 +1,20 @@ - + PK11DSAPublicKey (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11
    +

    Class PK11DSAPublicKey

    @@ -98,7 +122,7 @@

    Class PK11DSAPublicKey

  • java.lang.Object
  • @@ -224,12 +262,13 @@

    Methods inherited from interface java.security.Key

    • +
        -
      • +
      • Field Detail

        - +
          @@ -240,62 +279,66 @@

          keyProxy

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • PK11DSAPublicKey

          -
          public PK11DSAPublicKey(byte[] pointer)
          +
          public PK11DSAPublicKey​(byte[] pointer)
      +
      +
        -
      • +
      • Method Detail

        - +
        • getParams

          -
          public java.security.interfaces.DSAParams getParams()
          +
          public java.security.interfaces.DSAParams getParams()
          Specified by:
          getParams in interface java.security.interfaces.DSAKey
        - +
        • getY

          -
          public java.math.BigInteger getY()
          +
          public java.math.BigInteger getY()
          Specified by:
          getY in interface java.security.interfaces.DSAPublicKey
        - +
        • finalize

          -
          public void finalize()
          +
          public void finalize()
                         throws java.lang.Throwable
          Overrides:
          @@ -305,13 +348,13 @@

          finalize

        - +
        • close

          -
          public void close()
          +
          public void close()
                      throws java.lang.Exception
          Specified by:
          @@ -323,21 +366,25 @@

          close

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/PK11ECPrivateKey.html b/master/javadocs/org/mozilla/jss/pkcs11/PK11ECPrivateKey.html index 7fafa3d26..eafb8980d 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/PK11ECPrivateKey.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/PK11ECPrivateKey.html @@ -1,11 +1,20 @@ - + PK11ECPrivateKey (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11
    +

    Class PK11ECPrivateKey

    @@ -98,7 +122,7 @@

    Class PK11ECPrivateKey

  • java.lang.Object
  • @@ -275,12 +318,13 @@

    Methods inherited from interface javax.security.auth.Destroyable

    • +
        -
      • +
      • Field Detail

        - +
          @@ -291,64 +335,70 @@

          keyProxy

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • PK11ECPrivateKey

          -
          protected PK11ECPrivateKey(byte[] pointer)
          +
          protected PK11ECPrivateKey​(byte[] pointer)
      +
      +
        -
      • +
      • Method Detail

        - + - +
        • getParams

          -
          public java.security.spec.ECParameterSpec getParams()
          +
          public java.security.spec.ECParameterSpec getParams()
          Specified by:
          getParams in interface java.security.interfaces.ECKey
        - +
        • getS

          -
          public java.math.BigInteger getS()
          +
          public java.math.BigInteger getS()
          Not implemented. NSS doesn't support extracting private key material like this.
          @@ -357,13 +407,13 @@

          getS

        - +
        • getEncoded

          -
          public byte[] getEncoded()
          +
          public byte[] getEncoded()
          Subclasses that support encoding can overload this method.
          Specified by:
          @@ -371,13 +421,13 @@

          getEncoded

        - +
        • getFormat

          -
          public java.lang.String getFormat()
          +
          public java.lang.String getFormat()
          Subclasses that support encoding can overload this method.
          Specified by:
          @@ -385,13 +435,13 @@

          getFormat

        - +
        • finalize

          -
          public void finalize()
          +
          public void finalize()
                         throws java.lang.Throwable
          Overrides:
          @@ -401,13 +451,13 @@

          finalize

        - +
        • close

          -
          public void close()
          +
          public void close()
                      throws java.lang.Exception
          Specified by:
          @@ -419,21 +469,25 @@

          close

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/PK11ECPublicKey.html b/master/javadocs/org/mozilla/jss/pkcs11/PK11ECPublicKey.html index faaff0d9b..a25814b91 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/PK11ECPublicKey.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/PK11ECPublicKey.html @@ -1,11 +1,20 @@ - + PK11ECPublicKey (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11
    +

    Class PK11ECPublicKey

    @@ -98,7 +122,7 @@

    Class PK11ECPublicKey

  • java.lang.Object
  • @@ -232,12 +272,13 @@

    Methods inherited from interface java.security.Key

    • +
        -
      • +
      • Field Detail

        - +
          @@ -248,80 +289,84 @@

          keyProxy

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • PK11ECPublicKey

          -
          public PK11ECPublicKey(byte[] pointer)
          +
          public PK11ECPublicKey​(byte[] pointer)
      +
      +
        -
      • +
      • Method Detail

        - +
        • getParams

          -
          public java.security.spec.ECParameterSpec getParams()
          +
          public java.security.spec.ECParameterSpec getParams()
          Specified by:
          getParams in interface java.security.interfaces.ECKey
        - +
        • getCurveBA

          -
          public byte[] getCurveBA()
          +
          public byte[] getCurveBA()
        - +
        • getW

          -
          public java.security.spec.ECPoint getW()
          +
          public java.security.spec.ECPoint getW()
          Specified by:
          getW in interface java.security.interfaces.ECPublicKey
        - +
        • getWByteArray

          -
          public byte[] getWByteArray()
          +
          public byte[] getWByteArray()
        - +
        • finalize

          -
          public void finalize()
          +
          public void finalize()
                         throws java.lang.Throwable
          Overrides:
          @@ -331,13 +376,13 @@

          finalize

        - +
        • close

          -
          public void close()
          +
          public void close()
                      throws java.lang.Exception
          Specified by:
          @@ -349,21 +394,25 @@

          close

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/PK11Exception.html b/master/javadocs/org/mozilla/jss/pkcs11/PK11Exception.html index 10c27acaa..f6712a07a 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/PK11Exception.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/PK11Exception.html @@ -1,11 +1,20 @@ - + PK11Exception (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11
    +

    Class PK11Exception

    @@ -116,10 +140,9 @@

    Class PK11Exception

  • All Implemented Interfaces:
    -
    java.io.Serializable
    +
    java.io.Serializable

    -
    public class PK11Exception
     extends java.lang.RuntimeException
    This is a generic PKCS #11 exception.
    @@ -134,53 +157,62 @@

    Class PK11Exception

    • +
        -
      • +
      • Constructor Summary

        - +
        - + + - + + - + + - + + - + - + +
        Constructors 
        Constructor and DescriptionConstructorDescription
        PK11Exception() PK11Exception() 
        PK11Exception(java.lang.String mesg) PK11Exception​(java.lang.String mesg) 
        PK11Exception(java.lang.String mesg, - java.lang.Throwable cause) PK11Exception​(java.lang.String mesg, + java.lang.Throwable cause) 
        PK11Exception(java.lang.String mesg, +PK11Exception​(java.lang.String mesg, java.lang.Throwable cause, boolean enableSuppression, - boolean writableStackTrace)  + boolean writableStackTrace) 
        PK11Exception(java.lang.Throwable cause) PK11Exception​(java.lang.Throwable cause) 
      +
      +
        -
      • +
      • Method Summary

          -
        • +
        • Methods inherited from class java.lang.Throwable

          addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -188,6 +220,7 @@

          Methods inherited from class java.lang.Object

      +
  • @@ -195,12 +228,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -209,41 +243,41 @@

          PK11Exception

          public PK11Exception()
        - +
        • PK11Exception

          -
          public PK11Exception(java.lang.String mesg)
          +
          public PK11Exception​(java.lang.String mesg)
        - +
        • PK11Exception

          -
          public PK11Exception(java.lang.Throwable cause)
          +
          public PK11Exception​(java.lang.Throwable cause)
        - +
        • PK11Exception

          -
          public PK11Exception(java.lang.String mesg,
          +
          public PK11Exception​(java.lang.String mesg,
                                java.lang.Throwable cause)
        - +
        • PK11Exception

          -
          public PK11Exception(java.lang.String mesg,
          +
          public PK11Exception​(java.lang.String mesg,
                                java.lang.Throwable cause,
                                boolean enableSuppression,
                                boolean writableStackTrace)
          @@ -251,21 +285,25 @@

          PK11Exception

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/PK11InternalCert.html b/master/javadocs/org/mozilla/jss/pkcs11/PK11InternalCert.html index 25208ae88..008f7b634 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/PK11InternalCert.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/PK11InternalCert.html @@ -1,11 +1,20 @@ - + PK11InternalCert (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11
    +

    Class PK11InternalCert

    @@ -104,7 +128,7 @@

    Class PK11InternalCert

  • java.security.cert.X509Certificate
  • @@ -300,12 +340,13 @@

    Methods inherited from interface org.mozilla.jss.crypto.
  • +
      -
    • +
    • Field Detail

      - +
        @@ -318,7 +359,7 @@

        SSL

      - +
        @@ -331,7 +372,7 @@

        EMAIL

      - +
        @@ -346,108 +387,110 @@

        OBJECT_SIGNING

    +
    +
      -
    • +
    • Method Detail

      - +
      • setSSLTrust

        -
        public void setSSLTrust(int trust)
        +
        public void setSSLTrust​(int trust)
        Set the SSL trust flags for this certificate.
        Specified by:
        -
        setSSLTrust in interface InternalCertificate
        +
        setSSLTrust in interface InternalCertificate
        Parameters:
        trust - A bitwise OR of the trust flags VALID_PEER, VALID_CA, TRUSTED_CA, USER, and TRUSTED_CLIENT_CA.
      - +
      • setEmailTrust

        -
        public void setEmailTrust(int trust)
        +
        public void setEmailTrust​(int trust)
        Set the email (S/MIME) trust flags for this certificate.
        Specified by:
        -
        setEmailTrust in interface InternalCertificate
        +
        setEmailTrust in interface InternalCertificate
        Parameters:
        trust - A bitwise OR of the trust flags VALID_PEER, VALID_CA, TRUSTED_CA, USER, and TRUSTED_CLIENT_CA.
      - +
      • setObjectSigningTrust

        -
        public void setObjectSigningTrust(int trust)
        +
        public void setObjectSigningTrust​(int trust)
        Set the object signing trust flags for this certificate.
        Specified by:
        -
        setObjectSigningTrust in interface InternalCertificate
        +
        setObjectSigningTrust in interface InternalCertificate
        Parameters:
        trust - A bitwise OR of the trust flags VALID_PEER, VALID_CA, TRUSTED_CA, USER, and TRUSTED_CLIENT_CA.
      - +
      • getSSLTrust

        -
        public int getSSLTrust()
        +
        public int getSSLTrust()
        Get the SSL trust flags for this certificate.
        Specified by:
        -
        getSSLTrust in interface InternalCertificate
        +
        getSSLTrust in interface InternalCertificate
        Returns:
        A bitwise OR of the trust flags VALID_PEER, VALID_CA, TRUSTED_CA, USER, and TRUSTED_CLIENT_CA.
      - +
      • getEmailTrust

        -
        public int getEmailTrust()
        +
        public int getEmailTrust()
        Get the email (S/MIME) trust flags for this certificate.
        Specified by:
        -
        getEmailTrust in interface InternalCertificate
        +
        getEmailTrust in interface InternalCertificate
        Returns:
        A bitwise OR of the trust flags VALID_PEER, VALID_CA, TRUSTED_CA, USER, and TRUSTED_CLIENT_CA.
      - +
      • getObjectSigningTrust

        -
        public int getObjectSigningTrust()
        +
        public int getObjectSigningTrust()
        Get the object signing trust flags for this certificate.
        Specified by:
        -
        getObjectSigningTrust in interface InternalCertificate
        +
        getObjectSigningTrust in interface InternalCertificate
        Returns:
        A bitwise OR of the trust flags VALID_PEER, VALID_CA, TRUSTED_CA, USER, and TRUSTED_CLIENT_CA.
        @@ -456,21 +499,25 @@

        getObjectSigningTrust

    +
  • +

    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/PK11InternalTokenCert.html b/master/javadocs/org/mozilla/jss/pkcs11/PK11InternalTokenCert.html index 310d78e1b..3478be560 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/PK11InternalTokenCert.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/PK11InternalTokenCert.html @@ -1,11 +1,20 @@ - + PK11InternalTokenCert (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11
    +

    Class PK11InternalTokenCert

    @@ -104,10 +128,10 @@

    Class PK11InternalTokenCer
  • java.security.cert.X509Certificate
  • @@ -273,67 +305,72 @@

    Methods inherited from interface org.mozilla.jss.crypto.
  • +
    +
  • +

    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/PK11KeyGenerator.html b/master/javadocs/org/mozilla/jss/pkcs11/PK11KeyGenerator.html index 74013f725..1f61f59eb 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/PK11KeyGenerator.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/PK11KeyGenerator.html @@ -1,11 +1,20 @@ - + PK11KeyGenerator (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11
    +

    Class PK11KeyGenerator

    @@ -107,13 +131,12 @@

    Class PK11KeyGenerator

  • All Implemented Interfaces:
    -
    KeyGenerator
    +
    KeyGenerator

    -
    public final class PK11KeyGenerator
     extends java.lang.Object
    -implements KeyGenerator
    +implements KeyGenerator
  • @@ -121,90 +144,104 @@

    Class PK11KeyGenerator

    @@ -219,39 +257,40 @@

    Methods inherited from class java.lang.Object

    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/PK11KeyPairGenerator.html b/master/javadocs/org/mozilla/jss/pkcs11/PK11KeyPairGenerator.html index 226520a95..507961381 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/PK11KeyPairGenerator.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/PK11KeyPairGenerator.html @@ -1,11 +1,20 @@ - + PK11KeyPairGenerator (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11
    +

    Class PK11KeyPairGenerator

    @@ -98,7 +122,7 @@

    Class PK11KeyPairGenerator<
  • java.lang.Object
  • @@ -278,12 +326,13 @@

    Methods inherited from class java.lang.Object

    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/PK11KeyWrapper.html b/master/javadocs/org/mozilla/jss/pkcs11/PK11KeyWrapper.html index 69729d63b..6597648a0 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/PK11KeyWrapper.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/PK11KeyWrapper.html @@ -1,11 +1,20 @@ - + PK11KeyWrapper (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11
    +

    Class PK11KeyWrapper

    @@ -107,13 +131,12 @@

    Class PK11KeyWrapper

  • All Implemented Interfaces:
    -
    KeyWrapper
    +
    KeyWrapper

    -
    public final class PK11KeyWrapper
     extends java.lang.Object
    -implements KeyWrapper
    +implements KeyWrapper
  • @@ -121,106 +144,122 @@

    Class PK11KeyWrapper

    @@ -235,177 +275,178 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Method Detail

        - +
        • initWrap

          -
          public void initWrap(SymmetricKey wrappingKey,
          +
          public void initWrap​(SymmetricKey wrappingKey,
                                java.security.spec.AlgorithmParameterSpec parameters)
                         throws java.security.InvalidKeyException,
                                java.security.InvalidAlgorithmParameterException
          Specified by:
          -
          initWrap in interface KeyWrapper
          +
          initWrap in interface KeyWrapper
          Throws:
          java.security.InvalidKeyException
          java.security.InvalidAlgorithmParameterException
        - +
        • initWrap

          -
          public void initWrap(java.security.PublicKey wrappingKey,
          +
          public void initWrap​(java.security.PublicKey wrappingKey,
                                java.security.spec.AlgorithmParameterSpec parameters)
                         throws java.security.InvalidKeyException,
                                java.security.InvalidAlgorithmParameterException
          Specified by:
          -
          initWrap in interface KeyWrapper
          +
          initWrap in interface KeyWrapper
          Throws:
          java.security.InvalidKeyException
          java.security.InvalidAlgorithmParameterException
        - +
        • initWrap

          -
          public void initWrap()
          +
          public void initWrap()
                         throws java.security.InvalidKeyException,
                                java.security.InvalidAlgorithmParameterException
          -
          Description copied from interface: KeyWrapper
          +
          Description copied from interface: KeyWrapper
          For wrapping keys in plaintext.
          Specified by:
          -
          initWrap in interface KeyWrapper
          +
          initWrap in interface KeyWrapper
          Throws:
          java.security.InvalidKeyException
          java.security.InvalidAlgorithmParameterException
        - +
        • initUnwrap

          -
          public void initUnwrap(PrivateKey unwrappingKey,
          +
          public void initUnwrap​(PrivateKey unwrappingKey,
                                  java.security.spec.AlgorithmParameterSpec parameters)
                           throws java.security.InvalidKeyException,
                                  java.security.InvalidAlgorithmParameterException
          Specified by:
          -
          initUnwrap in interface KeyWrapper
          +
          initUnwrap in interface KeyWrapper
          Throws:
          java.security.InvalidKeyException
          java.security.InvalidAlgorithmParameterException
        - +
        • initUnwrap

          -
          public void initUnwrap(SymmetricKey unwrappingKey,
          +
          public void initUnwrap​(SymmetricKey unwrappingKey,
                                  java.security.spec.AlgorithmParameterSpec parameters)
                           throws java.security.InvalidKeyException,
                                  java.security.InvalidAlgorithmParameterException
          Specified by:
          -
          initUnwrap in interface KeyWrapper
          +
          initUnwrap in interface KeyWrapper
          Throws:
          java.security.InvalidKeyException
          java.security.InvalidAlgorithmParameterException
        - +
        • initUnwrap

          -
          public void initUnwrap()
          +
          public void initUnwrap()
                           throws java.security.InvalidKeyException,
                                  java.security.InvalidAlgorithmParameterException
          -
          Description copied from interface: KeyWrapper
          +
          Description copied from interface: KeyWrapper
          For plaintext-wrapped keys.
          Specified by:
          -
          initUnwrap in interface KeyWrapper
          +
          initUnwrap in interface KeyWrapper
          Throws:
          java.security.InvalidKeyException
          java.security.InvalidAlgorithmParameterException
        - + - + - +
        • unwrapPrivate

          -
          public PrivateKey unwrapPrivate(byte[] wrapped,
          -                                PrivateKey.Type type,
          +
          public PrivateKey unwrapPrivate​(byte[] wrapped,
          +                                PrivateKey.Type type,
                                           java.security.PublicKey publicKey)
          -                         throws TokenException,
          +                         throws TokenException,
                                           java.security.InvalidKeyException,
                                           java.lang.IllegalStateException
          Unwraps a private key, creating a permanent private key object. @@ -413,28 +454,28 @@

          unwrapPrivate

          explicitly deleted from the token.
          Specified by:
          -
          unwrapPrivate in interface KeyWrapper
          +
          unwrapPrivate in interface KeyWrapper
          publicKey - Used to calculate the key identifier that must be stored with the private key. Must be a RSAPublicKey or a DSAPublicKey.
          Throws:
          java.security.InvalidKeyException - If the type of the public key does not match the type of the private key to be unwrapped.
          -
          TokenException
          +
          TokenException
          java.lang.IllegalStateException
        - +
        • unwrapTemporaryPrivate

          -
          public PrivateKey unwrapTemporaryPrivate(byte[] wrapped,
          -                                         PrivateKey.Type type,
          +
          public PrivateKey unwrapTemporaryPrivate​(byte[] wrapped,
          +                                         PrivateKey.Type type,
                                                    java.security.PublicKey publicKey)
          -                                  throws TokenException,
          +                                  throws TokenException,
                                                    java.security.InvalidKeyException,
                                                    java.lang.IllegalStateException
          Unwraps a private key, creating a temporary private key object. @@ -443,34 +484,34 @@

          unwrapTemporaryPrivate

          As soon as it is garbage-collected, it is gone forever.
          Specified by:
          -
          unwrapTemporaryPrivate in interface KeyWrapper
          +
          unwrapTemporaryPrivate in interface KeyWrapper
          publicKey - Used to calculate the key identifier that must be stored with the private key. Must be a RSAPublicKey or a DSAPublicKey.
          Throws:
          java.security.InvalidKeyException - If the type of the public key does not match the type of the private key to be unwrapped.
          -
          TokenException
          +
          TokenException
          java.lang.IllegalStateException
        - + - + - + - +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/PK11MessageDigest.html b/master/javadocs/org/mozilla/jss/pkcs11/PK11MessageDigest.html index 99c2b97db..450b5b8b0 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/PK11MessageDigest.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/PK11MessageDigest.html @@ -1,11 +1,20 @@ - + PK11MessageDigest (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11
    +

    Class PK11MessageDigest

    @@ -98,7 +122,7 @@

    Class PK11MessageDigest

  • java.lang.Object
  • @@ -202,26 +235,27 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Method Detail

        - +
        • initHMAC

          -
          public void initHMAC(SymmetricKey key)
          +
          public void initHMAC​(SymmetricKey key)
                         throws java.security.DigestException,
                                java.security.InvalidKeyException
          -
          Description copied from class: JSSMessageDigest
          +
          Description copied from class: JSSMessageDigest
          Initializes an HMAC digest with the given symmetric key. This also has the effect of resetting the digest.
          Specified by:
          -
          initHMAC in class JSSMessageDigest
          +
          initHMAC in class JSSMessageDigest
          Parameters:
          key - Symmetric key.
          Throws:
          @@ -230,21 +264,21 @@

          initHMAC

        - +
        • update

          -
          public void update(byte[] input,
          +
          public void update​(byte[] input,
                              int offset,
                              int len)
                       throws java.security.DigestException
          -
          Description copied from class: JSSMessageDigest
          +
          Description copied from class: JSSMessageDigest
          Updates the digest with a portion of an array.
          Specified by:
          -
          update in class JSSMessageDigest
          +
          update in class JSSMessageDigest
          Parameters:
          input - An array from which to update the digest.
          offset - The index in the array at which to start digesting.
          @@ -254,21 +288,21 @@

          update

        - +
        • digest

          -
          public int digest(byte[] outbuf,
          +
          public int digest​(byte[] outbuf,
                             int offset,
                             int len)
                      throws java.security.DigestException
          -
          Description copied from class: JSSMessageDigest
          +
          Description copied from class: JSSMessageDigest
          Completes digesting, storing the result into the provided array.
          Specified by:
          -
          digest in class JSSMessageDigest
          +
          digest in class JSSMessageDigest
          Parameters:
          outbuf - The buffer in which to place the digest output.
          offset - The offset in the buffer at which to store the output.
          @@ -282,48 +316,48 @@

          digest

        - +
        • reset

          -
          public void reset()
          +
          public void reset()
                      throws java.security.DigestException
          -
          Description copied from class: JSSMessageDigest
          +
          Description copied from class: JSSMessageDigest
          Resets this digest for further use. This clears all input and output streams. If this is an HMAC digest, the HMAC key is not cleared.
          Specified by:
          -
          reset in class JSSMessageDigest
          +
          reset in class JSSMessageDigest
          Throws:
          java.security.DigestException - If an error occurred.
        - + - +
        • finalize

          -
          public void finalize()
          +
          public void finalize()
                         throws java.lang.Throwable
          Overrides:
          @@ -333,13 +367,13 @@

          finalize

        - +
        • close

          -
          public void close()
          +
          public void close()
                      throws java.lang.Exception
          Specified by:
          @@ -351,21 +385,25 @@

          close

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/PK11Module.html b/master/javadocs/org/mozilla/jss/pkcs11/PK11Module.html index 8507d79a6..f8a48d986 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/PK11Module.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/PK11Module.html @@ -1,11 +1,20 @@ - + PK11Module (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11
    +

    Class PK11Module

    @@ -106,7 +130,6 @@

    Class PK11Module


    • -
      public final class PK11Module
       extends java.lang.Object
    • @@ -116,44 +139,50 @@

      Class PK11Module

    @@ -168,38 +198,39 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Method Detail

        - +
        • getName

          -
          public java.lang.String getName()
          +
          public java.lang.String getName()
          Returns the common name of this module.
        - +
        • getLibraryName

          -
          public java.lang.String getLibraryName()
          +
          public java.lang.String getLibraryName()
          Returns the name of the shared library implementing this module.
        - +
        • getTokens

          -
          public java.util.Enumeration<CryptoToken> getTokens()
          +
          public java.util.Enumeration<CryptoToken> getTokens()
          Get the CryptoTokens provided by this module.
          Returns:
          @@ -207,34 +238,38 @@

          getTokens

        - +
        • reloadTokens

          -
          public void reloadTokens()
          +
          public void reloadTokens()
          Re-load the list of this module's tokens. This function is private to JSS.
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/PK11ParameterSpec.html b/master/javadocs/org/mozilla/jss/pkcs11/PK11ParameterSpec.html index 23a2b363c..00a4d1363 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/PK11ParameterSpec.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/PK11ParameterSpec.html @@ -1,11 +1,20 @@ - + PK11ParameterSpec (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11
    +

    Class PK11ParameterSpec

    @@ -107,10 +131,9 @@

    Class PK11ParameterSpec

  • All Implemented Interfaces:
    -
    java.security.spec.AlgorithmParameterSpec
    +
    java.security.spec.AlgorithmParameterSpec

    -
    public final class PK11ParameterSpec
     extends java.lang.Object
     implements java.security.spec.AlgorithmParameterSpec
    @@ -121,41 +144,48 @@

    Class PK11ParameterSpec

    • +
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - + +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        byte[]getEncoded() getEncoded() 
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -163,6 +193,7 @@

          Methods inherited from class java.lang.Object

      +
  • @@ -170,54 +201,61 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • PK11ParameterSpec

          -
          public PK11ParameterSpec(byte[] derBlob)
          +
          public PK11ParameterSpec​(byte[] derBlob)
      +
      +
        -
      • +
      • Method Detail

        - +
        • getEncoded

          -
          public byte[] getEncoded()
          +
          public byte[] getEncoded()
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/PK11PrivKey.html b/master/javadocs/org/mozilla/jss/pkcs11/PK11PrivKey.html index 9912ccd2d..b8e4592a1 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/PK11PrivKey.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/PK11PrivKey.html @@ -1,11 +1,20 @@ - + PK11PrivKey (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11
    +

    Class PK11PrivKey

    @@ -107,17 +131,16 @@

    Class PK11PrivKey

  • All Implemented Interfaces:
    -
    java.io.Serializable, java.lang.AutoCloseable, java.security.Key, java.security.PrivateKey, javax.security.auth.Destroyable
    +
    java.io.Serializable, java.lang.AutoCloseable, java.security.Key, java.security.PrivateKey, javax.security.auth.Destroyable, PrivateKey
    Direct Known Subclasses:
    -
    PK11DSAPrivateKey, PK11ECPrivateKey, PK11RSAPrivateKey
    +
    PK11DSAPrivateKey, PK11ECPrivateKey, PK11RSAPrivateKey

    -
    public class PK11PrivKey
     extends java.lang.Object
    -implements PrivateKey
    +implements PrivateKey
    See Also:
    Serialized Form
    @@ -129,194 +152,223 @@

    Class PK11PrivKey

  • @@ -324,12 +376,13 @@

    Methods inherited from interface javax.security.auth.Destroyable

    • +
        -
      • +
      • Field Detail

        - +
          @@ -340,140 +393,156 @@

          keyProxy

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • PK11PrivKey

          -
          protected PK11PrivKey(byte[] pointer)
          +
          protected PK11PrivKey​(byte[] pointer)
      +
      +
        -
      • +
      • Method Detail

        - + - +
        • getOwningToken

          -
          public CryptoToken getOwningToken()
          +
          public CryptoToken getOwningToken()
          Returns a new CryptoToken where this key resides.
          +
          Specified by:
          +
          getOwningToken in interface PrivateKey
          Returns:
          The PK11Token that owns this key.
        - + - +
        • getKeyType

          -
          public KeyType getKeyType()
          +
          public KeyType getKeyType()
        - + - +
        • getAlgorithm

          -
          public java.lang.String getAlgorithm()
          +
          public java.lang.String getAlgorithm()
          Specified by:
          getAlgorithm in interface java.security.Key
        - +
        • getStrength

          -
          public int getStrength()
          +
          public int getStrength()
          Returns the size in bits of the modulus of an RSA Private key. Returns -1 for other types of keys.
          +
          +
          Specified by:
          +
          getStrength in interface PrivateKey
          +
        - +
        • getPublicKey

          -
          public PK11PubKey getPublicKey()
          +
          public PK11PubKey getPublicKey()
          Returns the corresponding public key from a private key instance.
        - +
        • fromPrivateKeyInfo

          -
          public static PK11PrivKey fromPrivateKeyInfo(java.security.spec.PKCS8EncodedKeySpec spec,
          -                                             CryptoToken token)
          -                                      throws TokenException
          +
          public static PK11PrivKey fromPrivateKeyInfo​(java.security.spec.PKCS8EncodedKeySpec spec,
          +                                             CryptoToken token)
          +                                      throws TokenException
          Imports a PrivateKeyInfo, storing it as a temporary PrivateKey on the given token. The key will be a temporary (session) key until it is imported @@ -481,19 +550,19 @@

          fromPrivateKeyInfo

          object.
          Throws:
          -
          TokenException
          +
          TokenException
        - + - +
        • fromPrivateKeyInfo

          -
          public static PK11PrivKey fromPrivateKeyInfo(byte[] pki,
          -                                             CryptoToken token,
          +
          public static PK11PrivKey fromPrivateKeyInfo​(byte[] pki,
          +                                             CryptoToken token,
                                                        byte[] publicValue)
          -                                      throws TokenException
          + throws TokenException
          Imports a PrivateKeyInfo, storing it as a temporary PrivateKey on the given token. The key will be a temporary (session) key until it is imported @@ -525,31 +594,31 @@

          fromPrivateKeyInfo

          publicValue - An encoding of the public key, as used by the NSS pk11wrap code. Don't use this unless you know what you're doing.
          Throws:
          -
          TokenException
          +
          TokenException
        - + - +
        • getEncoded

          -
          public byte[] getEncoded()
          +
          public byte[] getEncoded()
          Subclasses that support encoding can overload this method.
          Specified by:
          @@ -557,13 +626,13 @@

          getEncoded

        - +
        • getFormat

          -
          public java.lang.String getFormat()
          +
          public java.lang.String getFormat()
          Subclasses that support encoding can overload this method.
          Specified by:
          @@ -571,13 +640,13 @@

          getFormat

        - +
        • finalize

          -
          public void finalize()
          +
          public void finalize()
                         throws java.lang.Throwable
          Overrides:
          @@ -587,13 +656,13 @@

          finalize

        - +
        • close

          -
          public void close()
          +
          public void close()
                      throws java.lang.Exception
          Specified by:
          @@ -605,21 +674,25 @@

          close

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/PK11PubKey.html b/master/javadocs/org/mozilla/jss/pkcs11/PK11PubKey.html index 73fc9225f..2d74639b8 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/PK11PubKey.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/PK11PubKey.html @@ -1,11 +1,20 @@ - + PK11PubKey (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11
    +

    Class PK11PubKey

    @@ -107,14 +131,13 @@

    Class PK11PubKey

  • All Implemented Interfaces:
    -
    java.io.Serializable, java.lang.AutoCloseable, java.security.Key, java.security.PublicKey
    +
    java.io.Serializable, java.lang.AutoCloseable, java.security.Key, java.security.PublicKey
    Direct Known Subclasses:
    -
    PK11DSAPublicKey, PK11ECPublicKey, PK11RSAPublicKey
    +
    PK11DSAPublicKey, PK11ECPublicKey, PK11RSAPublicKey

    -
    public class PK11PubKey
     extends java.lang.Object
     implements java.security.PublicKey
    @@ -129,108 +152,126 @@

    Class PK11PubKey

  • @@ -245,12 +287,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -261,78 +304,84 @@

          keyProxy

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • PK11PubKey

          -
          protected PK11PubKey(byte[] pointer)
          +
          protected PK11PubKey​(byte[] pointer)
      +
      +
        -
      • +
      • Method Detail

        - + - +
        • getKeyType

          -
          public KeyType getKeyType()
          +
          public KeyType getKeyType()
        - +
        • getAlgorithm

          -
          public java.lang.String getAlgorithm()
          +
          public java.lang.String getAlgorithm()
          Specified by:
          getAlgorithm in interface java.security.Key
        - + - + - +
        • getEncoded

          -
          public byte[] getEncoded()
          +
          public byte[] getEncoded()
          Returns a DER-encoded SubjectPublicKeyInfo representing this key.
          Specified by:
          @@ -380,13 +429,13 @@

          getEncoded

        - +
        • getFormat

          -
          public java.lang.String getFormat()
          +
          public java.lang.String getFormat()
          The name of the primary encoding format of this key. The primary encoding format is X.509 SubjectPublicKeyInfo, and the name is "X.509".
          @@ -396,13 +445,13 @@

          getFormat

        - +
        • finalize

          -
          public void finalize()
          +
          public void finalize()
                         throws java.lang.Throwable
          Overrides:
          @@ -412,13 +461,13 @@

          finalize

        - +
        • close

          -
          public void close()
          +
          public void close()
                      throws java.lang.Exception
          Specified by:
          @@ -430,21 +479,25 @@

          close

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/PK11RSAPrivateKey.html b/master/javadocs/org/mozilla/jss/pkcs11/PK11RSAPrivateKey.html index d49e43e5e..a6761c970 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/PK11RSAPrivateKey.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/PK11RSAPrivateKey.html @@ -1,11 +1,20 @@ - + PK11RSAPrivateKey (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11
    +

    Class PK11RSAPrivateKey

    @@ -98,7 +122,7 @@

    Class PK11RSAPrivateKey

  • java.lang.Object
  • @@ -284,12 +328,13 @@

    Methods inherited from interface java.security.interfaces.RSAKey

    • +
        -
      • +
      • Field Detail

        - +
          @@ -298,7 +343,7 @@

          logger

          public static org.slf4j.Logger logger
        - +
          @@ -309,77 +354,83 @@

          keyProxy

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • PK11RSAPrivateKey

          -
          protected PK11RSAPrivateKey(byte[] pointer)
          +
          protected PK11RSAPrivateKey​(byte[] pointer)
      +
      +
        -
      • +
      • Method Detail

        - + - +
        • getModulus

          -
          public java.math.BigInteger getModulus()
          +
          public java.math.BigInteger getModulus()
          Specified by:
          getModulus in interface java.security.interfaces.RSAKey
        - +
        • getPrivateExponent

          -
          public java.math.BigInteger getPrivateExponent()
          +
          public java.math.BigInteger getPrivateExponent()
          Specified by:
          getPrivateExponent in interface java.security.interfaces.RSAPrivateKey
        - +
        • getEncoded

          -
          public byte[] getEncoded()
          +
          public byte[] getEncoded()
          Subclasses that support encoding can overload this method.
          Specified by:
          @@ -387,13 +438,13 @@

          getEncoded

        - +
        • getFormat

          -
          public java.lang.String getFormat()
          +
          public java.lang.String getFormat()
          Subclasses that support encoding can overload this method.
          Specified by:
          @@ -401,13 +452,13 @@

          getFormat

        - +
        • finalize

          -
          public void finalize()
          +
          public void finalize()
                         throws java.lang.Throwable
          Overrides:
          @@ -417,13 +468,13 @@

          finalize

        - +
        • close

          -
          public void close()
          +
          public void close()
                      throws java.lang.Exception
          Specified by:
          @@ -435,21 +486,25 @@

          close

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/PK11RSAPublicKey.html b/master/javadocs/org/mozilla/jss/pkcs11/PK11RSAPublicKey.html index fb21e396a..56c1ad775 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/PK11RSAPublicKey.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/PK11RSAPublicKey.html @@ -1,11 +1,20 @@ - + PK11RSAPublicKey (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11
    +

    Class PK11RSAPublicKey

    @@ -98,7 +122,7 @@

    Class PK11RSAPublicKey

  • java.lang.Object
  • @@ -231,12 +269,13 @@

    Methods inherited from interface java.security.interfaces.RSAKey

    • +
        -
      • +
      • Field Detail

        - +
          @@ -247,62 +286,66 @@

          keyProxy

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • PK11RSAPublicKey

          -
          public PK11RSAPublicKey(byte[] pointer)
          +
          public PK11RSAPublicKey​(byte[] pointer)
      +
      +
        -
      • +
      • Method Detail

        - +
        • getModulus

          -
          public java.math.BigInteger getModulus()
          +
          public java.math.BigInteger getModulus()
          Specified by:
          getModulus in interface java.security.interfaces.RSAKey
        - +
        • getPublicExponent

          -
          public java.math.BigInteger getPublicExponent()
          +
          public java.math.BigInteger getPublicExponent()
          Specified by:
          getPublicExponent in interface java.security.interfaces.RSAPublicKey
        - +
        • finalize

          -
          public void finalize()
          +
          public void finalize()
                         throws java.lang.Throwable
          Overrides:
          @@ -312,13 +355,13 @@

          finalize

        - +
        • close

          -
          public void close()
          +
          public void close()
                      throws java.lang.Exception
          Specified by:
          @@ -330,21 +373,25 @@

          close

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/PK11SecureRandom.html b/master/javadocs/org/mozilla/jss/pkcs11/PK11SecureRandom.html index 4f8bba1a4..1cf8adeb6 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/PK11SecureRandom.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/PK11SecureRandom.html @@ -1,11 +1,20 @@ - + PK11SecureRandom (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11
    +

    Class PK11SecureRandom

    @@ -107,17 +131,16 @@

    Class PK11SecureRandom

  • All Implemented Interfaces:
    -
    JSSSecureRandom
    +
    JSSSecureRandom

    -
    public final class PK11SecureRandom
     extends java.lang.Object
    -implements JSSSecureRandom
    +implements JSSSecureRandom
    A random number generator for PKCS #11.
    See Also:
    -
    CryptoManager
    +
    CryptoManager
  • @@ -126,55 +149,64 @@

    Class PK11SecureRandom

    • +
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - + - + - +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        voidnextBytes(byte[] bytes) +nextBytes​(byte[] bytes)
        Retrieves random bytes and stores them in the given array.
        voidsetSeed(byte[] seed) +setSeed​(byte[] seed)
        Seed the RNG with the given seed bytes.
        voidsetSeed(long seed) +setSeed​(long seed)
        Seed the RNG with the eight bytes contained in seed.
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -182,6 +214,7 @@

          Methods inherited from class java.lang.Object

      +
    @@ -189,12 +222,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -205,58 +239,60 @@

          PK11SecureRandom

      +
      +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/PK11Signature.html b/master/javadocs/org/mozilla/jss/pkcs11/PK11Signature.html index da9dba048..97b969b26 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/PK11Signature.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/PK11Signature.html @@ -1,11 +1,20 @@ - + PK11Signature (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11
    +

    Class PK11Signature

    @@ -98,7 +122,7 @@

    Class PK11Signature

  • java.lang.Object
  • @@ -317,48 +378,49 @@

    Methods inherited from class java.lang.Object

    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/PK11Store.html b/master/javadocs/org/mozilla/jss/pkcs11/PK11Store.html index aa0482948..bcd13a0db 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/PK11Store.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/PK11Store.html @@ -1,11 +1,20 @@ - + PK11Store (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11
    +

    Class PK11Store

    @@ -107,13 +131,12 @@

    Class PK11Store

  • All Implemented Interfaces:
    -
    CryptoStore
    +
    CryptoStore

    -
    public final class PK11Store
     extends java.lang.Object
    -implements CryptoStore
    +implements CryptoStore
  • @@ -121,184 +144,215 @@

    Class PK11Store

    @@ -313,12 +368,13 @@

    Methods inherited from class java.lang.Object

    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/PK11SymKey.html b/master/javadocs/org/mozilla/jss/pkcs11/PK11SymKey.html index 99ecdadaf..e3bdbd4ca 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/PK11SymKey.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/PK11SymKey.html @@ -1,11 +1,20 @@ - + PK11SymKey (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11
    +

    Class PK11SymKey

    @@ -107,13 +131,12 @@

    Class PK11SymKey

  • All Implemented Interfaces:
    -
    java.io.Serializable, java.security.Key, javax.crypto.SecretKey, javax.security.auth.Destroyable, SymmetricKey
    +
    java.io.Serializable, java.security.Key, javax.crypto.SecretKey, javax.security.auth.Destroyable, SymmetricKey

    -
    public final class PK11SymKey
     extends java.lang.Object
    -implements SymmetricKey
    +implements SymmetricKey
    See Also:
    Serialized Form
    @@ -125,141 +148,164 @@

    Class PK11SymKey

  • @@ -274,71 +321,74 @@

    Methods inherited from interface javax.security.auth.Destroyable

    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/PK11SymmetricKeyDeriver.html b/master/javadocs/org/mozilla/jss/pkcs11/PK11SymmetricKeyDeriver.html index 90c20f0b0..313089bf5 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/PK11SymmetricKeyDeriver.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/PK11SymmetricKeyDeriver.html @@ -1,11 +1,20 @@ - + PK11SymmetricKeyDeriver (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11
    +

    Class PK11SymmetricKeyDeriver

    @@ -107,13 +131,12 @@

    Class PK11SymmetricKeyDe
  • All Implemented Interfaces:
    -
    SymmetricKeyDeriver
    +
    SymmetricKeyDeriver

    -
    public class PK11SymmetricKeyDeriver
     extends java.lang.Object
    -implements SymmetricKeyDeriver
    +implements SymmetricKeyDeriver
  • @@ -121,74 +144,84 @@

    Class PK11SymmetricKeyDe @@ -203,35 +237,38 @@

    Methods inherited from class java.lang.Object

    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/PK11Token.NotInitializedException.html b/master/javadocs/org/mozilla/jss/pkcs11/PK11Token.NotInitializedException.html index 04ff3e5b5..1fb65df3e 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/PK11Token.NotInitializedException.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/PK11Token.NotInitializedException.html @@ -1,11 +1,20 @@ - + PK11Token.NotInitializedException (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11
    +

    Class PK11Token.NotInitializedException

    @@ -98,7 +122,7 @@

    Class PK11Toke
  • java.lang.Exception
  • @@ -187,12 +217,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -201,32 +232,36 @@

          NotInitializedException

          public NotInitializedException()
        - +
        • NotInitializedException

          -
          public NotInitializedException(java.lang.String mesg)
          +
          public NotInitializedException​(java.lang.String mesg)
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/PK11Token.html b/master/javadocs/org/mozilla/jss/pkcs11/PK11Token.html index a38c3a5e8..5a0f18210 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/PK11Token.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/PK11Token.html @@ -1,11 +1,20 @@ - + PK11Token (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11
    +

    Class PK11Token

    @@ -107,18 +131,17 @@

    Class PK11Token

  • All Implemented Interfaces:
    -
    CryptoToken
    +
    CryptoToken

    -
    public final class PK11Token
     extends java.lang.Object
    -implements CryptoToken
    +implements CryptoToken
    A PKCS #11 token. Currently, these can only be obtained from the CryptoManager class.
    See Also:
    -
    CryptoManager
    +
    CryptoManager
  • @@ -127,20 +150,23 @@

    Class PK11Token

    @@ -477,30 +559,31 @@

    Methods inherited from class java.lang.Object

    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/PK11TokenCert.html b/master/javadocs/org/mozilla/jss/pkcs11/PK11TokenCert.html index f98cc3a7d..7acf9d616 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/PK11TokenCert.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/PK11TokenCert.html @@ -1,11 +1,20 @@ - + PK11TokenCert (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11
    +

    Class PK11TokenCert

    @@ -104,7 +128,7 @@

    Class PK11TokenCert

  • java.security.cert.X509Certificate
  • @@ -246,67 +278,72 @@

    Methods inherited from interface org.mozilla.jss.crypto.
  • +
    +
  • +

    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/PKCS11Constants.html b/master/javadocs/org/mozilla/jss/pkcs11/PKCS11Constants.html index 7f26ee880..30799d258 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/PKCS11Constants.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/PKCS11Constants.html @@ -1,11 +1,20 @@ - + PKCS11Constants (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11
    +

    Interface PKCS11Constants

    @@ -92,7 +116,6 @@

    Interface PKCS11Constants

  • -
    public interface PKCS11Constants
  • @@ -101,6434 +124,7506 @@

    Interface PKCS11Constants
  • +
    +
  • @@ -6536,12 +7631,13 @@

    Field Summary

    • +
        -
      • +
      • Field Detail

        - +
          @@ -6557,7 +7653,7 @@

          CK_TRUE

        - +
          @@ -6573,7 +7669,7 @@

          CK_FALSE

        - +
          @@ -6589,7 +7685,7 @@

          CK_NULL_PTR

        - +
          @@ -6605,7 +7701,7 @@

          CK_EFFECTIVELY_INFINITE

        - +
          @@ -6621,7 +7717,7 @@

          CK_INVALID_HANDLE

        - +
          @@ -6637,7 +7733,7 @@

          CKN_SURRENDER

        - +
          @@ -6653,7 +7749,7 @@

          CKF_TOKEN_PRESENT

        - +
          @@ -6669,7 +7765,7 @@

          CKF_REMOVABLE_DEVICE

        - +
          @@ -6685,7 +7781,7 @@

          CKF_HW_SLOT

        - +
          @@ -6701,7 +7797,7 @@

          CKF_RNG

        - +
          @@ -6717,7 +7813,7 @@

          CKF_WRITE_PROTECTED

        - +
          @@ -6733,7 +7829,7 @@

          CKF_LOGIN_REQUIRED

        - +
          @@ -6749,7 +7845,7 @@

          CKF_USER_PIN_INITIALIZED

        - +
          @@ -6765,7 +7861,7 @@

          CKF_RESTORE_KEY_NOT_NEEDED

        - +
          @@ -6781,7 +7877,7 @@

          CKF_CLOCK_ON_TOKEN

        - +
          @@ -6797,7 +7893,7 @@

          CKF_PROTECTED_AUTHENTICATION_PATH

        - +
          @@ -6813,7 +7909,7 @@

          CKF_DUAL_CRYPTO_OPERATIONS

        - +
          @@ -6829,7 +7925,7 @@

          CKF_TOKEN_INITIALIZED

        - +
          @@ -6845,7 +7941,7 @@

          CKF_SECONDARY_AUTHENTICATION

        - +
          @@ -6861,7 +7957,7 @@

          CKF_USER_PIN_COUNT_LOW

        - +
          @@ -6877,7 +7973,7 @@

          CKF_USER_PIN_FINAL_TRY

        - +
          @@ -6893,7 +7989,7 @@

          CKF_USER_PIN_LOCKED

        - +
          @@ -6909,7 +8005,7 @@

          CKF_USER_PIN_TO_BE_CHANGED

        - +
          @@ -6925,7 +8021,7 @@

          CKF_SO_PIN_COUNT_LOW

        - +
          @@ -6941,7 +8037,7 @@

          CKF_SO_PIN_FINAL_TRY

        - +
          @@ -6957,7 +8053,7 @@

          CKF_SO_PIN_LOCKED

        - +
          @@ -6973,7 +8069,7 @@

          CKF_SO_PIN_TO_BE_CHANGED

        - +
          @@ -6989,7 +8085,7 @@

          CKF_ERROR_STATE

        - +
          @@ -7005,7 +8101,7 @@

          CKU_SO

        - +
          @@ -7021,7 +8117,7 @@

          CKU_USER

        - +
          @@ -7037,7 +8133,7 @@

          CKU_CONTEXT_SPECIFIC

        - +
          @@ -7053,7 +8149,7 @@

          CKS_RO_PUBLIC_SESSION

        - +
          @@ -7069,7 +8165,7 @@

          CKS_RO_USER_FUNCTIONS

        - +
          @@ -7085,7 +8181,7 @@

          CKS_RW_PUBLIC_SESSION

        - +
          @@ -7101,7 +8197,7 @@

          CKS_RW_USER_FUNCTIONS

        - +
          @@ -7117,7 +8213,7 @@

          CKS_RW_SO_FUNCTIONS

        - +
          @@ -7133,7 +8229,7 @@

          CKF_RW_SESSION

        - +
          @@ -7149,7 +8245,7 @@

          CKF_SERIAL_SESSION

        - +
          @@ -7165,7 +8261,7 @@

          CKO_DATA

        - +
          @@ -7181,7 +8277,7 @@

          CKO_CERTIFICATE

        - +
          @@ -7197,7 +8293,7 @@

          CKO_PUBLIC_KEY

        - +
          @@ -7213,7 +8309,7 @@

          CKO_PRIVATE_KEY

        - +
          @@ -7229,7 +8325,7 @@

          CKO_SECRET_KEY

        - +
          @@ -7245,7 +8341,7 @@

          CKO_HW_FEATURE

        - +
          @@ -7261,7 +8357,7 @@

          CKO_DOMAIN_PARAMETERS

        - +
          @@ -7277,7 +8373,7 @@

          CKO_MECHANISM

        - +
          @@ -7293,7 +8389,7 @@

          CKO_PROFILE

        - +
          @@ -7309,7 +8405,7 @@

          CKO_VENDOR_DEFINED

        - +
          @@ -7325,7 +8421,7 @@

          CKP_INVALID_ID

        - +
          @@ -7341,7 +8437,7 @@

          CKP_BASELINE_PROVIDER

        - +
          @@ -7357,7 +8453,7 @@

          CKP_EXTENDED_PROVIDER

        - +
          @@ -7373,7 +8469,7 @@

          CKP_AUTHENTICATION_TOKEN

        - +
          @@ -7389,7 +8485,7 @@

          CKP_PUBLIC_CERTIFICATES_TOKEN

        - +
          @@ -7405,7 +8501,7 @@

          CKP_VENDOR_DEFINED

        - +
          @@ -7421,7 +8517,7 @@

          CKH_MONOTONIC_COUNTER

        - +
          @@ -7437,7 +8533,7 @@

          CKH_CLOCK

        - +
          @@ -7453,7 +8549,7 @@

          CKH_USER_INTERFACE

        - +
          @@ -7469,7 +8565,7 @@

          CKH_VENDOR_DEFINED

        - +
          @@ -7485,7 +8581,7 @@

          CKK_RSA

        - +
          @@ -7501,7 +8597,7 @@

          CKK_DSA

        - +
          @@ -7517,7 +8613,7 @@

          CKK_DH

        - +
          @@ -7533,7 +8629,7 @@

          CKK_ECDSA

        - +
          @@ -7549,7 +8645,7 @@

          CKK_EC

        - +
          @@ -7565,7 +8661,7 @@

          CKK_X9_42_DH

        - +
          @@ -7581,7 +8677,7 @@

          CKK_KEA

        - +
          @@ -7597,7 +8693,7 @@

          CKK_GENERIC_SECRET

        - +
          @@ -7613,7 +8709,7 @@

          CKK_RC2

        - +
          @@ -7629,7 +8725,7 @@

          CKK_RC4

        - +
          @@ -7645,7 +8741,7 @@

          CKK_DES

        - +
          @@ -7661,7 +8757,7 @@

          CKK_DES2

        - +
          @@ -7677,7 +8773,7 @@

          CKK_DES3

        - +
          @@ -7693,7 +8789,7 @@

          CKK_CAST

        - +
          @@ -7709,7 +8805,7 @@

          CKK_CAST3

        - +
          @@ -7725,7 +8821,7 @@

          CKK_CAST5

        - +
          @@ -7741,7 +8837,7 @@

          CKK_CAST128

        - +
          @@ -7757,7 +8853,7 @@

          CKK_RC5

        - +
          @@ -7773,7 +8869,7 @@

          CKK_IDEA

        - +
          @@ -7789,7 +8885,7 @@

          CKK_SKIPJACK

        - +
          @@ -7805,7 +8901,7 @@

          CKK_BATON

        - +
          @@ -7821,7 +8917,7 @@

          CKK_JUNIPER

        - +
          @@ -7837,7 +8933,7 @@

          CKK_CDMF

        - +
          @@ -7853,7 +8949,7 @@

          CKK_AES

        - +
          @@ -7869,7 +8965,7 @@

          CKK_BLOWFISH

        - +
          @@ -7885,7 +8981,7 @@

          CKK_TWOFISH

        - +
          @@ -7901,7 +8997,7 @@

          CKK_CAMELLIA

        - +
          @@ -7917,7 +9013,7 @@

          CKK_SEED

        - +
          @@ -7933,7 +9029,7 @@

          CKK_ARIA

        - +
          @@ -7949,7 +9045,7 @@

          CKK_MD5_HMAC

        - +
          @@ -7965,7 +9061,7 @@

          CKK_SHA_1_HMAC

        - +
          @@ -7981,7 +9077,7 @@

          CKK_RIPEMD128_HMAC

        - +
          @@ -7997,7 +9093,7 @@

          CKK_RIPEMD160_HMAC

        - +
          @@ -8013,7 +9109,7 @@

          CKK_SHA256_HMAC

        - +
          @@ -8029,7 +9125,7 @@

          CKK_SHA384_HMAC

        - +
          @@ -8045,7 +9141,7 @@

          CKK_SHA512_HMAC

        - +
          @@ -8061,7 +9157,7 @@

          CKK_SHA224_HMAC

        - +
          @@ -8077,7 +9173,7 @@

          CKK_GOSTR3410

        - +
          @@ -8093,7 +9189,7 @@

          CKK_GOSTR3411

        - +
          @@ -8109,7 +9205,7 @@

          CKK_GOST28147

        - +
          @@ -8125,7 +9221,7 @@

          CKK_CHACHA20

        - +
          @@ -8141,7 +9237,7 @@

          CKK_POLY1305

        - +
          @@ -8157,7 +9253,7 @@

          CKK_AES_XTS

        - +
          @@ -8173,7 +9269,7 @@

          CKK_SHA3_224_HMAC

        - +
          @@ -8189,7 +9285,7 @@

          CKK_SHA3_256_HMAC

        - +
          @@ -8205,7 +9301,7 @@

          CKK_SHA3_384_HMAC

        - +
          @@ -8221,7 +9317,7 @@

          CKK_SHA3_512_HMAC

        - +
          @@ -8237,7 +9333,7 @@

          CKK_BLAKE2B_160_HMAC

        - +
          @@ -8253,7 +9349,7 @@

          CKK_BLAKE2B_256_HMAC

        - +
          @@ -8269,7 +9365,7 @@

          CKK_BLAKE2B_384_HMAC

        - +
          @@ -8285,7 +9381,7 @@

          CKK_BLAKE2B_512_HMAC

        - +
          @@ -8301,7 +9397,7 @@

          CKK_SALSA20

        - +
          @@ -8317,7 +9413,7 @@

          CKK_X2RATCHET

        - +
          @@ -8333,7 +9429,7 @@

          CKK_EC_EDWARDS

        - +
          @@ -8349,7 +9445,7 @@

          CKK_EC_MONTGOMERY

        - +
          @@ -8365,7 +9461,7 @@

          CKK_HKDF

        - +
          @@ -8381,7 +9477,7 @@

          CKK_SHA512_224_HMAC

        - +
          @@ -8397,7 +9493,7 @@

          CKK_SHA512_256_HMAC

        - +
          @@ -8413,7 +9509,7 @@

          CKK_SHA512_T_HMAC

        - +
          @@ -8429,7 +9525,7 @@

          CKK_VENDOR_DEFINED

        - +
          @@ -8445,7 +9541,7 @@

          CKC_X_509

        - +
          @@ -8461,7 +9557,7 @@

          CKC_X_509_ATTR_CERT

        - +
          @@ -8477,7 +9573,7 @@

          CKC_WTLS

        - +
          @@ -8493,7 +9589,7 @@

          CKC_VENDOR_DEFINED

        - +
          @@ -8509,7 +9605,7 @@

          CK_CERTIFICATE_CATEGORY_UNSPECIFIED

        - +
          @@ -8525,7 +9621,7 @@

          CK_CERTIFICATE_CATEGORY_TOKEN_USER

        - +
          @@ -8541,7 +9637,7 @@

          CK_CERTIFICATE_CATEGORY_AUTHORITY

        - +
          @@ -8557,7 +9653,7 @@

          CK_CERTIFICATE_CATEGORY_OTHER_ENTITY

        - +
          @@ -8573,7 +9669,7 @@

          CK_SECURITY_DOMAIN_UNSPECIFIED

        - +
          @@ -8589,7 +9685,7 @@

          CK_SECURITY_DOMAIN_MANUFACTURER

        - +
          @@ -8605,7 +9701,7 @@

          CK_SECURITY_DOMAIN_OPERATOR

        - +
          @@ -8621,7 +9717,7 @@

          CK_SECURITY_DOMAIN_THIRD_PARTY

        - +
          @@ -8637,7 +9733,7 @@

          CK_OTP_FORMAT_DECIMAL

        - +
          @@ -8653,7 +9749,7 @@

          CK_OTP_FORMAT_HEXADECIMAL

        - +
          @@ -8669,7 +9765,7 @@

          CK_OTP_FORMAT_ALPHANUMERIC

        - +
          @@ -8685,7 +9781,7 @@

          CK_OTP_FORMAT_BINARY

        - +
          @@ -8701,7 +9797,7 @@

          CK_OTP_PARAM_IGNORED

        - +
          @@ -8717,7 +9813,7 @@

          CK_OTP_PARAM_OPTIONAL

        - +
          @@ -8733,7 +9829,7 @@

          CK_OTP_PARAM_MANDATORY

        - +
          @@ -8749,7 +9845,7 @@

          CKF_ARRAY_ATTRIBUTE

        - +
          @@ -8765,7 +9861,7 @@

          CKA_CLASS

        - +
          @@ -8781,7 +9877,7 @@

          CKA_TOKEN

        - +
          @@ -8797,7 +9893,7 @@

          CKA_PRIVATE

        - +
          @@ -8813,7 +9909,7 @@

          CKA_LABEL

        - +
          @@ -8829,7 +9925,7 @@

          CKA_APPLICATION

        - +
          @@ -8845,7 +9941,7 @@

          CKA_VALUE

        - +
          @@ -8861,7 +9957,7 @@

          CKA_OBJECT_ID

        - +
          @@ -8877,7 +9973,7 @@

          CKA_CERTIFICATE_TYPE

        - +
          @@ -8893,7 +9989,7 @@

          CKA_ISSUER

        - +
          @@ -8909,7 +10005,7 @@

          CKA_SERIAL_NUMBER

        - +
          @@ -8925,7 +10021,7 @@

          CKA_AC_ISSUER

        - +
          @@ -8941,7 +10037,7 @@

          CKA_OWNER

        - +
          @@ -8957,7 +10053,7 @@

          CKA_ATTR_TYPES

        - +
          @@ -8973,7 +10069,7 @@

          CKA_TRUSTED

        - +
          @@ -8989,7 +10085,7 @@

          CKA_CERTIFICATE_CATEGORY

        - +
          @@ -9005,7 +10101,7 @@

          CKA_JAVA_MIDP_SECURITY_DOMAIN

        - +
          @@ -9021,7 +10117,7 @@

          CKA_URL

        - +
          @@ -9037,7 +10133,7 @@

          CKA_HASH_OF_SUBJECT_PUBLIC_KEY

        - +
          @@ -9053,7 +10149,7 @@

          CKA_HASH_OF_ISSUER_PUBLIC_KEY

        - +
          @@ -9069,7 +10165,7 @@

          CKA_CHECK_VALUE

        - +
          @@ -9085,7 +10181,7 @@

          CKA_KEY_TYPE

        - +
          @@ -9101,7 +10197,7 @@

          CKA_SUBJECT

        - +
          @@ -9117,7 +10213,7 @@

          CKA_ID

        - +
          @@ -9133,7 +10229,7 @@

          CKA_SENSITIVE

        - +
          @@ -9149,7 +10245,7 @@

          CKA_ENCRYPT

        - +
          @@ -9165,7 +10261,7 @@

          CKA_DECRYPT

        - +
          @@ -9181,7 +10277,7 @@

          CKA_WRAP

        - +
          @@ -9197,7 +10293,7 @@

          CKA_UNWRAP

        - +
          @@ -9213,7 +10309,7 @@

          CKA_SIGN

        - +
          @@ -9229,7 +10325,7 @@

          CKA_SIGN_RECOVER

        - +
          @@ -9245,7 +10341,7 @@

          CKA_VERIFY

        - +
          @@ -9261,7 +10357,7 @@

          CKA_VERIFY_RECOVER

        - +
          @@ -9277,7 +10373,7 @@

          CKA_DERIVE

        - +
          @@ -9293,7 +10389,7 @@

          CKA_START_DATE

        - +
          @@ -9309,7 +10405,7 @@

          CKA_END_DATE

        - +
          @@ -9325,7 +10421,7 @@

          CKA_MODULUS

        - +
          @@ -9341,7 +10437,7 @@

          CKA_MODULUS_BITS

        - +
          @@ -9357,7 +10453,7 @@

          CKA_PUBLIC_EXPONENT

        - +
          @@ -9373,7 +10469,7 @@

          CKA_PRIVATE_EXPONENT

        - +
          @@ -9389,7 +10485,7 @@

          CKA_PRIME_1

        - +
          @@ -9405,7 +10501,7 @@

          CKA_PRIME_2

        - +
          @@ -9421,7 +10517,7 @@

          CKA_EXPONENT_1

        - +
          @@ -9437,7 +10533,7 @@

          CKA_EXPONENT_2

        - +
          @@ -9453,7 +10549,7 @@

          CKA_COEFFICIENT

        - +
          @@ -9469,7 +10565,7 @@

          CKA_PUBLIC_KEY_INFO

        - +
          @@ -9485,7 +10581,7 @@

          CKA_PRIME

        - +
          @@ -9501,7 +10597,7 @@

          CKA_SUBPRIME

        - +
          @@ -9517,7 +10613,7 @@

          CKA_BASE

        - +
          @@ -9533,7 +10629,7 @@

          CKA_PRIME_BITS

        - +
          @@ -9549,7 +10645,7 @@

          CKA_SUBPRIME_BITS

        - +
          @@ -9565,7 +10661,7 @@

          CKA_SUB_PRIME_BITS

        - +
          @@ -9581,7 +10677,7 @@

          CKA_VALUE_BITS

        - +
          @@ -9597,7 +10693,7 @@

          CKA_VALUE_LEN

        - +
          @@ -9613,7 +10709,7 @@

          CKA_EXTRACTABLE

        - +
          @@ -9629,7 +10725,7 @@

          CKA_LOCAL

        - +
          @@ -9645,7 +10741,7 @@

          CKA_NEVER_EXTRACTABLE

        - +
          @@ -9661,7 +10757,7 @@

          CKA_ALWAYS_SENSITIVE

        - +
          @@ -9677,7 +10773,7 @@

          CKA_KEY_GEN_MECHANISM

        - +
          @@ -9693,7 +10789,7 @@

          CKA_MODIFIABLE

        - +
          @@ -9709,7 +10805,7 @@

          CKA_COPYABLE

        - +
          @@ -9725,7 +10821,7 @@

          CKA_DESTROYABLE

        - +
          @@ -9741,7 +10837,7 @@

          CKA_ECDSA_PARAMS

        - +
          @@ -9757,7 +10853,7 @@

          CKA_EC_PARAMS

        - +
          @@ -9773,7 +10869,7 @@

          CKA_EC_POINT

        - +
          @@ -9789,7 +10885,7 @@

          CKA_SECONDARY_AUTH

        - +
          @@ -9805,7 +10901,7 @@

          CKA_AUTH_PIN_FLAGS

        - +
          @@ -9821,7 +10917,7 @@

          CKA_ALWAYS_AUTHENTICATE

        - +
          @@ -9837,7 +10933,7 @@

          CKA_WRAP_WITH_TRUSTED

        - +
          @@ -9853,7 +10949,7 @@

          CKA_WRAP_TEMPLATE

        - +
          @@ -9869,7 +10965,7 @@

          CKA_UNWRAP_TEMPLATE

        - +
          @@ -9885,7 +10981,7 @@

          CKA_DERIVE_TEMPLATE

        - +
          @@ -9901,7 +10997,7 @@

          CKA_OTP_FORMAT

        - +
          @@ -9917,7 +11013,7 @@

          CKA_OTP_LENGTH

        - +
          @@ -9933,7 +11029,7 @@

          CKA_OTP_TIME_INTERVAL

        - +
          @@ -9949,7 +11045,7 @@

          CKA_OTP_USER_FRIENDLY_MODE

        - +
          @@ -9965,7 +11061,7 @@

          CKA_OTP_CHALLENGE_REQUIREMENT

        - +
          @@ -9981,7 +11077,7 @@

          CKA_OTP_TIME_REQUIREMENT

        - +
          @@ -9997,7 +11093,7 @@

          CKA_OTP_COUNTER_REQUIREMENT

        - +
          @@ -10013,7 +11109,7 @@

          CKA_OTP_PIN_REQUIREMENT

        - +
          @@ -10029,7 +11125,7 @@

          CKA_OTP_COUNTER

        - +
          @@ -10045,7 +11141,7 @@

          CKA_OTP_TIME

        - +
          @@ -10061,7 +11157,7 @@

          CKA_OTP_USER_IDENTIFIER

        - +
          @@ -10077,7 +11173,7 @@

          CKA_OTP_SERVICE_IDENTIFIER

        - +
          @@ -10093,7 +11189,7 @@

          CKA_OTP_SERVICE_LOGO

        - +
          @@ -10109,7 +11205,7 @@

          CKA_OTP_SERVICE_LOGO_TYPE

        - +
          @@ -10125,7 +11221,7 @@

          CKA_GOSTR3410_PARAMS

        - +
          @@ -10141,7 +11237,7 @@

          CKA_GOSTR3411_PARAMS

        - +
          @@ -10157,7 +11253,7 @@

          CKA_GOST28147_PARAMS

        - +
          @@ -10173,7 +11269,7 @@

          CKA_HW_FEATURE_TYPE

        - +
          @@ -10189,7 +11285,7 @@

          CKA_RESET_ON_INIT

        - +
          @@ -10205,7 +11301,7 @@

          CKA_HAS_RESET

        - +
          @@ -10221,7 +11317,7 @@

          CKA_PIXEL_X

        - +
          @@ -10237,7 +11333,7 @@

          CKA_PIXEL_Y

        - +
          @@ -10253,7 +11349,7 @@

          CKA_RESOLUTION

        - +
          @@ -10269,7 +11365,7 @@

          CKA_CHAR_ROWS

        - +
          @@ -10285,7 +11381,7 @@

          CKA_CHAR_COLUMNS

        - +
          @@ -10301,7 +11397,7 @@

          CKA_COLOR

        - +
          @@ -10317,7 +11413,7 @@

          CKA_BITS_PER_PIXEL

        - +
          @@ -10333,7 +11429,7 @@

          CKA_CHAR_SETS

        - +
          @@ -10349,7 +11445,7 @@

          CKA_ENCODING_METHODS

        - +
          @@ -10365,7 +11461,7 @@

          CKA_MIME_TYPES

        - +
          @@ -10381,7 +11477,7 @@

          CKA_MECHANISM_TYPE

        - +
          @@ -10397,7 +11493,7 @@

          CKA_REQUIRED_CMS_ATTRIBUTES

        - +
          @@ -10413,7 +11509,7 @@

          CKA_DEFAULT_CMS_ATTRIBUTES

        - +
          @@ -10429,7 +11525,7 @@

          CKA_SUPPORTED_CMS_ATTRIBUTES

        - +
          @@ -10445,7 +11541,7 @@

          CKA_ALLOWED_MECHANISMS

        - +
          @@ -10461,7 +11557,7 @@

          CKA_PROFILE_ID

        - +
          @@ -10477,7 +11573,7 @@

          CKA_X2RATCHET_BAG

        - +
          @@ -10493,7 +11589,7 @@

          CKA_X2RATCHET_BAGSIZE

        - +
          @@ -10509,7 +11605,7 @@

          CKA_X2RATCHET_BOBS1STMSG

        - +
          @@ -10525,7 +11621,7 @@

          CKA_X2RATCHET_CKR

        - +
          @@ -10541,7 +11637,7 @@

          CKA_X2RATCHET_CKS

        - +
          @@ -10557,7 +11653,7 @@

          CKA_X2RATCHET_DHP

        - +
          @@ -10573,7 +11669,7 @@

          CKA_X2RATCHET_DHR

        - +
          @@ -10589,7 +11685,7 @@

          CKA_X2RATCHET_DHS

        - +
          @@ -10605,7 +11701,7 @@

          CKA_X2RATCHET_HKR

        - +
          @@ -10621,7 +11717,7 @@

          CKA_X2RATCHET_HKS

        - +
          @@ -10637,7 +11733,7 @@

          CKA_X2RATCHET_ISALICE

        - +
          @@ -10653,7 +11749,7 @@

          CKA_X2RATCHET_NHKR

        - +
          @@ -10669,7 +11765,7 @@

          CKA_X2RATCHET_NHKS

        - +
          @@ -10685,7 +11781,7 @@

          CKA_X2RATCHET_NR

        - +
          @@ -10701,7 +11797,7 @@

          CKA_X2RATCHET_NS

        - +
          @@ -10717,7 +11813,7 @@

          CKA_X2RATCHET_PNS

        - +
          @@ -10733,7 +11829,7 @@

          CKA_X2RATCHET_RK

        - +
          @@ -10749,7 +11845,7 @@

          CKA_VENDOR_DEFINED

        - +
          @@ -10765,7 +11861,7 @@

          CKM_RSA_PKCS_KEY_PAIR_GEN

        - +
          @@ -10781,7 +11877,7 @@

          CKM_RSA_PKCS

        - +
          @@ -10797,7 +11893,7 @@

          CKM_RSA_9796

        - +
          @@ -10813,7 +11909,7 @@

          CKM_RSA_X_509

        - +
          @@ -10829,7 +11925,7 @@

          CKM_MD2_RSA_PKCS

        - +
          @@ -10845,7 +11941,7 @@

          CKM_MD5_RSA_PKCS

        - +
          @@ -10861,7 +11957,7 @@

          CKM_SHA1_RSA_PKCS

        - +
          @@ -10877,7 +11973,7 @@

          CKM_RIPEMD128_RSA_PKCS

        - +
          @@ -10893,7 +11989,7 @@

          CKM_RIPEMD160_RSA_PKCS

        - +
          @@ -10909,7 +12005,7 @@

          CKM_RSA_PKCS_OAEP

        - +
          @@ -10925,7 +12021,7 @@

          CKM_RSA_X9_31_KEY_PAIR_GEN

        - +
          @@ -10941,7 +12037,7 @@

          CKM_RSA_X9_31

        - +
          @@ -10957,7 +12053,7 @@

          CKM_SHA1_RSA_X9_31

        - +
          @@ -10973,7 +12069,7 @@

          CKM_RSA_PKCS_PSS

        - +
          @@ -10989,7 +12085,7 @@

          CKM_SHA1_RSA_PKCS_PSS

        - +
          @@ -11005,7 +12101,7 @@

          CKM_DSA_KEY_PAIR_GEN

        - +
          @@ -11021,7 +12117,7 @@

          CKM_DSA

        - +
          @@ -11037,7 +12133,7 @@

          CKM_DSA_SHA1

        - +
          @@ -11053,7 +12149,7 @@

          CKM_DSA_SHA224

        - +
          @@ -11069,7 +12165,7 @@

          CKM_DSA_SHA256

        - +
          @@ -11085,7 +12181,7 @@

          CKM_DSA_SHA384

        - +
          @@ -11101,7 +12197,7 @@

          CKM_DSA_SHA512

        - +
          @@ -11117,7 +12213,7 @@

          CKM_DSA_SHA3_224

        - +
          @@ -11133,7 +12229,7 @@

          CKM_DSA_SHA3_256

        - +
          @@ -11149,7 +12245,7 @@

          CKM_DSA_SHA3_384

        - +
          @@ -11165,7 +12261,7 @@

          CKM_DSA_SHA3_512

        - +
          @@ -11181,7 +12277,7 @@

          CKM_DH_PKCS_KEY_PAIR_GEN

        - +
          @@ -11197,7 +12293,7 @@

          CKM_DH_PKCS_DERIVE

        - +
          @@ -11213,7 +12309,7 @@

          CKM_X9_42_DH_KEY_PAIR_GEN

        - +
          @@ -11229,7 +12325,7 @@

          CKM_X9_42_DH_DERIVE

        - +
          @@ -11245,7 +12341,7 @@

          CKM_X9_42_DH_HYBRID_DERIVE

        - +
          @@ -11261,7 +12357,7 @@

          CKM_X9_42_MQV_DERIVE

        - +
          @@ -11277,7 +12373,7 @@

          CKM_SHA256_RSA_PKCS

        - +
          @@ -11293,7 +12389,7 @@

          CKM_SHA384_RSA_PKCS

        - +
          @@ -11309,7 +12405,7 @@

          CKM_SHA512_RSA_PKCS

        - +
          @@ -11325,7 +12421,7 @@

          CKM_SHA256_RSA_PKCS_PSS

        - +
          @@ -11341,7 +12437,7 @@

          CKM_SHA384_RSA_PKCS_PSS

        - +
          @@ -11357,7 +12453,7 @@

          CKM_SHA512_RSA_PKCS_PSS

        - +
          @@ -11373,7 +12469,7 @@

          CKM_SHA224_RSA_PKCS

        - +
          @@ -11389,7 +12485,7 @@

          CKM_SHA224_RSA_PKCS_PSS

        - +
          @@ -11405,7 +12501,7 @@

          CKM_SHA512_224

        - +
          @@ -11421,7 +12517,7 @@

          CKM_SHA512_224_HMAC

        - +
          @@ -11437,7 +12533,7 @@

          CKM_SHA512_224_HMAC_GENERAL

        - +
          @@ -11453,7 +12549,7 @@

          CKM_SHA512_224_KEY_DERIVATION

        - +
          @@ -11469,7 +12565,7 @@

          CKM_SHA512_256

        - +
          @@ -11485,7 +12581,7 @@

          CKM_SHA512_256_HMAC

        - +
          @@ -11501,7 +12597,7 @@

          CKM_SHA512_256_HMAC_GENERAL

        - +
          @@ -11517,7 +12613,7 @@

          CKM_SHA512_256_KEY_DERIVATION

        - +
          @@ -11533,7 +12629,7 @@

          CKM_SHA512_T

        - +
          @@ -11549,7 +12645,7 @@

          CKM_SHA512_T_HMAC

        - +
          @@ -11565,7 +12661,7 @@

          CKM_SHA512_T_HMAC_GENERAL

        - +
          @@ -11581,7 +12677,7 @@

          CKM_SHA512_T_KEY_DERIVATION

        - +
          @@ -11597,7 +12693,7 @@

          CKM_SHA3_256_RSA_PKCS

        - +
          @@ -11613,7 +12709,7 @@

          CKM_SHA3_384_RSA_PKCS

        - +
          @@ -11629,7 +12725,7 @@

          CKM_SHA3_512_RSA_PKCS

        - +
          @@ -11645,7 +12741,7 @@

          CKM_SHA3_256_RSA_PKCS_PSS

        - +
          @@ -11661,7 +12757,7 @@

          CKM_SHA3_384_RSA_PKCS_PSS

        - +
          @@ -11677,7 +12773,7 @@

          CKM_SHA3_512_RSA_PKCS_PSS

        - +
          @@ -11693,7 +12789,7 @@

          CKM_SHA3_224_RSA_PKCS

        - +
          @@ -11709,7 +12805,7 @@

          CKM_SHA3_224_RSA_PKCS_PSS

        - +
          @@ -11725,7 +12821,7 @@

          CKM_RC2_KEY_GEN

        - +
          @@ -11741,7 +12837,7 @@

          CKM_RC2_ECB

        - +
          @@ -11757,7 +12853,7 @@

          CKM_RC2_CBC

        - +
          @@ -11773,7 +12869,7 @@

          CKM_RC2_MAC

        - +
          @@ -11789,7 +12885,7 @@

          CKM_RC2_MAC_GENERAL

        - +
          @@ -11805,7 +12901,7 @@

          CKM_RC2_CBC_PAD

        - +
          @@ -11821,7 +12917,7 @@

          CKM_RC4_KEY_GEN

        - +
          @@ -11837,7 +12933,7 @@

          CKM_RC4

        - +
          @@ -11853,7 +12949,7 @@

          CKM_DES_KEY_GEN

        - +
          @@ -11869,7 +12965,7 @@

          CKM_DES_ECB

        - +
          @@ -11885,7 +12981,7 @@

          CKM_DES_CBC

        - +
          @@ -11901,7 +12997,7 @@

          CKM_DES_MAC

        - +
          @@ -11917,7 +13013,7 @@

          CKM_DES_MAC_GENERAL

        - +
          @@ -11933,7 +13029,7 @@

          CKM_DES_CBC_PAD

        - +
          @@ -11949,7 +13045,7 @@

          CKM_DES2_KEY_GEN

        - +
          @@ -11965,7 +13061,7 @@

          CKM_DES3_KEY_GEN

        - +
          @@ -11981,7 +13077,7 @@

          CKM_DES3_ECB

        - +
          @@ -11997,7 +13093,7 @@

          CKM_DES3_CBC

        - +
          @@ -12013,7 +13109,7 @@

          CKM_DES3_MAC

        - +
          @@ -12029,7 +13125,7 @@

          CKM_DES3_MAC_GENERAL

        - +
          @@ -12045,7 +13141,7 @@

          CKM_DES3_CBC_PAD

        - +
          @@ -12061,7 +13157,7 @@

          CKM_CDMF_KEY_GEN

        - +
          @@ -12077,7 +13173,7 @@

          CKM_CDMF_ECB

        - +
          @@ -12093,7 +13189,7 @@

          CKM_CDMF_CBC

        - +
          @@ -12109,7 +13205,7 @@

          CKM_CDMF_MAC

        - +
          @@ -12125,7 +13221,7 @@

          CKM_CDMF_MAC_GENERAL

        - +
          @@ -12141,7 +13237,7 @@

          CKM_CDMF_CBC_PAD

        - +
          @@ -12157,7 +13253,7 @@

          CKM_DES_OFB64

        - +
          @@ -12173,7 +13269,7 @@

          CKM_DES_OFB8

        - +
          @@ -12189,7 +13285,7 @@

          CKM_DES_CFB64

        - +
          @@ -12205,7 +13301,7 @@

          CKM_DES_CFB8

        - +
          @@ -12221,7 +13317,7 @@

          CKM_MD2

        - +
          @@ -12237,7 +13333,7 @@

          CKM_MD2_HMAC

        - +
          @@ -12253,7 +13349,7 @@

          CKM_MD2_HMAC_GENERAL

        - +
          @@ -12269,7 +13365,7 @@

          CKM_MD5

        - +
          @@ -12285,7 +13381,7 @@

          CKM_MD5_HMAC

        - +
          @@ -12301,7 +13397,7 @@

          CKM_MD5_HMAC_GENERAL

        - +
          @@ -12317,7 +13413,7 @@

          CKM_SHA_1

        - +
          @@ -12333,7 +13429,7 @@

          CKM_SHA_1_HMAC

        - +
          @@ -12349,7 +13445,7 @@

          CKM_SHA_1_HMAC_GENERAL

        - +
          @@ -12365,7 +13461,7 @@

          CKM_RIPEMD128

        - +
          @@ -12381,7 +13477,7 @@

          CKM_RIPEMD128_HMAC

        - +
          @@ -12397,7 +13493,7 @@

          CKM_RIPEMD128_HMAC_GENERAL

        - +
          @@ -12413,7 +13509,7 @@

          CKM_RIPEMD160

        - +
          @@ -12429,7 +13525,7 @@

          CKM_RIPEMD160_HMAC

        - +
          @@ -12445,7 +13541,7 @@

          CKM_RIPEMD160_HMAC_GENERAL

        - +
          @@ -12461,7 +13557,7 @@

          CKM_SHA256

        - +
          @@ -12477,7 +13573,7 @@

          CKM_SHA256_HMAC

        - +
          @@ -12493,7 +13589,7 @@

          CKM_SHA256_HMAC_GENERAL

        - +
          @@ -12509,7 +13605,7 @@

          CKM_SHA384

        - +
          @@ -12525,7 +13621,7 @@

          CKM_SHA384_HMAC

        - +
          @@ -12541,7 +13637,7 @@

          CKM_SHA384_HMAC_GENERAL

        - +
          @@ -12557,7 +13653,7 @@

          CKM_SHA512

        - +
          @@ -12573,7 +13669,7 @@

          CKM_SHA512_HMAC

        - +
          @@ -12589,7 +13685,7 @@

          CKM_SHA512_HMAC_GENERAL

        - +
          @@ -12605,7 +13701,7 @@

          CKM_SHA224

        - +
          @@ -12621,7 +13717,7 @@

          CKM_SHA224_HMAC

        - +
          @@ -12637,7 +13733,7 @@

          CKM_SHA224_HMAC_GENERAL

        - +
          @@ -12653,7 +13749,7 @@

          CKM_SECURID_KEY_GEN

        - +
          @@ -12669,7 +13765,7 @@

          CKM_SECURID

        - +
          @@ -12685,7 +13781,7 @@

          CKM_HOTP_KEY_GEN

        - +
          @@ -12701,7 +13797,7 @@

          CKM_HOTP

        - +
          @@ -12717,7 +13813,7 @@

          CKM_ACTI

        - +
          @@ -12733,7 +13829,7 @@

          CKM_ACTI_KEY_GEN

        - +
          @@ -12749,7 +13845,7 @@

          CKM_SHA3_256

        - +
          @@ -12765,7 +13861,7 @@

          CKM_SHA3_256_HMAC

        - +
          @@ -12781,7 +13877,7 @@

          CKM_SHA3_256_HMAC_GENERAL

        - +
          @@ -12797,7 +13893,7 @@

          CKM_SHA3_256_KEY_GEN

        - +
          @@ -12813,7 +13909,7 @@

          CKM_SHA3_224

        - +
          @@ -12829,7 +13925,7 @@

          CKM_SHA3_224_HMAC

        - +
          @@ -12845,7 +13941,7 @@

          CKM_SHA3_224_HMAC_GENERAL

        - +
          @@ -12861,7 +13957,7 @@

          CKM_SHA3_224_KEY_GEN

        - +
          @@ -12877,7 +13973,7 @@

          CKM_SHA3_384

        - +
          @@ -12893,7 +13989,7 @@

          CKM_SHA3_384_HMAC

        - +
          @@ -12909,7 +14005,7 @@

          CKM_SHA3_384_HMAC_GENERAL

        - +
          @@ -12925,7 +14021,7 @@

          CKM_SHA3_384_KEY_GEN

        - +
          @@ -12941,7 +14037,7 @@

          CKM_SHA3_512

        - +
          @@ -12957,7 +14053,7 @@

          CKM_SHA3_512_HMAC

        - +
          @@ -12973,7 +14069,7 @@

          CKM_SHA3_512_HMAC_GENERAL

        - +
          @@ -12989,7 +14085,7 @@

          CKM_SHA3_512_KEY_GEN

        - +
          @@ -13005,7 +14101,7 @@

          CKM_CAST_KEY_GEN

        - +
          @@ -13021,7 +14117,7 @@

          CKM_CAST_ECB

        - +
          @@ -13037,7 +14133,7 @@

          CKM_CAST_CBC

        - +
          @@ -13053,7 +14149,7 @@

          CKM_CAST_MAC

        - +
          @@ -13069,7 +14165,7 @@

          CKM_CAST_MAC_GENERAL

        - +
          @@ -13085,7 +14181,7 @@

          CKM_CAST_CBC_PAD

        - +
          @@ -13101,7 +14197,7 @@

          CKM_CAST3_KEY_GEN

        - +
          @@ -13117,7 +14213,7 @@

          CKM_CAST3_ECB

        - +
          @@ -13133,7 +14229,7 @@

          CKM_CAST3_CBC

        - +
          @@ -13149,7 +14245,7 @@

          CKM_CAST3_MAC

        - +
          @@ -13165,7 +14261,7 @@

          CKM_CAST3_MAC_GENERAL

        - +
          @@ -13181,7 +14277,7 @@

          CKM_CAST3_CBC_PAD

        - +
          @@ -13197,7 +14293,7 @@

          CKM_CAST5_KEY_GEN

        - +
          @@ -13213,7 +14309,7 @@

          CKM_CAST128_KEY_GEN

        - +
          @@ -13229,7 +14325,7 @@

          CKM_CAST5_ECB

        - +
          @@ -13245,7 +14341,7 @@

          CKM_CAST128_ECB

        - +
          @@ -13261,7 +14357,7 @@

          CKM_CAST5_CBC

        - +
          @@ -13277,7 +14373,7 @@

          CKM_CAST128_CBC

        - +
          @@ -13293,7 +14389,7 @@

          CKM_CAST5_MAC

        - +
          @@ -13309,7 +14405,7 @@

          CKM_CAST128_MAC

        - +
          @@ -13325,7 +14421,7 @@

          CKM_CAST5_MAC_GENERAL

        - +
          @@ -13341,7 +14437,7 @@

          CKM_CAST128_MAC_GENERAL

        - +
          @@ -13357,7 +14453,7 @@

          CKM_CAST5_CBC_PAD

        - +
          @@ -13373,7 +14469,7 @@

          CKM_CAST128_CBC_PAD

        - +
          @@ -13389,7 +14485,7 @@

          CKM_RC5_KEY_GEN

        - +
          @@ -13405,7 +14501,7 @@

          CKM_RC5_ECB

        - +
          @@ -13421,7 +14517,7 @@

          CKM_RC5_CBC

        - +
          @@ -13437,7 +14533,7 @@

          CKM_RC5_MAC

        - +
          @@ -13453,7 +14549,7 @@

          CKM_RC5_MAC_GENERAL

        - +
          @@ -13469,7 +14565,7 @@

          CKM_RC5_CBC_PAD

        - +
          @@ -13485,7 +14581,7 @@

          CKM_IDEA_KEY_GEN

        - +
          @@ -13501,7 +14597,7 @@

          CKM_IDEA_ECB

        - +
          @@ -13517,7 +14613,7 @@

          CKM_IDEA_CBC

        - +
          @@ -13533,7 +14629,7 @@

          CKM_IDEA_MAC

        - +
          @@ -13549,7 +14645,7 @@

          CKM_IDEA_MAC_GENERAL

        - +
          @@ -13565,7 +14661,7 @@

          CKM_IDEA_CBC_PAD

        - +
          @@ -13581,7 +14677,7 @@

          CKM_GENERIC_SECRET_KEY_GEN

        - +
          @@ -13597,7 +14693,7 @@

          CKM_CONCATENATE_BASE_AND_KEY

        - +
          @@ -13613,7 +14709,7 @@

          CKM_CONCATENATE_BASE_AND_DATA

        - +
          @@ -13629,7 +14725,7 @@

          CKM_CONCATENATE_DATA_AND_BASE

        - +
          @@ -13645,7 +14741,7 @@

          CKM_XOR_BASE_AND_DATA

        - +
          @@ -13661,7 +14757,7 @@

          CKM_EXTRACT_KEY_FROM_KEY

        - +
          @@ -13677,7 +14773,7 @@

          CKM_SSL3_PRE_MASTER_KEY_GEN

        - +
          @@ -13693,7 +14789,7 @@

          CKM_SSL3_MASTER_KEY_DERIVE

        - +
          @@ -13709,7 +14805,7 @@

          CKM_SSL3_KEY_AND_MAC_DERIVE

        - +
          @@ -13725,7 +14821,7 @@

          CKM_SSL3_MASTER_KEY_DERIVE_DH

        - +
          @@ -13741,7 +14837,7 @@

          CKM_TLS_PRE_MASTER_KEY_GEN

        - +
          @@ -13757,7 +14853,7 @@

          CKM_TLS_MASTER_KEY_DERIVE

        - +
          @@ -13773,7 +14869,7 @@

          CKM_TLS_KEY_AND_MAC_DERIVE

        - +
          @@ -13789,7 +14885,7 @@

          CKM_TLS_MASTER_KEY_DERIVE_DH

        - +
          @@ -13805,7 +14901,7 @@

          CKM_TLS_PRF

        - +
          @@ -13821,7 +14917,7 @@

          CKM_SSL3_MD5_MAC

        - +
          @@ -13837,7 +14933,7 @@

          CKM_SSL3_SHA1_MAC

        - +
          @@ -13853,7 +14949,7 @@

          CKM_MD5_KEY_DERIVATION

        - +
          @@ -13869,7 +14965,7 @@

          CKM_MD2_KEY_DERIVATION

        - +
          @@ -13885,7 +14981,7 @@

          CKM_SHA1_KEY_DERIVATION

        - +
          @@ -13901,7 +14997,7 @@

          CKM_SHA256_KEY_DERIVATION

        - +
          @@ -13917,7 +15013,7 @@

          CKM_SHA384_KEY_DERIVATION

        - +
          @@ -13933,7 +15029,7 @@

          CKM_SHA512_KEY_DERIVATION

        - +
          @@ -13949,7 +15045,7 @@

          CKM_SHA224_KEY_DERIVATION

        - +
          @@ -13965,7 +15061,7 @@

          CKM_SHA3_256_KEY_DERIVATION

        - +
          @@ -13981,7 +15077,7 @@

          CKM_SHA3_224_KEY_DERIVATION

        - +
          @@ -13997,7 +15093,7 @@

          CKM_SHA3_384_KEY_DERIVATION

        - +
          @@ -14013,7 +15109,7 @@

          CKM_SHA3_512_KEY_DERIVATION

        - +
          @@ -14029,7 +15125,7 @@

          CKM_SHAKE_128_KEY_DERIVATION

        - +
          @@ -14045,7 +15141,7 @@

          CKM_SHAKE_256_KEY_DERIVATION

        - +
          @@ -14061,7 +15157,7 @@

          CKM_PBE_MD2_DES_CBC

        - +
          @@ -14077,7 +15173,7 @@

          CKM_PBE_MD5_DES_CBC

        - +
          @@ -14093,7 +15189,7 @@

          CKM_PBE_MD5_CAST_CBC

        - +
          @@ -14109,7 +15205,7 @@

          CKM_PBE_MD5_CAST3_CBC

        - +
          @@ -14125,7 +15221,7 @@

          CKM_PBE_MD5_CAST5_CBC

        - +
          @@ -14141,7 +15237,7 @@

          CKM_PBE_MD5_CAST128_CBC

        - +
          @@ -14157,7 +15253,7 @@

          CKM_PBE_SHA1_CAST5_CBC

        - +
          @@ -14173,7 +15269,7 @@

          CKM_PBE_SHA1_CAST128_CBC

        - +
          @@ -14189,7 +15285,7 @@

          CKM_PBE_SHA1_RC4_128

        - +
          @@ -14205,7 +15301,7 @@

          CKM_PBE_SHA1_RC4_40

        - +
          @@ -14221,7 +15317,7 @@

          CKM_PBE_SHA1_DES3_EDE_CBC

        - +
          @@ -14237,7 +15333,7 @@

          CKM_PBE_SHA1_DES2_EDE_CBC

        - +
          @@ -14253,7 +15349,7 @@

          CKM_PBE_SHA1_RC2_128_CBC

        - +
          @@ -14269,7 +15365,7 @@

          CKM_PBE_SHA1_RC2_40_CBC

        - +
          @@ -14285,7 +15381,7 @@

          CKM_PKCS5_PBKD2

        - +
          @@ -14301,7 +15397,7 @@

          CKM_PBA_SHA1_WITH_SHA1_HMAC

        - +
          @@ -14317,7 +15413,7 @@

          CKM_WTLS_PRE_MASTER_KEY_GEN

        - +
          @@ -14333,7 +15429,7 @@

          CKM_WTLS_MASTER_KEY_DERIVE

        - +
          @@ -14349,7 +15445,7 @@

          CKM_WTLS_MASTER_KEY_DERIVE_DH_ECC

        - +
          @@ -14365,7 +15461,7 @@

          CKM_WTLS_PRF

        - +
          @@ -14381,7 +15477,7 @@

          CKM_WTLS_SERVER_KEY_AND_MAC_DERIVE

        - +
          @@ -14397,7 +15493,7 @@

          CKM_WTLS_CLIENT_KEY_AND_MAC_DERIVE

        - +
          @@ -14413,7 +15509,7 @@

          CKM_TLS12_MASTER_KEY_DERIVE

        - +
          @@ -14429,7 +15525,7 @@

          CKM_TLS12_KEY_AND_MAC_DERIVE

        - +
          @@ -14445,7 +15541,7 @@

          CKM_TLS12_MASTER_KEY_DERIVE_DH

        - +
          @@ -14461,7 +15557,7 @@

          CKM_TLS12_KEY_SAFE_DERIVE

        - +
          @@ -14477,7 +15573,7 @@

          CKM_TLS12_MAC

        - +
          @@ -14493,7 +15589,7 @@

          CKM_TLS12_KDF

        - +
          @@ -14509,7 +15605,7 @@

          CKM_TLS_MAC

        - +
          @@ -14525,7 +15621,7 @@

          CKM_TLS_KDF

        - +
          @@ -14541,7 +15637,7 @@

          CKM_KEY_WRAP_LYNKS

        - +
          @@ -14557,7 +15653,7 @@

          CKM_KEY_WRAP_SET_OAEP

        - +
          @@ -14573,7 +15669,7 @@

          CKM_CMS_SIG

        - +
          @@ -14589,7 +15685,7 @@

          CKM_KIP_DERIVE

        - +
          @@ -14605,7 +15701,7 @@

          CKM_KIP_WRAP

        - +
          @@ -14621,7 +15717,7 @@

          CKM_KIP_MAC

        - +
          @@ -14637,7 +15733,7 @@

          CKM_SKIPJACK_KEY_GEN

        - +
          @@ -14653,7 +15749,7 @@

          CKM_SKIPJACK_ECB64

        - +
          @@ -14669,7 +15765,7 @@

          CKM_SKIPJACK_CBC64

        - +
          @@ -14685,7 +15781,7 @@

          CKM_SKIPJACK_OFB64

        - +
          @@ -14701,7 +15797,7 @@

          CKM_SKIPJACK_CFB64

        - +
          @@ -14717,7 +15813,7 @@

          CKM_SKIPJACK_CFB32

        - +
          @@ -14733,7 +15829,7 @@

          CKM_SKIPJACK_CFB16

        - +
          @@ -14749,7 +15845,7 @@

          CKM_SKIPJACK_CFB8

        - +
          @@ -14765,7 +15861,7 @@

          CKM_SKIPJACK_WRAP

        - +
          @@ -14781,7 +15877,7 @@

          CKM_SKIPJACK_PRIVATE_WRAP

        - +
          @@ -14797,7 +15893,7 @@

          CKM_SKIPJACK_RELAYX

        - +
          @@ -14813,7 +15909,7 @@

          CKM_KEA_KEY_PAIR_GEN

        - +
          @@ -14829,7 +15925,7 @@

          CKM_KEA_KEY_DERIVE

        - +
          @@ -14845,7 +15941,7 @@

          CKM_FORTEZZA_TIMESTAMP

        - +
          @@ -14861,7 +15957,7 @@

          CKM_BATON_KEY_GEN

        - +
          @@ -14877,7 +15973,7 @@

          CKM_BATON_ECB128

        - +
          @@ -14893,7 +15989,7 @@

          CKM_BATON_ECB96

        - +
          @@ -14909,7 +16005,7 @@

          CKM_BATON_CBC128

        - +
          @@ -14925,7 +16021,7 @@

          CKM_BATON_COUNTER

        - +
          @@ -14941,7 +16037,7 @@

          CKM_BATON_SHUFFLE

        - +
          @@ -14957,7 +16053,7 @@

          CKM_BATON_WRAP

        - +
          @@ -14973,7 +16069,7 @@

          CKM_ECDSA_KEY_PAIR_GEN

        - +
          @@ -14989,7 +16085,7 @@

          CKM_EC_KEY_PAIR_GEN

        - +
          @@ -15005,7 +16101,7 @@

          CKM_ECDSA

        - +
          @@ -15021,7 +16117,7 @@

          CKM_ECDSA_SHA1

        - +
          @@ -15037,7 +16133,7 @@

          CKM_ECDSA_SHA224

        - +
          @@ -15053,7 +16149,7 @@

          CKM_ECDSA_SHA256

        - +
          @@ -15069,7 +16165,7 @@

          CKM_ECDSA_SHA384

        - +
          @@ -15085,7 +16181,7 @@

          CKM_ECDSA_SHA512

        - +
          @@ -15101,7 +16197,7 @@

          CKM_EC_KEY_PAIR_GEN_W_EXTRA_BITS

        - +
          @@ -15117,7 +16213,7 @@

          CKM_ECDH1_DERIVE

        - +
          @@ -15133,7 +16229,7 @@

          CKM_ECDH1_COFACTOR_DERIVE

        - +
          @@ -15149,7 +16245,7 @@

          CKM_ECMQV_DERIVE

        - +
          @@ -15165,7 +16261,7 @@

          CKM_ECDH_AES_KEY_WRAP

        - +
          @@ -15181,7 +16277,7 @@

          CKM_RSA_AES_KEY_WRAP

        - +
          @@ -15197,7 +16293,7 @@

          CKM_JUNIPER_KEY_GEN

        - +
          @@ -15213,7 +16309,7 @@

          CKM_JUNIPER_ECB128

        - +
          @@ -15229,7 +16325,7 @@

          CKM_JUNIPER_CBC128

        - +
          @@ -15245,7 +16341,7 @@

          CKM_JUNIPER_COUNTER

        - +
          @@ -15261,7 +16357,7 @@

          CKM_JUNIPER_SHUFFLE

        - +
          @@ -15277,7 +16373,7 @@

          CKM_JUNIPER_WRAP

        - +
          @@ -15293,7 +16389,7 @@

          CKM_FASTHASH

        - +
          @@ -15309,7 +16405,7 @@

          CKM_AES_KEY_GEN

        - +
          @@ -15325,7 +16421,7 @@

          CKM_AES_ECB

        - +
          @@ -15341,7 +16437,7 @@

          CKM_AES_CBC

        - +
          @@ -15357,7 +16453,7 @@

          CKM_AES_MAC

        - +
          @@ -15373,7 +16469,7 @@

          CKM_AES_MAC_GENERAL

        - +
          @@ -15389,7 +16485,7 @@

          CKM_AES_CBC_PAD

        - +
          @@ -15405,7 +16501,7 @@

          CKM_AES_CTR

        - +
          @@ -15421,7 +16517,7 @@

          CKM_AES_GCM

        - +
          @@ -15437,7 +16533,7 @@

          CKM_AES_CCM

        - +
          @@ -15453,7 +16549,7 @@

          CKM_AES_CTS

        - +
          @@ -15469,7 +16565,7 @@

          CKM_AES_CMAC

        - +
          @@ -15485,7 +16581,7 @@

          CKM_AES_CMAC_GENERAL

        - +
          @@ -15501,7 +16597,7 @@

          CKM_AES_XCBC_MAC

        - +
          @@ -15517,7 +16613,7 @@

          CKM_AES_XCBC_MAC_96

        - +
          @@ -15533,7 +16629,7 @@

          CKM_BLOWFISH_KEY_GEN

        - +
          @@ -15549,7 +16645,7 @@

          CKM_BLOWFISH_CBC

        - +
          @@ -15565,7 +16661,7 @@

          CKM_TWOFISH_KEY_GEN

        - +
          @@ -15581,7 +16677,7 @@

          CKM_TWOFISH_CBC

        - +
          @@ -15597,7 +16693,7 @@

          CKM_BLOWFISH_CBC_PAD

        - +
          @@ -15613,7 +16709,7 @@

          CKM_TWOFISH_CBC_PAD

        - +
          @@ -15629,7 +16725,7 @@

          CKM_CAMELLIA_KEY_GEN

        - +
          @@ -15645,7 +16741,7 @@

          CKM_CAMELLIA_ECB

        - +
          @@ -15661,7 +16757,7 @@

          CKM_CAMELLIA_CBC

        - +
          @@ -15677,7 +16773,7 @@

          CKM_CAMELLIA_MAC

        - +
          @@ -15693,7 +16789,7 @@

          CKM_CAMELLIA_MAC_GENERAL

        - +
          @@ -15709,7 +16805,7 @@

          CKM_CAMELLIA_CBC_PAD

        - +
          @@ -15725,7 +16821,7 @@

          CKM_CAMELLIA_ECB_ENCRYPT_DATA

        - +
          @@ -15741,7 +16837,7 @@

          CKM_CAMELLIA_CBC_ENCRYPT_DATA

        - +
          @@ -15757,7 +16853,7 @@

          CKM_ARIA_KEY_GEN

        - +
          @@ -15773,7 +16869,7 @@

          CKM_ARIA_ECB

        - +
          @@ -15789,7 +16885,7 @@

          CKM_ARIA_CBC

        - +
          @@ -15805,7 +16901,7 @@

          CKM_ARIA_MAC

        - +
          @@ -15821,7 +16917,7 @@

          CKM_ARIA_MAC_GENERAL

        - +
          @@ -15837,7 +16933,7 @@

          CKM_ARIA_CBC_PAD

        - +
          @@ -15853,7 +16949,7 @@

          CKM_ARIA_ECB_ENCRYPT_DATA

        - +
          @@ -15869,7 +16965,7 @@

          CKM_ARIA_CBC_ENCRYPT_DATA

        - +
          @@ -15885,7 +16981,7 @@

          CKM_SEED_KEY_GEN

        - +
          @@ -15901,7 +16997,7 @@

          CKM_SEED_ECB

        - +
          @@ -15917,7 +17013,7 @@

          CKM_SEED_CBC

        - +
          @@ -15933,7 +17029,7 @@

          CKM_SEED_MAC

        - +
          @@ -15949,7 +17045,7 @@

          CKM_SEED_MAC_GENERAL

        - +
          @@ -15965,7 +17061,7 @@

          CKM_SEED_CBC_PAD

        - +
          @@ -15981,7 +17077,7 @@

          CKM_SEED_ECB_ENCRYPT_DATA

        - +
          @@ -15997,7 +17093,7 @@

          CKM_SEED_CBC_ENCRYPT_DATA

        - +
          @@ -16013,7 +17109,7 @@

          CKM_ECDSA_SHA3_224

        - +
          @@ -16029,7 +17125,7 @@

          CKM_ECDSA_SHA3_256

        - +
          @@ -16045,7 +17141,7 @@

          CKM_ECDSA_SHA3_384

        - +
          @@ -16061,7 +17157,7 @@

          CKM_ECDSA_SHA3_512

        - +
          @@ -16077,7 +17173,7 @@

          CKM_EC_EDWARDS_KEY_PAIR_GEN

        - +
          @@ -16093,7 +17189,7 @@

          CKM_EC_MONTGOMERY_KEY_PAIR_GEN

        - +
          @@ -16109,7 +17205,7 @@

          CKM_EDDSA

        - +
          @@ -16125,7 +17221,7 @@

          CKM_DES_ECB_ENCRYPT_DATA

        - +
          @@ -16141,7 +17237,7 @@

          CKM_DES_CBC_ENCRYPT_DATA

        - +
          @@ -16157,7 +17253,7 @@

          CKM_DES3_ECB_ENCRYPT_DATA

        - +
          @@ -16173,7 +17269,7 @@

          CKM_DES3_CBC_ENCRYPT_DATA

        - +
          @@ -16189,7 +17285,7 @@

          CKM_AES_ECB_ENCRYPT_DATA

        - +
          @@ -16205,7 +17301,7 @@

          CKM_AES_CBC_ENCRYPT_DATA

        - +
          @@ -16221,7 +17317,7 @@

          CKM_GOSTR3410_KEY_PAIR_GEN

        - +
          @@ -16237,7 +17333,7 @@

          CKM_GOSTR3410

        - +
          @@ -16253,7 +17349,7 @@

          CKM_GOSTR3410_WITH_GOSTR3411

        - +
          @@ -16269,7 +17365,7 @@

          CKM_GOSTR3410_KEY_WRAP

        - +
          @@ -16285,7 +17381,7 @@

          CKM_GOSTR3410_DERIVE

        - +
          @@ -16301,7 +17397,7 @@

          CKM_GOSTR3411

        - +
          @@ -16317,7 +17413,7 @@

          CKM_GOSTR3411_HMAC

        - +
          @@ -16333,7 +17429,7 @@

          CKM_GOST28147_KEY_GEN

        - +
          @@ -16349,7 +17445,7 @@

          CKM_GOST28147_ECB

        - +
          @@ -16365,7 +17461,7 @@

          CKM_GOST28147

        - +
          @@ -16381,7 +17477,7 @@

          CKM_GOST28147_MAC

        - +
          @@ -16397,7 +17493,7 @@

          CKM_GOST28147_KEY_WRAP

        - +
          @@ -16413,7 +17509,7 @@

          CKM_CHACHA20_KEY_GEN

        - +
          @@ -16429,7 +17525,7 @@

          CKM_CHACHA20

        - +
          @@ -16445,7 +17541,7 @@

          CKM_POLY1305_KEY_GEN

        - +
          @@ -16461,7 +17557,7 @@

          CKM_POLY1305

        - +
          @@ -16477,7 +17573,7 @@

          CKM_DSA_PARAMETER_GEN

        - +
          @@ -16493,7 +17589,7 @@

          CKM_DH_PKCS_PARAMETER_GEN

        - +
          @@ -16509,7 +17605,7 @@

          CKM_X9_42_DH_PARAMETER_GEN

        - +
          @@ -16525,7 +17621,7 @@

          CKM_DSA_PROBABILISTIC_PARAMETER_GEN

        - +
          @@ -16541,7 +17637,7 @@

          CKM_DSA_SHAWE_TAYLOR_PARAMETER_GEN

        - +
          @@ -16557,7 +17653,7 @@

          CKM_DSA_FIPS_G_GEN

        - +
          @@ -16573,7 +17669,7 @@

          CKM_AES_CFB1

        - +
          @@ -16589,7 +17685,7 @@

          CKM_AES_KEY_WRAP

        - +
          @@ -16605,7 +17701,7 @@

          CKM_AES_KEY_WRAP_PAD

        - +
          @@ -16621,7 +17717,7 @@

          CKM_AES_KEY_WRAP_KWP

        - +
          @@ -16637,7 +17733,7 @@

          CKM_SP800_108_COUNTER_KDF

        - +
          @@ -16653,7 +17749,7 @@

          CKM_SP800_108_FEEDBACK_KDF

        - +
          @@ -16669,7 +17765,7 @@

          CKM_SP800_108_DOUBLE_PIPELINE_KDF

        - +
          @@ -16685,7 +17781,7 @@

          CKM_RSA_PKCS_TPM_1_1

        - +
          @@ -16701,7 +17797,7 @@

          CKM_RSA_PKCS_OAEP_TPM_1_1

        - +
          @@ -16717,7 +17813,7 @@

          CKM_SHA_1_KEY_GEN

        - +
          @@ -16733,7 +17829,7 @@

          CKM_SHA224_KEY_GEN

        - +
          @@ -16749,7 +17845,7 @@

          CKM_SHA256_KEY_GEN

        - +
          @@ -16765,7 +17861,7 @@

          CKM_SHA384_KEY_GEN

        - +
          @@ -16781,7 +17877,7 @@

          CKM_SHA512_KEY_GEN

        - +
          @@ -16797,7 +17893,7 @@

          CKM_SHA512_224_KEY_GEN

        - +
          @@ -16813,7 +17909,7 @@

          CKM_SHA512_256_KEY_GEN

        - +
          @@ -16829,7 +17925,7 @@

          CKM_SHA512_T_KEY_GEN

        - +
          @@ -16845,7 +17941,7 @@

          CKM_NULL

        - +
          @@ -16861,7 +17957,7 @@

          CKM_BLAKE2B_160

        - +
          @@ -16877,7 +17973,7 @@

          CKM_BLAKE2B_160_HMAC

        - +
          @@ -16893,7 +17989,7 @@

          CKM_BLAKE2B_160_HMAC_GENERAL

        - +
          @@ -16909,7 +18005,7 @@

          CKM_BLAKE2B_160_KEY_DERIVE

        - +
          @@ -16925,7 +18021,7 @@

          CKM_BLAKE2B_160_KEY_GEN

        - +
          @@ -16941,7 +18037,7 @@

          CKM_BLAKE2B_256

        - +
          @@ -16957,7 +18053,7 @@

          CKM_BLAKE2B_256_HMAC

        - +
          @@ -16973,7 +18069,7 @@

          CKM_BLAKE2B_256_HMAC_GENERAL

        - +
          @@ -16989,7 +18085,7 @@

          CKM_BLAKE2B_256_KEY_DERIVE

        - +
          @@ -17005,7 +18101,7 @@

          CKM_BLAKE2B_256_KEY_GEN

        - +
          @@ -17021,7 +18117,7 @@

          CKM_BLAKE2B_384

        - +
          @@ -17037,7 +18133,7 @@

          CKM_BLAKE2B_384_HMAC

        - +
          @@ -17053,7 +18149,7 @@

          CKM_BLAKE2B_384_HMAC_GENERAL

        - +
          @@ -17069,7 +18165,7 @@

          CKM_BLAKE2B_384_KEY_DERIVE

        - +
          @@ -17085,7 +18181,7 @@

          CKM_BLAKE2B_384_KEY_GEN

        - +
          @@ -17101,7 +18197,7 @@

          CKM_BLAKE2B_512

        - +
          @@ -17117,7 +18213,7 @@

          CKM_BLAKE2B_512_HMAC

        - +
          @@ -17133,7 +18229,7 @@

          CKM_BLAKE2B_512_HMAC_GENERAL

        - +
          @@ -17149,7 +18245,7 @@

          CKM_BLAKE2B_512_KEY_DERIVE

        - +
          @@ -17165,7 +18261,7 @@

          CKM_BLAKE2B_512_KEY_GEN

        - +
          @@ -17181,7 +18277,7 @@

          CKM_SALSA20

        - +
          @@ -17197,7 +18293,7 @@

          CKM_CHACHA20_POLY1305

        - +
          @@ -17213,7 +18309,7 @@

          CKM_SALSA20_POLY1305

        - +
          @@ -17229,7 +18325,7 @@

          CKM_X3DH_INITIALIZE

        - +
          @@ -17245,7 +18341,7 @@

          CKM_X3DH_RESPOND

        - +
          @@ -17261,7 +18357,7 @@

          CKM_X2RATCHET_INITIALIZE

        - +
          @@ -17277,7 +18373,7 @@

          CKM_X2RATCHET_RESPOND

        - +
          @@ -17293,7 +18389,7 @@

          CKM_X2RATCHET_ENCRYPT

        - +
          @@ -17309,7 +18405,7 @@

          CKM_X2RATCHET_DECRYPT

        - +
          @@ -17325,7 +18421,7 @@

          CKM_XEDDSA

        - +
          @@ -17341,7 +18437,7 @@

          CKM_HKDF_DERIVE

        - +
          @@ -17357,7 +18453,7 @@

          CKM_HKDF_DATA

        - +
          @@ -17373,7 +18469,7 @@

          CKM_HKDF_KEY_GEN

        - +
          @@ -17389,7 +18485,7 @@

          CKM_SALSA20_KEY_GEN

        - +
          @@ -17405,7 +18501,7 @@

          CKM_VENDOR_DEFINED

        - +
          @@ -17421,7 +18517,7 @@

          CKF_HW

        - +
          @@ -17437,7 +18533,7 @@

          CKF_MESSAGE_ENCRYPT

        - +
          @@ -17453,7 +18549,7 @@

          CKF_MESSAGE_DECRYPT

        - +
          @@ -17469,7 +18565,7 @@

          CKF_MESSAGE_SIGN

        - +
          @@ -17485,7 +18581,7 @@

          CKF_MESSAGE_VERIFY

        - +
          @@ -17501,7 +18597,7 @@

          CKF_MULTI_MESSAGE

        - +
          @@ -17517,7 +18613,7 @@

          CKF_FIND_OBJECTS

        - +
          @@ -17533,7 +18629,7 @@

          CKF_ENCRYPT

        - +
          @@ -17549,7 +18645,7 @@

          CKF_DECRYPT

        - +
          @@ -17565,7 +18661,7 @@

          CKF_DIGEST

        - +
          @@ -17581,7 +18677,7 @@

          CKF_SIGN

        - +
          @@ -17597,7 +18693,7 @@

          CKF_SIGN_RECOVER

        - +
          @@ -17613,7 +18709,7 @@

          CKF_VERIFY

        - +
          @@ -17629,7 +18725,7 @@

          CKF_VERIFY_RECOVER

        - +
          @@ -17645,7 +18741,7 @@

          CKF_GENERATE

        - +
          @@ -17661,7 +18757,7 @@

          CKF_GENERATE_KEY_PAIR

        - +
          @@ -17677,7 +18773,7 @@

          CKF_WRAP

        - +
          @@ -17693,7 +18789,7 @@

          CKF_UNWRAP

        - +
          @@ -17709,7 +18805,7 @@

          CKF_DERIVE

        - +
          @@ -17725,7 +18821,7 @@

          CKF_EC_F_P

        - +
          @@ -17741,7 +18837,7 @@

          CKF_EC_F_2M

        - +
          @@ -17757,7 +18853,7 @@

          CKF_EC_ECPARAMETERS

        - +
          @@ -17773,7 +18869,7 @@

          CKF_EC_OID

        - +
          @@ -17789,7 +18885,7 @@

          CKF_EC_NAMEDCURVE

        - +
          @@ -17805,7 +18901,7 @@

          CKF_EC_UNCOMPRESS

        - +
          @@ -17821,7 +18917,7 @@

          CKF_EC_COMPRESS

        - +
          @@ -17837,7 +18933,7 @@

          CKF_EXTENSION

        - +
          @@ -17853,7 +18949,7 @@

          CKR_OK

        - +
          @@ -17869,7 +18965,7 @@

          CKR_CANCEL

        - +
          @@ -17885,7 +18981,7 @@

          CKR_HOST_MEMORY

        - +
          @@ -17901,7 +18997,7 @@

          CKR_SLOT_ID_INVALID

        - +
          @@ -17917,7 +19013,7 @@

          CKR_GENERAL_ERROR

        - +
          @@ -17933,7 +19029,7 @@

          CKR_FUNCTION_FAILED

        - +
          @@ -17949,7 +19045,7 @@

          CKR_ARGUMENTS_BAD

        - +
          @@ -17965,7 +19061,7 @@

          CKR_NO_EVENT

        - +
          @@ -17981,7 +19077,7 @@

          CKR_NEED_TO_CREATE_THREADS

        - +
          @@ -17997,7 +19093,7 @@

          CKR_CANT_LOCK

        - +
          @@ -18013,7 +19109,7 @@

          CKR_ATTRIBUTE_READ_ONLY

        - +
          @@ -18029,7 +19125,7 @@

          CKR_ATTRIBUTE_SENSITIVE

        - +
          @@ -18045,7 +19141,7 @@

          CKR_ATTRIBUTE_TYPE_INVALID

        - +
          @@ -18061,7 +19157,7 @@

          CKR_ATTRIBUTE_VALUE_INVALID

        - +
          @@ -18077,7 +19173,7 @@

          CKR_ACTION_PROHIBITED

        - +
          @@ -18093,7 +19189,7 @@

          CKR_DATA_INVALID

        - +
          @@ -18109,7 +19205,7 @@

          CKR_DATA_LEN_RANGE

        - +
          @@ -18125,7 +19221,7 @@

          CKR_DEVICE_ERROR

        - +
          @@ -18141,7 +19237,7 @@

          CKR_DEVICE_MEMORY

        - +
          @@ -18157,7 +19253,7 @@

          CKR_DEVICE_REMOVED

        - +
          @@ -18173,7 +19269,7 @@

          CKR_ENCRYPTED_DATA_INVALID

        - +
          @@ -18189,7 +19285,7 @@

          CKR_ENCRYPTED_DATA_LEN_RANGE

        - +
          @@ -18205,7 +19301,7 @@

          CKR_FUNCTION_CANCELED

        - +
          @@ -18221,7 +19317,7 @@

          CKR_FUNCTION_NOT_PARALLEL

        - +
          @@ -18237,7 +19333,7 @@

          CKR_FUNCTION_NOT_SUPPORTED

        - +
          @@ -18253,7 +19349,7 @@

          CKR_KEY_HANDLE_INVALID

        - +
          @@ -18269,7 +19365,7 @@

          CKR_KEY_SIZE_RANGE

        - +
          @@ -18285,7 +19381,7 @@

          CKR_KEY_TYPE_INCONSISTENT

        - +
          @@ -18301,7 +19397,7 @@

          CKR_KEY_NOT_NEEDED

        - +
          @@ -18317,7 +19413,7 @@

          CKR_KEY_CHANGED

        - +
          @@ -18333,7 +19429,7 @@

          CKR_KEY_NEEDED

        - +
          @@ -18349,7 +19445,7 @@

          CKR_KEY_INDIGESTIBLE

        - +
          @@ -18365,7 +19461,7 @@

          CKR_KEY_FUNCTION_NOT_PERMITTED

        - +
          @@ -18381,7 +19477,7 @@

          CKR_KEY_NOT_WRAPPABLE

        - +
          @@ -18397,7 +19493,7 @@

          CKR_KEY_UNEXTRACTABLE

        - +
          @@ -18413,7 +19509,7 @@

          CKR_MECHANISM_INVALID

        - +
          @@ -18429,7 +19525,7 @@

          CKR_MECHANISM_PARAM_INVALID

        - +
          @@ -18445,7 +19541,7 @@

          CKR_OBJECT_HANDLE_INVALID

        - +
          @@ -18461,7 +19557,7 @@

          CKR_OPERATION_ACTIVE

        - +
          @@ -18477,7 +19573,7 @@

          CKR_OPERATION_NOT_INITIALIZED

        - +
          @@ -18493,7 +19589,7 @@

          CKR_PIN_INCORRECT

        - +
          @@ -18509,7 +19605,7 @@

          CKR_PIN_INVALID

        - +
          @@ -18525,7 +19621,7 @@

          CKR_PIN_LEN_RANGE

        - +
          @@ -18541,7 +19637,7 @@

          CKR_PIN_EXPIRED

        - +
          @@ -18557,7 +19653,7 @@

          CKR_PIN_LOCKED

        - +
          @@ -18573,7 +19669,7 @@

          CKR_SESSION_CLOSED

        - +
          @@ -18589,7 +19685,7 @@

          CKR_SESSION_COUNT

        - +
          @@ -18605,7 +19701,7 @@

          CKR_SESSION_HANDLE_INVALID

        - +
          @@ -18621,7 +19717,7 @@

          CKR_SESSION_PARALLEL_NOT_SUPPORTED

        - +
          @@ -18637,7 +19733,7 @@

          CKR_SESSION_READ_ONLY

        - +
          @@ -18653,7 +19749,7 @@

          CKR_SESSION_EXISTS

        - +
          @@ -18669,7 +19765,7 @@

          CKR_SESSION_READ_ONLY_EXISTS

        - +
          @@ -18685,7 +19781,7 @@

          CKR_SESSION_READ_WRITE_SO_EXISTS

        - +
          @@ -18701,7 +19797,7 @@

          CKR_SIGNATURE_INVALID

        - +
          @@ -18717,7 +19813,7 @@

          CKR_SIGNATURE_LEN_RANGE

        - +
          @@ -18733,7 +19829,7 @@

          CKR_TEMPLATE_INCOMPLETE

        - +
          @@ -18749,7 +19845,7 @@

          CKR_TEMPLATE_INCONSISTENT

        - +
          @@ -18765,7 +19861,7 @@

          CKR_TOKEN_NOT_PRESENT

        - +
          @@ -18781,7 +19877,7 @@

          CKR_TOKEN_NOT_RECOGNIZED

        - +
          @@ -18797,7 +19893,7 @@

          CKR_TOKEN_WRITE_PROTECTED

        - +
          @@ -18813,7 +19909,7 @@

          CKR_UNWRAPPING_KEY_HANDLE_INVALID

        - +
          @@ -18829,7 +19925,7 @@

          CKR_UNWRAPPING_KEY_SIZE_RANGE

        - +
          @@ -18845,7 +19941,7 @@

          CKR_UNWRAPPING_KEY_TYPE_INCONSISTENT

        - +
          @@ -18861,7 +19957,7 @@

          CKR_USER_ALREADY_LOGGED_IN

        - +
          @@ -18877,7 +19973,7 @@

          CKR_USER_NOT_LOGGED_IN

        - +
          @@ -18893,7 +19989,7 @@

          CKR_USER_PIN_NOT_INITIALIZED

        - +
          @@ -18909,7 +20005,7 @@

          CKR_USER_TYPE_INVALID

        - +
          @@ -18925,7 +20021,7 @@

          CKR_USER_ANOTHER_ALREADY_LOGGED_IN

        - +
          @@ -18941,7 +20037,7 @@

          CKR_USER_TOO_MANY_TYPES

        - +
          @@ -18957,7 +20053,7 @@

          CKR_WRAPPED_KEY_INVALID

        - +
          @@ -18973,7 +20069,7 @@

          CKR_WRAPPED_KEY_LEN_RANGE

        - +
          @@ -18989,7 +20085,7 @@

          CKR_WRAPPING_KEY_HANDLE_INVALID

        - +
          @@ -19005,7 +20101,7 @@

          CKR_WRAPPING_KEY_SIZE_RANGE

        - +
          @@ -19021,7 +20117,7 @@

          CKR_WRAPPING_KEY_TYPE_INCONSISTENT

        - +
          @@ -19037,7 +20133,7 @@

          CKR_RANDOM_SEED_NOT_SUPPORTED

        - +
          @@ -19053,7 +20149,7 @@

          CKR_RANDOM_NO_RNG

        - +
          @@ -19069,7 +20165,7 @@

          CKR_DOMAIN_PARAMS_INVALID

        - +
          @@ -19085,7 +20181,7 @@

          CKR_CURVE_NOT_SUPPORTED

        - +
          @@ -19101,7 +20197,7 @@

          CKR_BUFFER_TOO_SMALL

        - +
          @@ -19117,7 +20213,7 @@

          CKR_SAVED_STATE_INVALID

        - +
          @@ -19133,7 +20229,7 @@

          CKR_INFORMATION_SENSITIVE

        - +
          @@ -19149,7 +20245,7 @@

          CKR_STATE_UNSAVEABLE

        - +
          @@ -19165,7 +20261,7 @@

          CKR_CRYPTOKI_NOT_INITIALIZED

        - +
          @@ -19181,7 +20277,7 @@

          CKR_CRYPTOKI_ALREADY_INITIALIZED

        - +
          @@ -19197,7 +20293,7 @@

          CKR_MUTEX_BAD

        - +
          @@ -19213,7 +20309,7 @@

          CKR_MUTEX_NOT_LOCKED

        - +
          @@ -19229,7 +20325,7 @@

          CKR_NEW_PIN_MODE

        - +
          @@ -19245,7 +20341,7 @@

          CKR_NEXT_OTP

        - +
          @@ -19261,7 +20357,7 @@

          CKR_EXCEEDED_MAX_ITERATIONS

        - +
          @@ -19277,7 +20373,7 @@

          CKR_FIPS_SELF_TEST_FAILED

        - +
          @@ -19293,7 +20389,7 @@

          CKR_LIBRARY_LOAD_FAILED

        - +
          @@ -19309,7 +20405,7 @@

          CKR_PIN_TOO_WEAK

        - +
          @@ -19325,7 +20421,7 @@

          CKR_PUBLIC_KEY_INVALID

        - +
          @@ -19341,7 +20437,7 @@

          CKR_FUNCTION_REJECTED

        - +
          @@ -19357,7 +20453,7 @@

          CKR_TOKEN_RESOURCE_EXCEEDED

        - +
          @@ -19373,7 +20469,7 @@

          CKR_OPERATION_CANCEL_FAILED

        - +
          @@ -19389,7 +20485,7 @@

          CKR_VENDOR_DEFINED

        - +
          @@ -19405,7 +20501,7 @@

          CKF_END_OF_MESSAGE

        - +
          @@ -19421,7 +20517,7 @@

          CKF_INTERFACE_FORK_SAFE

        - +
          @@ -19437,7 +20533,7 @@

          CKF_LIBRARY_CANT_CREATE_OS_THREADS

        - +
          @@ -19453,7 +20549,7 @@

          CKF_OS_LOCKING_OK

        - +
          @@ -19469,7 +20565,7 @@

          CKF_DONT_BLOCK

        - +
          @@ -19485,7 +20581,7 @@

          CKG_MGF1_SHA1

        - +
          @@ -19501,7 +20597,7 @@

          CKG_MGF1_SHA256

        - +
          @@ -19517,7 +20613,7 @@

          CKG_MGF1_SHA384

        - +
          @@ -19533,7 +20629,7 @@

          CKG_MGF1_SHA512

        - +
          @@ -19549,7 +20645,7 @@

          CKG_MGF1_SHA224

        - +
          @@ -19565,7 +20661,7 @@

          CKG_MGF1_SHA3_224

        - +
          @@ -19581,7 +20677,7 @@

          CKG_MGF1_SHA3_256

        - +
          @@ -19597,7 +20693,7 @@

          CKG_MGF1_SHA3_384

        - +
          @@ -19613,7 +20709,7 @@

          CKG_MGF1_SHA3_512

        - +
          @@ -19629,7 +20725,7 @@

          CKZ_DATA_SPECIFIED

        - +
          @@ -19645,7 +20741,7 @@

          CKD_NULL

        - +
          @@ -19661,7 +20757,7 @@

          CKD_SHA1_KDF

        - +
          @@ -19677,7 +20773,7 @@

          CKD_SHA224_KDF

        - +
          @@ -19693,7 +20789,7 @@

          CKD_SHA256_KDF

        - +
          @@ -19709,7 +20805,7 @@

          CKD_SHA384_KDF

        - +
          @@ -19725,7 +20821,7 @@

          CKD_SHA512_KDF

        - +
          @@ -19741,7 +20837,7 @@

          CKD_CPDIVERSIFY_KDF

        - +
          @@ -19757,7 +20853,7 @@

          CKD_SHA3_224_KDF

        - +
          @@ -19773,7 +20869,7 @@

          CKD_SHA3_256_KDF

        - +
          @@ -19789,7 +20885,7 @@

          CKD_SHA3_384_KDF

        - +
          @@ -19805,7 +20901,7 @@

          CKD_SHA3_512_KDF

        - +
          @@ -19821,7 +20917,7 @@

          CKD_SHA1_KDF_SP800

        - +
          @@ -19837,7 +20933,7 @@

          CKD_SHA224_KDF_SP800

        - +
          @@ -19853,7 +20949,7 @@

          CKD_SHA256_KDF_SP800

        - +
          @@ -19869,7 +20965,7 @@

          CKD_SHA384_KDF_SP800

        - +
          @@ -19885,7 +20981,7 @@

          CKD_SHA512_KDF_SP800

        - +
          @@ -19901,7 +20997,7 @@

          CKD_SHA3_224_KDF_SP800

        - +
          @@ -19917,7 +21013,7 @@

          CKD_SHA3_256_KDF_SP800

        - +
          @@ -19933,7 +21029,7 @@

          CKD_SHA3_384_KDF_SP800

        - +
          @@ -19949,7 +21045,7 @@

          CKD_SHA3_512_KDF_SP800

        - +
          @@ -19965,7 +21061,7 @@

          CKD_BLAKE2B_160_KDF

        - +
          @@ -19981,7 +21077,7 @@

          CKD_BLAKE2B_256_KDF

        - +
          @@ -19997,7 +21093,7 @@

          CKD_BLAKE2B_384_KDF

        - +
          @@ -20013,7 +21109,7 @@

          CKD_BLAKE2B_512_KDF

        - +
          @@ -20029,7 +21125,7 @@

          CKD_SHA1_KDF_ASN1

        - +
          @@ -20045,7 +21141,7 @@

          CKD_SHA1_KDF_CONCATENATE

        - +
          @@ -20061,7 +21157,7 @@

          CKG_NO_GENERATE

        - +
          @@ -20077,7 +21173,7 @@

          CKG_GENERATE

        - +
          @@ -20093,7 +21189,7 @@

          CKG_GENERATE_COUNTER

        - +
          @@ -20109,7 +21205,7 @@

          CKG_GENERATE_RANDOM

        - +
          @@ -20125,7 +21221,7 @@

          CKG_GENERATE_COUNTER_XOR

        - +
          @@ -20141,7 +21237,7 @@

          CKF_HKDF_SALT_NULL

        - +
          @@ -20157,7 +21253,7 @@

          CKF_HKDF_SALT_DATA

        - +
          @@ -20173,7 +21269,7 @@

          CKF_HKDF_SALT_KEY

        - +
          @@ -20189,7 +21285,7 @@

          CK_SP800_108_ITERATION_VARIABLE

        - +
          @@ -20205,7 +21301,7 @@

          CK_SP800_108_OPTIONAL_COUNTER

        - +
          @@ -20221,7 +21317,7 @@

          CK_SP800_108_DKM_LENGTH

        - +
          @@ -20237,7 +21333,7 @@

          CK_SP800_108_BYTE_ARRAY

        - +
          @@ -20253,7 +21349,7 @@

          CK_SP800_108_COUNTER

        - +
          @@ -20269,7 +21365,7 @@

          CK_SP800_108_DKM_LENGTH_SUM_OF_KEYS

        - +
          @@ -20285,7 +21381,7 @@

          CK_SP800_108_DKM_LENGTH_SUM_OF_SEGMENTS

        - +
          @@ -20301,7 +21397,7 @@

          CKP_PKCS5_PBKD2_HMAC_SHA1

        - +
          @@ -20317,7 +21413,7 @@

          CKP_PKCS5_PBKD2_HMAC_GOSTR3411

        - +
          @@ -20333,7 +21429,7 @@

          CKP_PKCS5_PBKD2_HMAC_SHA224

        - +
          @@ -20349,7 +21445,7 @@

          CKP_PKCS5_PBKD2_HMAC_SHA256

        - +
          @@ -20365,7 +21461,7 @@

          CKP_PKCS5_PBKD2_HMAC_SHA384

        - +
          @@ -20381,7 +21477,7 @@

          CKP_PKCS5_PBKD2_HMAC_SHA512

        - +
          @@ -20397,7 +21493,7 @@

          CKP_PKCS5_PBKD2_HMAC_SHA512_224

        - +
          @@ -20413,7 +21509,7 @@

          CKP_PKCS5_PBKD2_HMAC_SHA512_256

        - +
          @@ -20429,7 +21525,7 @@

          CKZ_SALT_SPECIFIED

        - +
          @@ -20445,7 +21541,7 @@

          CK_OTP_VALUE

        - +
          @@ -20461,7 +21557,7 @@

          CK_OTP_PIN

        - +
          @@ -20477,7 +21573,7 @@

          CK_OTP_CHALLENGE

        - +
          @@ -20493,7 +21589,7 @@

          CK_OTP_TIME

        - +
          @@ -20509,7 +21605,7 @@

          CK_OTP_COUNTER

        - +
          @@ -20525,7 +21621,7 @@

          CK_OTP_FLAGS

        - +
          @@ -20541,7 +21637,7 @@

          CK_OTP_OUTPUT_LENGTH

        - +
          @@ -20557,7 +21653,7 @@

          CK_OTP_OUTPUT_FORMAT

        - +
          @@ -20573,7 +21669,7 @@

          CKF_NEXT_OTP

        - +
          @@ -20589,7 +21685,7 @@

          CKF_EXCLUDE_TIME

        - +
          @@ -20605,7 +21701,7 @@

          CKF_EXCLUDE_COUNTER

        - +
          @@ -20621,7 +21717,7 @@

          CKF_EXCLUDE_CHALLENGE

        - +
          @@ -20637,7 +21733,7 @@

          CKF_EXCLUDE_PIN

        - +
          @@ -20653,7 +21749,7 @@

          CKF_USER_FRIENDLY_OTP

        - +
          @@ -20669,7 +21765,7 @@

          CKK_INVALID_KEY_TYPE

        - +
          @@ -20685,7 +21781,7 @@

          NSSCK_VENDOR_NSS

        - +
          @@ -20701,7 +21797,7 @@

          CKO_NSS

        - +
          @@ -20717,7 +21813,7 @@

          CKO_NSS_CRL

        - +
          @@ -20733,7 +21829,7 @@

          CKO_NSS_SMIME

        - +
          @@ -20749,7 +21845,7 @@

          CKO_NSS_TRUST

        - +
          @@ -20765,7 +21861,7 @@

          CKO_NSS_BUILTIN_ROOT_LIST

        - +
          @@ -20781,7 +21877,7 @@

          CKO_NSS_NEWSLOT

        - +
          @@ -20797,7 +21893,7 @@

          CKO_NSS_DELSLOT

        - +
          @@ -20813,7 +21909,7 @@

          CKK_NSS

        - +
          @@ -20829,7 +21925,7 @@

          CKK_NSS_PKCS8

        - +
          @@ -20845,7 +21941,7 @@

          CKK_NSS_JPAKE_ROUND1

        - +
          @@ -20861,7 +21957,7 @@

          CKK_NSS_JPAKE_ROUND2

        - +
          @@ -20877,7 +21973,7 @@

          CKK_NSS_CHACHA20

        - +
          @@ -20893,7 +21989,7 @@

          CKC_NSS

        - +
          @@ -20909,7 +22005,7 @@

          CKA_DIGEST

        - +
          @@ -20925,7 +22021,7 @@

          CKA_NSS_MESSAGE

        - +
          @@ -20941,7 +22037,7 @@

          CKA_NSS_MESSAGE_MASK

        - +
          @@ -20957,7 +22053,7 @@

          CKA_FLAGS_ONLY

        - +
          @@ -20973,7 +22069,7 @@

          CKA_NSS

        - +
          @@ -20989,7 +22085,7 @@

          CKA_NSS_URL

        - +
          @@ -21005,7 +22101,7 @@

          CKA_NSS_EMAIL

        - +
          @@ -21021,7 +22117,7 @@

          CKA_NSS_SMIME_INFO

        - +
          @@ -21037,7 +22133,7 @@

          CKA_NSS_SMIME_TIMESTAMP

        - +
          @@ -21053,7 +22149,7 @@

          CKA_NSS_PKCS8_SALT

        - +
          @@ -21069,7 +22165,7 @@

          CKA_NSS_PASSWORD_CHECK

        - +
          @@ -21085,7 +22181,7 @@

          CKA_NSS_EXPIRES

        - +
          @@ -21101,7 +22197,7 @@

          CKA_NSS_KRL

        - +
          @@ -21117,7 +22213,7 @@

          CKA_NSS_PQG_COUNTER

        - +
          @@ -21133,7 +22229,7 @@

          CKA_NSS_PQG_SEED

        - +
          @@ -21149,7 +22245,7 @@

          CKA_NSS_PQG_H

        - +
          @@ -21165,7 +22261,7 @@

          CKA_NSS_PQG_SEED_BITS

        - +
          @@ -21181,7 +22277,7 @@

          CKA_NSS_MODULE_SPEC

        - +
          @@ -21197,7 +22293,7 @@

          CKA_NSS_OVERRIDE_EXTENSIONS

        - +
          @@ -21213,7 +22309,7 @@

          CKA_NSS_JPAKE_SIGNERID

        - +
          @@ -21229,7 +22325,7 @@

          CKA_NSS_JPAKE_PEERID

        - +
          @@ -21245,7 +22341,7 @@

          CKA_NSS_JPAKE_GX1

        - +
          @@ -21261,7 +22357,7 @@

          CKA_NSS_JPAKE_GX2

        - +
          @@ -21277,7 +22373,7 @@

          CKA_NSS_JPAKE_GX3

        - +
          @@ -21293,7 +22389,7 @@

          CKA_NSS_JPAKE_GX4

        - +
          @@ -21309,7 +22405,7 @@

          CKA_NSS_JPAKE_X2

        - +
          @@ -21325,7 +22421,7 @@

          CKA_NSS_JPAKE_X2S

        - +
          @@ -21341,7 +22437,7 @@

          CKA_NSS_MOZILLA_CA_POLICY

        - +
          @@ -21357,7 +22453,7 @@

          CKA_NSS_SERVER_DISTRUST_AFTER

        - +
          @@ -21373,7 +22469,7 @@

          CKA_NSS_EMAIL_DISTRUST_AFTER

        - +
          @@ -21389,7 +22485,7 @@

          CKA_TRUST

        - +
          @@ -21405,7 +22501,7 @@

          CKA_TRUST_DIGITAL_SIGNATURE

        - +
          @@ -21421,7 +22517,7 @@

          CKA_TRUST_NON_REPUDIATION

        - +
          @@ -21437,7 +22533,7 @@

          CKA_TRUST_KEY_ENCIPHERMENT

        - +
          @@ -21453,7 +22549,7 @@

          CKA_TRUST_DATA_ENCIPHERMENT

        - +
          @@ -21469,7 +22565,7 @@

          CKA_TRUST_KEY_AGREEMENT

        - +
          @@ -21485,7 +22581,7 @@

          CKA_TRUST_KEY_CERT_SIGN

        - +
          @@ -21501,7 +22597,7 @@

          CKA_TRUST_CRL_SIGN

        - +
          @@ -21517,7 +22613,7 @@

          CKA_TRUST_SERVER_AUTH

        - +
          @@ -21533,7 +22629,7 @@

          CKA_TRUST_CLIENT_AUTH

        - +
          @@ -21549,7 +22645,7 @@

          CKA_TRUST_CODE_SIGNING

        - +
          @@ -21565,7 +22661,7 @@

          CKA_TRUST_EMAIL_PROTECTION

        - +
          @@ -21581,7 +22677,7 @@

          CKA_TRUST_IPSEC_END_SYSTEM

        - +
          @@ -21597,7 +22693,7 @@

          CKA_TRUST_IPSEC_TUNNEL

        - +
          @@ -21613,7 +22709,7 @@

          CKA_TRUST_IPSEC_USER

        - +
          @@ -21629,7 +22725,7 @@

          CKA_TRUST_TIME_STAMPING

        - +
          @@ -21645,7 +22741,7 @@

          CKA_TRUST_STEP_UP_APPROVED

        - +
          @@ -21661,7 +22757,7 @@

          CKA_CERT_SHA1_HASH

        - +
          @@ -21677,7 +22773,7 @@

          CKA_CERT_MD5_HASH

        - +
          @@ -21693,7 +22789,7 @@

          CKA_NSS_DB

        - +
          @@ -21709,7 +22805,7 @@

          CKA_NSS_TRUST

        - +
          @@ -21725,7 +22821,7 @@

          CKM_FAKE_RANDOM

        - +
          @@ -21741,7 +22837,7 @@

          CKM_INVALID_MECHANISM

        - +
          @@ -21757,7 +22853,7 @@

          CKT_INVALID_TYPE

        - +
          @@ -21773,7 +22869,7 @@

          CKM_NSS

        - +
          @@ -21789,7 +22885,7 @@

          CKM_NSS_AES_KEY_WRAP

        - +
          @@ -21805,7 +22901,7 @@

          CKM_NSS_AES_KEY_WRAP_PAD

        - +
          @@ -21821,7 +22917,7 @@

          CKM_NSS_HKDF_SHA1

        - +
          @@ -21837,7 +22933,7 @@

          CKM_NSS_HKDF_SHA256

        - +
          @@ -21853,7 +22949,7 @@

          CKM_NSS_HKDF_SHA384

        - +
          @@ -21869,7 +22965,7 @@

          CKM_NSS_HKDF_SHA512

        - +
          @@ -21885,7 +22981,7 @@

          CKM_NSS_JPAKE_ROUND1_SHA1

        - +
          @@ -21901,7 +22997,7 @@

          CKM_NSS_JPAKE_ROUND1_SHA256

        - +
          @@ -21917,7 +23013,7 @@

          CKM_NSS_JPAKE_ROUND1_SHA384

        - +
          @@ -21933,7 +23029,7 @@

          CKM_NSS_JPAKE_ROUND1_SHA512

        - +
          @@ -21949,7 +23045,7 @@

          CKM_NSS_JPAKE_ROUND2_SHA1

        - +
          @@ -21965,7 +23061,7 @@

          CKM_NSS_JPAKE_ROUND2_SHA256

        - +
          @@ -21981,7 +23077,7 @@

          CKM_NSS_JPAKE_ROUND2_SHA384

        - +
          @@ -21997,7 +23093,7 @@

          CKM_NSS_JPAKE_ROUND2_SHA512

        - +
          @@ -22013,7 +23109,7 @@

          CKM_NSS_JPAKE_FINAL_SHA1

        - +
          @@ -22029,7 +23125,7 @@

          CKM_NSS_JPAKE_FINAL_SHA256

        - +
          @@ -22045,7 +23141,7 @@

          CKM_NSS_JPAKE_FINAL_SHA384

        - +
          @@ -22061,7 +23157,7 @@

          CKM_NSS_JPAKE_FINAL_SHA512

        - +
          @@ -22077,7 +23173,7 @@

          CKM_NSS_HMAC_CONSTANT_TIME

        - +
          @@ -22093,7 +23189,7 @@

          CKM_NSS_SSL3_MAC_CONSTANT_TIME

        - +
          @@ -22109,7 +23205,7 @@

          CKM_NSS_TLS_PRF_GENERAL_SHA256

        - +
          @@ -22125,7 +23221,7 @@

          CKM_NSS_TLS_MASTER_KEY_DERIVE_SHA256

        - +
          @@ -22141,7 +23237,7 @@

          CKM_NSS_TLS_KEY_AND_MAC_DERIVE_SHA256

        - +
          @@ -22157,7 +23253,7 @@

          CKM_NSS_TLS_MASTER_KEY_DERIVE_DH_SHA256

        - +
          @@ -22173,7 +23269,7 @@

          CKM_NSS_TLS_EXTENDED_MASTER_KEY_DERIVE

        - +
          @@ -22189,7 +23285,7 @@

          CKM_NSS_TLS_EXTENDED_MASTER_KEY_DERIVE_DH

        - +
          @@ -22205,7 +23301,7 @@

          CKM_NSS_CHACHA20_KEY_GEN

        - +
          @@ -22221,7 +23317,7 @@

          CKM_NSS_CHACHA20_POLY1305

        - +
          @@ -22237,7 +23333,7 @@

          CKM_NSS_PKCS12_PBE_SHA224_HMAC_KEY_GEN

        - +
          @@ -22253,7 +23349,7 @@

          CKM_NSS_PKCS12_PBE_SHA256_HMAC_KEY_GEN

        - +
          @@ -22269,7 +23365,7 @@

          CKM_NSS_PKCS12_PBE_SHA384_HMAC_KEY_GEN

        - +
          @@ -22285,7 +23381,7 @@

          CKM_NSS_PKCS12_PBE_SHA512_HMAC_KEY_GEN

        - +
          @@ -22301,7 +23397,7 @@

          CKM_NSS_CHACHA20_CTR

        - +
          @@ -22317,7 +23413,7 @@

          CKM_NSS_IKE_PRF_PLUS_DERIVE

        - +
          @@ -22333,7 +23429,7 @@

          CKM_NSS_IKE_PRF_DERIVE

        - +
          @@ -22349,7 +23445,7 @@

          CKM_NSS_IKE1_PRF_DERIVE

        - +
          @@ -22365,7 +23461,7 @@

          CKM_NSS_IKE1_APP_B_PRF_DERIVE

        - +
          @@ -22381,7 +23477,7 @@

          CKM_NSS_PUB_FROM_PRIV

        - +
          @@ -22397,7 +23493,7 @@

          CKM_NSS_SP800_108_COUNTER_KDF_DERIVE_DATA

        - +
          @@ -22413,7 +23509,7 @@

          CKM_NSS_SP800_108_FEEDBACK_KDF_DERIVE_DATA

        - +
          @@ -22429,7 +23525,7 @@

          CKM_NSS_SP800_108_DOUBLE_PIPELINE_KDF_DERIVE_DATA

        - +
          @@ -22445,7 +23541,7 @@

          CKM_NSS_PBE_SHA1_DES_CBC

        - +
          @@ -22461,7 +23557,7 @@

          CKM_NSS_PBE_SHA1_TRIPLE_DES_CBC

        - +
          @@ -22477,7 +23573,7 @@

          CKM_NSS_PBE_SHA1_40_BIT_RC2_CBC

        - +
          @@ -22493,7 +23589,7 @@

          CKM_NSS_PBE_SHA1_128_BIT_RC2_CBC

        - +
          @@ -22509,7 +23605,7 @@

          CKM_NSS_PBE_SHA1_40_BIT_RC4

        - +
          @@ -22525,7 +23621,7 @@

          CKM_NSS_PBE_SHA1_128_BIT_RC4

        - +
          @@ -22541,7 +23637,7 @@

          CKM_NSS_PBE_SHA1_FAULTY_3DES_CBC

        - +
          @@ -22557,7 +23653,7 @@

          CKM_NSS_PBE_SHA1_HMAC_KEY_GEN

        - +
          @@ -22573,7 +23669,7 @@

          CKM_NSS_PBE_MD5_HMAC_KEY_GEN

        - +
          @@ -22589,7 +23685,7 @@

          CKM_NSS_PBE_MD2_HMAC_KEY_GEN

        - +
          @@ -22605,7 +23701,7 @@

          CKM_TLS_PRF_GENERAL

        - +
          @@ -22621,7 +23717,7 @@

          CKR_NSS

        - +
          @@ -22637,7 +23733,7 @@

          CKR_NSS_CERTDB_FAILED

        - +
          @@ -22653,7 +23749,7 @@

          CKR_NSS_KEYDB_FAILED

        - +
          @@ -22669,7 +23765,7 @@

          CKT_VENDOR_DEFINED

        - +
          @@ -22685,7 +23781,7 @@

          CKT_NSS

        - +
          @@ -22701,7 +23797,7 @@

          CKT_NSS_TRUSTED

        - +
          @@ -22717,7 +23813,7 @@

          CKT_NSS_TRUSTED_DELEGATOR

        - +
          @@ -22733,7 +23829,7 @@

          CKT_NSS_MUST_VERIFY_TRUST

        - +
          @@ -22749,7 +23845,7 @@

          CKT_NSS_NOT_TRUSTED

        - +
          @@ -22765,7 +23861,7 @@

          CKT_NSS_TRUST_UNKNOWN

        - +
          @@ -22781,7 +23877,7 @@

          CKT_NSS_VALID_DELEGATOR

        - +
          @@ -22797,7 +23893,7 @@

          CKT_NSS_UNTRUSTED

        - +
          @@ -22813,7 +23909,7 @@

          CKT_NSS_VALID

        - +
          @@ -22829,7 +23925,7 @@

          CKT_NSS_MUST_VERIFY

        - +
          @@ -22845,7 +23941,7 @@

          SFTK_MIN_USER_SLOT_ID

        - +
          @@ -22861,7 +23957,7 @@

          SFTK_MAX_USER_SLOT_ID

        - +
          @@ -22877,7 +23973,7 @@

          SFTK_MIN_FIPS_USER_SLOT_ID

        - +
          @@ -22893,7 +23989,7 @@

          SFTK_MAX_FIPS_USER_SLOT_ID

        - +
          @@ -22909,7 +24005,7 @@

          CKF_EC_FP

        - +
          @@ -22925,7 +24021,7 @@

          CKO_KG_PARAMETERS

        - +
          @@ -22941,7 +24037,7 @@

          CK_INVALID_SESSION

        - +
          @@ -22957,7 +24053,7 @@

          CKR_KEY_PARAMS_INVALID

        - +
          @@ -22973,7 +24069,7 @@

          CKO_NETSCAPE_CRL

        - +
          @@ -22989,7 +24085,7 @@

          CKO_NETSCAPE_SMIME

        - +
          @@ -23005,7 +24101,7 @@

          CKO_NETSCAPE_TRUST

        - +
          @@ -23021,7 +24117,7 @@

          CKO_NETSCAPE_BUILTIN_ROOT_LIST

        - +
          @@ -23037,7 +24133,7 @@

          CKO_NETSCAPE_NEWSLOT

        - +
          @@ -23053,7 +24149,7 @@

          CKO_NETSCAPE_DELSLOT

        - +
          @@ -23069,7 +24165,7 @@

          CKK_NETSCAPE_PKCS8

        - +
          @@ -23085,7 +24181,7 @@

          CKA_NETSCAPE_URL

        - +
          @@ -23101,7 +24197,7 @@

          CKA_NETSCAPE_EMAIL

        - +
          @@ -23117,7 +24213,7 @@

          CKA_NETSCAPE_SMIME_INFO

        - +
          @@ -23133,7 +24229,7 @@

          CKA_NETSCAPE_SMIME_TIMESTAMP

        - +
          @@ -23149,7 +24245,7 @@

          CKA_NETSCAPE_PKCS8_SALT

        - +
          @@ -23165,7 +24261,7 @@

          CKA_NETSCAPE_PASSWORD_CHECK

        - +
          @@ -23181,7 +24277,7 @@

          CKA_NETSCAPE_EXPIRES

        - +
          @@ -23197,7 +24293,7 @@

          CKA_NETSCAPE_KRL

        - +
          @@ -23213,7 +24309,7 @@

          CKA_NETSCAPE_PQG_COUNTER

        - +
          @@ -23229,7 +24325,7 @@

          CKA_NETSCAPE_PQG_SEED

        - +
          @@ -23245,7 +24341,7 @@

          CKA_NETSCAPE_PQG_H

        - +
          @@ -23261,7 +24357,7 @@

          CKA_NETSCAPE_PQG_SEED_BITS

        - +
          @@ -23277,7 +24373,7 @@

          CKA_NETSCAPE_MODULE_SPEC

        - +
          @@ -23293,7 +24389,7 @@

          CKA_NETSCAPE_DB

        - +
          @@ -23309,7 +24405,7 @@

          CKA_NETSCAPE_TRUST

        - +
          @@ -23325,7 +24421,7 @@

          CKM_NETSCAPE_AES_KEY_WRAP

        - +
          @@ -23341,7 +24437,7 @@

          CKM_NETSCAPE_AES_KEY_WRAP_PAD

        - +
          @@ -23357,7 +24453,7 @@

          CKM_NETSCAPE_PBE_SHA1_DES_CBC

        - +
          @@ -23373,7 +24469,7 @@

          CKM_NETSCAPE_PBE_SHA1_TRIPLE_DES_CBC

        - +
          @@ -23389,7 +24485,7 @@

          CKM_NETSCAPE_PBE_SHA1_40_BIT_RC2_CBC

        - +
          @@ -23405,7 +24501,7 @@

          CKM_NETSCAPE_PBE_SHA1_128_BIT_RC2_CBC

        - +
          @@ -23421,7 +24517,7 @@

          CKM_NETSCAPE_PBE_SHA1_40_BIT_RC4

        - +
          @@ -23437,7 +24533,7 @@

          CKM_NETSCAPE_PBE_SHA1_128_BIT_RC4

        - +
          @@ -23453,7 +24549,7 @@

          CKM_NETSCAPE_PBE_SHA1_FAULTY_3DES_CBC

        - +
          @@ -23469,7 +24565,7 @@

          CKM_NETSCAPE_PBE_SHA1_HMAC_KEY_GEN

        - +
          @@ -23485,7 +24581,7 @@

          CKM_NETSCAPE_PBE_MD5_HMAC_KEY_GEN

        - +
          @@ -23501,7 +24597,7 @@

          CKM_NETSCAPE_PBE_MD2_HMAC_KEY_GEN

        - +
          @@ -23517,7 +24613,7 @@

          CKR_NETSCAPE_CERTDB_FAILED

        - +
          @@ -23533,7 +24629,7 @@

          CKR_NETSCAPE_KEYDB_FAILED

        - +
          @@ -23549,7 +24645,7 @@

          CKT_NETSCAPE_TRUSTED

        - +
          @@ -23565,7 +24661,7 @@

          CKT_NETSCAPE_TRUSTED_DELEGATOR

        - +
          @@ -23581,7 +24677,7 @@

          CKT_NETSCAPE_UNTRUSTED

        - +
          @@ -23597,7 +24693,7 @@

          CKT_NETSCAPE_MUST_VERIFY

        - +
          @@ -23613,7 +24709,7 @@

          CKT_NETSCAPE_TRUST_UNKNOWN

        - +
          @@ -23629,7 +24725,7 @@

          CKT_NETSCAPE_VALID

        - +
          @@ -23647,21 +24743,25 @@

          CKT_NETSCAPE_VALID_DELEGATOR

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/TokenProxy.html b/master/javadocs/org/mozilla/jss/pkcs11/TokenProxy.html index 722ab51f0..107f3feec 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/TokenProxy.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/TokenProxy.html @@ -1,11 +1,20 @@ - + TokenProxy (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11
    +

    Class TokenProxy

    @@ -98,7 +122,7 @@

    Class TokenProxy

  • java.lang.Object
  • @@ -125,69 +148,80 @@

    Class TokenProxy

    @@ -202,12 +237,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Field Detail

        - +
          @@ -218,37 +254,41 @@

          logger

      +
      +
        -
      • +
      • Constructor Detail

        - +
        • TokenProxy

          -
          public TokenProxy(byte[] pointer)
          +
          public TokenProxy​(byte[] pointer)
      +
      +
        -
      • +
      • Method Detail

        - +
        • releaseNativeResources

          -
          protected void releaseNativeResources()
          -
          Description copied from class: NativeProxy
          +
          protected void releaseNativeResources()
          +
          Description copied from class: NativeProxy
          Release the native resources used by this proxy. Subclasses of NativeProxy must define this method to clean up data structures in C code that are referenced by this proxy. @@ -259,27 +299,31 @@

          releaseNativeResources

          If you free these resources explicitly, call clear(); instead.
          Specified by:
          -
          releaseNativeResources in class NativeProxy
          +
          releaseNativeResources in class NativeProxy
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAClass.Certificate.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAClass.Certificate.html index 653ef8fbc..41c7b86b8 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAClass.Certificate.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAClass.Certificate.html @@ -1,11 +1,20 @@ - + CKAClass.Certificate (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAClass.Certificate

    @@ -92,13 +116,13 @@

    Class CKAClass.Certificate<
  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          Certificate

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAClass.Data.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAClass.Data.html index a5610ef15..dc256167e 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAClass.Data.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAClass.Data.html @@ -1,11 +1,20 @@ - + CKAClass.Data (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAClass.Data

    @@ -92,13 +116,13 @@

    Class CKAClass.Data

  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          Data

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAClass.DomainParameters.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAClass.DomainParameters.html index 3ec13393f..2e73543ad 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAClass.DomainParameters.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAClass.DomainParameters.html @@ -1,11 +1,20 @@ - + CKAClass.DomainParameters (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAClass.DomainParameters

    @@ -92,13 +116,13 @@

    Class CKAClass.DomainP
  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          DomainParameters

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAClass.HWFeature.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAClass.HWFeature.html index 92a8aa261..4a3482404 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAClass.HWFeature.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAClass.HWFeature.html @@ -1,11 +1,20 @@ - + CKAClass.HWFeature (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAClass.HWFeature

    @@ -92,13 +116,13 @@

    Class CKAClass.HWFeature

  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          HWFeature

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAClass.Mechanism.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAClass.Mechanism.html index 42e57d067..0168bbcf4 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAClass.Mechanism.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAClass.Mechanism.html @@ -1,11 +1,20 @@ - + CKAClass.Mechanism (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAClass.Mechanism

    @@ -92,13 +116,13 @@

    Class CKAClass.Mechanism

  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          Mechanism

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAClass.PrivateKey.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAClass.PrivateKey.html index e3c1c96c1..198a1cc02 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAClass.PrivateKey.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAClass.PrivateKey.html @@ -1,11 +1,20 @@ - + CKAClass.PrivateKey (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAClass.PrivateKey

    @@ -92,13 +116,13 @@

    Class CKAClass.PrivateKeyjava.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          PrivateKey

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAClass.PublicKey.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAClass.PublicKey.html index b80f9141c..478653c11 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAClass.PublicKey.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAClass.PublicKey.html @@ -1,11 +1,20 @@ - + CKAClass.PublicKey (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAClass.PublicKey

    @@ -92,13 +116,13 @@

    Class CKAClass.PublicKey

  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          PublicKey

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAClass.SecretKey.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAClass.SecretKey.html index f30310294..bbe46c2fb 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAClass.SecretKey.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAClass.SecretKey.html @@ -1,11 +1,20 @@ - + CKAClass.SecretKey (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAClass.SecretKey

    @@ -92,13 +116,13 @@

    Class CKAClass.SecretKey

  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          SecretKey

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAClass.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAClass.html index 68daeacaf..7ace1ab44 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAClass.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAClass.html @@ -1,11 +1,20 @@ - + CKAClass (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAClass

    @@ -98,10 +122,10 @@

    Class CKAClass

  • java.lang.Object
  • @@ -309,18 +356,19 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • CKAClass

          -
          public CKAClass(long value)
          +
          public CKAClass​(long value)
          Representation of a PKCS#11 CK_ATTRIBUTE with type CKA_CLASS and a custom value. @@ -330,56 +378,58 @@

          CKAClass

      +
      +
        -
      • +
      • Method Detail

        - +
        • setValue

          -
          public void setValue(long value)
          +
          public void setValue​(long value)
          Set the value of this CKA_CLASS attribute.
        - +
        • getValue

          -
          public long getValue()
          +
          public long getValue()
          Get the value of this CKA_CLASS attribute.
        - + - +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.AES.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.AES.html index b2434f6c3..3ecdbd26f 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.AES.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.AES.html @@ -1,11 +1,20 @@ - + CKAKeyType.AES (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAKeyType.AES

    @@ -92,13 +116,13 @@

    Class CKAKeyType.AES

  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          AES

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.BATON.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.BATON.html index 6473ed07f..a30dcfd29 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.BATON.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.BATON.html @@ -1,11 +1,20 @@ - + CKAKeyType.BATON (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAKeyType.BATON

    @@ -92,13 +116,13 @@

    Class CKAKeyType.BATON

  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          BATON

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.Blowfish.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.Blowfish.html index 32ed1829e..66fccb9a0 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.Blowfish.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.Blowfish.html @@ -1,11 +1,20 @@ - + CKAKeyType.Blowfish (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAKeyType.Blowfish

    @@ -92,13 +116,13 @@

    Class CKAKeyType.Blowfishjava.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          Blowfish

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.CAST.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.CAST.html index 564af511d..d779f59b9 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.CAST.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.CAST.html @@ -1,11 +1,20 @@ - + CKAKeyType.CAST (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAKeyType.CAST

    @@ -92,13 +116,13 @@

    Class CKAKeyType.CAST

  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          CAST

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.CAST128.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.CAST128.html index 2a3e95f6a..0cfa36753 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.CAST128.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.CAST128.html @@ -1,11 +1,20 @@ - + CKAKeyType.CAST128 (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAKeyType.CAST128

    @@ -92,13 +116,13 @@

    Class CKAKeyType.CAST128

  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          CAST128

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.CAST3.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.CAST3.html index 167e90f62..d0e9c2a47 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.CAST3.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.CAST3.html @@ -1,11 +1,20 @@ - + CKAKeyType.CAST3 (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAKeyType.CAST3

    @@ -92,13 +116,13 @@

    Class CKAKeyType.CAST3

  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          CAST3

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.CAST5.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.CAST5.html index 8875b4228..32555de14 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.CAST5.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.CAST5.html @@ -1,11 +1,20 @@ - + CKAKeyType.CAST5 (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAKeyType.CAST5

    @@ -92,13 +116,13 @@

    Class CKAKeyType.CAST5

  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          CAST5

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.CDMF.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.CDMF.html index 188f061db..73305aff4 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.CDMF.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.CDMF.html @@ -1,11 +1,20 @@ - + CKAKeyType.CDMF (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAKeyType.CDMF

    @@ -92,13 +116,13 @@

    Class CKAKeyType.CDMF

  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          CDMF

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.Camellia.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.Camellia.html index bcf59c54d..9e418335e 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.Camellia.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.Camellia.html @@ -1,11 +1,20 @@ - + CKAKeyType.Camellia (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAKeyType.Camellia

    @@ -92,13 +116,13 @@

    Class CKAKeyType.Camelliajava.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          Camellia

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.DES.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.DES.html index cc7547e6a..fcf7e1682 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.DES.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.DES.html @@ -1,11 +1,20 @@ - + CKAKeyType.DES (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAKeyType.DES

    @@ -92,13 +116,13 @@

    Class CKAKeyType.DES

  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          DES

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.DES2.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.DES2.html index 1443cb140..fd3da7340 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.DES2.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.DES2.html @@ -1,11 +1,20 @@ - + CKAKeyType.DES2 (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAKeyType.DES2

    @@ -92,13 +116,13 @@

    Class CKAKeyType.DES2

  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          DES2

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.DES3.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.DES3.html index 3b7107abf..9927f85d0 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.DES3.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.DES3.html @@ -1,11 +1,20 @@ - + CKAKeyType.DES3 (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAKeyType.DES3

    @@ -92,13 +116,13 @@

    Class CKAKeyType.DES3

  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          DES3

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.DH.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.DH.html index 7f708058c..d492e33da 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.DH.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.DH.html @@ -1,11 +1,20 @@ - + CKAKeyType.DH (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAKeyType.DH

    @@ -92,13 +116,13 @@

    Class CKAKeyType.DH

  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          DH

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.DSA.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.DSA.html index e827bc908..dcb67e02e 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.DSA.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.DSA.html @@ -1,11 +1,20 @@ - + CKAKeyType.DSA (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAKeyType.DSA

    @@ -92,13 +116,13 @@

    Class CKAKeyType.DSA

  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          DSA

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.EC.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.EC.html index 59741bcd4..697d11e7b 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.EC.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.EC.html @@ -1,11 +1,20 @@ - + CKAKeyType.EC (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAKeyType.EC

    @@ -92,13 +116,13 @@

    Class CKAKeyType.EC

  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          EC

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.ECDSA.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.ECDSA.html index b46ad0ccd..3a33ef516 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.ECDSA.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.ECDSA.html @@ -1,11 +1,20 @@ - + CKAKeyType.ECDSA (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAKeyType.ECDSA

    @@ -92,13 +116,13 @@

    Class CKAKeyType.ECDSA

  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          ECDSA

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.GenericSecret.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.GenericSecret.html index c263415c3..4d1de2a8a 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.GenericSecret.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.GenericSecret.html @@ -1,11 +1,20 @@ - + CKAKeyType.GenericSecret (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAKeyType.GenericSecret

    @@ -92,13 +116,13 @@

    Class CKAKeyType.Generi
  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          GenericSecret

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.IDEA.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.IDEA.html index c87e80b39..e0637a720 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.IDEA.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.IDEA.html @@ -1,11 +1,20 @@ - + CKAKeyType.IDEA (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAKeyType.IDEA

    @@ -92,13 +116,13 @@

    Class CKAKeyType.IDEA

  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          IDEA

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.JUNIPER.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.JUNIPER.html index 26a288afa..c9a67c258 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.JUNIPER.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.JUNIPER.html @@ -1,11 +1,20 @@ - + CKAKeyType.JUNIPER (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAKeyType.JUNIPER

    @@ -92,13 +116,13 @@

    Class CKAKeyType.JUNIPER

  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          JUNIPER

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.KEA.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.KEA.html index 5ae37c8ed..01da9acc6 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.KEA.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.KEA.html @@ -1,11 +1,20 @@ - + CKAKeyType.KEA (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAKeyType.KEA

    @@ -92,13 +116,13 @@

    Class CKAKeyType.KEA

  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          KEA

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.RC2.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.RC2.html index 32239d789..f53673b8a 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.RC2.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.RC2.html @@ -1,11 +1,20 @@ - + CKAKeyType.RC2 (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAKeyType.RC2

    @@ -92,13 +116,13 @@

    Class CKAKeyType.RC2

  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          RC2

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.RC4.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.RC4.html index e40dfc0a7..9df350ba8 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.RC4.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.RC4.html @@ -1,11 +1,20 @@ - + CKAKeyType.RC4 (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAKeyType.RC4

    @@ -92,13 +116,13 @@

    Class CKAKeyType.RC4

  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          RC4

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.RC5.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.RC5.html index 4a4ce275e..28cabea3c 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.RC5.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.RC5.html @@ -1,11 +1,20 @@ - + CKAKeyType.RC5 (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAKeyType.RC5

    @@ -92,13 +116,13 @@

    Class CKAKeyType.RC5

  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          RC5

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.RSA.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.RSA.html index 87df6f66f..b70f1f36f 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.RSA.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.RSA.html @@ -1,11 +1,20 @@ - + CKAKeyType.RSA (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAKeyType.RSA

    @@ -92,13 +116,13 @@

    Class CKAKeyType.RSA

  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          RSA

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.Seed.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.Seed.html index 1ca99ab12..b546aaba4 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.Seed.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.Seed.html @@ -1,11 +1,20 @@ - + CKAKeyType.Seed (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAKeyType.Seed

    @@ -92,13 +116,13 @@

    Class CKAKeyType.Seed

  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          Seed

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.Skipjack.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.Skipjack.html index 6cd8ec092..d7c1e2589 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.Skipjack.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.Skipjack.html @@ -1,11 +1,20 @@ - + CKAKeyType.Skipjack (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAKeyType.Skipjack

    @@ -92,13 +116,13 @@

    Class CKAKeyType.Skipjackjava.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          Skipjack

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.Twofish.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.Twofish.html index e43bdc38a..c21312ce3 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.Twofish.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.Twofish.html @@ -1,11 +1,20 @@ - + CKAKeyType.Twofish (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAKeyType.Twofish

    @@ -92,13 +116,13 @@

    Class CKAKeyType.Twofish

  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          Twofish

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.X9_42_DH.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.X9_42_DH.html index 2c559655e..00be01fed 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.X9_42_DH.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.X9_42_DH.html @@ -1,11 +1,20 @@ - + CKAKeyType.X9_42_DH (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAKeyType.X9_42_DH

    @@ -92,13 +116,13 @@

    Class CKAKeyType.X9_42_DHjava.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          X9_42_DH

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.html index 390524311..5430a5589 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAKeyType.html @@ -1,11 +1,20 @@ - + CKAKeyType (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAKeyType

    @@ -98,10 +122,10 @@

    Class CKAKeyType

  • java.lang.Object
  • @@ -450,18 +517,19 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • CKAKeyType

          -
          public CKAKeyType(long value)
          +
          public CKAKeyType​(long value)
          Representation of a PKCS#11 CK_ATTRIBUTE with type CKA_KEY_TYPE and a custom value. @@ -471,56 +539,58 @@

          CKAKeyType

      +
      +
        -
      • +
      • Method Detail

        - +
        • setValue

          -
          public void setValue(long value)
          +
          public void setValue​(long value)
          Set the value of this CKA_KEY_TYPE attribute.
        - +
        • getValue

          -
          public long getValue()
          +
          public long getValue()
          Get the value of this CKA_KEY_TYPE attribute.
        - + - +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.Decrypt.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.Decrypt.html index 3751dbd0a..071218e9f 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.Decrypt.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.Decrypt.html @@ -1,11 +1,20 @@ - + CKAUsage.Decrypt (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAUsage.Decrypt

    @@ -92,13 +116,13 @@

    Class CKAUsage.Decrypt

  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          Decrypt

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.Derive.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.Derive.html index 83d04b26e..d9cd27b9e 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.Derive.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.Derive.html @@ -1,11 +1,20 @@ - + CKAUsage.Derive (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAUsage.Derive

    @@ -92,13 +116,13 @@

    Class CKAUsage.Derive

  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          Derive

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.Encrypt.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.Encrypt.html index c32eba0a5..a6321115d 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.Encrypt.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.Encrypt.html @@ -1,11 +1,20 @@ - + CKAUsage.Encrypt (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAUsage.Encrypt

    @@ -92,13 +116,13 @@

    Class CKAUsage.Encrypt

  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          Encrypt

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.Sign.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.Sign.html index 37c6d9eca..1414a8fa9 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.Sign.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.Sign.html @@ -1,11 +1,20 @@ - + CKAUsage.Sign (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAUsage.Sign

    @@ -92,13 +116,13 @@

    Class CKAUsage.Sign

  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          Sign

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.SignRecover.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.SignRecover.html index f7d9e54ed..8fb81e427 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.SignRecover.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.SignRecover.html @@ -1,11 +1,20 @@ - + CKAUsage.SignRecover (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAUsage.SignRecover

    @@ -92,13 +116,13 @@

    Class CKAUsage.SignRecover<
  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          SignRecover

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.Unwrap.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.Unwrap.html index bd228b9af..cb485caff 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.Unwrap.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.Unwrap.html @@ -1,11 +1,20 @@ - + CKAUsage.Unwrap (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAUsage.Unwrap

    @@ -92,13 +116,13 @@

    Class CKAUsage.Unwrap

  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          Unwrap

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.Verify.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.Verify.html index f0a2cb9ad..b5bf9477d 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.Verify.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.Verify.html @@ -1,11 +1,20 @@ - + CKAUsage.Verify (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAUsage.Verify

    @@ -92,13 +116,13 @@

    Class CKAUsage.Verify

  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          Verify

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.VerifyRecover.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.VerifyRecover.html index e3630e159..be15b41c0 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.VerifyRecover.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.VerifyRecover.html @@ -1,11 +1,20 @@ - + CKAUsage.VerifyRecover (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAUsage.VerifyRecover

    @@ -92,13 +116,13 @@

    Class CKAUsage.VerifyReco
  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          VerifyRecover

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.Wrap.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.Wrap.html index 0f62d09a9..388a84610 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.Wrap.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.Wrap.html @@ -1,11 +1,20 @@ - + CKAUsage.Wrap (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAUsage.Wrap

    @@ -92,13 +116,13 @@

    Class CKAUsage.Wrap

  • java.lang.Object
  • @@ -224,12 +257,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -240,21 +274,25 @@

          Wrap

      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.html index 2818202b8..dbfb44ac7 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAUsage.html @@ -1,11 +1,20 @@ - + CKAUsage (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAUsage

    @@ -98,10 +122,10 @@

    Class CKAUsage

  • java.lang.Object
  • @@ -305,18 +351,19 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
        • CKAUsage

          -
          public CKAUsage(long type)
          +
          public CKAUsage​(long type)
          Representation of a PKCS#11 CK_ATTRIBUTE with custom type, setting the value to CK_TRUE. @@ -326,36 +373,38 @@

          CKAUsage

      +
      +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAValueLen.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAValueLen.html index 17b114512..ee13a0d54 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAValueLen.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAValueLen.html @@ -1,11 +1,20 @@ - + CKAValueLen (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAValueLen

    @@ -98,10 +122,10 @@

    Class CKAValueLen

  • java.lang.Object
  • @@ -240,12 +277,13 @@

    Methods inherited from class java.lang.Object

    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -259,69 +297,71 @@

          CKAValueLen

          default size, the corresponding PKCS#11 call will error out.
        - +
        • CKAValueLen

          -
          public CKAValueLen(long length)
          +
          public CKAValueLen​(long length)
          Representation of a PKCS#11 CK_ATTRIBUTE with type CKA_VALUE_LEN and a specified length.
      +
      +
        -
      • +
      • Method Detail

        - +
        • setLength

          -
          public void setLength(long length)
          +
          public void setLength​(long length)
          Set the length specified by this CKA_VALUE_LEN attribute.
        - +
        • getLength

          -
          public long getLength()
          +
          public long getLength()
          Get the length of this CKA_VALUE_LEN attribute.
        - + - +
      +
    +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAttribute.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAttribute.html index ff9cbf706..92c4246ed 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAttribute.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/CKAttribute.html @@ -1,11 +1,20 @@ - + CKAttribute (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    org.mozilla.jss.pkcs11.attrs
    +

    Class CKAttribute

    @@ -92,7 +116,7 @@

    Class CKAttribute

  • java.lang.Object
  • +
    + diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/package-frame.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/package-frame.html deleted file mode 100644 index 646be0f53..000000000 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/package-frame.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - -org.mozilla.jss.pkcs11.attrs (JSS: Java Security Services) - - - - -

    org.mozilla.jss.pkcs11.attrs

    - - - diff --git a/master/javadocs/org/mozilla/jss/pkcs11/attrs/package-summary.html b/master/javadocs/org/mozilla/jss/pkcs11/attrs/package-summary.html index a44a11b42..104d72426 100644 --- a/master/javadocs/org/mozilla/jss/pkcs11/attrs/package-summary.html +++ b/master/javadocs/org/mozilla/jss/pkcs11/attrs/package-summary.html @@ -1,11 +1,20 @@ - + org.mozilla.jss.pkcs11.attrs (JSS: Java Security Services) + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Package org.mozilla.jss.pkcs11.attrs