public class RelatedCertificate extends ASN1Object
RelatedCertificate certificate extension value.
RelatedCertificate ::= SEQUENCE {
hashAlgorithm DigestAlgorithmIdentifier,
hashValue OCTET STRING
}
The hashValue is the digest of the DER-encoded Certificate
structure (TBSCertificate + signatureAlgorithm + signatureValue) of the
single related end-entity certificate listed in the matching
id-aa-relatedCertRequest attribute of the CSR that produced this
certificate (RFC 9763 sec. 3.2).
Identified by X509ObjectIdentifiers.id_pe_relatedCert /
Extension.relatedCertificate (OID 1.3.6.1.5.5.7.1.36). RFC 9763
sec. 3.1 says the extension SHOULD NOT be marked critical.
| Constructor and Description |
|---|
RelatedCertificate(AlgorithmIdentifier hashAlgorithm,
ASN1OctetString hashValue) |
| Modifier and Type | Method and Description |
|---|---|
AlgorithmIdentifier |
getHashAlgorithm() |
ASN1OctetString |
getHashValue() |
static RelatedCertificate |
getInstance(java.lang.Object obj) |
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
|
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCodepublic RelatedCertificate(AlgorithmIdentifier hashAlgorithm, ASN1OctetString hashValue)
public static RelatedCertificate getInstance(java.lang.Object obj)
public AlgorithmIdentifier getHashAlgorithm()
public ASN1OctetString getHashValue()
public ASN1Primitive toASN1Primitive()
ASN1ObjecttoASN1Primitive in interface ASN1EncodabletoASN1Primitive in class ASN1Object