Home >> All >> gnu >> javax >> crypto >> key >> [ dh Javadoc ] |

**•**

**gnu.javax.crypto.key.dh**: Javadoc index of package gnu.javax.crypto.key.dh.

**Package Samples:**

**•**gnu.javax.crypto.key.dh

**Classes:**

**•**ElGamalKeyAgreement: The ElGamal key agreement, also known as the half-certified Diffie-Hellman key agreement, is described in the Handbook of Applied Cryptography [HAC] as follows: A sends to B a single message allowing one-pass key agreement. A obtains an authentic copy of B's public key (p, g, yb), where yb = g**xb. A chooses a random integer x, 1 <= x <= p-2, and sends B the message g**x. A computes the shared secret key K as yb**x. B computes the same key K on receipt of the previous message as (g**x)**xb. RFC-2631 describes an Ephemeral-Static Mode of operations with Diffie-Hellman keypairs as follows: ...

**•**DiffieHellmanKeyAgreement: The basic version of the Diffie-Hellman key agreement is described in the Handbook of Applied Cryptography [HAC] as follows: An appropriate prime p and generator g of Z p * (2 <= g <= p-2) are selected and published. A and B each send the other one message over an open channel; as a result, they both can then compute a shared secret key K which they can use to protect their future communication. A chooses a random secret x, 1 <= x <= p-2, and sends B message (1) which is g^x mod p. B chooses a random secret y, 1 <= y <= p-2, and sends A message (2) which is g^y mod p. B receives ...

**•**GnuDHKey: A base asbtract class for both public and private Diffie-Hellman keys. It encapsulates the two DH numbers: p , and g . According to the JDK, cryptographic Keys all have a format . The format used in this implementation is called Raw , and basically consists of the raw byte sequences of algorithm parameters. The exact order of the byte sequences and the implementation details are given in each of the relevant getEncoded() methods of each of the private and public keys. Reference: Diffie-Hellman Key Agreement Method Eric Rescorla.

**•**RFC2631: An implementation of the Diffie-Hellman parameter generation as defined in RFC-2631. Reference: Diffie-Hellman Key Agreement Method Eric Rescorla.

**•**GnuDHKeyPairGenerator: An implementation of a Diffie-Hellman keypair generator. Reference: Diffie-Hellman Key Agreement Method Eric Rescorla.

**•**GnuDHPrivateKey: An implementation of the Diffie-Hellman private key. Reference: Diffie-Hellman Key Agreement Method Eric Rescorla.

**•**GnuDHPublicKey: An implementation of the Diffie-Hellman public key. Reference: Diffie-Hellman Key Agreement Method Eric Rescorla.

**•**DHKeyPairRawCodec: An object that implements the gnu.java.security.key.IKeyPairCodec operations for the Raw format to use with Diffie-Hellman keypairs.

**•**DiffieHellmanReceiver: This implementation is the receiver's part of the basic version of the Diffie-Hellman key agreement exchange (B in [HAC]).

**•**DiffieHellmanSender: This implementation is the sender's part of the basic version of the Diffie-Hellman key agreement exchange (A in [HAC]).

**•**ElGamalReceiver: This implementation is the receiver's part of the ElGamal key agreement exchange (B in [HAC]).

**•**ElGamalSender: This implementation is the sender's part of the ElGamal key agreement exchange (A in [HAC]).

**•**DHKeyPairX509Codec

**•**DHKeyPairPKCS8Codec

Home | Contact Us | Privacy Policy | Terms of Service |