Uses of Class
org.mozilla.jss.crypto.EncryptionAlgorithm
Packages that use EncryptionAlgorithm
Package
Description
Generic cryptographic operations, such as signing and key pair generation.
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 EncryptionAlgorithm in org.mozilla.jss.crypto
Fields in org.mozilla.jss.crypto declared as EncryptionAlgorithmModifier and TypeFieldDescriptionstatic final EncryptionAlgorithm
EncryptionAlgorithm.AES_128_CBC
static final EncryptionAlgorithm
EncryptionAlgorithm.AES_128_CBC_PAD
static final EncryptionAlgorithm
EncryptionAlgorithm.AES_128_ECB
static final EncryptionAlgorithm
EncryptionAlgorithm.AES_128_KEY_WRAP_KWP
static final EncryptionAlgorithm
EncryptionAlgorithm.AES_192_CBC
static final EncryptionAlgorithm
EncryptionAlgorithm.AES_192_CBC_PAD
static final EncryptionAlgorithm
EncryptionAlgorithm.AES_192_ECB
static final EncryptionAlgorithm
EncryptionAlgorithm.AES_192_KEY_WRAP_KWP
static final EncryptionAlgorithm
EncryptionAlgorithm.AES_256_CBC
static final EncryptionAlgorithm
EncryptionAlgorithm.AES_256_CBC_PAD
static final EncryptionAlgorithm
EncryptionAlgorithm.AES_256_ECB
static final EncryptionAlgorithm
EncryptionAlgorithm.AES_256_KEY_WRAP_KWP
static final EncryptionAlgorithm
EncryptionAlgorithm.AES_CBC_PAD
static final EncryptionAlgorithm
EncryptionAlgorithm.DES_CBC
static final EncryptionAlgorithm
EncryptionAlgorithm.DES_CBC_PAD
static final EncryptionAlgorithm
EncryptionAlgorithm.DES_ECB
static final EncryptionAlgorithm
EncryptionAlgorithm.DES3_CBC
static final EncryptionAlgorithm
EncryptionAlgorithm.DES3_CBC_PAD
static final EncryptionAlgorithm
EncryptionAlgorithm.DES3_ECB
private EncryptionAlgorithm
PBEAlgorithm.encAlg
private EncryptionAlgorithm
PBEKeyGenParams.encryptionAlgorithm
static final EncryptionAlgorithm
EncryptionAlgorithm.RC2_CBC
static final EncryptionAlgorithm
EncryptionAlgorithm.RC2_CBC_PAD
static final EncryptionAlgorithm
EncryptionAlgorithm.RC4
Fields in org.mozilla.jss.crypto with type parameters of type EncryptionAlgorithmModifier and TypeFieldDescriptionprivate static Vector
<EncryptionAlgorithm> EncryptionAlgorithm.algList
private static Hashtable
<String, EncryptionAlgorithm> EncryptionAlgorithm.nameMap
private static Hashtable
<OBJECT_IDENTIFIER, EncryptionAlgorithm> EncryptionAlgorithm.oidMap
Methods in org.mozilla.jss.crypto that return EncryptionAlgorithmModifier and TypeMethodDescriptionstatic EncryptionAlgorithm
EncryptionAlgorithm.fromOID
(OBJECT_IDENTIFIER oid) static EncryptionAlgorithm
EncryptionAlgorithm.fromString
(String name) Deprecated.This method is deprecated because algorithm strings don't contain key length, which is necessary to distinguish between AES algorithms.PBEAlgorithm.getEncryptionAlg()
Returns the EncryptionAlgorithm that should be used with keys generated with this PBEAlgorithm.PBEKeyGenParams.getEncryptionAlgorithm()
The encryption algorithm is used with SOME PBE algorithms for determining the KDF output length.static EncryptionAlgorithm
Methods in org.mozilla.jss.crypto with parameters of type EncryptionAlgorithmModifier and TypeMethodDescriptionCryptoToken.getCipherContext
(EncryptionAlgorithm algorithm) Creates a Cipher object, which can be used for encryption and decryption.Constructors in org.mozilla.jss.crypto with parameters of type EncryptionAlgorithmModifierConstructorDescriptionprotected
PBEAlgorithm
(int oidTag, String name, int validStrength, OBJECT_IDENTIFIER oid, EncryptionAlgorithm encAlg, int saltLength) PBEKeyGenParams
(char[] pass, byte[] salt, int iterations, EncryptionAlgorithm encAlg) Creates PBE parameters using default encryption algorithm (DES3_EDE3_CBC).PBEKeyGenParams
(char[] pass, byte[] salt, int iterations, EncryptionAlgorithm encAlg, HMACAlgorithm hashAlg) Creates PBE parameters using default encryption algorithm (DES3_EDE3_CBC). -
Uses of EncryptionAlgorithm in org.mozilla.jss.netscape.security.util
Fields in org.mozilla.jss.netscape.security.util declared as EncryptionAlgorithmModifier and TypeFieldDescription(package private) EncryptionAlgorithm
WrappingParams.payloadEncryptionAlgorithm
Methods in org.mozilla.jss.netscape.security.util that return EncryptionAlgorithmModifier and TypeMethodDescriptionstatic EncryptionAlgorithm
WrappingParams.getEncryptionAlgorithmFromName
(String name) WrappingParams.getPayloadEncryptionAlgorithm()
Methods in org.mozilla.jss.netscape.security.util with parameters of type EncryptionAlgorithmModifier and TypeMethodDescriptionvoid
WrappingParams.setPayloadEncryptionAlgorithm
(EncryptionAlgorithm payloadEncryptionAlgorithm) Constructors in org.mozilla.jss.netscape.security.util with parameters of type EncryptionAlgorithmModifierConstructorDescriptionWrappingParams
(SymmetricKey.Type skType, KeyGenAlgorithm skKeyGenAlgorithm, int skLength, KeyWrapAlgorithm skWrapAlgorithm, EncryptionAlgorithm payloadEncryptionAlgorithm, KeyWrapAlgorithm payloadWrapAlgorithm, IVParameterSpec payloadEncryptIV, IVParameterSpec payloadWrapIV) -
Uses of EncryptionAlgorithm in org.mozilla.jss.pkcs11
Fields in org.mozilla.jss.pkcs11 declared as EncryptionAlgorithmMethods in org.mozilla.jss.pkcs11 with parameters of type EncryptionAlgorithmModifier and TypeMethodDescriptionprivate static SymmetricKey
PK11KeyGenerator.generatePBE
(PK11Token token, KeyGenAlgorithm algorithm, EncryptionAlgorithm encAlg, HMACAlgorithm hashAlg, byte[] pass, byte[] salt, int iterationCount) A native method to generate a PBE key.PK11Token.getCipherContext
(EncryptionAlgorithm algorithm) private static CipherContextProxy
PK11Cipher.initContext
(boolean encrypt, SymmetricKey key, EncryptionAlgorithm alg, byte[] IV, boolean padded) private static CipherContextProxy
PK11Cipher.initContextWithKeyBits
(boolean encrypt, SymmetricKey key, EncryptionAlgorithm alg, byte[] IV, int keyBits, boolean padded) Constructors in org.mozilla.jss.pkcs11 with parameters of type EncryptionAlgorithmModifierConstructorDescription(package private)
PK11Cipher
(PK11Token token, EncryptionAlgorithm algorithm) -
Uses of EncryptionAlgorithm in org.mozilla.jss.pkix.primitive
Methods in org.mozilla.jss.pkix.primitive with parameters of type EncryptionAlgorithmModifier and TypeMethodDescriptionstatic 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. -
Uses of EncryptionAlgorithm in org.mozilla.jss.SecretDecoderRing
Fields in org.mozilla.jss.SecretDecoderRing declared as EncryptionAlgorithmModifier and TypeFieldDescriptionprivate EncryptionAlgorithm
Encryptor.alg
static final EncryptionAlgorithm
Encryptor.DEFAULT_ENCRYPTION_ALG
The default encryption algorithm, currently DES3_CBC.Methods in org.mozilla.jss.SecretDecoderRing with parameters of type EncryptionAlgorithmModifier and TypeMethodDescriptionKeyManager.lookupKey
(EncryptionAlgorithm alg, byte[] keyid) Looks up the key on this token with the given algorithm and key ID.private SymmetricKey
KeyManager.lookupKeyNative
(CryptoToken token, EncryptionAlgorithm alg, byte[] keyid) KeyManager.lookupUniqueNamedKey
(EncryptionAlgorithm alg, String nickname) Looks up the key on this token with the given algorithm and nickname.private SymmetricKey
KeyManager.lookupUniqueNamedKeyNative
(CryptoToken token, EncryptionAlgorithm alg, String nickname) Constructors in org.mozilla.jss.SecretDecoderRing with parameters of type EncryptionAlgorithmModifierConstructorDescriptionEncryptor
(CryptoToken token, byte[] keyID, EncryptionAlgorithm alg) Creates an Encryptor on the given CryptoToken, using the key with the given keyID and algorithm