public final class Certificate extends Object
Certificate ::= SEQUENCE {
tbsCertificate TBSCertificate,
signatureAlgorithm AlgorithmIdentifier,
signatureValue BIT STRING
}
| Modifier and Type | Field and Description |
|---|---|
static ASN1Sequence |
ASN1
X.509 Certificate encoder/decoder.
|
| Constructor and Description |
|---|
Certificate(TBSCertificate tbsCertificate,
AlgorithmIdentifier signatureAlgorithm,
byte[] signatureValue) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getEncoded()
Returns ASN.1 encoded form of this X.509 TBSCertificate value.
|
byte[] |
getSignatureValue()
Returns the value of signatureValue field of the structure.
|
TBSCertificate |
getTbsCertificate()
Returns the value of tbsCertificate field of the structure.
|
String |
toString()
Returns a string containing a concise, human-readable description of this
object.
|
public static final ASN1Sequence ASN1
public Certificate(TBSCertificate tbsCertificate, AlgorithmIdentifier signatureAlgorithm, byte[] signatureValue)
public TBSCertificate getTbsCertificate()
public byte[] getSignatureValue()
public String toString()
ObjectgetClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toString method
if you intend implementing your own toString method.
public byte[] getEncoded()