Uses of Interface
org.mozilla.jss.crypto.KeyGenerator.CharToByteConverter
Packages that use KeyGenerator.CharToByteConverter
Package
Description
Generic cryptographic operations, such as signing and key pair generation.
Creating and interpreting PKCS #12 blobs.
Creating and interpeting PKCS #7 blobs.
Creating and interpeting CMS blobs.
Frequently-used primitive ASN.1 types, such as AlgorithmIdentifier,
PrivateKeyInfo, and X.500 Name.
-
Uses of KeyGenerator.CharToByteConverter in org.mozilla.jss.crypto
Methods in org.mozilla.jss.crypto with parameters of type KeyGenerator.CharToByteConverterModifier and TypeMethodDescriptionbyte[]
CryptoStore.getEncryptedPrivateKeyInfo
(KeyGenerator.CharToByteConverter conv, Password pw, Algorithm alg, int n, PrivateKey k) Get an encrypted private key, with optional password conversion.void
CryptoStore.importEncryptedPrivateKeyInfo
(KeyGenerator.CharToByteConverter conv, Password pw, String nickname, PublicKey pubKey, byte[] epkiBytes) void
KeyGenerator.setCharToByteConverter
(KeyGenerator.CharToByteConverter charToByte) Sets the character to byte converter for passwords. -
Uses of KeyGenerator.CharToByteConverter in org.mozilla.jss.pkcs11
Fields in org.mozilla.jss.pkcs11 declared as KeyGenerator.CharToByteConverterModifier and TypeFieldDescriptionprivate KeyGenerator.CharToByteConverter
PK11KeyGenerator.charToByte
Methods in org.mozilla.jss.pkcs11 with parameters of type KeyGenerator.CharToByteConverterModifier and TypeMethodDescriptionbyte[]
PK11Store.getEncryptedPrivateKeyInfo
(KeyGenerator.CharToByteConverter conv, Password pw, Algorithm alg, int n, PrivateKey k) void
PK11Store.importEncryptedPrivateKeyInfo
(KeyGenerator.CharToByteConverter conv, Password pw, String nickname, PublicKey pubKey, byte[] epkiBytes) void
PK11KeyGenerator.setCharToByteConverter
(KeyGenerator.CharToByteConverter charToByte) Sets the character to byte converter for passwords. -
Uses of KeyGenerator.CharToByteConverter in org.mozilla.jss.pkcs12
Classes in org.mozilla.jss.pkcs12 that implement KeyGenerator.CharToByteConverter -
Uses of KeyGenerator.CharToByteConverter in org.mozilla.jss.pkcs7
Methods in org.mozilla.jss.pkcs7 with parameters of type KeyGenerator.CharToByteConverterModifier 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. -
Uses of KeyGenerator.CharToByteConverter in org.mozilla.jss.pkix.cms
Methods in org.mozilla.jss.pkix.cms with parameters of type KeyGenerator.CharToByteConverterModifier 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. -
Uses of KeyGenerator.CharToByteConverter in org.mozilla.jss.pkix.primitive
Methods in org.mozilla.jss.pkix.primitive with parameters of type KeyGenerator.CharToByteConverterModifier 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.