public class CCMParameters extends ASN1Object
CCMParameters ::= SEQUENCE {
aes-nonce OCTET STRING, -- recommended size is 12 octets
aes-ICVlen AES-CCM-ICVlen DEFAULT 12 }
| Constructor and Description |
|---|
CCMParameters(byte[] nonce,
int icvLen) |
| Modifier and Type | Method and Description |
|---|---|
int |
getIcvLen() |
static CCMParameters |
getInstance(java.lang.Object obj)
Return an CCMParameters object from the given object.
|
byte[] |
getNonce() |
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Objectpublic static CCMParameters getInstance(java.lang.Object obj)
Accepted inputs:
CCMParameters object
ASN1Sequence input formats with CCMParameters structure inside
obj - the object we want converted.java.lang.IllegalArgumentException - if the object cannot be converted.public byte[] getNonce()
public int getIcvLen()
public ASN1Primitive toASN1Primitive()
ASN1ObjecttoASN1Primitive in interface ASN1EncodabletoASN1Primitive in class ASN1Object