Interface EncapsulatedSecretExtractor

    • Method Detail

      • extractSecret

        byte[] extractSecret​(byte[] encapsulation)
        Extract the secret based on the recipient private key.
        Parameters:
        encapsulation - the encapsulated secret.
      • getEncapsulationLength

        int getEncapsulationLength()
        Return the length in bytes of the encapsulation.
        Returns:
        length in bytes of an encapsulation for this parameter set.