GMSSPublicKeySpec (Bouncy Castle Library 1.52 API Specification)

org.bouncycastle.pqc.jcajce.spec

## Class GMSSPublicKeySpec

- java.lang.Object
- - org.bouncycastle.pqc.jcajce.spec.GMSSKeySpec
  - - org.bouncycastle.pqc.jcajce.spec.GMSSPublicKeySpec

- All Implemented Interfaces:
    java.security.spec.KeySpec

      public class GMSSPublicKeySpec
      extends GMSSKeySpec

  This class provides a specification for a GMSS public key.
  See Also:
    `BCGMSSPublicKey`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `GMSSPublicKeySpec(byte[] key, GMSSParameters gmssParameterSet)` The constructor.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `byte[]` | `getPublicKey()` Returns the GMSS public key

    - ### Methods inherited from class org.bouncycastle.pqc.jcajce.spec.GMSSKeySpec

      `getParameters`

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

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

- - ### Constructor Detail

    - #### GMSSPublicKeySpec

          public GMSSPublicKeySpec(byte[] key,
                           GMSSParameters gmssParameterSet)

      The constructor.
      Parameters:
        `key` - a raw GMSS public key
        `gmssParameterSet` - an instance of GMSSParameterSet

  - ### Method Detail

    - #### getPublicKey

          public byte[] getPublicKey()

      Returns the GMSS public key
      Returns:
        The GMSS public key