|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.crypto.spec.DHPrivateKeySpec | +--iaik.security.dh.ESDHPrivateKeySpec
Ephemeral Static Diffie Hellman private key specification.
A key specification is a transparent representation of the key material
constituting the key. An
Ephemeral Static Diffie Hellman private key specification represents
the private value x
, and the Diffie Hellman parameters
p
(prime modulus), g
(base generator), and
l
(length of the private value x).
ESDHPrivateKey
Fields inherited from class javax.crypto.spec.DHPrivateKeySpec |
g, p, x |
Constructor Summary | |
ESDHPrivateKeySpec(BigInteger x,
BigInteger p,
BigInteger g,
BigInteger q)
Creates an Ephemeral Static Diffie-Hellman private key specification based on given private value x, prime modulus p, base generator g and prime factor q. |
|
ESDHPrivateKeySpec(BigInteger x,
BigInteger p,
BigInteger g,
BigInteger q,
BigInteger j)
Creates an Ephemeral Static Diffie-Hellman private key specification based on given private value x, prime modulus p, base generator g, prime factor q and subgroup factor j. |
|
ESDHPrivateKeySpec(BigInteger x,
BigInteger p,
BigInteger g,
BigInteger q,
BigInteger j,
byte[] seed,
int pgenCounter)
Creates an Ephemeral Static Diffie-Hellman private key specification based on given private value x, prime modulus p, base generator g, prime factor q, subgroup factor j and the seed and counter used in the system parameter generation process. |
|
ESDHPrivateKeySpec(BigInteger x,
BigInteger p,
BigInteger g,
BigInteger q,
byte[] seed,
int pgenCounter)
Creates an Ephemeral Static Diffie-Hellman private key specification based on given private value x, prime modulus p, base generator g, prime factor q and the seed and counter used in the system parameter generation process. |
Method Summary | |
BigInteger |
getJ()
Returns the subgroup factor j. |
long |
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. |
Methods inherited from class javax.crypto.spec.DHPrivateKeySpec |
getG, getP, getX |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ESDHPrivateKeySpec(BigInteger x, BigInteger p, BigInteger g, BigInteger q)
x
- the public valuep
- the prime modulusg
- the base generatorq
- the prime factorpublic ESDHPrivateKeySpec(BigInteger x, BigInteger p, BigInteger g, BigInteger q, BigInteger j)
x
- the public valuep
- the prime modulusg
- the base generatorq
- the prime factorj
- the subgroup factorpublic ESDHPrivateKeySpec(BigInteger x, BigInteger p, BigInteger g, BigInteger q, byte[] seed, int pgenCounter)
x
- the public valuep
- 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 processpublic ESDHPrivateKeySpec(BigInteger x, BigInteger p, BigInteger g, BigInteger q, BigInteger j, byte[] seed, int pgenCounter)
x
- the public valuep
- 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 processMethod Detail |
public long getL()
public BigInteger getQ()
public BigInteger getJ()
public byte[] getSeed()
public int getPGenCounter()
|
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 |