Class AesCcmCiphertext
- java.lang.Object
-
- org.bouncycastle.asn1.ASN1Object
-
- org.bouncycastle.oer.its.ieee1609dot2.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 }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AesCcmCiphertext.Builder
-
Constructor Summary
Constructors Constructor Description AesCcmCiphertext(org.bouncycastle.asn1.ASN1OctetString nonce, Opaque opaque)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AesCcmCiphertext.Builder
builder()
Opaque
getCcmCiphertext()
static AesCcmCiphertext
getInstance(java.lang.Object o)
org.bouncycastle.asn1.ASN1OctetString
getNonce()
org.bouncycastle.asn1.ASN1Primitive
toASN1Primitive()
-
-
-
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 interfaceorg.bouncycastle.asn1.ASN1Encodable
- Specified by:
toASN1Primitive
in classorg.bouncycastle.asn1.ASN1Object
-
builder
public static AesCcmCiphertext.Builder builder()
-
-