Package com.google.crypto.tink.signature
Class SlhDsaSignKeyManager
- java.lang.Object
-
- com.google.crypto.tink.signature.SlhDsaSignKeyManager
-
public final class SlhDsaSignKeyManager extends java.lang.ObjectSlhDsaSignKeyManager hosts theregisterPair()method. The method registers theSlhDsaProtoSerialization, 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 voidregisterPair()Registers theSlhDsaProtoSerialization, named parameters, and the key (pair) creator, for now only supporting SLH-DSA-SHA2-128S in TINK and NO_PREFIX veriants.
-
-
-
Method Detail
-
registerPair
public static void registerPair() throws java.security.GeneralSecurityExceptionRegisters theSlhDsaProtoSerialization, 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
- parsing and serializing SLH-DSA keys with
-
-