- All Superinterfaces:
Destroyable
- All Known Implementing Classes:
SecretWithEncapsulationImpl
Interface describing secret with encapsulation details.
Method Summary
All MethodsModifier and TypeMethodDescriptionbyte[]Return the data that carries the secret in its encapsulated form.byte[]Return the secret associated with the encapsulation.Methods inherited from interface Destroyable
destroy, isDestroyed
Method Details
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.