Class ECDomainParametersIndex
java.lang.Object
org.bouncycastle.crypto.asymmetric.ECDomainParametersIndex
General index for Elliptic Curve parameters.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NamedECDomainParameters
lookupDomainParameters
(ASN1ObjectIdentifier paramOid) Retrieve an EC based domain parameter by OID.static NamedECDomainParameters
Retrieve an EC based domain parameter by parameter ID.static ASN1ObjectIdentifier
lookupOID
(ECDomainParameters domainParameters)
-
Constructor Details
-
ECDomainParametersIndex
public ECDomainParametersIndex()
-
-
Method Details
-
lookupDomainParameters
Retrieve an EC based domain parameter by OID. A custom curve will be returned if one is available.- Parameters:
paramOid
- object identifier for the domain parameters.- Returns:
- the matching domain parameters if found, null otherwise.
-
lookupDomainParameters
Retrieve an EC based domain parameter by parameter ID. A custom curve will be returned if one is available.- Parameters:
paramID
- identifier for the domain parameters.- Returns:
- the matching domain parameters if found, null otherwise.
-
lookupOID
-