PrivateKey

Overview

Location

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


 

constructor

 

constructor

 

PrivateKey()

 

init()

 

Sub New()

 

// .NET, .NET Standard 2.0
constructor(aPublicKey: PublicKey; aD: Memory<Int>; aPrimes: Slice<Memory<Int>>; aPrecomputed: PrecomputedValues)
// Island
constructor(aPublicKey: PublicKey; aD: Memory<Int>; aPrimes: Slice<Memory<Int>>; aPrecomputed: PrecomputedValues)

 

// .NET, .NET Standard 2.0
PrivateKey(PublicKey aPublicKey, Memory<Int> aD, Slice<Memory<Int>> aPrimes, PrecomputedValues aPrecomputed)
// Island
PrivateKey(PublicKey aPublicKey, Memory<Int> aD, Slice<Memory<Int>> aPrimes, PrecomputedValues aPrecomputed)

 

// .NET, .NET Standard 2.0
init(_ aPublicKey: PublicKey, _ aD: Memory<Int>, _ aPrimes: Slice<Memory<Int>>, _ aPrecomputed: PrecomputedValues)
// Island
init(_ aPublicKey: PublicKey, _ aD: Memory<Int>, _ aPrimes: Slice<Memory<Int>>, _ aPrecomputed: PrecomputedValues)

 

// .NET, .NET Standard 2.0
Sub New(aPublicKey As PublicKey, aD As Memory<Int>, aPrimes As Slice<Memory<Int>>, aPrecomputed As PrecomputedValues)
// Island
Sub New(aPublicKey As PublicKey, aD As Memory<Int>, aPrimes As Slice<Memory<Int>>, aPrecomputed As PrecomputedValues)

Parameters:

  • aPublicKey:
  • aD:
  • aPrimes:
  • aPrecomputed:

constructor (PrivateKey)

 

constructor(value: PrivateKey)

 

PrivateKey(PrivateKey value)

 

init(_ value: PrivateKey)

 

Sub New(value As PrivateKey)

Parameters:

  • value:

D

 

// .NET, .NET Standard 2.0
var D: Memory<Int>;
// Island
var D: Memory<Int>;

 

// .NET, .NET Standard 2.0
Memory<Int> D
// Island
Memory<Int> D

 

// .NET, .NET Standard 2.0
var D: Memory<Int>
// Island
var D: Memory<Int>

 

// .NET, .NET Standard 2.0
D Memory<Int>
// Island
D Memory<Int>

 

// .NET, .NET Standard 2.0
FIELD D() As Memory<Int>
// Island
FIELD D() As Memory<Int>

Decrypt (Reader, Slice<Byte>, DecrypterOpts): tuple of (plaintext: Slice<Byte>, err: error) Island

 

method Decrypt(rand: Reader; ciphertext: Slice<Byte>; opts: DecrypterOpts): tuple of (plaintext: Slice<Byte>, err: error)

 

(Slice<Byte>plaintext, error err) Decrypt(Reader rand, Slice<Byte> ciphertext, DecrypterOpts opts)

 

func Decrypt(_ rand: Reader, _ ciphertext: Slice<Byte>, _ opts: DecrypterOpts) -> (Slice<Byte>, error)

 

func Decrypt(rand Reader, ciphertext Slice<Byte>, opts DecrypterOpts) tuple of (|name=plaintext| Slice<Byte>, |name=err| error)

 

Function Decrypt(rand As Reader, ciphertext As Slice<Byte>, opts As DecrypterOpts) As Tuple (Of Slice<Byte>, error)

Parameters:

  • rand:
  • ciphertext:
  • opts:

Decrypt (Reader, Slice<Byte>, DecrypterOpts): tuple of (plaintext: Slice<Byte>, err: error)

 

method Decrypt(rand: Reader; ciphertext: Slice<Byte>; opts: DecrypterOpts): tuple of (plaintext: Slice<Byte>, err: error)

 

(Slice<Byte>plaintext, error err) Decrypt(Reader rand, Slice<Byte> ciphertext, DecrypterOpts opts)

 

func Decrypt(_ rand: Reader, _ ciphertext: Slice<Byte>, _ opts: DecrypterOpts) -> (Slice<Byte>, error)

 

func Decrypt(rand Reader, ciphertext Slice<Byte>, opts DecrypterOpts) tuple of (|name=plaintext| Slice<Byte>, |name=err| error)

 

Function Decrypt(rand As Reader, ciphertext As Slice<Byte>, opts As DecrypterOpts) As Tuple (Of Slice<Byte>, error)

Parameters:

  • rand:
  • ciphertext:
  • opts:

E

 

property E: int read write;

 

int E { get; set; }

 

var E: int { get{} set{} }

 

E int

 

Property E() As int

N

 

// .NET, .NET Standard 2.0
property N: Memory<Int> read write;
// Island
property N: Memory<Int> read write;

 

// .NET, .NET Standard 2.0
Memory<Int> N { get; set; }
// Island
Memory<Int> N { get; set; }

 

// .NET, .NET Standard 2.0
var N: Memory<Int> { get{} set{} }
// Island
var N: Memory<Int> { get{} set{} }

 

// .NET, .NET Standard 2.0
N Memory<Int>
// Island
N Memory<Int>

 

// .NET, .NET Standard 2.0
Property N() As Memory<Int>
// Island
Property N() As Memory<Int>

Precompute

 

method Precompute

 

void Precompute()

 

func Precompute()

 

// .NET, .NET Standard 2.0
func Precompute() 
// Island
func Precompute() void

 

Sub Precompute()

Precomputed

 

var Precomputed: PrecomputedValues;

 

PrecomputedValues Precomputed

 

var Precomputed: PrecomputedValues

 

Precomputed PrecomputedValues

 

FIELD Precomputed() As PrecomputedValues

Primes

 

// .NET, .NET Standard 2.0
var Primes: Slice<Memory<Int>>;
// Island
var Primes: Slice<Memory<Int>>;

 

// .NET, .NET Standard 2.0
Slice<Memory<Int>> Primes
// Island
Slice<Memory<Int>> Primes

 

// .NET, .NET Standard 2.0
var Primes: Slice<Memory<Int>>
// Island
var Primes: Slice<Memory<Int>>

 

// .NET, .NET Standard 2.0
Primes Slice<Memory<Int>>
// Island
Primes Slice<Memory<Int>>

 

// .NET, .NET Standard 2.0
FIELD Primes() As Slice<Memory<Int>>
// Island
FIELD Primes() As Slice<Memory<Int>>

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

Sign (Reader, Slice<Byte>, SignerOpts): tuple of (Slice<Byte>, error) Island

 

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) -> (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:

Sign (Reader, Slice<Byte>, SignerOpts): tuple of (Slice<Byte>, error)

 

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) -> (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:

Size

 

method Size: int

 

int Size()

 

func Size() -> int

 

func Size() int

 

Function Size() As int

Validate

 

method Validate: error

 

error Validate()

 

func Validate() -> error

 

func Validate() error

 

Function Validate() As error

 

D

 

// .NET, .NET Standard 2.0
var D: Memory<Int>;
// Island
var D: Memory<Int>;

 

// .NET, .NET Standard 2.0
Memory<Int> D
// Island
Memory<Int> D

 

// .NET, .NET Standard 2.0
var D: Memory<Int>
// Island
var D: Memory<Int>

 

// .NET, .NET Standard 2.0
D Memory<Int>
// Island
D Memory<Int>

 

// .NET, .NET Standard 2.0
FIELD D() As Memory<Int>
// Island
FIELD D() As Memory<Int>

Precomputed

 

var Precomputed: PrecomputedValues;

 

PrecomputedValues Precomputed

 

var Precomputed: PrecomputedValues

 

Precomputed PrecomputedValues

 

FIELD Precomputed() As PrecomputedValues

Primes

 

// .NET, .NET Standard 2.0
var Primes: Slice<Memory<Int>>;
// Island
var Primes: Slice<Memory<Int>>;

 

// .NET, .NET Standard 2.0
Slice<Memory<Int>> Primes
// Island
Slice<Memory<Int>> Primes

 

// .NET, .NET Standard 2.0
var Primes: Slice<Memory<Int>>
// Island
var Primes: Slice<Memory<Int>>

 

// .NET, .NET Standard 2.0
Primes Slice<Memory<Int>>
// Island
Primes Slice<Memory<Int>>

 

// .NET, .NET Standard 2.0
FIELD Primes() As Slice<Memory<Int>>
// Island
FIELD Primes() As Slice<Memory<Int>>

PublicKey

 

var PublicKey: PublicKey;

 

PublicKey PublicKey

 

var PublicKey: PublicKey

 

PublicKey PublicKey

 

FIELD PublicKey() As PublicKey

 

E

 

property E: int read write;

 

int E { get; set; }

 

var E: int { get{} set{} }

 

E int

 

Property E() As int

N

 

// .NET, .NET Standard 2.0
property N: Memory<Int> read write;
// Island
property N: Memory<Int> read write;

 

// .NET, .NET Standard 2.0
Memory<Int> N { get; set; }
// Island
Memory<Int> N { get; set; }

 

// .NET, .NET Standard 2.0
var N: Memory<Int> { get{} set{} }
// Island
var N: Memory<Int> { get{} set{} }

 

// .NET, .NET Standard 2.0
N Memory<Int>
// Island
N Memory<Int>

 

// .NET, .NET Standard 2.0
Property N() As Memory<Int>
// Island
Property N() As Memory<Int>

 

constructor

 

constructor

 

PrivateKey()

 

init()

 

Sub New()

 

// .NET, .NET Standard 2.0
constructor(aPublicKey: PublicKey; aD: Memory<Int>; aPrimes: Slice<Memory<Int>>; aPrecomputed: PrecomputedValues)
// Island
constructor(aPublicKey: PublicKey; aD: Memory<Int>; aPrimes: Slice<Memory<Int>>; aPrecomputed: PrecomputedValues)

 

// .NET, .NET Standard 2.0
PrivateKey(PublicKey aPublicKey, Memory<Int> aD, Slice<Memory<Int>> aPrimes, PrecomputedValues aPrecomputed)
// Island
PrivateKey(PublicKey aPublicKey, Memory<Int> aD, Slice<Memory<Int>> aPrimes, PrecomputedValues aPrecomputed)

 

// .NET, .NET Standard 2.0
init(_ aPublicKey: PublicKey, _ aD: Memory<Int>, _ aPrimes: Slice<Memory<Int>>, _ aPrecomputed: PrecomputedValues)
// Island
init(_ aPublicKey: PublicKey, _ aD: Memory<Int>, _ aPrimes: Slice<Memory<Int>>, _ aPrecomputed: PrecomputedValues)

 

// .NET, .NET Standard 2.0
Sub New(aPublicKey As PublicKey, aD As Memory<Int>, aPrimes As Slice<Memory<Int>>, aPrecomputed As PrecomputedValues)
// Island
Sub New(aPublicKey As PublicKey, aD As Memory<Int>, aPrimes As Slice<Memory<Int>>, aPrecomputed As PrecomputedValues)

Parameters:

  • aPublicKey:
  • aD:
  • aPrimes:
  • aPrecomputed:

constructor (PrivateKey)

 

constructor(value: PrivateKey)

 

PrivateKey(PrivateKey value)

 

init(_ value: PrivateKey)

 

Sub New(value As PrivateKey)

Parameters:

  • value:

Decrypt (Reader, Slice<Byte>, DecrypterOpts): tuple of (plaintext: Slice<Byte>, err: error) Island

 

method Decrypt(rand: Reader; ciphertext: Slice<Byte>; opts: DecrypterOpts): tuple of (plaintext: Slice<Byte>, err: error)

 

(Slice<Byte>plaintext, error err) Decrypt(Reader rand, Slice<Byte> ciphertext, DecrypterOpts opts)

 

func Decrypt(_ rand: Reader, _ ciphertext: Slice<Byte>, _ opts: DecrypterOpts) -> (Slice<Byte>, error)

 

func Decrypt(rand Reader, ciphertext Slice<Byte>, opts DecrypterOpts) tuple of (|name=plaintext| Slice<Byte>, |name=err| error)

 

Function Decrypt(rand As Reader, ciphertext As Slice<Byte>, opts As DecrypterOpts) As Tuple (Of Slice<Byte>, error)

Parameters:

  • rand:
  • ciphertext:
  • opts:

Public Island

 

method Public: PublicKey

 

PublicKey Public()

 

func Public() -> PublicKey

 

func Public() PublicKey

 

Function Public() As PublicKey

Sign (Reader, Slice<Byte>, SignerOpts): tuple of (Slice<Byte>, error) Island

 

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) -> (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:

Size

 

method Size: int

 

int Size()

 

func Size() -> int

 

func Size() int

 

Function Size() As int