Package org.bouncycastle.asn1.bc
Class LinkedCertificate
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.bc.LinkedCertificate
- All Implemented Interfaces:
ASN1Encodable
,Encodable
Extension to tie an alternate certificate to the containing certificate.
LinkedCertificate := SEQUENCE { digest DigestInfo, -- digest of PQC certificate certLocation GeneralName, -- location of PQC certificate certIssuer [0] Name OPTIONAL, -- issuer of PQC cert (if different from current certificate) cACerts [1] GeneralNames OPTIONAL, -- CA certificates for PQC cert (one of more locations) }
-
Constructor Summary
ConstructorsConstructorDescriptionLinkedCertificate
(DigestInfo digest, GeneralName certLocation) LinkedCertificate
(DigestInfo digest, GeneralName certLocation, X500Name certIssuer, GeneralNames cACerts) -
Method Summary
Modifier and TypeMethodDescriptionstatic LinkedCertificate
Method providing a primitive representation of this object suitable for encoding.Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
LinkedCertificate
-
LinkedCertificate
public LinkedCertificate(DigestInfo digest, GeneralName certLocation, X500Name certIssuer, GeneralNames cACerts)
-
-
Method Details
-
getInstance
-
getDigest
-
getCertLocation
-
getCertIssuer
-
getCACerts
-
toASN1Primitive
Description copied from class:ASN1Object
Method providing a primitive representation of this object suitable for encoding.- Specified by:
toASN1Primitive
in interfaceASN1Encodable
- Specified by:
toASN1Primitive
in classASN1Object
- Returns:
- a primitive representation of this object.
-