Uses of Class
org.mozilla.jss.pkix.primitive.EncryptedPrivateKeyInfo
Packages that use EncryptedPrivateKeyInfo
Package
Description
Frequently-used primitive ASN.1 types, such as AlgorithmIdentifier,
PrivateKeyInfo, and X.500 Name.
-
Uses of EncryptedPrivateKeyInfo in org.mozilla.jss.pkix.primitive
Methods in org.mozilla.jss.pkix.primitive that return EncryptedPrivateKeyInfoModifier 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.