Global

Location

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

Methods


GenerateKey

 

class method GenerateKey(curve: Curve; rand: Reader): tuple of (priv: Slice<Byte>, x: Reference<Int>, y: Reference<Int>, err: error)

 

static (Slice<Byte> priv, Reference<Int> x, Reference<Int> y, error err) GenerateKey(Curve curve, Reader rand)

 

static func GenerateKey(_ curve: Curve, _ rand: Reader) -> (priv:Slice<Byte>, x:Reference<Int>, y:Reference<Int>, err:error)

 

func GenerateKey(curve Curve, rand Reader) (priv Slice<Byte>, x Reference<Int>, y Reference<Int>, err error)

 

Shared Function GenerateKey(curve As Curve, rand As Reader) As Tuple (Of priv:=Slice<Byte>, x:=Reference<Int>, y:=Reference<Int>, err:=error)

Parameters:

  • curve:
  • rand:

Marshal

 

class method Marshal(curve: Curve; x: Reference<Int>; y: Reference<Int>): Slice<Byte>

 

static Slice<Byte> Marshal(Curve curve, Reference<Int> x, Reference<Int> y)

 

static func Marshal(_ curve: Curve, _ x: Reference<Int>, _ y: Reference<Int>) -> Slice<Byte>

 

func Marshal(curve Curve, x Reference<Int>, y Reference<Int>) Slice<Byte>

 

Shared Function Marshal(curve As Curve, x As Reference<Int>, y As Reference<Int>) As Slice<Byte>

Parameters:

  • curve:
  • x:
  • y:

P224

 

class method P224: Curve

 

static Curve P224()

 

static func P224() -> Curve

 

func P224() Curve

 

Shared Function P224() As Curve

P256

 

class method P256: Curve

 

static Curve P256()

 

static func P256() -> Curve

 

func P256() Curve

 

Shared Function P256() As Curve

P384

 

class method P384: Curve

 

static Curve P384()

 

static func P384() -> Curve

 

func P384() Curve

 

Shared Function P384() As Curve

P521

 

class method P521: Curve

 

static Curve P521()

 

static func P521() -> Curve

 

func P521() Curve

 

Shared Function P521() As Curve

Unmarshal

 

class method Unmarshal(curve: Curve; data: Slice<Byte>): tuple of (x: Reference<Int>, y: Reference<Int>)

 

static (Reference<Int> x, Reference<Int> y) Unmarshal(Curve curve, Slice<Byte> data)

 

static func Unmarshal(_ curve: Curve, _ data: Slice<Byte>) -> (x:Reference<Int>, y:Reference<Int>)

 

func Unmarshal(curve Curve, data Slice<Byte>) (x Reference<Int>, y Reference<Int>)

 

Shared Function Unmarshal(curve As Curve, data As Slice<Byte>) As Tuple (Of x:=Reference<Int>, y:=Reference<Int>)

Parameters:

  • curve:
  • data: