Uses of Class
org.mozilla.jss.pkix.primitive.PrivateKeyInfo
Packages that use PrivateKeyInfo
Package
Description
Creating and interpreting PKCS #12 blobs.
Frequently-used primitive ASN.1 types, such as AlgorithmIdentifier,
PrivateKeyInfo, and X.500 Name.
-
Uses of PrivateKeyInfo in org.mozilla.jss.pkcs12
Methods in org.mozilla.jss.pkcs12 with parameters of type PrivateKeyInfoModifier and TypeMethodDescriptionstatic SafeBag
SafeBag.createEncryptedPrivateKeyBag
(PrivateKeyInfo privk, String friendlyName, byte[] localKeyID, Password password) Creates a SafeBag containing a PKCS-8ShroudedKeyBag, which is an EncryptedPrivateKeyInfo. -
Uses of PrivateKeyInfo in org.mozilla.jss.pkix.primitive
Methods in org.mozilla.jss.pkix.primitive that return PrivateKeyInfoModifier and TypeMethodDescriptionEncryptedPrivateKeyInfo.decrypt
(Password pass, KeyGenerator.CharToByteConverter charToByteConverter) Decrypts an EncryptedPrivateKeyInfo that was encrypted with a PBE algorithm.Methods in org.mozilla.jss.pkix.primitive with parameters of type PrivateKeyInfoModifier and TypeMethodDescriptionstatic 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.