public class ObjectIdentifier extends Object implements Buildable<ObjectIdentifier>
Modifier and Type | Field and Description |
---|---|
static String |
EC_ENCRYPTION
Elliptic Curve Public Key cryptography
|
static String |
ECDSA_P256
Elliptic curve / 256 bit / secp256r1 / prime256v1
X9.62/SECG curve over a 256 bit prime field
|
static String |
ECDSA_P384
Elliptic curve / 384 bit / secp384r1 / prime384v1
NIST/SECG curve over a 384 bit prime field
|
static String |
ECDSA_P521
Elliptic curve / 512 bit / secp521r1 / prime521v1
NIST/SECG curve over a 521 bit prime field
|
static String |
RSA_ENCRYPTION
RSA Public Key cryptography
|
static String |
RSA_SHA256
RSA Encryption / SHA-256 / SHA256withRSA
|
static String |
RSA_SHA384
RSA Encryption / SHA-384 / SHA384withRSA
|
static String |
RSA_SHA512
RSA Encryption / SHA-512 / SHA512withRSA
|
byte[] |
value
The raw byte array of this Object Identifier.
|
Constructor and Description |
---|
ObjectIdentifier(byte[] value) |
Modifier and Type | Method and Description |
---|---|
String |
decode()
Decode the byte array for this Object Identifier.
|
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString() |
public static final String ECDSA_P256
public static final String ECDSA_P384
public static final String ECDSA_P521
public static final String EC_ENCRYPTION
public static final String RSA_ENCRYPTION
public static final String RSA_SHA256
public static final String RSA_SHA384
public static final String RSA_SHA512
public byte[] value
public String decode() throws DerDecodingException
DerDecodingException
- if the byte array is not encoded properly.Copyright © 2021. All rights reserved.