|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.mozilla.jss.pkix.cmmf.CertRepContent
A CMMF CertRepContent.
CertRepContent ::= SEQUENCE { caPubs [1] SEQUENCE SIZE (1..MAX) OF Certificate OPTIONAL, response SEQUENCE of CertResponse }
CertResponse
Field Summary | |
static Tag |
TAG
|
Constructor Summary | |
CertRepContent(byte[][] caPubs)
Creates a new CertRepContent . |
|
CertRepContent(byte[][] caPubs,
SEQUENCE response)
Creates a new CertRepContent . |
|
CertRepContent(SEQUENCE response)
Creates a new CertRepContent |
Method Summary | |
void |
addCertResponse(CertResponse resp)
Adds another CertResponse . |
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. |
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()
Returns the base tag for this type, not counting any tags that may be imposed on it by its context. |
static void |
main(java.lang.String[] argv)
|
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final Tag TAG
Constructor Detail |
public CertRepContent(byte[][] caPubs, SEQUENCE response)
CertRepContent
.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.public CertRepContent(byte[][] caPubs)
CertRepContent
. The responses can be
added later with addCertResponse
.caPubs
- An array of DER-encoded X.509 Certificates, must not
be null and must have at least one element.public CertRepContent(SEQUENCE response)
CertRepContent
response
- A SEQUENCE of CertResponse
objects.
Must not be null.Method Detail |
public void addCertResponse(CertResponse resp)
CertResponse
.public byte[][] getCaPubs()
caPubs
field, which is an array of
DER-encoded X.509 Certificates. May return null
if the
field is not present.public SEQUENCE getResponse()
response
field, which is a SEQUENCE
of CertResponse
public Tag getTag()
public void encode(java.io.OutputStream ostream) throws java.io.IOException
public void encode(Tag implicitTag, java.io.OutputStream ostream) throws java.io.IOException
public static void main(java.lang.String[] argv)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |