org.bouncycastle.asn1.isismtt.ocsp
public class RequestedCertificate extends ASN1Encodable implements ASN1Choice
RequestedCertificate ::= CHOICE {
Certificate Certificate,
publicKeyCertificate [0] EXPLICIT OCTET STRING,
attributeCertificate [1] EXPLICIT OCTET STRING
}
| Field Summary | |
|---|---|
| static int | attributeCertificate |
| static int | certificate |
| static int | publicKeyCertificate |
| Constructor Summary | |
|---|---|
| RequestedCertificate(X509CertificateStructure certificate)
Constructor from a given details.
| |
| RequestedCertificate(int type, byte[] certificateOctets) | |
| Method Summary | |
|---|---|
| byte[] | getCertificateBytes() |
| static RequestedCertificate | getInstance(Object obj) |
| static RequestedCertificate | getInstance(ASN1TaggedObject obj, boolean explicit) |
| int | getType() |
| DERObject | toASN1Object()
Produce an object suitable for an ASN1OutputStream.
|
null.
Parameters: certificate Given as Certificate
RequestedCertificate ::= CHOICE {
Certificate Certificate,
publicKeyCertificate [0] EXPLICIT OCTET STRING,
attributeCertificate [1] EXPLICIT OCTET STRING
}
Returns: a DERObject