public static GetOid ( short curvesize, bool twisted ) : DerObjectIdentifier | ||
curvesize | short | |
twisted | bool | |
Результат | DerObjectIdentifier |
public static DerObjectIdentifier GetOid(short curvesize, bool twisted) { return(TeleTrusTNamedCurves.GetOid(string.Concat(new object[] { "brainpoolP", curvesize, twisted ? "t" : "r", "1" }))); }
public static X9ECParameters GetByName(string name) { DerObjectIdentifier oid = TeleTrusTNamedCurves.GetOid(name); if (oid != null) { return(TeleTrusTNamedCurves.GetByOid(oid)); } return(null); }