org.bouncycastle.asn1.nist
Class KMACwithSHAKE128_params
java.lang.Object
|
+--org.bouncycastle.asn1.ASN1Object
|
+--org.bouncycastle.asn1.nist.KMACwithSHAKE128_params
- All Implemented Interfaces:
- ASN1Encodable, Encodable
- public class KMACwithSHAKE128_params
- extends ASN1Object
KMACwithSHAKE128-params ::= SEQUENCE {
kMACOutputLength INTEGER DEFAULT 256, -- Output length in bits
customizationString OCTET STRING DEFAULT ''H
}
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
KMACwithSHAKE128_params
public KMACwithSHAKE128_params(int outputLength)
KMACwithSHAKE128_params
public KMACwithSHAKE128_params(int outputLength,
byte[] customizationString)
getInstance
public static KMACwithSHAKE128_params getInstance(java.lang.Object o)
getOutputLength
public int getOutputLength()
getCustomizationString
public byte[] getCustomizationString()
toASN1Primitive
public ASN1Primitive toASN1Primitive()
- Description copied from class:
ASN1Object
- Method providing a primitive representation of this object suitable for encoding.
- Overrides:
toASN1Primitive
in class ASN1Object
- Following copied from class:
org.bouncycastle.asn1.ASN1Object
- Returns:
- a primitive representation of this object.