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)
Parameters:
- aPublicKey:
- aD:
- aPrimes:
- aPrecomputed:
constructor (PrivateKey)
constructor(value: PrivateKey)
PrivateKey(PrivateKey value)
init(_ value: PrivateKey)
Sub New(value As PrivateKey)
Parameters:
- value:
D
method Decrypt(rand: Reader; ciphertext: Slice<Byte>; opts: DecrypterOpts): tuple of (plaintext: Slice<Byte>, err: error)
func Decrypt(_ rand: Reader, _ ciphertext: Slice<Byte>, _ opts: DecrypterOpts) -> (Slice<Byte>, error)
Parameters:
- rand:
- ciphertext:
- opts:
method Decrypt(rand: Reader; ciphertext: Slice<Byte>; opts: DecrypterOpts): tuple of (plaintext: Slice<Byte>, err: error)
func Decrypt(_ rand: Reader, _ ciphertext: Slice<Byte>, _ opts: DecrypterOpts) -> (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;
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
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
Parameters:
- rand:
- digest:
- opts:
Parameters:
- rand:
- digest:
- opts:
Size
Validate
D
Precomputed
var Precomputed: PrecomputedValues;
PrecomputedValues Precomputed
var Precomputed: PrecomputedValues
Precomputed PrecomputedValues
FIELD Precomputed() As PrecomputedValues
Primes
PublicKey
E
property E: int read write;
int E { get; set; }
var E: int { get{} set{} }
E int
Property E() As int
N
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)
Parameters:
- aPublicKey:
- aD:
- aPrimes:
- aPrecomputed:
constructor (PrivateKey)
constructor(value: PrivateKey)
PrivateKey(PrivateKey value)
init(_ value: PrivateKey)
Sub New(value As PrivateKey)
Parameters:
- value:
method Decrypt(rand: Reader; ciphertext: Slice<Byte>; opts: DecrypterOpts): tuple of (plaintext: Slice<Byte>, err: error)
func Decrypt(_ rand: Reader, _ ciphertext: Slice<Byte>, _ opts: DecrypterOpts) -> (Slice<Byte>, error)
Parameters:
- rand:
- ciphertext:
- opts:
Public Island
method Public: PublicKey
PublicKey Public()
func Public() -> PublicKey
func Public() PublicKey
Function Public() As PublicKey
Parameters:
- rand:
- digest:
- opts:
Size