|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.pqc.crypto.util.SecretWithEncapsulationImpl
Constructor Summary | |
SecretWithEncapsulationImpl(byte[] sessionKey,
byte[] cipher_text)
|
Method Summary | |
void |
destroy()
|
byte[] |
getEncapsulation()
Return the data that carries the secret in its encapsulated form. |
byte[] |
getSecret()
Return the secret associated with the encapsulation. |
boolean |
isDestroyed()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SecretWithEncapsulationImpl(byte[] sessionKey, byte[] cipher_text)
Method Detail |
public byte[] getSecret()
SecretWithEncapsulation
getSecret
in interface SecretWithEncapsulation
public byte[] getEncapsulation()
SecretWithEncapsulation
getEncapsulation
in interface SecretWithEncapsulation
public void destroy() throws javax.security.auth.DestroyFailedException
destroy
in interface javax.security.auth.Destroyable
javax.security.auth.DestroyFailedException
public boolean isDestroyed()
isDestroyed
in interface javax.security.auth.Destroyable
|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |