Skip to main content

RSAParameters Struct

NuGet: GHIElectronics.TinyCLR.Cryptography
Assembly: System.Security.Cryptography
Namespace: System.Security.Cryptography

RSA key parameters (modulus, exponent, and optional private components) matching the .NET Framework struct.

public struct RSAParameters

Fields​

D​

public byte[] D

The private exponent (private key).

DP​

public byte[] DP

d mod (p-1).

DQ​

public byte[] DQ

d mod (q-1).

Exponent​

public byte[] Exponent

The public exponent.

InverseQ​

public byte[] InverseQ

The CRT coefficient (q^-1 mod p).

Modulus​

public byte[] Modulus

The modulus.

P​

public byte[] P

The first prime factor.

Q​

public byte[] Q

The second prime factor.