PrivateKey
Overview
Location
-
Reference:
- Go.dll .NET, .NET Standard 2.0
- Go.fx Island
- Namespace: go.crypto.ecdsa
- Platforms: .NET, .NET Standard 2.0, Island
constructor
constructor
PrivateKey()
init()
Sub New()
constructor(aPublicKey: PublicKey; aD: Memory<Int>)
PrivateKey(PublicKey aPublicKey, Memory<Int> aD)
init(_ aPublicKey: PublicKey, _ aD: Memory<Int>)
Sub New(aPublicKey As PublicKey, aD As Memory<Int>)
Parameters:
- aPublicKey:
- aD:
constructor (PrivateKey)
constructor(value: PrivateKey)
PrivateKey(PrivateKey value)
init(_ value: PrivateKey)
Sub New(value As PrivateKey)
Parameters:
- value:
Add
method Add(x1: Memory<Int>; y1: Memory<Int>; x2: Memory<Int>; y2: Memory<Int>): tuple of (x: Memory<Int>, y: Memory<Int>)
(Memory<Int>x, Memory<Int>y) Add(Memory<Int> x1, Memory<Int> y1, Memory<Int> x2, Memory<Int> y2)
func Add(_ x1: Memory<Int>, _ y1: Memory<Int>, _ x2: Memory<Int>, _ y2: Memory<Int>) -> tuple of (Memory<Int>, Memory<Int>)
func Add(x1 Memory<Int>, y1 Memory<Int>, x2 Memory<Int>, y2 Memory<Int>) tuple of (|name=x| Memory<Int>, |name=y| Memory<Int>)
Function Add(x1 As Memory<Int>, y1 As Memory<Int>, x2 As Memory<Int>, y2 As Memory<Int>) As Tuple (Of Memory<Int>, Memory<Int>)
Parameters:
- x1:
- y1:
- x2:
- y2:
Curve
property Curve: Curve read write;
Curve Curve { get; set; }
var Curve: Curve { get{} set{} }
Curve Curve
Property Curve() As Curve
D
var D: Memory<Int>;
Memory<Int> D
var D: Memory<Int>
D Memory<Int>
FIELD D() As Memory<Int>
Double
method Double(x1: Memory<Int>; y1: Memory<Int>): tuple of (x: Memory<Int>, y: Memory<Int>)
(Memory<Int>x, Memory<Int>y) Double(Memory<Int> x1, Memory<Int> y1)
func Double(_ x1: Memory<Int>, _ y1: Memory<Int>) -> tuple of (Memory<Int>, Memory<Int>)
func Double(x1 Memory<Int>, y1 Memory<Int>) tuple of (|name=x| Memory<Int>, |name=y| Memory<Int>)
Function Double(x1 As Memory<Int>, y1 As Memory<Int>) As Tuple (Of Memory<Int>, Memory<Int>)
Parameters:
- x1:
- y1:
IsOnCurve
method IsOnCurve(x: Memory<Int>; y: Memory<Int>): bool
bool IsOnCurve(Memory<Int> x, Memory<Int> y)
func IsOnCurve(_ x: Memory<Int>, _ y: Memory<Int>) -> bool
func IsOnCurve(x Memory<Int>, y Memory<Int>) bool
Function IsOnCurve(x As Memory<Int>, y As Memory<Int>) As bool
Parameters:
- x:
- y:
Params
method Params: Memory<CurveParams>
Memory<CurveParams> Params()
func Params() -> Memory<CurveParams>
func Params() Memory<CurveParams>
Function Params() As Memory<CurveParams>
Public Island
method Public: PublicKey
PublicKey Public()
func Public() -> PublicKey
func Public() PublicKey
Function Public() As PublicKey
PublicKey
var PublicKey: PublicKey;
PublicKey PublicKey
var PublicKey: PublicKey
PublicKey PublicKey
FIELD PublicKey() As PublicKey
ScalarBaseMult
method ScalarBaseMult(k: Slice<Byte>): tuple of (x: Memory<Int>, y: Memory<Int>)
(Memory<Int>x, Memory<Int>y) ScalarBaseMult(Slice<Byte> k)
func ScalarBaseMult(_ k: Slice<Byte>) -> tuple of (Memory<Int>, Memory<Int>)
func ScalarBaseMult(k Slice<Byte>) tuple of (|name=x| Memory<Int>, |name=y| Memory<Int>)
Function ScalarBaseMult(k As Slice<Byte>) As Tuple (Of Memory<Int>, Memory<Int>)
Parameters:
- k:
ScalarMult
method ScalarMult(x1: Memory<Int>; y1: Memory<Int>; k: Slice<Byte>): tuple of (x: Memory<Int>, y: Memory<Int>)
(Memory<Int>x, Memory<Int>y) ScalarMult(Memory<Int> x1, Memory<Int> y1, Slice<Byte> k)
func ScalarMult(_ x1: Memory<Int>, _ y1: Memory<Int>, _ k: Slice<Byte>) -> tuple of (Memory<Int>, Memory<Int>)
func ScalarMult(x1 Memory<Int>, y1 Memory<Int>, k Slice<Byte>) tuple of (|name=x| Memory<Int>, |name=y| Memory<Int>)
Function ScalarMult(x1 As Memory<Int>, y1 As Memory<Int>, k As Slice<Byte>) As Tuple (Of Memory<Int>, Memory<Int>)
Parameters:
- x1:
- y1:
- k:
method Sign(rand: Reader; digest: Slice<Byte>; opts: SignerOpts): tuple of (Slice<Byte>, error)
(Slice<Byte>, error) Sign(Reader rand, Slice<Byte> digest, SignerOpts opts)
func Sign(_ rand: Reader, _ digest: Slice<Byte>, _ opts: SignerOpts) -> tuple of (Slice<Byte>, error)
func Sign(rand Reader, digest Slice<Byte>, opts SignerOpts) tuple of (Slice<Byte>, error)
Function Sign(rand As Reader, digest As Slice<Byte>, opts As SignerOpts) As Tuple (Of Slice<Byte>, error)
Parameters:
- rand:
- digest:
- opts:
method Sign(rand: Reader; digest: Slice<Byte>; opts: SignerOpts): tuple of (Slice<Byte>, error)
(Slice<Byte>, error) Sign(Reader rand, Slice<Byte> digest, SignerOpts opts)
func Sign(_ rand: Reader, _ digest: Slice<Byte>, _ opts: SignerOpts) -> tuple of (Slice<Byte>, error)
func Sign(rand Reader, digest Slice<Byte>, opts SignerOpts) tuple of (Slice<Byte>, error)
Function Sign(rand As Reader, digest As Slice<Byte>, opts As SignerOpts) As Tuple (Of Slice<Byte>, error)
Parameters:
- rand:
- digest:
- opts:
X
property X: Memory<Int> read write;
Memory<Int> X { get; set; }
var X: Memory<Int> { get{} set{} }
X Memory<Int>
Property X() As Memory<Int>
Y
property Y: Memory<Int> read write;
Memory<Int> Y { get; set; }
var Y: Memory<Int> { get{} set{} }
Y Memory<Int>
Property Y() As Memory<Int>
D
var D: Memory<Int>;
Memory<Int> D
var D: Memory<Int>
D Memory<Int>
FIELD D() As Memory<Int>
PublicKey
var PublicKey: PublicKey;
PublicKey PublicKey
var PublicKey: PublicKey
PublicKey PublicKey
FIELD PublicKey() As PublicKey
Curve
property Curve: Curve read write;
Curve Curve { get; set; }
var Curve: Curve { get{} set{} }
Curve Curve
Property Curve() As Curve
X
property X: Memory<Int> read write;
Memory<Int> X { get; set; }
var X: Memory<Int> { get{} set{} }
X Memory<Int>
Property X() As Memory<Int>
Y
property Y: Memory<Int> read write;
Memory<Int> Y { get; set; }
var Y: Memory<Int> { get{} set{} }
Y Memory<Int>
Property Y() As Memory<Int>
constructor
constructor
PrivateKey()
init()
Sub New()
constructor(aPublicKey: PublicKey; aD: Memory<Int>)
PrivateKey(PublicKey aPublicKey, Memory<Int> aD)
init(_ aPublicKey: PublicKey, _ aD: Memory<Int>)
Sub New(aPublicKey As PublicKey, aD As Memory<Int>)
Parameters:
- aPublicKey:
- aD:
constructor (PrivateKey)
constructor(value: PrivateKey)
PrivateKey(PrivateKey value)
init(_ value: PrivateKey)
Sub New(value As PrivateKey)
Parameters:
- value:
Add
method Add(x1: Memory<Int>; y1: Memory<Int>; x2: Memory<Int>; y2: Memory<Int>): tuple of (x: Memory<Int>, y: Memory<Int>)
(Memory<Int>x, Memory<Int>y) Add(Memory<Int> x1, Memory<Int> y1, Memory<Int> x2, Memory<Int> y2)
func Add(_ x1: Memory<Int>, _ y1: Memory<Int>, _ x2: Memory<Int>, _ y2: Memory<Int>) -> tuple of (Memory<Int>, Memory<Int>)
func Add(x1 Memory<Int>, y1 Memory<Int>, x2 Memory<Int>, y2 Memory<Int>) tuple of (|name=x| Memory<Int>, |name=y| Memory<Int>)
Function Add(x1 As Memory<Int>, y1 As Memory<Int>, x2 As Memory<Int>, y2 As Memory<Int>) As Tuple (Of Memory<Int>, Memory<Int>)
Parameters:
- x1:
- y1:
- x2:
- y2:
Double
method Double(x1: Memory<Int>; y1: Memory<Int>): tuple of (x: Memory<Int>, y: Memory<Int>)
(Memory<Int>x, Memory<Int>y) Double(Memory<Int> x1, Memory<Int> y1)
func Double(_ x1: Memory<Int>, _ y1: Memory<Int>) -> tuple of (Memory<Int>, Memory<Int>)
func Double(x1 Memory<Int>, y1 Memory<Int>) tuple of (|name=x| Memory<Int>, |name=y| Memory<Int>)
Function Double(x1 As Memory<Int>, y1 As Memory<Int>) As Tuple (Of Memory<Int>, Memory<Int>)
Parameters:
- x1:
- y1:
IsOnCurve
method IsOnCurve(x: Memory<Int>; y: Memory<Int>): bool
bool IsOnCurve(Memory<Int> x, Memory<Int> y)
func IsOnCurve(_ x: Memory<Int>, _ y: Memory<Int>) -> bool
func IsOnCurve(x Memory<Int>, y Memory<Int>) bool
Function IsOnCurve(x As Memory<Int>, y As Memory<Int>) As bool
Parameters:
- x:
- y:
Params
method Params: Memory<CurveParams>
Memory<CurveParams> Params()
func Params() -> Memory<CurveParams>
func Params() Memory<CurveParams>
Function Params() As Memory<CurveParams>
Public Island
method Public: PublicKey
PublicKey Public()
func Public() -> PublicKey
func Public() PublicKey
Function Public() As PublicKey
ScalarBaseMult
method ScalarBaseMult(k: Slice<Byte>): tuple of (x: Memory<Int>, y: Memory<Int>)
(Memory<Int>x, Memory<Int>y) ScalarBaseMult(Slice<Byte> k)
func ScalarBaseMult(_ k: Slice<Byte>) -> tuple of (Memory<Int>, Memory<Int>)
func ScalarBaseMult(k Slice<Byte>) tuple of (|name=x| Memory<Int>, |name=y| Memory<Int>)
Function ScalarBaseMult(k As Slice<Byte>) As Tuple (Of Memory<Int>, Memory<Int>)
Parameters:
- k:
ScalarMult
method ScalarMult(x1: Memory<Int>; y1: Memory<Int>; k: Slice<Byte>): tuple of (x: Memory<Int>, y: Memory<Int>)
(Memory<Int>x, Memory<Int>y) ScalarMult(Memory<Int> x1, Memory<Int> y1, Slice<Byte> k)
func ScalarMult(_ x1: Memory<Int>, _ y1: Memory<Int>, _ k: Slice<Byte>) -> tuple of (Memory<Int>, Memory<Int>)
func ScalarMult(x1 Memory<Int>, y1 Memory<Int>, k Slice<Byte>) tuple of (|name=x| Memory<Int>, |name=y| Memory<Int>)
Function ScalarMult(x1 As Memory<Int>, y1 As Memory<Int>, k As Slice<Byte>) As Tuple (Of Memory<Int>, Memory<Int>)
Parameters:
- x1:
- y1:
- k:
method Sign(rand: Reader; digest: Slice<Byte>; opts: SignerOpts): tuple of (Slice<Byte>, error)
(Slice<Byte>, error) Sign(Reader rand, Slice<Byte> digest, SignerOpts opts)
func Sign(_ rand: Reader, _ digest: Slice<Byte>, _ opts: SignerOpts) -> tuple of (Slice<Byte>, error)
func Sign(rand Reader, digest Slice<Byte>, opts SignerOpts) tuple of (Slice<Byte>, error)
Function Sign(rand As Reader, digest As Slice<Byte>, opts As SignerOpts) As Tuple (Of Slice<Byte>, error)
Parameters:
- rand:
- digest:
- opts: