Class SntruPrimeKeyGenSpec

java.lang.Object
zeroecho.core.alg.ntruprime.SntruPrimeKeyGenSpec
All Implemented Interfaces:
Describable, AlgorithmKeySpec

public final class SntruPrimeKeyGenSpec extends Object implements AlgorithmKeySpec, Describable
Algorithm-specific key generation parameters for SNTRU Prime.

SntruPrimeKeyGenSpec selects one of the standardized parameter variants of the SNTRU Prime key encapsulation mechanism. Each variant determines the security level, key sizes, and performance characteristics of the generated key pair.

Variants

Instances are immutable and passed to KeyBuilders.Asymmetric.generateKeyPair(String, AlgorithmKeySpec). Static factory methods are provided for each variant.

Example

KeyPair kp = session.keyBuilders().asymmetric()
        .generateKeyPair("SNTRUPrime", SntruPrimeKeyGenSpec.sntrup761());
Since:
1.0