Class SymmetricCiphertext

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

public class SymmetricCiphertext extends org.bouncycastle.asn1.ASN1Object implements org.bouncycastle.asn1.ASN1Choice
SymmetricCiphertext ::= CHOICE { aes128ccm AesCcmCiphertext, ... }
  • Field Details

  • Constructor Details

    • SymmetricCiphertext

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

    • aes128ccm

      public static SymmetricCiphertext aes128ccm(AesCcmCiphertext ciphertext)
    • getInstance

      public static SymmetricCiphertext getInstance(Object o)
    • getChoice

      public int getChoice()
    • getSymmetricCiphertext

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