For the latest news and information visit
The GNU Crypto project

Uses of Class
gnu.crypto.key.KeyAgreementException

Packages that use KeyAgreementException
gnu.crypto.key Provides a basic API for algorithms to generate Public/Private keypairs, and Key Agreement schemes.  
gnu.crypto.key.dh   
gnu.crypto.key.srp6   
 

Uses of KeyAgreementException in gnu.crypto.key
 

Methods in gnu.crypto.key that throw KeyAgreementException
 void BaseKeyAgreementParty.init(java.util.Map attributes)
           
 OutgoingMessage BaseKeyAgreementParty.processMessage(IncomingMessage in)
           
 byte[] BaseKeyAgreementParty.getSharedSecret()
           
protected abstract  void BaseKeyAgreementParty.engineInit(java.util.Map attributes)
           
protected abstract  OutgoingMessage BaseKeyAgreementParty.engineProcessMessage(IncomingMessage in)
           
protected abstract  byte[] BaseKeyAgreementParty.engineSharedSecret()
           
 byte[] OutgoingMessage.toByteArray()
          Returns the encoded form of the current message including the 4-byte length header.
 byte[] OutgoingMessage.wrap()
          Returns the encoded form of the current message excluding the 4-byte length header.
 void OutgoingMessage.writePublicKey(java.security.PublicKey k)
          Encodes a public key into the message.
 void OutgoingMessage.writePrivateKey(java.security.PrivateKey k)
          Encodes a private key into the message.
 void OutgoingMessage.writeMPI(java.math.BigInteger val)
          Encodes an MPI into the message.
 void OutgoingMessage.writeString(java.lang.String s)
          Encodes a string into the message.
static int IncomingMessage.twoBytesToLength(byte[] b)
          Converts two octets into the number that they represent.
static int IncomingMessage.fourBytesToLength(byte[] b)
          Converts four octets into the number that they represent.
 java.security.PublicKey IncomingMessage.readPublicKey()
           
 java.security.PrivateKey IncomingMessage.readPrivateKey()
           
 java.math.BigInteger IncomingMessage.readMPI()
          Decodes an MPI from the current message's contents.
 java.lang.String IncomingMessage.readString()
           
 void IKeyAgreementParty.init(java.util.Map attributes)
          Sets up the instance to operate with specific attributes.
 OutgoingMessage IKeyAgreementParty.processMessage(IncomingMessage in)
          Processes an incoming message at one end, generating a message that will be processed by the other party(ies).
 byte[] IKeyAgreementParty.getSharedSecret()
          Returns the byte array containing the shared secret as generated by this party.
 

Constructors in gnu.crypto.key that throw KeyAgreementException
IncomingMessage(byte[] b)
          Constructs an incoming message given the message's encoded form, including its header bytes.
 

Uses of KeyAgreementException in gnu.crypto.key.dh
 

Methods in gnu.crypto.key.dh that throw KeyAgreementException
protected  void ElGamalReceiver.engineInit(java.util.Map attributes)
           
protected  OutgoingMessage ElGamalReceiver.engineProcessMessage(IncomingMessage in)
           
protected  byte[] ElGamalKeyAgreement.engineSharedSecret()
           
protected  void ElGamalSender.engineInit(java.util.Map attributes)
           
protected  OutgoingMessage ElGamalSender.engineProcessMessage(IncomingMessage in)
           
protected  void DiffieHellmanSender.engineInit(java.util.Map attributes)
           
protected  OutgoingMessage DiffieHellmanSender.engineProcessMessage(IncomingMessage in)
           
protected  byte[] DiffieHellmanKeyAgreement.engineSharedSecret()
           
protected  void DiffieHellmanReceiver.engineInit(java.util.Map attributes)
           
protected  OutgoingMessage DiffieHellmanReceiver.engineProcessMessage(IncomingMessage in)
           
 

Uses of KeyAgreementException in gnu.crypto.key.srp6
 

Methods in gnu.crypto.key.srp6 that throw KeyAgreementException
protected  void SRP6TLSServer.engineInit(java.util.Map attributes)
           
protected  OutgoingMessage SRP6TLSServer.engineProcessMessage(IncomingMessage in)
           
protected  OutgoingMessage SRP6TLSServer.computeSharedSecret(IncomingMessage in)
           
protected  OutgoingMessage SRP6SaslServer.computeSharedSecret(IncomingMessage in)
           
protected  void SRP6Host.engineInit(java.util.Map attributes)
           
protected  OutgoingMessage SRP6Host.engineProcessMessage(IncomingMessage in)
           
protected  void SRP6User.engineInit(java.util.Map attributes)
           
protected  OutgoingMessage SRP6User.engineProcessMessage(IncomingMessage in)
           
protected  byte[] SRP6KeyAgreement.engineSharedSecret()
           
protected  void SRP6TLSClient.engineInit(java.util.Map attributes)
           
protected  OutgoingMessage SRP6TLSClient.engineProcessMessage(IncomingMessage in)
           
protected  OutgoingMessage SRP6TLSClient.computeSharedSecret(IncomingMessage in)
           
protected  OutgoingMessage SRP6SaslClient.computeSharedSecret(IncomingMessage in)
           
 


For the latest news and information visit
The GNU Crypto project

Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.