public class RequesterCertificate extends ASN1Object
RequesterCertificate CSR attribute value carrying
the id-aa-relatedCertRequest request.
RequesterCertificate ::= SEQUENCE {
certID IssuerAndSerialNumber,
requestTime BinaryTime,
locationInfo UniformResourceIdentifiers,
signature BIT STRING }
UniformResourceIdentifiers ::= SEQUENCE SIZE (1..MAX) OF URI
URI ::= IA5String
The signature field carries a digital signature, computed with the
private key associated with the certificate identified by certID,
over the concatenation of the DER-encoded certID and the DER-encoded
requestTime (RFC 9763 sec. 4.1, "concatenation of DER-encoded
IssuerAndSerialNumber and BinaryTime" — NOT a SEQUENCE wrapper). The
locations in locationInfo are HTTP(S) URIs or data: URIs
(RFC 2397) from which the CA can retrieve the related certificate.
No AlgorithmIdentifier field accompanies the signature; the verifier must derive the signature algorithm from the related certificate itself (its SubjectPublicKeyInfo plus any policy the CA applies).
Identified by
PKCSObjectIdentifiers.id_aa_relatedCertRequest
(OID 1.2.840.113549.1.9.16.2.60); it is the value of that PKCS#9 attribute
in a CertificationRequestInfo.
| Constructor and Description |
|---|
RequesterCertificate(IssuerAndSerialNumber certID,
BinaryTime requestTime,
java.lang.String[] locationInfo,
byte[] signature) |
| Modifier and Type | Method and Description |
|---|---|
IssuerAndSerialNumber |
getCertID() |
static RequesterCertificate |
getInstance(java.lang.Object obj) |
java.lang.String[] |
getLocationInfo() |
BinaryTime |
getRequestTime() |
ASN1BitString |
getSignature() |
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
|
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCodepublic RequesterCertificate(IssuerAndSerialNumber certID, BinaryTime requestTime, java.lang.String[] locationInfo, byte[] signature)
public static RequesterCertificate getInstance(java.lang.Object obj)
public IssuerAndSerialNumber getCertID()
public BinaryTime getRequestTime()
public java.lang.String[] getLocationInfo()
data: URIs (RFC 2397).public ASN1BitString getSignature()
public ASN1Primitive toASN1Primitive()
ASN1ObjecttoASN1Primitive in interface ASN1EncodabletoASN1Primitive in class ASN1Object