Logo Search packages:      
Sourcecode: libgnucrypto-java version File versions  Download package

gnu::crypto::key::IncomingMessage Class Reference

List of all members.

Detailed Description

An implementation of an incoming message for use with key agreement protocols.


Definition at line 60 of file IncomingMessage.java.

Public Member Functions

boolean hasMoreElements ()
 IncomingMessage (byte[] b) throws KeyAgreementException
BigInteger readMPI () throws KeyAgreementException
PrivateKey readPrivateKey () throws KeyAgreementException
PublicKey readPublicKey () throws KeyAgreementException
String readString () throws KeyAgreementException

Static Public Member Functions

static int fourBytesToLength (byte[] b) throws KeyAgreementException
static IncomingMessage getInstance (byte[] raw, int offset, int len)
static IncomingMessage getInstance (byte[] raw)
static int twoBytesToLength (byte[] b) throws KeyAgreementException

Protected Attributes

ByteArrayInputStream in
int length

Private Member Functions

 IncomingMessage ()

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index