Package org.bouncycastle.asn1.crmf
Class PKIPublicationInfo
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.crmf.PKIPublicationInfo
- All Implemented Interfaces:
ASN1Encodable,Encodable
PKIPublicationInfo ::= SEQUENCE {
action INTEGER {
dontPublish (0),
pleasePublish (1) },
pubInfos SEQUENCE SIZE (1..MAX) OF SinglePubInfo OPTIONAL }
-- pubInfos MUST NOT be present if action is "dontPublish"
-- (if action is "pleasePublish" and pubInfos is omitted,
-- "dontCare" is assumed)
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPKIPublicationInfo(BigInteger action) PKIPublicationInfo(ASN1Integer action) PKIPublicationInfo(SinglePubInfo pubInfo) Constructor with a single pubInfo, assumes pleasePublish as the action.PKIPublicationInfo(SinglePubInfo[] pubInfos) Constructor with multiple pubInfo, assumes pleasePublish as the action. -
Method Summary
Modifier and TypeMethodDescriptionstatic PKIPublicationInfoReturn the primitive representation of PKIPublicationInfo.Methods inherited from class org.bouncycastle.asn1.ASN1Object
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Field Details
-
dontPublish
-
pleasePublish
-
-
Constructor Details
-
PKIPublicationInfo
-
PKIPublicationInfo
-
PKIPublicationInfo
Constructor with a single pubInfo, assumes pleasePublish as the action.- Parameters:
pubInfo- the pubInfo to be published (can be null if don't care is required).
-
PKIPublicationInfo
Constructor with multiple pubInfo, assumes pleasePublish as the action.- Parameters:
pubInfos- the pubInfos to be published (can be null if don't care is required).
-
-
Method Details
-
getInstance
-
getAction
-
getPubInfos
-
toASN1Primitive
Return the primitive representation of PKIPublicationInfo.- Specified by:
toASN1Primitivein interfaceASN1Encodable- Specified by:
toASN1Primitivein classASN1Object- Returns:
- a basic ASN.1 object representation.
-