public class SecretWithEncapsulationImpl extends Object implements SecretWithEncapsulation
| Constructor and Description |
|---|
SecretWithEncapsulationImpl(byte[] sessionKey,
byte[] cipher_text)SecretWithEncapsulationImpl. |
| Modifier and Type | Method and Description |
|---|---|
(package private) void | checkDestroyed() |
void | destroy()destroy. |
byte[] | getEncapsulation()getEncapsulation. |
byte[] | getSecret()getSecret. |
boolean | isDestroyed()isDestroyed. |
public SecretWithEncapsulationImpl(byte[] sessionKey,
byte[] cipher_text)void checkDestroyed()
public void destroy()
throws DestroyFailedExceptiondestroy in interface DestroyableDestroyFailedExceptionpublic byte[] getEncapsulation()
getEncapsulation in interface SecretWithEncapsulationpublic byte[] getSecret()
getSecret in interface SecretWithEncapsulationpublic boolean isDestroyed()
isDestroyed in interface Destroyable