Top Description Fields Constructors Methods
org.bouncycastle.crypto.agreement.jpake

public Class JPAKEPrimeOrderGroups

extends Object
Class Inheritance
Imports
java.math.BigInteger

Standard pre-computed prime order groups for use by J-PAKE. (J-PAKE can use pre-computed prime order groups, same as DSA and Diffie-Hellman.)

This class contains some convenient constants for use as input for constructing JPAKEParticipants.

The prime order groups below are taken from Sun's JDK JavaDoc (docs/guide/security/CryptoSpec.html#AppB), and from the prime order groups published by NIST.

Field Summary

Modifier and TypeField and Description
public static final JPAKEPrimeOrderGroup
NIST_2048

From NIST.

public static final JPAKEPrimeOrderGroup
NIST_3072

From NIST.

public static final JPAKEPrimeOrderGroup
SUN_JCE_1024

From Sun's JDK JavaDoc (docs/guide/security/CryptoSpec.html#AppB) 1024-bit p, 160-bit q and 1024-bit g for 80-bit security.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

NIST_2048back to summary
public static final JPAKEPrimeOrderGroup NIST_2048

From NIST. 2048-bit p, 224-bit q and 2048-bit g for 112-bit security.

NIST_3072back to summary
public static final JPAKEPrimeOrderGroup NIST_3072

From NIST. 3072-bit p, 256-bit q and 3072-bit g for 128-bit security.

SUN_JCE_1024back to summary
public static final JPAKEPrimeOrderGroup SUN_JCE_1024

From Sun's JDK JavaDoc (docs/guide/security/CryptoSpec.html#AppB) 1024-bit p, 160-bit q and 1024-bit g for 80-bit security.

Constructor Detail

JPAKEPrimeOrderGroupsback to summary
public JPAKEPrimeOrderGroups()