|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.motorola.iden.crypto.spec.DHParameterSpec
This class specifies the elliptic curves used to generate elliptic curve key-pairs.
MOTOROLA and the Stylized M Logo are registered trademarks of Motorola, Inc. Reg. U.S. Pat. & Tm. Off.
[AlgorithmParameterSpec]
Constructor Summary | |
DHParameterSpec(byte[] p1,
byte[] g1,
byte[] q1)
Constructs a parameter set for Diffie-Hellman, using a prime modulus p , a base generator g and q which is
a prive factor of p-1 such that p = jq+1 and q>2^(m-1). m is the bit length of
q.
|
Method Summary | |
byte[] |
getG()
Returns the base generator g . |
byte[] |
getP()
Returns the prime modulus p . |
byte[] |
getQ()
Returns the prime factor q . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DHParameterSpec(byte[] p1, byte[] g1, byte[] q1)
p
, a base generator g
and q
which is
a prive factor of p-1 such that p = jq+1 and q>2^(m-1). m is the bit length of
q.
See ANSI X9.42p1
- the prime modulusg1
- the base generatorq1
- the prime factorMethod Detail |
public byte[] getP()
p
.p
public byte[] getQ()
q
.q
public byte[] getG()
g
.g
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |