/** * return the X9ECParameters object for the named curve represented by * the passed in object identifier. Null if the curve isn't present. * * @param oid an object identifier representing a named curve, if present. */ public static X9ECParameters GetByOid( DerObjectIdentifier oid) { X9ECParametersHolder holder = (X9ECParametersHolder)curves[oid]; return(holder == null ? null : holder.Parameters); }
private static void DefineCurve( string name, DerObjectIdentifier oid, X9ECParametersHolder holder) { objIds.Add(name, oid); names.Add(oid, name); curves.Add(oid, holder); }
private static void DefineCurve( string name, DerObjectIdentifier oid, X9ECParametersHolder holder) { objIds.Add(Platform.ToUpperInvariant(name), oid); names.Add(oid, name); curves.Add(oid, holder); }
private static void DefineCurve(string name, DerObjectIdentifier oid, X9ECParametersHolder holder) { nameToCurve.Add(name, holder); nameToOid.Add(name, oid); oidToName.Add(oid, name); oidToCurve.Add(oid, holder); }
private static void DefineCurve(string name, X9ECParametersHolder holder) { nameToCurve.Add(name, holder); }