Global

Location

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

 

ErrInvalidPublicKey

 

class var ErrInvalidPublicKey: error;

 

static error ErrInvalidPublicKey

 

static var ErrInvalidPublicKey: error

 

ErrInvalidPublicKey error

 

Shared FIELD ErrInvalidPublicKey() As error

GenerateKey

 

// .NET, .NET Standard 2.0
class method GenerateKey(priv: Memory<PrivateKey>; rand: Reader): error
// Island
class method GenerateKey(priv: Memory<PrivateKey>; rand: Reader): error

 

// .NET, .NET Standard 2.0
static error GenerateKey(Memory<PrivateKey> priv, Reader rand)
// Island
static error GenerateKey(Memory<PrivateKey> priv, Reader rand)

 

// .NET, .NET Standard 2.0
static func GenerateKey(_ priv: Memory<PrivateKey>, _ rand: Reader) -> error
// Island
static func GenerateKey(_ priv: Memory<PrivateKey>, _ rand: Reader) -> error

 

// .NET, .NET Standard 2.0
func GenerateKey(priv Memory<PrivateKey>, rand Reader) error
// Island
func GenerateKey(priv Memory<PrivateKey>, rand Reader) error

 

// .NET, .NET Standard 2.0
Shared Function GenerateKey(priv As Memory<PrivateKey>, rand As Reader) As error
// Island
Shared Function GenerateKey(priv As Memory<PrivateKey>, rand As Reader) As error

Parameters:

  • priv:
  • rand:

GenerateParameters

 

// .NET, .NET Standard 2.0
class method GenerateParameters(params: Memory<Parameters>; rand: Reader; sizes: ParameterSizes): error
// Island
class method GenerateParameters(params: Memory<Parameters>; rand: Reader; sizes: ParameterSizes): error

 

// .NET, .NET Standard 2.0
static error GenerateParameters(Memory<Parameters> params, Reader rand, ParameterSizes sizes)
// Island
static error GenerateParameters(Memory<Parameters> params, Reader rand, ParameterSizes sizes)

 

// .NET, .NET Standard 2.0
static func GenerateParameters(_ params: Memory<Parameters>, _ rand: Reader, _ sizes: ParameterSizes) -> error
// Island
static func GenerateParameters(_ params: Memory<Parameters>, _ rand: Reader, _ sizes: ParameterSizes) -> error

 

// .NET, .NET Standard 2.0
func GenerateParameters(params Memory<Parameters>, rand Reader, sizes ParameterSizes) error
// Island
func GenerateParameters(params Memory<Parameters>, rand Reader, sizes ParameterSizes) error

 

// .NET, .NET Standard 2.0
Shared Function GenerateParameters(params As Memory<Parameters>, rand As Reader, sizes As ParameterSizes) As error
// Island
Shared Function GenerateParameters(params As Memory<Parameters>, rand As Reader, sizes As ParameterSizes) As error

Parameters:

  • params:
  • rand:
  • sizes:

L1024N160

 

const L1024N160: ParameterSizes = 0;

 

const ParameterSizes L1024N160 = 0

 

static let L1024N160: ParameterSizes = 0

 

const L1024N160 ParameterSizes = 0

 

Dim L1024N160 As ParameterSizes = 0

L2048N224

 

const L2048N224: ParameterSizes = 1;

 

const ParameterSizes L2048N224 = 1

 

static let L2048N224: ParameterSizes = 1

 

const L2048N224 ParameterSizes = 1

 

Dim L2048N224 As ParameterSizes = 1

L2048N256

 

const L2048N256: ParameterSizes = 2;

 

const ParameterSizes L2048N256 = 2

 

static let L2048N256: ParameterSizes = 2

 

const L2048N256 ParameterSizes = 2

 

Dim L2048N256 As ParameterSizes = 2

L3072N256

 

const L3072N256: ParameterSizes = 3;

 

const ParameterSizes L3072N256 = 3

 

static let L3072N256: ParameterSizes = 3

 

const L3072N256 ParameterSizes = 3

 

Dim L3072N256 As ParameterSizes = 3

Sign

 

// .NET, .NET Standard 2.0
class method Sign(rand: Reader; priv: Memory<PrivateKey>; hash: Slice<Byte>): tuple of (r: Memory<Int>, s: Memory<Int>, err: error)
// Island
class method Sign(rand: Reader; priv: Memory<PrivateKey>; hash: Slice<Byte>): tuple of (r: Memory<Int>, s: Memory<Int>, err: error)

 

// .NET, .NET Standard 2.0
static (Memory<Int>r, Memory<Int>s, error err) Sign(Reader rand, Memory<PrivateKey> priv, Slice<Byte> hash)
// Island
static (Memory<Int>r, Memory<Int>s, error err) Sign(Reader rand, Memory<PrivateKey> priv, Slice<Byte> hash)

 

// .NET, .NET Standard 2.0
static func Sign(_ rand: Reader, _ priv: Memory<PrivateKey>, _ hash: Slice<Byte>) -> (Memory<Int>, Memory<Int>, error)
// Island
static func Sign(_ rand: Reader, _ priv: Memory<PrivateKey>, _ hash: Slice<Byte>) -> (Memory<Int>, Memory<Int>, error)

 

// .NET, .NET Standard 2.0
func Sign(rand Reader, priv Memory<PrivateKey>, hash Slice<Byte>) tuple of (|name=r| Memory<Int>, |name=s| Memory<Int>, |name=err| error)
// Island
func Sign(rand Reader, priv Memory<PrivateKey>, hash Slice<Byte>) tuple of (|name=r| Memory<Int>, |name=s| Memory<Int>, |name=err| error)

 

// .NET, .NET Standard 2.0
Shared Function Sign(rand As Reader, priv As Memory<PrivateKey>, hash As Slice<Byte>) As Tuple (Of Memory<Int>, Memory<Int>, error)
// Island
Shared Function Sign(rand As Reader, priv As Memory<PrivateKey>, hash As Slice<Byte>) As Tuple (Of Memory<Int>, Memory<Int>, error)

Parameters:

  • rand:
  • priv:
  • hash:

Verify

 

// .NET, .NET Standard 2.0
class method Verify(pub: Memory<PublicKey>; hash: Slice<Byte>; r: Memory<Int>; s: Memory<Int>): bool
// Island
class method Verify(pub: Memory<PublicKey>; hash: Slice<Byte>; r: Memory<Int>; s: Memory<Int>): bool

 

// .NET, .NET Standard 2.0
static bool Verify(Memory<PublicKey> pub, Slice<Byte> hash, Memory<Int> r, Memory<Int> s)
// Island
static bool Verify(Memory<PublicKey> pub, Slice<Byte> hash, Memory<Int> r, Memory<Int> s)

 

// .NET, .NET Standard 2.0
static func Verify(_ pub: Memory<PublicKey>, _ hash: Slice<Byte>, _ r: Memory<Int>, _ s: Memory<Int>) -> bool
// Island
static func Verify(_ pub: Memory<PublicKey>, _ hash: Slice<Byte>, _ r: Memory<Int>, _ s: Memory<Int>) -> bool

 

// .NET, .NET Standard 2.0
func Verify(pub Memory<PublicKey>, hash Slice<Byte>, r Memory<Int>, s Memory<Int>) bool
// Island
func Verify(pub Memory<PublicKey>, hash Slice<Byte>, r Memory<Int>, s Memory<Int>) bool

 

// .NET, .NET Standard 2.0
Shared Function Verify(pub As Memory<PublicKey>, hash As Slice<Byte>, r As Memory<Int>, s As Memory<Int>) As bool
// Island
Shared Function Verify(pub As Memory<PublicKey>, hash As Slice<Byte>, r As Memory<Int>, s As Memory<Int>) As bool

Parameters:

  • pub:
  • hash:
  • r:
  • s:

 

L1024N160

 

const L1024N160: ParameterSizes = 0;

 

const ParameterSizes L1024N160 = 0

 

static let L1024N160: ParameterSizes = 0

 

const L1024N160 ParameterSizes = 0

 

Dim L1024N160 As ParameterSizes = 0

L2048N224

 

const L2048N224: ParameterSizes = 1;

 

const ParameterSizes L2048N224 = 1

 

static let L2048N224: ParameterSizes = 1

 

const L2048N224 ParameterSizes = 1

 

Dim L2048N224 As ParameterSizes = 1

L2048N256

 

const L2048N256: ParameterSizes = 2;

 

const ParameterSizes L2048N256 = 2

 

static let L2048N256: ParameterSizes = 2

 

const L2048N256 ParameterSizes = 2

 

Dim L2048N256 As ParameterSizes = 2

L3072N256

 

const L3072N256: ParameterSizes = 3;

 

const ParameterSizes L3072N256 = 3

 

static let L3072N256: ParameterSizes = 3

 

const L3072N256 ParameterSizes = 3

 

Dim L3072N256 As ParameterSizes = 3

 

ErrInvalidPublicKey

 

class var ErrInvalidPublicKey: error;

 

static error ErrInvalidPublicKey

 

static var ErrInvalidPublicKey: error

 

ErrInvalidPublicKey error

 

Shared FIELD ErrInvalidPublicKey() As error

 

GenerateKey

 

// .NET, .NET Standard 2.0
class method GenerateKey(priv: Memory<PrivateKey>; rand: Reader): error
// Island
class method GenerateKey(priv: Memory<PrivateKey>; rand: Reader): error

 

// .NET, .NET Standard 2.0
static error GenerateKey(Memory<PrivateKey> priv, Reader rand)
// Island
static error GenerateKey(Memory<PrivateKey> priv, Reader rand)

 

// .NET, .NET Standard 2.0
static func GenerateKey(_ priv: Memory<PrivateKey>, _ rand: Reader) -> error
// Island
static func GenerateKey(_ priv: Memory<PrivateKey>, _ rand: Reader) -> error

 

// .NET, .NET Standard 2.0
func GenerateKey(priv Memory<PrivateKey>, rand Reader) error
// Island
func GenerateKey(priv Memory<PrivateKey>, rand Reader) error

 

// .NET, .NET Standard 2.0
Shared Function GenerateKey(priv As Memory<PrivateKey>, rand As Reader) As error
// Island
Shared Function GenerateKey(priv As Memory<PrivateKey>, rand As Reader) As error

Parameters:

  • priv:
  • rand:

GenerateParameters

 

// .NET, .NET Standard 2.0
class method GenerateParameters(params: Memory<Parameters>; rand: Reader; sizes: ParameterSizes): error
// Island
class method GenerateParameters(params: Memory<Parameters>; rand: Reader; sizes: ParameterSizes): error

 

// .NET, .NET Standard 2.0
static error GenerateParameters(Memory<Parameters> params, Reader rand, ParameterSizes sizes)
// Island
static error GenerateParameters(Memory<Parameters> params, Reader rand, ParameterSizes sizes)

 

// .NET, .NET Standard 2.0
static func GenerateParameters(_ params: Memory<Parameters>, _ rand: Reader, _ sizes: ParameterSizes) -> error
// Island
static func GenerateParameters(_ params: Memory<Parameters>, _ rand: Reader, _ sizes: ParameterSizes) -> error

 

// .NET, .NET Standard 2.0
func GenerateParameters(params Memory<Parameters>, rand Reader, sizes ParameterSizes) error
// Island
func GenerateParameters(params Memory<Parameters>, rand Reader, sizes ParameterSizes) error

 

// .NET, .NET Standard 2.0
Shared Function GenerateParameters(params As Memory<Parameters>, rand As Reader, sizes As ParameterSizes) As error
// Island
Shared Function GenerateParameters(params As Memory<Parameters>, rand As Reader, sizes As ParameterSizes) As error

Parameters:

  • params:
  • rand:
  • sizes:

Sign

 

// .NET, .NET Standard 2.0
class method Sign(rand: Reader; priv: Memory<PrivateKey>; hash: Slice<Byte>): tuple of (r: Memory<Int>, s: Memory<Int>, err: error)
// Island
class method Sign(rand: Reader; priv: Memory<PrivateKey>; hash: Slice<Byte>): tuple of (r: Memory<Int>, s: Memory<Int>, err: error)

 

// .NET, .NET Standard 2.0
static (Memory<Int>r, Memory<Int>s, error err) Sign(Reader rand, Memory<PrivateKey> priv, Slice<Byte> hash)
// Island
static (Memory<Int>r, Memory<Int>s, error err) Sign(Reader rand, Memory<PrivateKey> priv, Slice<Byte> hash)

 

// .NET, .NET Standard 2.0
static func Sign(_ rand: Reader, _ priv: Memory<PrivateKey>, _ hash: Slice<Byte>) -> (Memory<Int>, Memory<Int>, error)
// Island
static func Sign(_ rand: Reader, _ priv: Memory<PrivateKey>, _ hash: Slice<Byte>) -> (Memory<Int>, Memory<Int>, error)

 

// .NET, .NET Standard 2.0
func Sign(rand Reader, priv Memory<PrivateKey>, hash Slice<Byte>) tuple of (|name=r| Memory<Int>, |name=s| Memory<Int>, |name=err| error)
// Island
func Sign(rand Reader, priv Memory<PrivateKey>, hash Slice<Byte>) tuple of (|name=r| Memory<Int>, |name=s| Memory<Int>, |name=err| error)

 

// .NET, .NET Standard 2.0
Shared Function Sign(rand As Reader, priv As Memory<PrivateKey>, hash As Slice<Byte>) As Tuple (Of Memory<Int>, Memory<Int>, error)
// Island
Shared Function Sign(rand As Reader, priv As Memory<PrivateKey>, hash As Slice<Byte>) As Tuple (Of Memory<Int>, Memory<Int>, error)

Parameters:

  • rand:
  • priv:
  • hash:

Verify

 

// .NET, .NET Standard 2.0
class method Verify(pub: Memory<PublicKey>; hash: Slice<Byte>; r: Memory<Int>; s: Memory<Int>): bool
// Island
class method Verify(pub: Memory<PublicKey>; hash: Slice<Byte>; r: Memory<Int>; s: Memory<Int>): bool

 

// .NET, .NET Standard 2.0
static bool Verify(Memory<PublicKey> pub, Slice<Byte> hash, Memory<Int> r, Memory<Int> s)
// Island
static bool Verify(Memory<PublicKey> pub, Slice<Byte> hash, Memory<Int> r, Memory<Int> s)

 

// .NET, .NET Standard 2.0
static func Verify(_ pub: Memory<PublicKey>, _ hash: Slice<Byte>, _ r: Memory<Int>, _ s: Memory<Int>) -> bool
// Island
static func Verify(_ pub: Memory<PublicKey>, _ hash: Slice<Byte>, _ r: Memory<Int>, _ s: Memory<Int>) -> bool

 

// .NET, .NET Standard 2.0
func Verify(pub Memory<PublicKey>, hash Slice<Byte>, r Memory<Int>, s Memory<Int>) bool
// Island
func Verify(pub Memory<PublicKey>, hash Slice<Byte>, r Memory<Int>, s Memory<Int>) bool

 

// .NET, .NET Standard 2.0
Shared Function Verify(pub As Memory<PublicKey>, hash As Slice<Byte>, r As Memory<Int>, s As Memory<Int>) As bool
// Island
Shared Function Verify(pub As Memory<PublicKey>, hash As Slice<Byte>, r As Memory<Int>, s As Memory<Int>) As bool

Parameters:

  • pub:
  • hash:
  • r:
  • s: