Package org.xipki.security
Class EdECConstants
- java.lang.Object
-
- org.xipki.security.EdECConstants
-
public class EdECConstants extends Object
EdDSA constants class.- Author:
- Lijun Liao (xipki)
-
-
Field Summary
Fields Modifier and Type Field Description static StringED25519static StringED448static org.bouncycastle.asn1.ASN1ObjectIdentifierid_ED25519static org.bouncycastle.asn1.ASN1ObjectIdentifierid_ED448static org.bouncycastle.asn1.ASN1ObjectIdentifierid_X25519static org.bouncycastle.asn1.ASN1ObjectIdentifierid_X448static StringX25519static StringX448
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.bouncycastle.asn1.ASN1ObjectIdentifiergetCurveOid(String curveName)static intgetKeyBitSize(org.bouncycastle.asn1.ASN1ObjectIdentifier curveOid)static StringgetName(org.bouncycastle.asn1.ASN1ObjectIdentifier curveOid)static intgetPublicKeyByteSize(org.bouncycastle.asn1.ASN1ObjectIdentifier curveOid)static booleanisEdwardsCurve(org.bouncycastle.asn1.ASN1ObjectIdentifier curveOid)static booleanisEdwardsOrMontgomeryCurve(org.bouncycastle.asn1.ASN1ObjectIdentifier curveOid)static booleanisMontgomeryCurve(org.bouncycastle.asn1.ASN1ObjectIdentifier curveOid)
-
-
-
Field Detail
-
id_X25519
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier id_X25519
-
id_X448
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier id_X448
-
id_ED25519
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier id_ED25519
-
id_ED448
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier id_ED448
-
X25519
public static final String X25519
- See Also:
- Constant Field Values
-
ED25519
public static final String ED25519
- See Also:
- Constant Field Values
-
X448
public static final String X448
- See Also:
- Constant Field Values
-
ED448
public static final String ED448
- See Also:
- Constant Field Values
-
-
Method Detail
-
isEdwardsCurve
public static boolean isEdwardsCurve(org.bouncycastle.asn1.ASN1ObjectIdentifier curveOid)
-
isMontgomeryCurve
public static boolean isMontgomeryCurve(org.bouncycastle.asn1.ASN1ObjectIdentifier curveOid)
-
isEdwardsOrMontgomeryCurve
public static boolean isEdwardsOrMontgomeryCurve(org.bouncycastle.asn1.ASN1ObjectIdentifier curveOid)
-
getKeyBitSize
public static int getKeyBitSize(org.bouncycastle.asn1.ASN1ObjectIdentifier curveOid)
-
getPublicKeyByteSize
public static int getPublicKeyByteSize(org.bouncycastle.asn1.ASN1ObjectIdentifier curveOid)
-
getName
public static String getName(org.bouncycastle.asn1.ASN1ObjectIdentifier curveOid)
-
getCurveOid
public static org.bouncycastle.asn1.ASN1ObjectIdentifier getCurveOid(String curveName)
-
-