Package org.bouncycastle.crypto
Interface SecretWithEncapsulation
-
- All Superinterfaces:
javax.security.auth.Destroyable
- All Known Implementing Classes:
SecretWithEncapsulationImpl
public interface SecretWithEncapsulation extends javax.security.auth.Destroyable
Interface describing secret with encapsulation details.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
getEncapsulation()
Return the data that carries the secret in its encapsulated form.byte[]
getSecret()
Return the secret associated with the encapsulation.
-