Package org.bouncycastle.asn1.cmc
Class ExtensionReq
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.cmc.ExtensionReq
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable
,org.bouncycastle.util.Encodable
public class ExtensionReq
extends org.bouncycastle.asn1.ASN1Object
ExtensionReq ::= SEQUENCE SIZE (1..MAX) OF Extension
-
Constructor Summary
ConstructorDescriptionExtensionReq
(org.bouncycastle.asn1.x509.Extension Extension) Construct a ExtensionReq object containing one Extension.ExtensionReq
(org.bouncycastle.asn1.x509.Extension[] extensions) -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.x509.Extension[]
static ExtensionReq
getInstance
(Object obj) static ExtensionReq
getInstance
(org.bouncycastle.asn1.ASN1TaggedObject obj, boolean explicit) org.bouncycastle.asn1.ASN1Primitive
Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
ExtensionReq
public ExtensionReq(org.bouncycastle.asn1.x509.Extension Extension) Construct a ExtensionReq object containing one Extension.- Parameters:
Extension
- the Extension to be contained.
-
ExtensionReq
public ExtensionReq(org.bouncycastle.asn1.x509.Extension[] extensions)
-
-
Method Details
-
getInstance
-
getInstance
public static ExtensionReq getInstance(org.bouncycastle.asn1.ASN1TaggedObject obj, boolean explicit) -
getExtensions
public org.bouncycastle.asn1.x509.Extension[] getExtensions() -
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()- Specified by:
toASN1Primitive
in interfaceorg.bouncycastle.asn1.ASN1Encodable
- Specified by:
toASN1Primitive
in classorg.bouncycastle.asn1.ASN1Object
-