Class SNTRUP761.Client

java.lang.Object
org.apache.sshd.common.kex.SNTRUP761.Client
All Implemented Interfaces:
KeyEncapsulationMethod.Client
Enclosing class:
SNTRUP761

static class SNTRUP761.Client extends Object implements KeyEncapsulationMethod.Client
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private org.bouncycastle.pqc.crypto.ntruprime.SNTRUPrimeKEMExtractor
     
    private org.bouncycastle.pqc.crypto.ntruprime.SNTRUPrimePublicKeyParameters
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    extractSecret(byte[] encapsulated)
    Extracts the secret from an encapsulation ciphertext.
    int
    Gets the required encapsulation length in bytes.
    byte[]
    Gets the KEM public key.
    void
    Initializes the KEM and generates a new key pair.

    Methods inherited from class java.lang.Object

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