PublicKey

Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.crypto.ecdsa
  • Platforms: .NET, .NET Standard 2.0, Island

Implements

 

constructor

 

constructor

 

PublicKey()

 

init()

constructor (Curve, Reference<Int>, Reference<Int>)

 

constructor(aCurve: Curve; aX: Reference<Int>; aY: Reference<Int>)

 

PublicKey(Curve aCurve, Reference<Int> aX, Reference<Int> aY)

 

init(_ aCurve: Curve, _ aX: Reference<Int>, _ aY: Reference<Int>)

Parameters:

  • aCurve:
  • aX:
  • aY:

constructor (PublicKey)

 

constructor(value: PublicKey)

 

PublicKey(PublicKey value)

 

init(_ value: PublicKey)

Parameters:

  • value:

Add

 

method Add(x1: Reference<Int>; y1: Reference<Int>; x2: Reference<Int>; y2: Reference<Int>): tuple of (x: Reference<Int>, y: Reference<Int>)

 

(Reference<Int> x, Reference<Int> y) Add(Reference<Int> x1, Reference<Int> y1, Reference<Int> x2, Reference<Int> y2)

 

func Add(_ x1: Reference<Int>, _ y1: Reference<Int>, _ x2: Reference<Int>, _ y2: Reference<Int>) -> (x:Reference<Int>, y:Reference<Int>)

 

func Add(x1 Reference<Int>, y1 Reference<Int>, x2 Reference<Int>, y2 Reference<Int>) (x Reference<Int>, y Reference<Int>)

Parameters:

  • x1:
  • y1:
  • x2:
  • y2:

Curve

 

var Curve: Curve;

 

Curve Curve

 

var Curve: Curve

 

Curve Curve

Double

 

method Double(x1: Reference<Int>; y1: Reference<Int>): tuple of (x: Reference<Int>, y: Reference<Int>)

 

(Reference<Int> x, Reference<Int> y) Double(Reference<Int> x1, Reference<Int> y1)

 

func Double(_ x1: Reference<Int>, _ y1: Reference<Int>) -> (x:Reference<Int>, y:Reference<Int>)

 

func Double(x1 Reference<Int>, y1 Reference<Int>) (x Reference<Int>, y Reference<Int>)

Parameters:

  • x1:
  • y1:

IsOnCurve

 

method IsOnCurve(x: Reference<Int>; y: Reference<Int>): bool

 

bool IsOnCurve(Reference<Int> x, Reference<Int> y)

 

func IsOnCurve(_ x: Reference<Int>, _ y: Reference<Int>) -> bool

 

func IsOnCurve(x Reference<Int>, y Reference<Int>) bool

Parameters:

  • x:
  • y:

Params

 

method Params: Reference<CurveParams>

 

Reference<CurveParams> Params()

 

func Params() -> Reference<CurveParams>

 

func Params() Reference<CurveParams>

ScalarBaseMult

 

method ScalarBaseMult(k: Slice<Byte>): tuple of (x: Reference<Int>, y: Reference<Int>)

 

(Reference<Int> x, Reference<Int> y) ScalarBaseMult(Slice<Byte> k)

 

func ScalarBaseMult(_ k: Slice<Byte>) -> (x:Reference<Int>, y:Reference<Int>)

 

func ScalarBaseMult(k Slice<Byte>) (x Reference<Int>, y Reference<Int>)

Parameters:

  • k:

ScalarMult

 

method ScalarMult(x1: Reference<Int>; y1: Reference<Int>; k: Slice<Byte>): tuple of (x: Reference<Int>, y: Reference<Int>)

 

(Reference<Int> x, Reference<Int> y) ScalarMult(Reference<Int> x1, Reference<Int> y1, Slice<Byte> k)

 

func ScalarMult(_ x1: Reference<Int>, _ y1: Reference<Int>, _ k: Slice<Byte>) -> (x:Reference<Int>, y:Reference<Int>)

 

func ScalarMult(x1 Reference<Int>, y1 Reference<Int>, k Slice<Byte>) (x Reference<Int>, y Reference<Int>)

Parameters:

  • x1:
  • y1:
  • k:

X

 

var X: Reference<Int>;

 

var X: Reference<Int>

Y

 

var Y: Reference<Int>;

 

var Y: Reference<Int>

 

Curve

 

var Curve: Curve;

 

Curve Curve

 

var Curve: Curve

 

Curve Curve

X

 

var X: Reference<Int>;

 

var X: Reference<Int>

Y

 

var Y: Reference<Int>;

 

var Y: Reference<Int>

 

constructor

 

constructor

 

PublicKey()

 

init()

constructor (Curve, Reference<Int>, Reference<Int>)

 

constructor(aCurve: Curve; aX: Reference<Int>; aY: Reference<Int>)

 

PublicKey(Curve aCurve, Reference<Int> aX, Reference<Int> aY)

 

init(_ aCurve: Curve, _ aX: Reference<Int>, _ aY: Reference<Int>)

Parameters:

  • aCurve:
  • aX:
  • aY:

constructor (PublicKey)

 

constructor(value: PublicKey)

 

PublicKey(PublicKey value)

 

init(_ value: PublicKey)

Parameters:

  • value:

Add

 

method Add(x1: Reference<Int>; y1: Reference<Int>; x2: Reference<Int>; y2: Reference<Int>): tuple of (x: Reference<Int>, y: Reference<Int>)

 

(Reference<Int> x, Reference<Int> y) Add(Reference<Int> x1, Reference<Int> y1, Reference<Int> x2, Reference<Int> y2)

 

func Add(_ x1: Reference<Int>, _ y1: Reference<Int>, _ x2: Reference<Int>, _ y2: Reference<Int>) -> (x:Reference<Int>, y:Reference<Int>)

 

func Add(x1 Reference<Int>, y1 Reference<Int>, x2 Reference<Int>, y2 Reference<Int>) (x Reference<Int>, y Reference<Int>)

Parameters:

  • x1:
  • y1:
  • x2:
  • y2:

Double

 

method Double(x1: Reference<Int>; y1: Reference<Int>): tuple of (x: Reference<Int>, y: Reference<Int>)

 

(Reference<Int> x, Reference<Int> y) Double(Reference<Int> x1, Reference<Int> y1)

 

func Double(_ x1: Reference<Int>, _ y1: Reference<Int>) -> (x:Reference<Int>, y:Reference<Int>)

 

func Double(x1 Reference<Int>, y1 Reference<Int>) (x Reference<Int>, y Reference<Int>)

Parameters:

  • x1:
  • y1:

IsOnCurve

 

method IsOnCurve(x: Reference<Int>; y: Reference<Int>): bool

 

bool IsOnCurve(Reference<Int> x, Reference<Int> y)

 

func IsOnCurve(_ x: Reference<Int>, _ y: Reference<Int>) -> bool

 

func IsOnCurve(x Reference<Int>, y Reference<Int>) bool

Parameters:

  • x:
  • y:

Params

 

method Params: Reference<CurveParams>

 

Reference<CurveParams> Params()

 

func Params() -> Reference<CurveParams>

 

func Params() Reference<CurveParams>

ScalarBaseMult

 

method ScalarBaseMult(k: Slice<Byte>): tuple of (x: Reference<Int>, y: Reference<Int>)

 

(Reference<Int> x, Reference<Int> y) ScalarBaseMult(Slice<Byte> k)

 

func ScalarBaseMult(_ k: Slice<Byte>) -> (x:Reference<Int>, y:Reference<Int>)

 

func ScalarBaseMult(k Slice<Byte>) (x Reference<Int>, y Reference<Int>)

Parameters:

  • k:

ScalarMult

 

method ScalarMult(x1: Reference<Int>; y1: Reference<Int>; k: Slice<Byte>): tuple of (x: Reference<Int>, y: Reference<Int>)

 

(Reference<Int> x, Reference<Int> y) ScalarMult(Reference<Int> x1, Reference<Int> y1, Slice<Byte> k)

 

func ScalarMult(_ x1: Reference<Int>, _ y1: Reference<Int>, _ k: Slice<Byte>) -> (x:Reference<Int>, y:Reference<Int>)

 

func ScalarMult(x1 Reference<Int>, y1 Reference<Int>, k Slice<Byte>) (x Reference<Int>, y Reference<Int>)

Parameters:

  • x1:
  • y1:
  • k: