Class CustomNamedCurves
- Namespace
- Org.BouncyCastle.Crypto.EC
- Assembly
- BouncyCastle.Cryptography.dll
Elliptic curve registry for various customized curve implementations.
public static class CustomNamedCurves
- Inheritance
-
CustomNamedCurves
- Inherited Members
Properties
Names
Enumerate the available curve names in this registry.
public static IEnumerable<string> Names { get; }
Property Value
Methods
GetByName(string)
Look up the X9ECParameters for the curve with the given name.
public static X9ECParameters GetByName(string name)
Parameters
namestringThe name of the curve.
Returns
GetByNameLazy(string)
Look up an X9ECParametersHolder for the curve with the given name.
public static X9ECParametersHolder GetByNameLazy(string name)
Parameters
namestringThe name of the curve.
Returns
Remarks
Allows accessing the curve without necessarily triggering the creation of the full X9ECParameters.
GetByOid(DerObjectIdentifier)
Look up the X9ECParameters for the curve with the given OID.
public static X9ECParameters GetByOid(DerObjectIdentifier oid)
Parameters
oidDerObjectIdentifierThe OID for the curve.
Returns
GetByOidLazy(DerObjectIdentifier)
Look up an X9ECParametersHolder for the curve with the given OID.
public static X9ECParametersHolder GetByOidLazy(DerObjectIdentifier oid)
Parameters
oidDerObjectIdentifierThe OID for the curve.
Returns
Remarks
Allows accessing the curve without necessarily triggering the creation of the full X9ECParameters.
GetName(DerObjectIdentifier)
Look up the name of the curve with the given OID.
public static string GetName(DerObjectIdentifier oid)
Parameters
oidDerObjectIdentifierThe OID for the curve.
Returns
GetOid(string)
Look up the OID of the curve with the given name.
public static DerObjectIdentifier GetOid(string name)
Parameters
namestringThe name of the curve.