Package org.bouncycastle.asn1.nist
Class KMACwithSHAKE256_params
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.nist.KMACwithSHAKE256_params
- All Implemented Interfaces:
ASN1Encodable
,Encodable
KMACwithSHAKE256-params ::= SEQUENCE { kMACOutputLength INTEGER DEFAULT 512, -- Output length in bits customizationString OCTET STRING DEFAULT ''H }
-
Constructor Summary
ConstructorsConstructorDescriptionKMACwithSHAKE256_params
(int outputLength) KMACwithSHAKE256_params
(int outputLength, byte[] customizationString) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
static KMACwithSHAKE256_params
int
Method providing a primitive representation of this object suitable for encoding.Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
KMACwithSHAKE256_params
public KMACwithSHAKE256_params(int outputLength) -
KMACwithSHAKE256_params
public KMACwithSHAKE256_params(int outputLength, byte[] customizationString)
-
-
Method Details
-
getInstance
-
getOutputLength
public int getOutputLength() -
getCustomizationString
public byte[] getCustomizationString() -
toASN1Primitive
Description copied from class:ASN1Object
Method providing a primitive representation of this object suitable for encoding.- Specified by:
toASN1Primitive
in interfaceASN1Encodable
- Specified by:
toASN1Primitive
in classASN1Object
- Returns:
- a primitive representation of this object.
-