Top Description Fields Constructors Methods
org.bouncycastle.asn1.nist

public Class KMACwithSHAKE256_params

extends ASN1Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1EncodableVector, .ASN1Integer, .ASN1Object, .ASN1OctetString, .ASN1Primitive, .ASN1Sequence, .DEROctetString, .DERSequence, org.bouncycastle.util.Arrays

  KMACwithSHAKE256-params ::= SEQUENCE {
     kMACOutputLength     INTEGER DEFAULT 512, -- Output length in bits
     customizationString  OCTET STRING DEFAULT ''H
   }

Field Summary

Modifier and TypeField and Description
private final byte[]
private static final int
private static final byte[]
private final int

Constructor Summary

AccessConstructor and Description
public
KMACwithSHAKE256_params(int outputLength)

public
KMACwithSHAKE256_params(int outputLength, byte[] customizationString)

private

Method Summary

Modifier and TypeMethod and Description
public byte[]
public static KMACwithSHAKE256_params
public int
public ASN1Primitive
toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

customizationStringback to summary
private final byte[] customizationString
DEF_LENGTHback to summary
private static final int DEF_LENGTH
EMPTY_STRINGback to summary
private static final byte[] EMPTY_STRING
outputLengthback to summary
private final int outputLength

Constructor Detail

KMACwithSHAKE256_paramsback to summary
public KMACwithSHAKE256_params(int outputLength)
KMACwithSHAKE256_paramsback to summary
public KMACwithSHAKE256_params(int outputLength, byte[] customizationString)
KMACwithSHAKE256_paramsback to summary
private KMACwithSHAKE256_params(ASN1Sequence seq)

Method Detail

getCustomizationStringback to summary
public byte[] getCustomizationString()
getInstanceback to summary
public static KMACwithSHAKE256_params getInstance(Object o)
getOutputLengthback to summary
public int getOutputLength()
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

Returns:ASN1Primitive

a primitive representation of this object.