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

      public class KMACwithSHAKE256_params
      extends ASN1Object

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

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `KMACwithSHAKE256_params(int outputLength)`
    `KMACwithSHAKE256_params(int outputLength, byte[] customizationString)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `byte[]` | `getCustomizationString()`
    `static KMACwithSHAKE256_params` | `getInstance(java.lang.Object o)`
    `int` | `getOutputLength()`
    `ASN1Primitive` | `toASN1Primitive()` 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`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### KMACwithSHAKE256_params

          public KMACwithSHAKE256_params(int outputLength)

    - #### KMACwithSHAKE256_params

          public KMACwithSHAKE256_params(int outputLength,
                                         byte[] customizationString)

  - ### Method Detail

    - #### getInstance

          public static KMACwithSHAKE256_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.
      Specified by:
        `toASN1Primitive` in interface `ASN1Encodable`
      Specified by:
        `toASN1Primitive` in class `ASN1Object`
      Returns:
        a primitive representation of this object.