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 PK11TokenPK11Cipher.tokenprivate PK11TokenPK11KeyGenerator.tokenprivate PK11TokenPK11KeyPairGenerator.tokenprivate PK11TokenPK11KeyWrapper.tokenprivate PK11TokenPK11MessageDigest.tokenprotected PK11TokenPK11Signature.tokenprivate PK11TokenPK11SymmetricKeyDeriver.tokenMethods in org.mozilla.jss.pkcs11 with parameters of type PK11TokenModifier and TypeMethodDescriptionstatic SymmetricKeyPK11KeyGenerator.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 booleanPK11Signature.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 KeyPairPK11KeyPairGenerator.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 KeyPairPK11KeyPairGenerator.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 KeyPairPK11KeyPairGenerator.generateECKeyPair(PK11Token token, byte[] Curve, boolean temporary, int sensitive, int extractable) Generates a EC key pair with the given a curve.private KeyPairPK11KeyPairGenerator.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 SymmetricKeyPK11KeyGenerator.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 KeyPairPK11KeyPairGenerator.generateMLDSAKeyPair(PK11Token token, int size, boolean temporary, int sensitive, int extractable) Generates a ML-DSA key pair with the given security level.private KeyPairPK11KeyPairGenerator.generateMLDSAKeyPairWithOpFlags(PK11Token token, int size, boolean temporary, int sensitive, int extractable, int op_flags, int op_flags_mask) Generates a ML-DSA key pair with the given security level.private static SymmetricKeyPK11KeyGenerator.generateNormal(PK11Token token, KeyGenAlgorithm algorithm, int strength, int opFlags, boolean temporary, int sensitive) A native method to generate a non-PBE key.private static SymmetricKeyPK11KeyGenerator.generatePBE(PK11Token token, KeyGenAlgorithm algorithm, EncryptionAlgorithm encAlg, HMACAlgorithm hashAlg, byte[] pass, byte[] salt, int iterationCount) A native method to generate a PBE key.private KeyPairPK11KeyPairGenerator.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 KeyPairPK11KeyPairGenerator.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 CipherContextProxyPK11MessageDigest.initHMAC(PK11Token token, DigestAlgorithm alg, PK11SymKey key) private static SymmetricKeyPK11KeyGenerator.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 PrivateKeyPK11KeyWrapper.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 SymmetricKeyPK11KeyWrapper.nativeUnwrapSymPlaintext(PK11Token token, byte[] wrappedKey, Algorithm type, int usageEnum, boolean temporary) private static SymmetricKeyPK11KeyWrapper.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 SymmetricKeyPK11KeyWrapper.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 symmetricvoidPK11PrivKey.verifyKeyIsOnToken(PK11Token token) Make sure this key lives on the given token.voidPK11PubKey.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)