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

Implements

 

constructor

 

constructor

 

PrivateKey()

 

init()

 

Sub New()

constructor (PrivateKey) .NET, .NET Standard 2.0

 

constructor(value: PrivateKey)

 

PrivateKey(PrivateKey value)

 

init(_ value: PrivateKey)

 

Sub New(value As PrivateKey)

Parameters:

  • value:

 

constructor(aPublicKey: PublicKey; aD: Reference<Int>; aPrimes: Slice<Reference<Int>>; aPrecomputed: PrecomputedValues)

 

PrivateKey(PublicKey aPublicKey, Reference<Int> aD, Slice<Reference<Int>> aPrimes, PrecomputedValues aPrecomputed)

 

init(_ aPublicKey: PublicKey, _ aD: Reference<Int>, _ aPrimes: Slice<Reference<Int>>, _ aPrecomputed: PrecomputedValues)

 

Sub New(aPublicKey As PublicKey, aD As Reference<Int>, aPrimes As Slice<Reference<Int>>, aPrecomputed As PrecomputedValues)

Parameters:

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

constructor (PrivateKey) Island

 

constructor(value: PrivateKey)

 

PrivateKey(PrivateKey value)

 

init(_ value: PrivateKey)

 

Sub New(value As PrivateKey)

Parameters:

  • value:

D

 

var D: Reference<Int>;

 

Reference<Int> D

 

var D: Reference<Int>

 

D Reference<Int>

 

FIELD D() As Reference<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) (plaintext Slice<Byte>, 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) (plaintext Slice<Byte>, 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

 

property N: Reference<Int> read write;

 

Reference<Int> N { get; set; }

 

var N: Reference<Int> { get{} set{} }

 

N Reference<Int>

 

Property N() As Reference<Int>

Precompute

 

method Precompute

 

void Precompute()

 

func Precompute()

 

func Precompute()

 

Sub Precompute()

Precomputed

 

var Precomputed: PrecomputedValues;

 

PrecomputedValues Precomputed

 

var Precomputed: PrecomputedValues

 

Precomputed PrecomputedValues

 

FIELD Precomputed() As PrecomputedValues

Primes

 

var Primes: Slice<Reference<Int>>;

 

Slice<Reference<Int>> Primes

 

var Primes: Slice<Reference<Int>>

 

Primes Slice<Reference<Int>>

 

FIELD Primes() As Slice<Reference<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) (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) (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

 

var D: Reference<Int>;

 

Reference<Int> D

 

var D: Reference<Int>

 

D Reference<Int>

 

FIELD D() As Reference<Int>

Precomputed

 

var Precomputed: PrecomputedValues;

 

PrecomputedValues Precomputed

 

var Precomputed: PrecomputedValues

 

Precomputed PrecomputedValues

 

FIELD Precomputed() As PrecomputedValues

Primes

 

var Primes: Slice<Reference<Int>>;

 

Slice<Reference<Int>> Primes

 

var Primes: Slice<Reference<Int>>

 

Primes Slice<Reference<Int>>

 

FIELD Primes() As Slice<Reference<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

 

property N: Reference<Int> read write;

 

Reference<Int> N { get; set; }

 

var N: Reference<Int> { get{} set{} }

 

N Reference<Int>

 

Property N() As Reference<Int>

 

constructor

 

constructor

 

PrivateKey()

 

init()

 

Sub New()

constructor (PrivateKey) .NET, .NET Standard 2.0

 

constructor(value: PrivateKey)

 

PrivateKey(PrivateKey value)

 

init(_ value: PrivateKey)

 

Sub New(value As PrivateKey)

Parameters:

  • value:

 

constructor(aPublicKey: PublicKey; aD: Reference<Int>; aPrimes: Slice<Reference<Int>>; aPrecomputed: PrecomputedValues)

 

PrivateKey(PublicKey aPublicKey, Reference<Int> aD, Slice<Reference<Int>> aPrimes, PrecomputedValues aPrecomputed)

 

init(_ aPublicKey: PublicKey, _ aD: Reference<Int>, _ aPrimes: Slice<Reference<Int>>, _ aPrecomputed: PrecomputedValues)

 

Sub New(aPublicKey As PublicKey, aD As Reference<Int>, aPrimes As Slice<Reference<Int>>, aPrecomputed As PrecomputedValues)

Parameters:

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

constructor (PrivateKey) Island

 

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) (plaintext Slice<Byte>, 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) (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

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) (plaintext Slice<Byte>, err error)

 

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

Parameters:

  • rand:
  • ciphertext:
  • opts:

Precompute

 

method Precompute

 

void Precompute()

 

func Precompute()

 

func Precompute()

 

Sub Precompute()

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

Validate

 

method Validate: error

 

error Validate()

 

func Validate() -> error

 

func Validate() error

 

Function Validate() As error