public class RevRepContent extends java.lang.Object implements ASN1Value
RevRepContent ::= SEQUENCE {
status SEQUENCE SIZE (1..MAX) OF PKIStatusInfo,
-- in same order as was sent in RevReqContent
revCerts [0] SEQUENCE SIZE (1..MAX) OF CertId OPTIONAL,
-- IDs for which revocation was requested (same order as status)
crls [1] SEQUENCE SIZE (1..MAX) OF CertificateList OPTIONAL
-- the resulting CRLs (there may be more than one) }
| Modifier and Type | Class and Description |
|---|---|
static class |
RevRepContent.Template
A Template for decoding a
RevRepContent. |
| Constructor and Description |
|---|
RevRepContent(SEQUENCE status,
SEQUENCE revCerts,
SEQUENCE crls)
Creates a new
RevRepContent from its components. |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(java.io.OutputStream ostream)
Write this value's DER encoding to an output stream using
its own base tag.
|
void |
encode(Tag implicitTag,
java.io.OutputStream ostream)
Write this value's DER encoding to an output stream using
an implicit tag.
|
SEQUENCE |
getCrls()
The
crls field, which is a SEQUENCE of
ANY. |
SEQUENCE |
getRevCerts()
The
revCerts field, which is a SEQUENCE
of CertId. |
SEQUENCE |
getStatus()
The
status field, which is a SEQUENCE
of PKIStatusInfo. |
Tag |
getTag()
Returns the base tag for this type, not counting any tags
that may be imposed on it by its context.
|
public RevRepContent(SEQUENCE status, SEQUENCE revCerts, SEQUENCE crls)
RevRepContent from its components.status - A SEQUENCE of PKIStatusInfo.revCerts - A SEQUENCE of CertId. This
field is optional, so null may be used.crls - A SEQUENCE of ANY. This field
is optional, so null may be used.PKIStatusInfopublic SEQUENCE getStatus()
status field, which is a SEQUENCE
of PKIStatusInfo.PKIStatusInfopublic SEQUENCE getRevCerts()
revCerts field, which is a SEQUENCE
of CertId. Returns null if this
field is not present.CertIdpublic SEQUENCE getCrls()
crls field, which is a SEQUENCE of
ANY. Returns null if this field
is not present.public Tag getTag()
ASN1Valuepublic void encode(java.io.OutputStream ostream)
throws java.io.IOException
ASN1Value