Class AesCcmCiphertext

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

    public class AesCcmCiphertext
    extends org.bouncycastle.asn1.ASN1Object
         AesCcmCiphertext ::= SEQUENCE {
             nonce OCTET STRING (SIZE (12))
             ccmCiphertext Opaque -- 16 bytes longer than plaintext
         }
     
    • Constructor Detail

      • AesCcmCiphertext

        public AesCcmCiphertext​(org.bouncycastle.asn1.ASN1OctetString nonce,
                                Opaque opaque)
    • Method Detail

      • getInstance

        public static AesCcmCiphertext getInstance​(java.lang.Object o)
      • getNonce

        public org.bouncycastle.asn1.ASN1OctetString getNonce()
      • getCcmCiphertext

        public Opaque getCcmCiphertext()
      • 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