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 CryptoManager
CryptoManager.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 TypeMethodDescriptionvoid
CertificationRequest.verify()
Verifies the signature on this CertificationRequest.void
Verifies 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 TypeMethodDescriptionvoid
AuthenticatedSafes.addEncryptedSafeContents
(PBEAlgorithm keyGenAlg, Password password, byte[] salt, int iterationCount, SEQUENCE safeContents) Encrypts a SafeContents and adds it to the AuthenticatedSafes.void
PFX.computeMacData
(Password password, byte[] salt, int iterationCount) Computes the macData field and adds it to the PFX.static SafeBag
SafeBag.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.boolean
PFX.verifyAuthSafes
(Password password, StringBuffer reason) Verifies the HMAC on the authenticated safes, using the password provided.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 EncryptedContentInfo
EncryptedContentInfo.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.void
SignerInfo.verify
(byte[] messageDigest, OBJECT_IDENTIFIER contentType) Verifies that this SignerInfo contains a valid signature of the given message digest.void
SignerInfo.verify
(byte[] messageDigest, OBJECT_IDENTIFIER contentType, PublicKey pubkey) Verifies that this SignerInfo contains a valid signature of the given message digest.private void
SignerInfo.verifyWithAuthenticatedAttributes
(byte[] messageDigest, OBJECT_IDENTIFIER contentType, PublicKey pubkey) Verifies a SignerInfo with authenticated attributes.private void
SignerInfo.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 EncryptedContentInfo
EncryptedContentInfo.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.void
SignerInfo.verify
(byte[] messageDigest, OBJECT_IDENTIFIER contentType) Verifies that this SignerInfo contains a valid signature of the given message digest.void
SignerInfo.verify
(byte[] messageDigest, OBJECT_IDENTIFIER contentType, PublicKey pubkey) Verifies that this SignerInfo contains a valid signature of the given message digest.private void
SignerInfo.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 void
SignerInfo.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 EncryptedPrivateKeyInfo
EncryptedPrivateKeyInfo.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 EncryptedPrivateKeyInfo
EncryptedPrivateKeyInfo.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 EncryptedPrivateKeyInfo
EncryptedPrivateKeyInfo.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