Class InnerEcResponse
- java.lang.Object
-
- org.bouncycastle.asn1.ASN1Object
-
- org.bouncycastle.oer.its.etsi102941.InnerEcResponse
-
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable
,org.bouncycastle.util.Encodable
public class InnerEcResponse extends org.bouncycastle.asn1.ASN1Object
InnerEcResponse ::= SEQUENCE { requestHash OCTET STRING (SIZE(16)), responseCode EnrolmentResponseCode, certificate EtsiTs103097Certificate OPTIONAL, ... } (WITH COMPONENTS { responseCode (ok), certificate PRESENT } | WITH COMPONENTS { responseCode (ALL EXCEPT ok), certificate ABSENT } )
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InnerEcResponse.Builder
-
Constructor Summary
Constructors Constructor Description InnerEcResponse(org.bouncycastle.asn1.ASN1OctetString requestHash, EnrolmentResponseCode responseCode, EtsiTs103097Certificate certificate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InnerEcResponse.Builder
builder()
EtsiTs103097Certificate
getCertificate()
static InnerEcResponse
getInstance(java.lang.Object o)
org.bouncycastle.asn1.ASN1OctetString
getRequestHash()
EnrolmentResponseCode
getResponseCode()
org.bouncycastle.asn1.ASN1Primitive
toASN1Primitive()
-
-
-
Constructor Detail
-
InnerEcResponse
public InnerEcResponse(org.bouncycastle.asn1.ASN1OctetString requestHash, EnrolmentResponseCode responseCode, EtsiTs103097Certificate certificate)
-
-
Method Detail
-
getInstance
public static InnerEcResponse getInstance(java.lang.Object o)
-
getRequestHash
public org.bouncycastle.asn1.ASN1OctetString getRequestHash()
-
getResponseCode
public EnrolmentResponseCode getResponseCode()
-
getCertificate
public EtsiTs103097Certificate getCertificate()
-
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
- Specified by:
toASN1Primitive
in interfaceorg.bouncycastle.asn1.ASN1Encodable
- Specified by:
toASN1Primitive
in classorg.bouncycastle.asn1.ASN1Object
-
builder
public static InnerEcResponse.Builder builder()
-
-