Class SNTRUP761.Server

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

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

    Fields
    Modifier and Type
    Field
    Description
    private org.bouncycastle.crypto.SecretWithEncapsulation
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    Retrieves the encapsulation of the secret.
    byte[]
    Retrieves the secret.
    byte[]
    init(byte[] publicKey)
    Initializes the KEM with a public key received from a client and prepares an encapsulated secret.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • value

      private org.bouncycastle.crypto.SecretWithEncapsulation value
  • Constructor Details

    • Server

      Server()
  • Method Details