org.mozilla.jss.pkix.crmf
public class PKIPublicationInfo extends Object implements ASN1Value
PKIPublicationInfo ::= SEQUENCE { action INTEGER { dontPublish (0), pleasePublish (1) }, pubInfos SEQUENCE SIZE (1..MAX) OF SinglePubInfo OPTIONAL } SinglePubInfo ::= SEQUENCE { pubMethod INTEGER { dontCare (0), x500 (1), web (2), ldap (3) }, pubLocation GeneralName OPTIONAL }
Nested Class Summary | |
---|---|
static class | PKIPublicationInfo.Template
A Template for decoding a PKIPublicationInfo. |
Field Summary | |
---|---|
static int | DONT_CARE
A SinglePubInfo publication method. |
static int | DONT_PUBLISH
A PKIPublicationInfo action. |
static int | LDAP
A SinglePubInfo publication method. |
static int | PLEASE_PUBLISH
A PKIPublicationInfo action. |
static int | WEB
A SinglePubInfo publication method. |
static int | X500
A SinglePubInfo publication method. |
Constructor Summary | |
---|---|
PKIPublicationInfo(int action, SEQUENCE pubInfos)
Creates a new PKIPublicationInfo. |
Method Summary | |
---|---|
void | encode(OutputStream ostream) |
void | encode(Tag implicitTag, OutputStream ostream) |
int | getAction()
Returns the action field. |
ANY | getPubLocation(int index)
Returns the pubLocation in the SinglePubInfo at the given index.
|
int | getPubMethod(int index)
Returns the pubMethod in the SinglePubInfo at the given index.
|
Tag | getTag() |
static PKIPublicationInfo.Template | getTemplate() |
int | numPubInfos()
Returns the number of SinglePubInfos. |
Parameters: action DONT_PUBLISH or PLEASE_PUBLISH. pubInfos A SEQUENCE of SinglePubInfo, may be null.