Uses of Class
org.mozilla.jss.crypto.KeyGenAlgorithm
Packages that use KeyGenAlgorithm
Package
Description
Generic cryptographic operations, such as signing and key pair generation.
A facility for encrypting and decrypting small amounts of data with
a symmetric key.
-
Uses of KeyGenAlgorithm in org.mozilla.jss.crypto
Subclasses of KeyGenAlgorithm in org.mozilla.jss.cryptoModifier and TypeClassDescriptionclass
Algorithms that can be used for generating symmetric keys from passwords.Fields in org.mozilla.jss.crypto declared as KeyGenAlgorithmModifier and TypeFieldDescriptionstatic final KeyGenAlgorithm
KeyGenAlgorithm.AES
static final KeyGenAlgorithm
KeyGenAlgorithm.DES
static final KeyGenAlgorithm
KeyGenAlgorithm.DES3
static final KeyGenAlgorithm
KeyGenAlgorithm.DESede
static final KeyGenAlgorithm
KeyGenAlgorithm.GENERIC_SECRET
private KeyGenAlgorithm
SymmetricKey.Type.keyGenAlg
static final KeyGenAlgorithm
KeyGenAlgorithm.NSS_SP800_108_COUNTER_KDF_DERIVE_DATA
static final KeyGenAlgorithm
KeyGenAlgorithm.NSS_SP800_108_DOUBLE_PIPELINE_KDF_DERIVE_DATA
static final KeyGenAlgorithm
KeyGenAlgorithm.NSS_SP800_108_FEEDBACK_KDF_DERIVE_DATA
static final KeyGenAlgorithm
KeyGenAlgorithm.PBA_SHA1_HMAC
Deprecated, for removal: This API element is subject to removal in a future version.static final KeyGenAlgorithm
KeyGenAlgorithm.PBE_SHA256_HMAC
static final KeyGenAlgorithm
KeyGenAlgorithm.PBE_SHA384_HMAC
static final KeyGenAlgorithm
KeyGenAlgorithm.PBE_SHA512_HMAC
static final KeyGenAlgorithm
KeyGenAlgorithm.RC2
static final KeyGenAlgorithm
KeyGenAlgorithm.RC4
static final KeyGenAlgorithm
KeyGenAlgorithm.SHA1_HMAC
Deprecated, for removal: This API element is subject to removal in a future version.static final KeyGenAlgorithm
KeyGenAlgorithm.SHA256_HMAC
static final KeyGenAlgorithm
KeyGenAlgorithm.SHA384_HMAC
static final KeyGenAlgorithm
KeyGenAlgorithm.SHA512_HMAC
static final KeyGenAlgorithm
KeyGenAlgorithm.SP800_108_COUNTER_KDF
static final KeyGenAlgorithm
KeyGenAlgorithm.SP800_108_DOUBLE_PIPELINE_KDF
static final KeyGenAlgorithm
KeyGenAlgorithm.SP800_108_FEEDBACK_KDF
Fields in org.mozilla.jss.crypto with type parameters of type KeyGenAlgorithmModifier and TypeFieldDescriptionprivate static Hashtable
<OBJECT_IDENTIFIER, KeyGenAlgorithm> KeyGenAlgorithm.oidMap
Methods in org.mozilla.jss.crypto that return KeyGenAlgorithmModifier and TypeMethodDescriptionstatic KeyGenAlgorithm
KeyGenAlgorithm.fromOID
(OBJECT_IDENTIFIER oid) SymmetricKey.Type.getKeyGenAlg()
Methods in org.mozilla.jss.crypto with parameters of type KeyGenAlgorithmModifier and TypeMethodDescriptionCryptoToken.getKeyGenerator
(KeyGenAlgorithm algorithm) Creates a KeyGenerator object, which can be used to generate symmetric encryption keys.Constructors in org.mozilla.jss.crypto with parameters of type KeyGenAlgorithmModifierConstructorDescriptionprivate
Type
(String[] names, KeyGenAlgorithm keyGenAlg, KeyType keyType) -
Uses of KeyGenAlgorithm in org.mozilla.jss.netscape.security.util
Fields in org.mozilla.jss.netscape.security.util declared as KeyGenAlgorithmModifier and TypeFieldDescription(package private) KeyGenAlgorithm
WrappingParams.skKeyGenAlgorithm
Methods in org.mozilla.jss.netscape.security.util that return KeyGenAlgorithmMethods in org.mozilla.jss.netscape.security.util with parameters of type KeyGenAlgorithmModifier and TypeMethodDescriptionvoid
WrappingParams.setSkKeyGenAlgorithm
(KeyGenAlgorithm skKeyGenAlgorithm) Constructors in org.mozilla.jss.netscape.security.util with parameters of type KeyGenAlgorithmModifierConstructorDescriptionWrappingParams
(SymmetricKey.Type skType, KeyGenAlgorithm skKeyGenAlgorithm, int skLength, KeyWrapAlgorithm skWrapAlgorithm, EncryptionAlgorithm payloadEncryptionAlgorithm, KeyWrapAlgorithm payloadWrapAlgorithm, IVParameterSpec payloadEncryptIV, IVParameterSpec payloadWrapIV) -
Uses of KeyGenAlgorithm in org.mozilla.jss.pkcs11
Fields in org.mozilla.jss.pkcs11 declared as KeyGenAlgorithmMethods in org.mozilla.jss.pkcs11 with parameters of type KeyGenAlgorithmModifier and TypeMethodDescriptionprivate static SymmetricKey
PK11KeyGenerator.generateNormal
(PK11Token token, KeyGenAlgorithm algorithm, int strength, int opFlags, boolean temporary, int sensitive) A native method to generate a non-PBE key.private 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.private static byte[]
PK11KeyGenerator.generatePBE_IV
(KeyGenAlgorithm alg, byte[] password, byte[] salt, int iterations) A native method to generate an IV using a PBE algorithm.PK11Token.getKeyGenerator
(KeyGenAlgorithm algorithm) Constructors in org.mozilla.jss.pkcs11 with parameters of type KeyGenAlgorithmModifierConstructorDescription(package private)
PK11KeyGenerator
(PK11Token token, KeyGenAlgorithm algorithm) -
Uses of KeyGenAlgorithm in org.mozilla.jss.provider.javax.crypto
Fields in org.mozilla.jss.provider.javax.crypto declared as KeyGenAlgorithmConstructors in org.mozilla.jss.provider.javax.crypto with parameters of type KeyGenAlgorithmModifierConstructorDescriptionprotected
protected
-
Uses of KeyGenAlgorithm in org.mozilla.jss.SecretDecoderRing
Fields in org.mozilla.jss.SecretDecoderRing declared as KeyGenAlgorithmModifier and TypeFieldDescriptionstatic final KeyGenAlgorithm
KeyManager.DEFAULT_KEYGEN_ALG
The default key generation algorithm, currently DES3.Methods in org.mozilla.jss.SecretDecoderRing with parameters of type KeyGenAlgorithmModifier and TypeMethodDescriptionbyte[]
KeyManager.generateKey
(KeyGenAlgorithm alg, int keySize) Generates an SDR key with the given algorithm and key size.private void
KeyManager.generateKeyNative
(CryptoToken token, KeyGenAlgorithm alg, byte[] keyID, int keySize) byte[]
KeyManager.generateUniqueNamedKey
(KeyGenAlgorithm alg, int keySize, String nickname) Generates an SDR key with the given algorithm, key size, and nickname.private void
KeyManager.generateUniqueNamedKeyNative
(CryptoToken token, KeyGenAlgorithm alg, byte[] keyID, int keySize, String nickname)