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 Details

  • Constructor Details

    • CertificateId

      public CertificateId(int choice, org.bouncycastle.asn1.ASN1Encodable value)
  • Method Details

    • 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(Object o)
    • toASN1Primitive

      public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
      Specified by:
      toASN1Primitive in interface org.bouncycastle.asn1.ASN1Encodable
      Specified by:
      toASN1Primitive in class org.bouncycastle.asn1.ASN1Object
    • getChoice

      public int getChoice()
    • getCertificateId

      public org.bouncycastle.asn1.ASN1Encodable getCertificateId()