Uses of Class
org.mozilla.jss.pkcs11.PK11Token
Packages that use PK11Token
-
Uses of PK11Token in org.mozilla.jss.pkcs11
Fields in org.mozilla.jss.pkcs11 declared as PK11TokenModifier and TypeFieldDescriptionprivate PK11Token
PK11Cipher.token
private PK11Token
PK11KeyGenerator.token
private PK11Token
PK11KeyPairGenerator.token
private PK11Token
PK11KeyWrapper.token
private PK11Token
PK11MessageDigest.token
protected PK11Token
PK11Signature.token
private PK11Token
PK11SymmetricKeyDeriver.token
Methods in org.mozilla.jss.pkcs11 with parameters of type PK11TokenModifier and TypeMethodDescriptionstatic SymmetricKey
PK11KeyGenerator.clone
(SymmetricKey key, PK11Token token) Allows a SymmetricKey to be cloned on a different token.private static byte[]
PK11Signature.engineRawSignNative
(PK11Token token, PrivateKey key, byte[] hash) Performs raw signing of the given hash with the given private key.protected static boolean
PK11Signature.engineRawVerifyNative
(PK11Token token, PublicKey key, byte[] hash, byte[] signature) Performs raw verification of the signature of a hash using the given public key, on the given token.private KeyPair
PK11KeyPairGenerator.generateDSAKeyPair
(PK11Token token, byte[] P, byte[] Q, byte[] G, boolean temporary, int sensitive, int extractable) Generates a DSA key pair with the given P, Q, and G values.private KeyPair
PK11KeyPairGenerator.generateDSAKeyPairWithOpFlags
(PK11Token token, byte[] P, byte[] Q, byte[] G, boolean temporary, int sensitive, int extractable, int op_flags, int op_flags_mask) Generates a DSA key pair with the given P, Q, and G values.private KeyPair
PK11KeyPairGenerator.generateECKeyPair
(PK11Token token, byte[] Curve, boolean temporary, int sensitive, int extractable) Generates a EC key pair with the given a curve.private KeyPair
PK11KeyPairGenerator.generateECKeyPairWithOpFlags
(PK11Token token, byte[] Curve, boolean temporary, int sensitive, int extractable, int op_flags, int op_flags_mask) Generates a EC key pair with the given a curve.private static SymmetricKey
PK11KeyGenerator.generateKBKDF
(PK11Token token, PK11SymKey baseKeyObj, long algorithm, NativeProxy pointer, long pointer_size, long derivedKeyAlgorithm, int strength, int opFlags, boolean temporary, int sensitive) A native method to generate a key using KBKDF.private 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 KeyPair
PK11KeyPairGenerator.generateRSAKeyPair
(PK11Token token, int keySize, long publicExponent, boolean temporary, int sensitive, int extractable) Generates an RSA key pair with the given size and public exponent.private KeyPair
PK11KeyPairGenerator.generateRSAKeyPairWithOpFlags
(PK11Token token, int keySize, long publicExponent, boolean temporary, int sensitive, int extractable, int op_flags, int op_flags_mask) Generates an RSA key pair with the given size and public exponent.private static CipherContextProxy
PK11MessageDigest.initHMAC
(PK11Token token, DigestAlgorithm alg, PK11SymKey key) private static SymmetricKey
PK11KeyGenerator.nativeClone
(PK11Token token, SymmetricKey toBeCloned) PK11SymmetricKeyDeriver.nativeDeriveSymKey
(PK11Token token, SymmetricKey baseKey, SymmetricKey secondaryKey, long deriveMechanism, byte[] param, byte[] iv, long targetMechanism, long operation, long keySize) private static PrivateKey
PK11KeyWrapper.nativeUnwrapPrivWithSym
(PK11Token token, SymmetricKey unwrappingKey, byte[] wrappedKey, KeyWrapAlgorithm alg, Algorithm type, byte[] publicValue, byte[] IV, boolean temporary) Unwrap a private with a symmetric.private static SymmetricKey
PK11KeyWrapper.nativeUnwrapSymPlaintext
(PK11Token token, byte[] wrappedKey, Algorithm type, int usageEnum, boolean temporary) private static SymmetricKey
PK11KeyWrapper.nativeUnwrapSymWithPriv
(PK11Token token, PrivateKey unwrappingKey, byte[] wrappedKey, KeyWrapAlgorithm alg, Algorithm type, int keyLen, NativeProxy params, long params_size, int usageEnum) Unwrap a symmetric with a private.private static SymmetricKey
PK11KeyWrapper.nativeUnwrapSymWithSym
(PK11Token token, SymmetricKey unwrappingKey, byte[] wrappedKey, KeyWrapAlgorithm alg, Algorithm type, int keyLen, byte[] IV, int usageEnum, boolean temporary) Unwrap a symmetric with a symmetric.private static byte[]
PK11KeyWrapper.nativeWrapPrivWithSym
(PK11Token token, PrivateKey toBeWrapped, SymmetricKey wrappingKey, KeyWrapAlgorithm alg, byte[] IV) Wrap a private with a symmetricprivate static byte[]
PK11KeyWrapper.nativeWrapSymWithPub
(PK11Token token, SymmetricKey toBeWrapped, PublicKey wrappingKey, KeyWrapAlgorithm alg, NativeProxy params, long params_size) Wrap a symmetric with a publicprivate static byte[]
PK11KeyWrapper.nativeWrapSymWithSym
(PK11Token token, SymmetricKey toBeWrapped, SymmetricKey wrappingKey, KeyWrapAlgorithm alg, byte[] IV) Wrap a symmetric with a symmetricvoid
PK11PrivKey.verifyKeyIsOnToken
(PK11Token token) Make sure this key lives on the given token.void
PK11PubKey.verifyKeyIsOnToken
(PK11Token token) Make sure this key lives on the given token.Constructors in org.mozilla.jss.pkcs11 with parameters of type PK11TokenModifierConstructorDescription(package private)
PK11Cipher
(PK11Token token, EncryptionAlgorithm algorithm) (package private)
PK11KeyGenerator
(PK11Token token, KeyGenAlgorithm algorithm) PK11KeyPairGenerator
(PK11Token token, KeyPairAlgorithm algorithm) Constructor for PK11KeyPairGenerator.(package private)
PK11KeyWrapper
(PK11Token token, KeyWrapAlgorithm algorithm) (package private)
PK11MessageDigest
(PK11Token token, DigestAlgorithm alg) PK11Signature
(PK11Token token, SignatureAlgorithm algorithm) PK11SymmetricKeyDeriver
(PK11Token token)