public class AesCcmCiphertext
extends org.bouncycastle.asn1.ASN1Object
AesCcmCiphertext ::= SEQUENCE { nonce OCTET STRING (SIZE (12)) ccmCiphertext Opaque -- 16 bytes longer than plaintext }
Modifier and Type | Class and Description |
---|---|
static class |
AesCcmCiphertext.Builder |
Constructor and Description |
---|
AesCcmCiphertext(org.bouncycastle.asn1.ASN1OctetString nonce,
Opaque opaque) |
Modifier and Type | Method and Description |
---|---|
static AesCcmCiphertext.Builder |
builder() |
Opaque |
getCcmCiphertext() |
static AesCcmCiphertext |
getInstance(java.lang.Object o) |
org.bouncycastle.asn1.ASN1OctetString |
getNonce() |
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive() |
public AesCcmCiphertext(org.bouncycastle.asn1.ASN1OctetString nonce, Opaque opaque)
public static AesCcmCiphertext getInstance(java.lang.Object o)
public org.bouncycastle.asn1.ASN1OctetString getNonce()
public Opaque getCcmCiphertext()
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface org.bouncycastle.asn1.ASN1Encodable
toASN1Primitive
in class org.bouncycastle.asn1.ASN1Object
public static AesCcmCiphertext.Builder builder()