Class PKIPublicationInfoControl
java.lang.Object
org.bouncycastle.cert.crmf.PKIPublicationInfoControl
- All Implemented Interfaces:
Control
-
Constructor Summary
ConstructorsConstructorDescriptionPKIPublicationInfoControl(org.bouncycastle.asn1.crmf.PKIPublicationInfo publicationInfo) Basic constructor - build from the publication information to use.PKIPublicationInfoControl(org.bouncycastle.asn1.crmf.SinglePubInfo[] pubInfos) Basic constructor - build from the locations the certificate is to be published at, which asks for publication (pleasePublish). -
Method Summary
Modifier and TypeMethodDescriptionstatic PKIPublicationInfoControlReturn a control asking the CA not to publish the certificate.org.bouncycastle.asn1.crmf.PKIPublicationInfoReturn the publication information associated with this control.org.bouncycastle.asn1.ASN1ObjectIdentifiergetType()Return the type of this control.org.bouncycastle.asn1.ASN1EncodablegetValue()Return the publication information associated with this control.
-
Constructor Details
-
PKIPublicationInfoControl
public PKIPublicationInfoControl(org.bouncycastle.asn1.crmf.PKIPublicationInfo publicationInfo) Basic constructor - build from the publication information to use.- Parameters:
publicationInfo- the publication information for the certificate.
-
PKIPublicationInfoControl
public PKIPublicationInfoControl(org.bouncycastle.asn1.crmf.SinglePubInfo[] pubInfos) Basic constructor - build from the locations the certificate is to be published at, which asks for publication (pleasePublish). A null or empty array asks for publication without saying where ("dontCare"); usedontPublish()to ask for none.- Parameters:
pubInfos- the locations to publish the certificate at.
-
-
Method Details
-
dontPublish
Return a control asking the CA not to publish the certificate.- Returns:
- a control carrying the dontPublish action.
-
getType
-
getValue
-
getPublicationInfo
public org.bouncycastle.asn1.crmf.PKIPublicationInfo getPublicationInfo()Return the publication information associated with this control.- Returns:
- a PKIPublicationInfo structure.
-