Uses of Interface
org.mozilla.jss.crypto.CryptoToken
Packages that use CryptoToken
Package
Description
Configuration and top-level operations of the JSS system.
Generic cryptographic operations, such as signing and key pair generation.
Encoding and decoding pkcs10 request
Encoding and decoding X.509 certificates and certificate extensions.
The PKIX CRMF protocol.
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 CryptoToken in org.dogtagpki.jss.tomcat
Methods in org.dogtagpki.jss.tomcat that return CryptoToken -
Uses of CryptoToken in org.mozilla.jss
Fields in org.mozilla.jss declared as CryptoTokenModifier and TypeFieldDescriptionprivate CryptoToken
CryptoManager.internalCryptoToken
The internal cryptographic services token.private CryptoToken
CryptoManager.internalKeyStorageToken
The internal key storage token.Fields in org.mozilla.jss with type parameters of type CryptoTokenMethods in org.mozilla.jss that return CryptoTokenModifier and TypeMethodDescriptionCryptoManager.getInternalCryptoToken()
Retrieves the internal cryptographic services token.CryptoManager.getInternalKeyStorageToken()
Retrieves the internal key storage token.CryptoManager.getThreadToken()
Returns the default token for the current thread.CryptoManager.getTokenByName
(String name) Looks up the CryptoToken with the given name.Methods in org.mozilla.jss that return types with arguments of type CryptoTokenModifier and TypeMethodDescriptionCryptoManager.getAllTokens()
Retrieves all tokens.CryptoManager.getExternalTokens()
Retrieves all tokens except those built into NSS.CryptoManager.getTokensSupportingAlgorithm
(Algorithm alg) Retrieves all tokens that support the given algorithm.Methods in org.mozilla.jss with parameters of type CryptoTokenModifier and TypeMethodDescriptionvoid
CryptoManager.setThreadToken
(CryptoToken token) Sets the default token for the current thread. -
Uses of CryptoToken in org.mozilla.jss.crypto
Methods in org.mozilla.jss.crypto that return CryptoTokenModifier and TypeMethodDescriptionTokenSupplier.getInternalCryptoToken()
PrivateKey.getOwningToken()
Returns the CryptoToken that owns this private key.SymmetricKey.getOwningToken()
TokenCertificate.getOwningToken()
Returns the CryptoToken that owns this certificate.TokenSupplier.getThreadToken()
Methods in org.mozilla.jss.crypto with parameters of type CryptoToken -
Uses of CryptoToken in org.mozilla.jss.netscape.security.pkcs
Methods in org.mozilla.jss.netscape.security.pkcs with parameters of type CryptoTokenModifier and TypeMethodDescriptionPKCS12Util.create_EPKI_with_PBE_PKCS5_PBES2
(CryptoToken token, PrivateKey privateKey, Password password) PKCS12Util.create_EPKI_with_PBE_SHA1_DES3_CBC
(CryptoToken token, PrivateKey privateKey, Password password) -
Uses of CryptoToken in org.mozilla.jss.pkcs10
Methods in org.mozilla.jss.pkcs10 with parameters of type CryptoTokenModifier and TypeMethodDescriptionvoid
CertificationRequest.verify
(PublicKey key, CryptoToken token) Verifies the signature on this CertificationRequest, using the given public key and CryptoToken. -
Uses of CryptoToken in org.mozilla.jss.pkcs11
Classes in org.mozilla.jss.pkcs11 that implement CryptoTokenFields in org.mozilla.jss.pkcs11 with type parameters of type CryptoTokenMethods in org.mozilla.jss.pkcs11 that return CryptoTokenModifier and TypeMethodDescriptionPK11Cert.getOwningToken()
PK11PrivKey.getOwningToken()
Returns a new CryptoToken where this key resides.PK11SymKey.getOwningToken()
Methods in org.mozilla.jss.pkcs11 that return types with arguments of type CryptoTokenModifier and TypeMethodDescriptionPK11Module.getTokens()
Get the CryptoTokens provided by this module.Methods in org.mozilla.jss.pkcs11 with parameters of type CryptoTokenModifier and TypeMethodDescriptionstatic PK11PrivKey
PK11PrivKey.fromPrivateKeyInfo
(byte[] pki, CryptoToken token) Imports a PrivateKeyInfo, storing it as a temporary PrivateKey on the given token.static PK11PrivKey
PK11PrivKey.fromPrivateKeyInfo
(byte[] pki, CryptoToken token, byte[] publicValue) Imports a PrivateKeyInfo, storing it as a temporary PrivateKey on the given token.static PK11PrivKey
PK11PrivKey.fromPrivateKeyInfo
(PKCS8EncodedKeySpec spec, CryptoToken token) Imports a PrivateKeyInfo, storing it as a temporary PrivateKey on the given token.Method parameters in org.mozilla.jss.pkcs11 with type arguments of type CryptoTokenModifier and TypeMethodDescriptionprivate void
PK11Module.putTokensInVector
(Vector<CryptoToken> tokens) -
Uses of CryptoToken in org.mozilla.jss.pkix.cert
Methods in org.mozilla.jss.pkix.cert with parameters of type CryptoTokenModifier and TypeMethodDescriptionvoid
Certificate.verify
(PublicKey key, CryptoToken token) Verifies the signature on this certificate, using the given public key and CryptoToken. -
Uses of CryptoToken in org.mozilla.jss.pkix.crmf
Methods in org.mozilla.jss.pkix.crmf with parameters of type CryptoToken -
Uses of CryptoToken in org.mozilla.jss.pkix.primitive
Methods in org.mozilla.jss.pkix.primitive with parameters of type CryptoTokenModifier 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. -
Uses of CryptoToken in org.mozilla.jss.provider.java.security
Fields in org.mozilla.jss.provider.java.security declared as CryptoTokenModifier and TypeFieldDescription(package private) CryptoToken
JSSKeyStoreSpi.token
(package private) CryptoToken
JSSLoadStoreParameter.token
Methods in org.mozilla.jss.provider.java.security that return CryptoTokenConstructors in org.mozilla.jss.provider.java.security with parameters of type CryptoToken -
Uses of CryptoToken in org.mozilla.jss.provider.javax.crypto
Fields in org.mozilla.jss.provider.javax.crypto declared as CryptoTokenModifier and TypeFieldDescription(package private) CryptoToken
JSSCipherSpi.token
private CryptoToken
JSSSecretKeyFactorySpi.token
-
Uses of CryptoToken in org.mozilla.jss.SecretDecoderRing
Fields in org.mozilla.jss.SecretDecoderRing declared as CryptoTokenModifier and TypeFieldDescriptionprivate CryptoToken
Decryptor.token
private CryptoToken
Encryptor.token
private CryptoToken
KeyManager.token
Methods in org.mozilla.jss.SecretDecoderRing with parameters of type CryptoTokenModifier and TypeMethodDescriptionprivate void
KeyManager.deleteKeyNative
(CryptoToken token, SymmetricKey key) private void
KeyManager.generateKeyNative
(CryptoToken token, KeyGenAlgorithm alg, byte[] keyID, int keySize) private void
KeyManager.generateUniqueNamedKeyNative
(CryptoToken token, KeyGenAlgorithm alg, byte[] keyID, int keySize, String nickname) private SymmetricKey
KeyManager.lookupKeyNative
(CryptoToken token, EncryptionAlgorithm alg, byte[] keyid) private SymmetricKey
KeyManager.lookupUniqueNamedKeyNative
(CryptoToken token, EncryptionAlgorithm alg, String nickname) Constructors in org.mozilla.jss.SecretDecoderRing with parameters of type CryptoTokenModifierConstructorDescriptionDecryptor
(CryptoToken token) Creates a Decryptor for use with the given CryptoToken.Encryptor
(CryptoToken token, byte[] keyID, EncryptionAlgorithm alg) Creates an Encryptor on the given CryptoToken, using the key with the given keyID and algorithmKeyManager
(CryptoToken token) Creates a new KeyManager using the given CryptoToken.