Class SymmetricEncryptionKey

  • All Implemented Interfaces:
    org.bouncycastle.asn1.ASN1Choice, org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable

    public class SymmetricEncryptionKey
    extends org.bouncycastle.asn1.ASN1Object
    implements org.bouncycastle.asn1.ASN1Choice
    SymmetricEncryptionKey ::= CHOICE { aes128Ccm OCTET STRING(SIZE(16)), ... }
    • Constructor Detail

      • SymmetricEncryptionKey

        public SymmetricEncryptionKey​(int choice,
                                      org.bouncycastle.asn1.ASN1Encodable value)
    • Method Detail

      • aes128ccm

        public static SymmetricEncryptionKey aes128ccm​(org.bouncycastle.asn1.ASN1OctetString octetString)
      • getChoice

        public int getChoice()
      • getSymmetricEncryptionKey

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