Table of Contents

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

IEnumerable<string>

Methods

GetByName(string)

Look up the X9ECParameters for the curve with the given name.

public static X9ECParameters GetByName(string name)

Parameters

name string

The name of the curve.

Returns

X9ECParameters

GetByNameLazy(string)

Look up an X9ECParametersHolder for the curve with the given name.

public static X9ECParametersHolder GetByNameLazy(string name)

Parameters

name string

The name of the curve.

Returns

X9ECParametersHolder

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

oid DerObjectIdentifier

The OID for the curve.

Returns

X9ECParameters

GetByOidLazy(DerObjectIdentifier)

Look up an X9ECParametersHolder for the curve with the given OID.

public static X9ECParametersHolder GetByOidLazy(DerObjectIdentifier oid)

Parameters

oid DerObjectIdentifier

The OID for the curve.

Returns

X9ECParametersHolder

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

oid DerObjectIdentifier

The OID for the curve.

Returns

string

GetOid(string)

Look up the OID of the curve with the given name.

public static DerObjectIdentifier GetOid(string name)

Parameters

name string

The name of the curve.

Returns

DerObjectIdentifier