Class SlhDsaSignKeyManager


  • public final class SlhDsaSignKeyManager
    extends java.lang.Object
    SlhDsaSignKeyManager hosts the registerPair() method. The method registers the SlhDsaProtoSerialization, named parameters, and the key (pair) creator, enabling creation, parsing, and serialization of SLH-DSA keys in KeysetHandles.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void registerPair()
      Registers the SlhDsaProtoSerialization, named parameters, and the key (pair) creator, for now only supporting SLH-DSA-SHA2-128S in TINK and NO_PREFIX veriants.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • registerPair

        public static void registerPair()
                                 throws java.security.GeneralSecurityException
        Registers the SlhDsaProtoSerialization, named parameters, and the key (pair) creator, for now only supporting SLH-DSA-SHA2-128S in TINK and NO_PREFIX veriants. This enables:
        • parsing and serializing SLH-DSA keys with TinkProtoKeysetFormat
        • creation of new SLH-DSA keys with KeysetHandle#generateEntryFromParameters
        • creation of new SLH-DSA keys with KeysetHandle#generateEntryFromParametersName (currently "SLH_DSA_SHA2_128S_TINK" and "SLH_DSA_SHA2_128S_RAW" available)
        Throws:
        java.security.GeneralSecurityException