Package gnu.java.zrtp
Enum ZrtpConstants.SupportedPubKeys
- java.lang.Object
-
- java.lang.Enum<ZrtpConstants.SupportedPubKeys>
-
- gnu.java.zrtp.ZrtpConstants.SupportedPubKeys
-
- All Implemented Interfaces:
Serializable,Comparable<ZrtpConstants.SupportedPubKeys>
- Enclosing class:
- ZrtpConstants
public static enum ZrtpConstants.SupportedPubKeys extends Enum<ZrtpConstants.SupportedPubKeys>
-
-
Field Summary
Fields Modifier and Type Field Description org.bouncycastle.math.ec.ECCurvecurveorg.bouncycastle.crypto.BasicAgreementdhContextorg.bouncycastle.crypto.AsymmetricCipherKeyPairGeneratorkeyPairGenbyte[]nameintpubKeySizeorg.bouncycastle.crypto.RawAgreementrawDhContextorg.bouncycastle.crypto.params.DHParametersspecDh
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ZrtpConstants.SupportedPubKeysvalueOf(String name)Returns the enum constant of this type with the specified name.static ZrtpConstants.SupportedPubKeys[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EC25
public static final ZrtpConstants.SupportedPubKeys EC25
-
EC38
public static final ZrtpConstants.SupportedPubKeys EC38
-
E255
public static final ZrtpConstants.SupportedPubKeys E255
-
DH2K
public static final ZrtpConstants.SupportedPubKeys DH2K
-
DH3K
public static final ZrtpConstants.SupportedPubKeys DH3K
-
MULT
public static final ZrtpConstants.SupportedPubKeys MULT
-
-
Field Detail
-
name
public byte[] name
-
keyPairGen
public final org.bouncycastle.crypto.AsymmetricCipherKeyPairGenerator keyPairGen
-
pubKeySize
public final int pubKeySize
-
specDh
public final org.bouncycastle.crypto.params.DHParameters specDh
-
curve
public final org.bouncycastle.math.ec.ECCurve curve
-
dhContext
public final org.bouncycastle.crypto.BasicAgreement dhContext
-
rawDhContext
public final org.bouncycastle.crypto.RawAgreement rawDhContext
-
-
Method Detail
-
values
public static ZrtpConstants.SupportedPubKeys[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ZrtpConstants.SupportedPubKeys c : ZrtpConstants.SupportedPubKeys.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ZrtpConstants.SupportedPubKeys valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-