Interface SecretWithEncapsulation


  • public interface SecretWithEncapsulation
    Interface describing secret with encapsulation details.
    • Method Detail

      • getSecret

        byte[] getSecret()
        Return the secret associated with the encapsulation.
        Returns:
        the secret the encapsulation is for,
      • getEncapsulation

        byte[] getEncapsulation()
        Return the data that carries the secret in its encapsulated form.
        Returns:
        the encapsulation of the secret.