Table of Contents

Interface ISecretWithEncapsulation

Namespace
Org.BouncyCastle.Crypto
Assembly
BouncyCastle.Cryptography.dll
public interface ISecretWithEncapsulation : IDisposable
Inherited Members

Methods

GetEncapsulation()

Return the data that carries the secret in its encapsulated form.

byte[] GetEncapsulation()

Returns

byte[]

the encapsulation of the secret.

GetSecret()

Return the secret associated with the encapsulation.

byte[] GetSecret()

Returns

byte[]

the secret the encapsulation is for.