Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep
A B C E F G H I K L N O P R S T W

A

algorithm - Variable in class gnu.javax.crypto.key.GnuSecretKey
 

B

BaseKeyAgreementParty - class gnu.javax.crypto.key.BaseKeyAgreementParty.
A base abstract class to facilitate implementations of concrete key agreement protocol handlers.
BaseKeyAgreementParty(String) - Constructor for class gnu.javax.crypto.key.BaseKeyAgreementParty
 

C

cause - Variable in class gnu.javax.crypto.key.KeyAgreementException
 
complete - Variable in class gnu.javax.crypto.key.BaseKeyAgreementParty
Whether the exchange has concluded or not.

E

engineInit(Map) - Method in class gnu.javax.crypto.key.BaseKeyAgreementParty
 
engineProcessMessage(IncomingMessage) - Method in class gnu.javax.crypto.key.BaseKeyAgreementParty
 
engineReset() - Method in class gnu.javax.crypto.key.BaseKeyAgreementParty
 
engineSharedSecret() - Method in class gnu.javax.crypto.key.BaseKeyAgreementParty
 
equals(Object) - Method in class gnu.javax.crypto.key.GnuSecretKey
 

F

fourBytesToLength(byte[]) - Static method in class gnu.javax.crypto.key.IncomingMessage
Converts four octets into the number that they represent.

G

GnuSecretKey - class gnu.javax.crypto.key.GnuSecretKey.
A secret key composed of a sequence of raw, unformatted octets.
GnuSecretKey(byte[], String) - Constructor for class gnu.javax.crypto.key.GnuSecretKey
Creates a new secret key.
GnuSecretKey(byte[], int, int, String) - Constructor for class gnu.javax.crypto.key.GnuSecretKey
Creates a new secret key from a portion of a byte array.
getAlgorithm() - Method in class gnu.javax.crypto.key.GnuSecretKey
Returns the algorithm name, if any.
getCause() - Method in class gnu.javax.crypto.key.KeyAgreementException
Returns the cause of this throwable or null if the cause is nonexistent or unknown.
getDefaultPRNG() - Method in class gnu.javax.crypto.key.BaseKeyAgreementParty
 
getEncoded() - Method in class gnu.javax.crypto.key.GnuSecretKey
Returns the encoded key, which is merely the byte array this class was created with.
getFormat() - Method in class gnu.javax.crypto.key.GnuSecretKey
Returns the string "RAW".
getInstance(byte[]) - Static method in class gnu.javax.crypto.key.IncomingMessage
Returns an instance of a message given its encoded contents, excluding the message's header bytes.
getInstance(byte[], int, int) - Static method in class gnu.javax.crypto.key.IncomingMessage
Returns an instance of a message given its encoded contents, excluding the message's header bytes.
getKeyPairCodec(int) - Method in class gnu.javax.crypto.key.IncomingMessage
 
getKeyType(Key) - Method in class gnu.javax.crypto.key.OutgoingMessage
 
getNames() - Static method in class gnu.javax.crypto.key.KeyAgreementFactory
Returns a java.util.Set of key agreement protocol names supported by this Factory.
getPartyAInstance(String) - Static method in class gnu.javax.crypto.key.KeyAgreementFactory
Returns an instance of a key agreeent protocol handler, for party A in a two-party A..B exchange, given the canonical name of this protocol.
getPartyBInstance(String) - Static method in class gnu.javax.crypto.key.KeyAgreementFactory
Returns an instance of a key agreeent protocol handler, for party B in a two-party A..B exchange, given the canonical name of this protocol.
getSharedSecret() - Method in class gnu.javax.crypto.key.BaseKeyAgreementParty
 
getSharedSecret() - Method in interface gnu.javax.crypto.key.IKeyAgreementParty
Returns the byte array containing the shared secret as generated by this party.
gnu.javax.crypto.key - package gnu.javax.crypto.key
 

H

hasMoreElements() - Method in class gnu.javax.crypto.key.IncomingMessage
 

I

IKeyAgreementParty - interface gnu.javax.crypto.key.IKeyAgreementParty.
The visible methods of an key agreement protocol participating party.
IncomingMessage - class gnu.javax.crypto.key.IncomingMessage.
An implementation of an incoming message for use with key agreement protocols.
IncomingMessage(byte[]) - Constructor for class gnu.javax.crypto.key.IncomingMessage
Constructs an incoming message given the message's encoded form, including its header bytes.
IncomingMessage() - Constructor for class gnu.javax.crypto.key.IncomingMessage
Trivial private constructor for use by the class method.
in - Variable in class gnu.javax.crypto.key.IncomingMessage
The internal buffer stream containing the message's contents.
init(Map) - Method in class gnu.javax.crypto.key.BaseKeyAgreementParty
 
init(Map) - Method in interface gnu.javax.crypto.key.IKeyAgreementParty
Sets up the instance to operate with specific attributes.
initialised - Variable in class gnu.javax.crypto.key.BaseKeyAgreementParty
Whether the instance is initialised or not.
irnd - Variable in class gnu.javax.crypto.key.BaseKeyAgreementParty
The optional gnu.java.security.prng.IRandom instance to use.
isComplete() - Method in class gnu.javax.crypto.key.BaseKeyAgreementParty
 
isComplete() - Method in interface gnu.javax.crypto.key.IKeyAgreementParty
Returns true if the party in the key agreement protocol exchange has completed its part of the exchange.

K

KeyAgreementException - exception gnu.javax.crypto.key.KeyAgreementException.
A generic exception indicating that an unexpected condition has been detected during the setup and/or processing of a key agreement protocol exchange.
KeyAgreementException() - Constructor for class gnu.javax.crypto.key.KeyAgreementException
Constructs a new instance of KeyAgreementException.
KeyAgreementException(String) - Constructor for class gnu.javax.crypto.key.KeyAgreementException
Constructs a new instance of KeyAgreementException with a detailed message.
KeyAgreementException(String, Throwable) - Constructor for class gnu.javax.crypto.key.KeyAgreementException
Constructs a new instance of KeyAgreementException with a detailed message and a root exception.
KeyAgreementFactory - class gnu.javax.crypto.key.KeyAgreementFactory.
A Factory class to generate key agreement protocol handlers.
KeyAgreementFactory() - Constructor for class gnu.javax.crypto.key.KeyAgreementFactory
Trivial constructor to enforce Singleton pattern.
key - Variable in class gnu.javax.crypto.key.GnuSecretKey
 

L

length - Variable in class gnu.javax.crypto.key.IncomingMessage
The length of the message contents, according to its 4-byte header.

N

name - Variable in class gnu.javax.crypto.key.BaseKeyAgreementParty
The canonical name of the protocol.
name() - Method in class gnu.javax.crypto.key.BaseKeyAgreementParty
 
name() - Method in interface gnu.javax.crypto.key.IKeyAgreementParty
Returns the canonical name of the key agreement protocol.
nextRandomBytes(byte[]) - Method in class gnu.javax.crypto.key.BaseKeyAgreementParty
Fills the designated byte array with random data.

O

OutgoingMessage - class gnu.javax.crypto.key.OutgoingMessage.
An implementation of outgoing messages for use with key agreement protocols.
OutgoingMessage() - Constructor for class gnu.javax.crypto.key.OutgoingMessage
 
out - Variable in class gnu.javax.crypto.key.OutgoingMessage
The internal output stream.

P

printStackTrace() - Method in class gnu.javax.crypto.key.KeyAgreementException
Prints this exception's stack trace to System.err.
printStackTrace(PrintStream) - Method in class gnu.javax.crypto.key.KeyAgreementException
Prints this exception's stack trace to a print stream.
printStackTrace(PrintWriter) - Method in class gnu.javax.crypto.key.KeyAgreementException
Prints this exception's stack trace to a print writer.
prng - Variable in class gnu.javax.crypto.key.BaseKeyAgreementParty
Our default source of randomness.
processMessage(IncomingMessage) - Method in class gnu.javax.crypto.key.BaseKeyAgreementParty
 
processMessage(IncomingMessage) - Method in interface gnu.javax.crypto.key.IKeyAgreementParty
Processes an incoming message at one end, generating a message that will be processed by the other party(ies).

R

readMPI() - Method in class gnu.javax.crypto.key.IncomingMessage
Decodes an MPI from the current message's contents.
readPrivateKey() - Method in class gnu.javax.crypto.key.IncomingMessage
Decodes a private key from the message.
readPublicKey() - Method in class gnu.javax.crypto.key.IncomingMessage
Decodes a public key from the message.
readString() - Method in class gnu.javax.crypto.key.IncomingMessage
 
reset() - Method in class gnu.javax.crypto.key.BaseKeyAgreementParty
 
reset() - Method in interface gnu.javax.crypto.key.IKeyAgreementParty
Resets this instance for re-use with another set of attributes.
rnd - Variable in class gnu.javax.crypto.key.BaseKeyAgreementParty
The optional java.security.SecureRandom instance to use.

S

step - Variable in class gnu.javax.crypto.key.BaseKeyAgreementParty
The current step index of the protocol exchange.

T

TWO - Static variable in class gnu.javax.crypto.key.BaseKeyAgreementParty
 
toByteArray() - Method in class gnu.javax.crypto.key.OutgoingMessage
Returns the encoded form of the current message including the 4-byte length header.
toString() - Method in class gnu.javax.crypto.key.GnuSecretKey
 
toString() - Method in class gnu.javax.crypto.key.KeyAgreementException
Returns the string representation of this exception.
twoBytesToLength(byte[]) - Static method in class gnu.javax.crypto.key.IncomingMessage
Converts two octets into the number that they represent.

W

wrap() - Method in class gnu.javax.crypto.key.OutgoingMessage
Returns the encoded form of the current message excluding the 4-byte length header.
writeKey(Key) - Method in class gnu.javax.crypto.key.OutgoingMessage
 
writeMPI(BigInteger) - Method in class gnu.javax.crypto.key.OutgoingMessage
Encodes an MPI into the message.
writePrivateKey(PrivateKey) - Method in class gnu.javax.crypto.key.OutgoingMessage
Encodes a private key into the message.
writePublicKey(PublicKey) - Method in class gnu.javax.crypto.key.OutgoingMessage
Encodes a public key into the message.
writeString(String) - Method in class gnu.javax.crypto.key.OutgoingMessage
Encodes a string into the message.

A B C E F G H I K L N O P R S T W