java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.oer.its.ieee1609dot2.basetypes.EncryptionKey
All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Choice, org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable

public class EncryptionKey extends org.bouncycastle.asn1.ASN1Object implements org.bouncycastle.asn1.ASN1Choice
EncryptionKey ::= CHOICE { public PublicEncryptionKey, symmetric SymmetricEncryptionKey }
  • Field Details

  • Constructor Details

    • EncryptionKey

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

    • getInstance

      public static EncryptionKey getInstance(Object o)
    • publicOption

      public static EncryptionKey publicOption(PublicEncryptionKey key)
    • symmetric

      public static EncryptionKey symmetric(SymmetricEncryptionKey key)
    • getChoice

      public int getChoice()
    • getEncryptionKey

      public org.bouncycastle.asn1.ASN1Encodable getEncryptionKey()
    • 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