Uses of Class
org.mozilla.jss.crypto.PrivateKey.Type
Packages that use PrivateKey.Type
Package
Description
Generic cryptographic operations, such as signing and key pair generation.
-
Uses of PrivateKey.Type in org.mozilla.jss.crypto
Fields in org.mozilla.jss.crypto declared as PrivateKey.TypeModifier and TypeFieldDescriptionstatic final PrivateKey.Type
PrivateKey.DiffieHellman
static final PrivateKey.Type
PrivateKey.Type.DiffieHellman
static final PrivateKey.Type
PrivateKey.DSA
static final PrivateKey.Type
PrivateKey.Type.DSA
static final PrivateKey.Type
PrivateKey.EC
static final PrivateKey.Type
PrivateKey.Type.EC
static final PrivateKey.Type
PrivateKey.RSA
static final PrivateKey.Type
PrivateKey.Type.RSA
Fields in org.mozilla.jss.crypto with type parameters of type PrivateKey.TypeModifier and TypeFieldDescriptionprivate static Hashtable
<OBJECT_IDENTIFIER, PrivateKey.Type> PrivateKey.Type.oidMap
Methods in org.mozilla.jss.crypto that return PrivateKey.TypeModifier and TypeMethodDescriptionstatic PrivateKey.Type
PrivateKey.Type.fromOID
(OBJECT_IDENTIFIER oid) PrivateKey.getType()
Returns the type (RSA or DSA) of this private key.Methods in org.mozilla.jss.crypto with parameters of type PrivateKey.TypeModifier and TypeMethodDescriptionCryptoStore.importPrivateKey
(byte[] key, PrivateKey.Type type) Imports a raw private key into this token (permanently).CryptoStore.importPrivateKey
(byte[] key, PrivateKey.Type type, boolean temporary) Imports a raw private key into this token.KeyWrapper.unwrapPrivate
(byte[] wrapped, PrivateKey.Type type, PublicKey publicKey) Unwraps a private key, creating a permanent private key object.KeyWrapper.unwrapTemporaryPrivate
(byte[] wrapped, PrivateKey.Type type, PublicKey publicKey) Unwraps a private key, creating a temporary private key object. -
Uses of PrivateKey.Type in org.mozilla.jss.netscape.security.pkcs
Methods in org.mozilla.jss.netscape.security.pkcs that return PrivateKey.Type -
Uses of PrivateKey.Type in org.mozilla.jss.pkcs11
Methods in org.mozilla.jss.pkcs11 that return PrivateKey.TypeModifier and TypeMethodDescriptionPK11DSAPrivateKey.getType()
PK11ECPrivateKey.getType()
PK11PrivKey.getType()
PK11RSAPrivateKey.getType()
Methods in org.mozilla.jss.pkcs11 with parameters of type PrivateKey.TypeModifier and TypeMethodDescriptionprivate static Algorithm
PK11KeyWrapper.algFromType
(PrivateKey.Type type) private PrivateKey
PK11KeyWrapper.baseUnwrapPrivate
(byte[] wrapped, PrivateKey.Type type, PublicKey publicKey, boolean temporary) private static byte[]
PK11KeyWrapper.extractPublicValue
(PublicKey publicKey, PrivateKey.Type type) Extracts the "public value" from a public key.static PK11PubKey
PK11PubKey.fromRaw
(PrivateKey.Type type, byte[] rawKey) Deprecated.This method works for RSA keys but not DSA or EC keys.PK11Store.importPrivateKey
(byte[] key, PrivateKey.Type type) Imports a raw private key into this token.PK11Store.importPrivateKey
(byte[] key, PrivateKey.Type type, boolean temporary) PK11KeyWrapper.unwrapPrivate
(byte[] wrapped, PrivateKey.Type type, PublicKey publicKey) Unwraps a private key, creating a permanent private key object.PK11KeyWrapper.unwrapTemporaryPrivate
(byte[] wrapped, PrivateKey.Type type, PublicKey publicKey) Unwraps a private key, creating a temporary private key object.