Uses of Class
org.mozilla.jss.NotInitializedException
Packages that use NotInitializedException
Package
Description
Configuration and top-level operations of the JSS system.
Generic cryptographic operations, such as signing and key pair generation.
Encoding and decoding pkcs10 request
Creating and interpreting PKCS #12 blobs.
Creating and interpeting PKCS #7 blobs.
Encoding and decoding X.509 certificates and certificate extensions.
Creating and interpeting CMS blobs.
The PKIX CRMF protocol.
Frequently-used primitive ASN.1 types, such as AlgorithmIdentifier,
PrivateKeyInfo, and X.500 Name.
A facility for encrypting and decrypting small amounts of data with
a symmetric key.
-
Uses of NotInitializedException in org.dogtagpki.jss.tomcat
Methods in org.dogtagpki.jss.tomcat that throw NotInitializedException -
Uses of NotInitializedException in org.mozilla.jss
Methods in org.mozilla.jss that throw NotInitializedExceptionModifier and TypeMethodDescriptionstatic CryptoManagerCryptoManager.getInstance()Retrieve the single instance of CryptoManager. -
Uses of NotInitializedException in org.mozilla.jss.crypto
Methods in org.mozilla.jss.crypto that throw NotInitializedExceptionModifier and TypeMethodDescriptionbyte[]CryptoStore.getEncryptedPrivateKeyInfo(X509Certificate cert, PBEAlgorithm pbeAlg, Password pw, int iteration) Get an encrypted private key for the given cert. -
Uses of NotInitializedException in org.mozilla.jss.pkcs10
Methods in org.mozilla.jss.pkcs10 that throw NotInitializedExceptionModifier and TypeMethodDescriptionvoidCertificationRequest.verify()Verifies the signature on this CertificationRequest.voidVerifies the signature on this CertificationRequest, using the given public key.Constructors in org.mozilla.jss.pkcs10 that throw NotInitializedExceptionModifierConstructorDescriptionCertificationRequest(CertificationRequestInfo info, PrivateKey privKey, SignatureAlgorithm signingAlg) Creates and signs an X.509 CertificationRequest. -
Uses of NotInitializedException in org.mozilla.jss.pkcs11
Methods in org.mozilla.jss.pkcs11 that throw NotInitializedExceptionModifier and TypeMethodDescriptionbyte[]PK11Store.getEncryptedPrivateKeyInfo(X509Certificate cert, PBEAlgorithm pbeAlg, Password pw, int iteration) -
Uses of NotInitializedException in org.mozilla.jss.pkcs12
Methods in org.mozilla.jss.pkcs12 that throw NotInitializedExceptionModifier and TypeMethodDescriptionvoidAuthenticatedSafes.addEncryptedSafeContents(PBEAlgorithm keyGenAlg, Password password, byte[] salt, int iterationCount, SEQUENCE safeContents) Encrypts a SafeContents and adds it to the AuthenticatedSafes.voidPFX.computeMacData(Password password, byte[] salt, int iterationCount) Computes the macData field and adds it to the PFX.static SafeBagSafeBag.createEncryptedPrivateKeyBag(PrivateKeyInfo privk, String friendlyName, byte[] localKeyID, Password password) Creates a SafeBag containing a PKCS-8ShroudedKeyBag, which is an EncryptedPrivateKeyInfo.AuthenticatedSafes.getSafeContentsAt(Password password, int index) Returns the SafeContents at the given index in the AuthenticatedSafes, decrypting it if necessary.Constructors in org.mozilla.jss.pkcs12 that throw NotInitializedExceptionModifierConstructorDescriptionCreates a MacData by computing a HMAC on the given bytes.MacData(Password password, byte[] macSalt, int iterations, byte[] toBeMACed, AlgorithmIdentifier algID) Creates a MacData by computing a HMAC on the given bytes. -
Uses of NotInitializedException in org.mozilla.jss.pkcs7
Methods in org.mozilla.jss.pkcs7 that throw NotInitializedExceptionModifier and TypeMethodDescriptionstatic EncryptedContentInfoEncryptedContentInfo.createPBE(PBEAlgorithm pbeAlg, Password password, byte[] salt, int iterationCount, KeyGenerator.CharToByteConverter charToByteConverter, byte[] toBeEncrypted) Creates a new EncryptedContentInfo, where the data is encrypted with a password-based key.byte[]EncryptedContentInfo.decrypt(Password pass, KeyGenerator.CharToByteConverter charToByteConverter) Decrypts the content of an EncryptedContentInfo encrypted with a PBE key.voidSignerInfo.verify(byte[] messageDigest, OBJECT_IDENTIFIER contentType) Verifies that this SignerInfo contains a valid signature of the given message digest.voidSignerInfo.verify(byte[] messageDigest, OBJECT_IDENTIFIER contentType, PublicKey pubkey) Verifies that this SignerInfo contains a valid signature of the given message digest.private voidSignerInfo.verifyWithAuthenticatedAttributes(byte[] messageDigest, OBJECT_IDENTIFIER contentType, PublicKey pubkey) Verifies a SignerInfo with authenticated attributes.private voidSignerInfo.verifyWithoutAuthenticatedAttributes(byte[] messageDigest, OBJECT_IDENTIFIER contentType, PublicKey pubkey) Verifies that the message digest passed in, when encrypted with the given public key, matches the encrypted digest in the SignerInfo.Constructors in org.mozilla.jss.pkcs7 that throw NotInitializedExceptionModifierConstructorDescriptionSignerInfo(IssuerAndSerialNumber issuerAndSerialNumber, SET authenticatedAttributes, SET unauthenticatedAttributes, OBJECT_IDENTIFIER contentType, byte[] messageDigest, SignatureAlgorithm signingAlg, PrivateKey signingKey) A constructor for creating a new SignerInfo from scratch. -
Uses of NotInitializedException in org.mozilla.jss.pkix.cert
Constructors in org.mozilla.jss.pkix.cert that throw NotInitializedExceptionModifierConstructorDescriptionCertificate(CertificateInfo info, PrivateKey privKey, SignatureAlgorithm signingAlg) Creates and signs an X.509 Certificate. -
Uses of NotInitializedException in org.mozilla.jss.pkix.cms
Methods in org.mozilla.jss.pkix.cms that throw NotInitializedExceptionModifier and TypeMethodDescriptionstatic EncryptedContentInfoEncryptedContentInfo.createPBE(PBEAlgorithm pbeAlg, Password password, byte[] salt, int iterationCount, KeyGenerator.CharToByteConverter charToByteConverter, byte[] toBeEncrypted) Creates a new EncryptedContentInfo, where the data is encrypted with a password-based key.byte[]EncryptedContentInfo.decrypt(Password pass, KeyGenerator.CharToByteConverter charToByteConverter) Decrypts the content of an EncryptedContentInfo encrypted with a PBE key.voidSignerInfo.verify(byte[] messageDigest, OBJECT_IDENTIFIER contentType) Verifies that this SignerInfo contains a valid signature of the given message digest.voidSignerInfo.verify(byte[] messageDigest, OBJECT_IDENTIFIER contentType, PublicKey pubkey) Verifies that this SignerInfo contains a valid signature of the given message digest.private voidSignerInfo.verifyWithoutSignedAttributes(byte[] messageDigest, OBJECT_IDENTIFIER contentType, PublicKey pubkey) Verifies that the message digest passed in, when encrypted with the given public key, matches the encrypted digest in the SignerInfo.private voidSignerInfo.verifyWithSignedAttributes(byte[] messageDigest, OBJECT_IDENTIFIER contentType, PublicKey pubkey) Verifies a SignerInfo with signed attributes.Constructors in org.mozilla.jss.pkix.cms that throw NotInitializedExceptionModifierConstructorDescriptionSignerInfo(SignerIdentifier signerIdentifier, SET signedAttributes, SET unsignedAttributes, OBJECT_IDENTIFIER contentType, byte[] messageDigest, SignatureAlgorithm signingAlg, PrivateKey signingKey) A constructor for creating a new SignerInfo from scratch. -
Uses of NotInitializedException in org.mozilla.jss.pkix.crmf
Methods in org.mozilla.jss.pkix.crmf that throw NotInitializedException -
Uses of NotInitializedException in org.mozilla.jss.pkix.primitive
Methods in org.mozilla.jss.pkix.primitive that throw NotInitializedExceptionModifier and TypeMethodDescriptionstatic EncryptedPrivateKeyInfoEncryptedPrivateKeyInfo.createPBE(PBEAlgorithm pbeAlg, Password password, byte[] salt, int iterationCount, KeyGenerator.CharToByteConverter charToByteConverter, PrivateKey pri, CryptoToken token) Creates a new EncryptedPrivateKeyInfo, where the data is encrypted with a password-based key- with wrapping/unwrapping happening on token.static EncryptedPrivateKeyInfoEncryptedPrivateKeyInfo.createPBE(PBEAlgorithm pbeAlg, Password password, byte[] salt, int iterationCount, KeyGenerator.CharToByteConverter charToByteConverter, PrivateKeyInfo pki) Creates a new EncryptedPrivateKeyInfo, where the data is encrypted with a password-based key.static EncryptedPrivateKeyInfoEncryptedPrivateKeyInfo.createPBES2(int saltLen, int kdfIterations, EncryptionAlgorithm encAlg, Password pwd, KeyGenerator.CharToByteConverter charToByteConverter, PrivateKeyInfo privateKeyInfo) Export a private key in PBES2 format, using a random PBKDF2 salt.EncryptedPrivateKeyInfo.decrypt(Password pass, KeyGenerator.CharToByteConverter charToByteConverter) Decrypts an EncryptedPrivateKeyInfo that was encrypted with a PBE algorithm. -
Uses of NotInitializedException in org.mozilla.jss.SecretDecoderRing
Methods in org.mozilla.jss.SecretDecoderRing that throw NotInitializedException