Package org.mozilla.jss.crypto
Class PrivateKey.Type
java.lang.Object
org.mozilla.jss.crypto.PrivateKey.Type
- Enclosing interface:
PrivateKey
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static int
private static int
private static int
private static int
private static int
private static int
static OBJECT_IDENTIFIER
static final PrivateKey.Type
static final PrivateKey.Type
static final PrivateKey.Type
private String
private OBJECT_IDENTIFIER
private static Hashtable
<OBJECT_IDENTIFIER, PrivateKey.Type> private int
static final PrivateKey.Type
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
Type()
private
Type
(OBJECT_IDENTIFIER oid, String name, int pkcs11Type) -
Method Summary
Modifier and TypeMethodDescriptionstatic PrivateKey.Type
fromOID
(OBJECT_IDENTIFIER oid) int
toOID()
toString()
Returns a string representation of the algorithm, such as "RSA", "DSA", or "EC".
-
Field Details
-
oid
-
name
-
pkcs11Type
private int pkcs11Type -
oidMap
-
DH_OID
-
CKK_RSA
private static int CKK_RSA -
CKK_DSA
private static int CKK_DSA -
CKK_DH
private static int CKK_DH -
CKK_EC
private static int CKK_EC -
CKK_X9_42_DH
private static int CKK_X9_42_DH -
CKK_KEA
private static int CKK_KEA -
RSA
-
DSA
-
EC
-
DiffieHellman
-
-
Constructor Details
-
Type
private Type() -
Type
-
-
Method Details
-
fromOID
- Throws:
NoSuchAlgorithmException
-
toString
Returns a string representation of the algorithm, such as "RSA", "DSA", or "EC". -
toOID
-
getPKCS11Type
public int getPKCS11Type()
-