Package org.bouncycastle.asn1.crmf
Class SinglePubInfo
- java.lang.Object
-
- org.bouncycastle.asn1.ASN1Object
-
- org.bouncycastle.asn1.crmf.SinglePubInfo
-
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable,org.bouncycastle.util.Encodable
public class SinglePubInfo extends org.bouncycastle.asn1.ASN1ObjectSinglePubInfo ::= SEQUENCE { pubMethod INTEGER { dontCare (0), x500 (1), web (2), ldap (3) }, pubLocation GeneralName OPTIONAL }
-
-
Constructor Summary
Constructors Constructor Description SinglePubInfo(org.bouncycastle.asn1.ASN1Integer pubMethod, org.bouncycastle.asn1.x509.GeneralName pubLocation)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SinglePubInfogetInstance(java.lang.Object o)org.bouncycastle.asn1.x509.GeneralNamegetPubLocation()org.bouncycastle.asn1.ASN1IntegergetPubMethod()org.bouncycastle.asn1.ASN1PrimitivetoASN1Primitive()Return the primitive representation of SinglePubInfo.
-
-
-
Method Detail
-
getInstance
public static SinglePubInfo getInstance(java.lang.Object o)
-
getPubMethod
public org.bouncycastle.asn1.ASN1Integer getPubMethod()
-
getPubLocation
public org.bouncycastle.asn1.x509.GeneralName getPubLocation()
-
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
Return the primitive representation of SinglePubInfo.- Specified by:
toASN1Primitivein interfaceorg.bouncycastle.asn1.ASN1Encodable- Specified by:
toASN1Primitivein classorg.bouncycastle.asn1.ASN1Object- Returns:
- a basic ASN.1 object representation.
-
-