|
|||||||||
Home >> All >> gnu >> javax >> crypto >> [ key overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |
gnu.javax.crypto.key
Interface IKeyAgreementParty

- All Known Implementing Classes:
- BaseKeyAgreementParty
- public interface IKeyAgreementParty
The visible methods of an key agreement protocol participating party.
Method Summary | |
byte[] |
getSharedSecret()
Returns the byte array containing the shared secret as generated by this party. |
void |
init(java.util.Map attributes)
Sets up the instance to operate with specific attributes. |
boolean |
isComplete()
Returns true if the party in the key agreement protocol
exchange has completed its part of the exchange. |
java.lang.String |
name()
Returns the canonical name of the key agreement protocol. |
OutgoingMessage |
processMessage(IncomingMessage in)
Processes an incoming message at one end, generating a message that will be processed by the other party(ies). |
void |
reset()
Resets this instance for re-use with another set of attributes. |
Method Detail |
name
public java.lang.String name()
Returns the canonical name of the key agreement protocol.
init
public void init(java.util.Map attributes) throws KeyAgreementException
Sets up the instance to operate with specific attributes.
processMessage
public OutgoingMessage processMessage(IncomingMessage in) throws KeyAgreementException
Processes an incoming message at one end, generating a message that will be processed by the other party(ies).
isComplete
public boolean isComplete()
Returns
true
if the party in the key agreement protocol exchange has completed its part of the exchange. If this is the case an java.lang.IllegalStateException is thrown for any method invocation exceptinit()
orreset()
.
getSharedSecret
public byte[] getSharedSecret() throws KeyAgreementException
Returns the byte array containing the shared secret as generated by this party.
reset
public void reset()
- Resets this instance for re-use with another set of attributes.
|
|||||||||
Home >> All >> gnu >> javax >> crypto >> [ key overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |