org.mozilla.jss.pkix.cmmf
public class CertRepContent extends Object implements ASN1Value
CertRepContent ::= SEQUENCE {
caPubs [1] SEQUENCE SIZE (1..MAX) OF Certificate OPTIONAL,
response SEQUENCE of CertResponse }
See Also: CertResponse
| Field Summary | |
|---|---|
| static Tag | TAG |
| Constructor Summary | |
|---|---|
| CertRepContent(byte[][] caPubs, SEQUENCE response)
Creates a new CertRepContent.
| |
| CertRepContent(byte[][] caPubs)
Creates a new CertRepContent. | |
| CertRepContent(SEQUENCE response)
Creates a new CertRepContent
| |
| Method Summary | |
|---|---|
| void | addCertResponse(CertResponse resp)
Adds another CertResponse. |
| void | encode(OutputStream ostream) |
| void | encode(Tag implicitTag, OutputStream ostream) |
| byte[][] | getCaPubs()
Returns the caPubs field, which is an array of
DER-encoded X.509 Certificates. |
| SEQUENCE | getResponse()
Returns the response field, which is a SEQUENCE
of CertResponse |
| Tag | getTag() |
| static void | main(String[] argv) |
CertRepContent.
Parameters: caPubs An array of DER-encoded X.509 Certificates. It may be
null if the caPubs field is to be omitted. response A SEQUENCE of CertResponse objects.
Must not be null.
CertRepContent. The responses can be
added later with addCertResponse.
Parameters: caPubs An array of DER-encoded X.509 Certificates, must not be null and must have at least one element.
CertRepContent
Parameters: response A SEQUENCE of CertResponse objects.
Must not be null.
CertResponse.caPubs field, which is an array of
DER-encoded X.509 Certificates. May return null if the
field is not present.response field, which is a SEQUENCE
of CertResponse