Package org.mozilla.jss.crypto
Class PrivateKey.Type
java.lang.Object
org.mozilla.jss.crypto.PrivateKey.Type
- Enclosing interface:
- PrivateKey
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic OBJECT_IDENTIFIER
static final PrivateKey.Type
static final PrivateKey.Type
static final PrivateKey.Type
static final PrivateKey.Type
-
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
-
DH_OID
-
RSA
-
DSA
-
EC
-
DiffieHellman
-
-
Method Details
-
fromOID
- Throws:
NoSuchAlgorithmException
-
toString
Returns a string representation of the algorithm, such as "RSA", "DSA", or "EC". -
toOID
-
getPKCS11Type
public int getPKCS11Type()
-