Package io.fusionauth.der
Class ObjectIdentifier
java.lang.Object
io.fusionauth.der.ObjectIdentifier
- All Implemented Interfaces:
Buildable<ObjectIdentifier>
- Author:
- Daniel DeGroff
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringElliptic Curve Public Key cryptographystatic final StringElliptic curve / 256 bit / secp256r1 / prime256v1 X9.62/SECG curve over a 256 bit prime fieldstatic final StringElliptic curve / 384 bit / secp384r1 / prime384v1 NIST/SECG curve over a 384 bit prime fieldstatic final StringElliptic curve / 512 bit / secp521r1 / prime521v1 NIST/SECG curve over a 521 bit prime fieldstatic final StringRSA Public Key cryptographystatic final StringRSA Encryption / SHA-256 / SHA256withRSAstatic final StringRSA Encryption / SHA-384 / SHA384withRSAstatic final StringRSA Encryption / SHA-512 / SHA512withRSAbyte[]The raw byte array of this Object Identifier. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ECDSA_P256
Elliptic curve / 256 bit / secp256r1 / prime256v1 X9.62/SECG curve over a 256 bit prime field- See Also:
-
ECDSA_P384
Elliptic curve / 384 bit / secp384r1 / prime384v1 NIST/SECG curve over a 384 bit prime field- See Also:
-
ECDSA_P521
Elliptic curve / 512 bit / secp521r1 / prime521v1 NIST/SECG curve over a 521 bit prime field- See Also:
-
EC_ENCRYPTION
Elliptic Curve Public Key cryptography- See Also:
-
RSA_ENCRYPTION
RSA Public Key cryptography- See Also:
-
RSA_SHA256
RSA Encryption / SHA-256 / SHA256withRSA- See Also:
-
RSA_SHA384
RSA Encryption / SHA-384 / SHA384withRSA- See Also:
-
RSA_SHA512
RSA Encryption / SHA-512 / SHA512withRSA- See Also:
-
value
public byte[] valueThe raw byte array of this Object Identifier.
-
-
Constructor Details
-
ObjectIdentifier
public ObjectIdentifier(byte[] value)
-
-
Method Details
-
decode
Decode the byte array for this Object Identifier.- Returns:
- a string representation of the OID.
- Throws:
DerDecodingException- if the byte array is not encoded properly.
-
equals
-
hashCode
public int hashCode() -
toString
-