Class CertificateId
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.oer.its.ieee1609dot2.CertificateId
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Choice
,org.bouncycastle.asn1.ASN1Encodable
,org.bouncycastle.util.Encodable
public class CertificateId
extends org.bouncycastle.asn1.ASN1Object
implements org.bouncycastle.asn1.ASN1Choice
CertificateId ::= CHOICE {
linkageData LinkageData,
name Hostname,
binaryId OCTET STRING(SIZE(1..64)),
none NULL,
...
}
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CertificateId
binaryId
(byte[] stream) static CertificateId
binaryId
(org.bouncycastle.asn1.ASN1OctetString stream) org.bouncycastle.asn1.ASN1Encodable
int
static CertificateId
static CertificateId
linkageData
(LinkageData linkageData) static CertificateId
static CertificateId
none()
org.bouncycastle.asn1.ASN1Primitive
Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Field Details
-
linkageData
public static final int linkageData- See Also:
-
name
public static final int name- See Also:
-
binaryId
public static final int binaryId- See Also:
-
none
public static final int none- See Also:
-
-
Constructor Details
-
CertificateId
public CertificateId(int choice, org.bouncycastle.asn1.ASN1Encodable value)
-
-
Method Details
-
linkageData
-
name
-
binaryId
-
binaryId
-
none
-
getInstance
-
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()- Specified by:
toASN1Primitive
in interfaceorg.bouncycastle.asn1.ASN1Encodable
- Specified by:
toASN1Primitive
in classorg.bouncycastle.asn1.ASN1Object
-
getChoice
public int getChoice() -
getCertificateId
public org.bouncycastle.asn1.ASN1Encodable getCertificateId()
-