|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--javax.crypto.spec.DHParameterSpec
|
+--iaik.security.dh.ESDHParameterSpec
Ephemeral-Static Diffie Hellman parameter specification.
This class represents a specification for the prime modulus p,
base generator g, prime factor q, the subgroup factor
j (if available) and the seed seed and pgenCounter
pgenCounter (if available), as used by the Ephemral-Static Diffie-Hellman #
key exchange algorithm according to
RFC 2631.
AlgorithmParameterSpec,
ESDHParameters| Fields inherited from class javax.crypto.spec.DHParameterSpec |
g, p |
| Constructor Summary | |
ESDHParameterSpec(BigInteger p,
BigInteger g,
BigInteger q)
Creates an Ephemeral Static Diffie-Hellman parameter specification, based on given prime modulus p, base generator g and prime factor q. |
|
ESDHParameterSpec(BigInteger p,
BigInteger g,
BigInteger q,
BigInteger j)
Creates an Ephemeral Static Diffie-Hellman parameter specification, based on given prime modulus p, base generator g, prime factor q and soubgroup factor j. |
|
ESDHParameterSpec(BigInteger p,
BigInteger g,
BigInteger q,
BigInteger j,
byte[] seed,
int pgenCounter)
Creates an Ephemeral Static Diffie-Hellman parameter specification, based on given prime modulus p, base generator g, prime factor q, soubgroup factor j, the seed and counter used in the system parameter generation process. |
|
ESDHParameterSpec(BigInteger p,
BigInteger g,
BigInteger q,
byte[] seed,
int pgenCounter)
Creates an Ephemeral Static Diffie-Hellman parameter specification, based on given prime modulus p, base generator g, prime factor q, the seed and counter used in the system parameter generation process. |
|
| Method Summary | |
boolean |
equals(Object obj)
Compares two ESDHParameterSpec objects. |
BigInteger |
getJ()
Returns the subgroup factor j. |
int |
getL()
This method overrides the method of the super class and always returns 0 since we don't use parameter L in ESDH. |
int |
getPGenCounter()
Returns the counter used in the system parameter generation process. |
BigInteger |
getQ()
Returns the prime factor q. |
byte[] |
getSeed()
Returns the seed used in the system parameter generation process. |
int |
hashCode()
Returns a hash code for this object. |
String |
toString()
Returns a string representation of this Object. |
| Methods inherited from class javax.crypto.spec.DHParameterSpec |
getG, getP |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ESDHParameterSpec(BigInteger p,
BigInteger g,
BigInteger q)
p - the prime modulusg - the base generatorq - the prime factor
public ESDHParameterSpec(BigInteger p,
BigInteger g,
BigInteger q,
BigInteger j)
p - the prime modulusg - the base generatorq - the prime factorj - the subgroup factor
public ESDHParameterSpec(BigInteger p,
BigInteger g,
BigInteger q,
byte[] seed,
int pgenCounter)
p - the prime modulusg - the base generatorq - the prime factorseed - the the seed used in the system parameter generation processpgenCounter - the counter used in the system parameter generation process
public ESDHParameterSpec(BigInteger p,
BigInteger g,
BigInteger q,
BigInteger j,
byte[] seed,
int pgenCounter)
p - the prime modulusg - the base generatorq - the prime factorj - the subgroup factorseed - the the seed used in the system parameter generation processpgenCounter - the counter used in the system parameter generation process| Method Detail |
public BigInteger getQ()
public BigInteger getJ()
public byte[] getSeed()
public int getPGenCounter()
public int getL()
getL in class DHParameterSpecpublic boolean equals(Object obj)
equals in class Objectobj - the other ESDHParameterSpectrue, if the two ESDHParameterSpecs are equal,
false otherwisepublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class DHParameterSpec
|
This Javadoc may contain text parts from Internet Standard specifications (RFC 2459, 3280, 3039, 2560, 1521, 821, 822, 2253, 1319, 1321, ,2630, 2631, 2268, 3058, 2984, 2104, 2144, 2040, 2311, 2279, see copyright note) and RSA Data Security Public-Key Cryptography Standards (PKCS#1,3,5,7,8,9,10,12, see copyright note). | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
IAIK-JCE 3.1 with IAIK-JCE CC Core 3.1, (c) 1997-2004 IAIK