public static final class PrivateKey.Type
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
static OBJECT_IDENTIFIER |
DH_OID |
|
static PrivateKey.Type |
DiffieHellman |
|
static PrivateKey.Type |
DSA |
|
static PrivateKey.Type |
EC |
|
static PrivateKey.Type |
RSA |
| Modifier and Type | Method | Description |
|---|---|---|
static PrivateKey.Type |
fromOID(OBJECT_IDENTIFIER oid) |
|
int |
getPKCS11Type() |
|
OBJECT_IDENTIFIER |
toOID() |
|
java.lang.String |
toString() |
Returns a string representation of the algorithm, such as
"RSA", "DSA", or "EC".
|
public static OBJECT_IDENTIFIER DH_OID
public static final PrivateKey.Type RSA
public static final PrivateKey.Type DSA
public static final PrivateKey.Type EC
public static final PrivateKey.Type DiffieHellman
public static PrivateKey.Type fromOID(OBJECT_IDENTIFIER oid) throws java.security.NoSuchAlgorithmException
java.security.NoSuchAlgorithmExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic OBJECT_IDENTIFIER toOID()
public int getPKCS11Type()