ellipticCurve static method
Implementation
static ECDomainParameters ellipticCurve(int id) {
switch (id) {
case ECDSA_SHA2_NISTP256:
return ECCurve_secp256r1();
case ECDSA_SHA2_NISTP384:
return ECCurve_secp384r1();
case ECDSA_SHA2_NISTP521:
return ECCurve_secp521r1();
default:
return null;
}
}