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
Fields Modifier and Type Field Description static int
binaryId
static int
linkageData
static int
name
static int
none
-
Constructor Summary
Constructors Constructor Description CertificateId(int choice, org.bouncycastle.asn1.ASN1Encodable value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CertificateId
binaryId(byte[] stream)
static CertificateId
binaryId(org.bouncycastle.asn1.ASN1OctetString stream)
org.bouncycastle.asn1.ASN1Encodable
getCertificateId()
int
getChoice()
static CertificateId
getInstance(java.lang.Object o)
static CertificateId
linkageData(LinkageData linkageData)
static CertificateId
name(Hostname hostname)
static CertificateId
none()
org.bouncycastle.asn1.ASN1Primitive
toASN1Primitive()
-
-
-
Field Detail
-
linkageData
public static final int linkageData
- See Also:
- Constant Field Values
-
name
public static final int name
- See Also:
- Constant Field Values
-
binaryId
public static final int binaryId
- See Also:
- Constant Field Values
-
none
public static final int none
- See Also:
- Constant Field Values
-
-
Method Detail
-
linkageData
public static CertificateId linkageData(LinkageData linkageData)
-
name
public static CertificateId name(Hostname hostname)
-
binaryId
public static CertificateId binaryId(org.bouncycastle.asn1.ASN1OctetString stream)
-
binaryId
public static CertificateId binaryId(byte[] stream)
-
none
public static CertificateId none()
-
getInstance
public static CertificateId getInstance(java.lang.Object o)
-
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()
-
-