RSA
PKCS#1 RSA Private key representation as per RFC 8017 augmented with optional attributes. Attributes are never PKCS#1 encoded, but are relevant when PKCS#8-encoding a private key.
Constructors
Types
OtherPrimeInfos as per PKCS#1
Properties
Encodes this private key into a PKCS#1-encoded private key
Encodes this private key into a PKCS#8-encoded private key. This is the default.
optional attributes relevant when PKCS#8-encoding a private key
Encapsulation boundary string. Will be automatically fenced.
qInv: the factors' CRT coefficient (q^(-1) mod p)
information about additional prime factors: triples (r_i, d_i, t_i) of prime factor, exponent, coefficient
dP: the first factor's CRT exponent
dQ: the second factor's CRT exponent
d: the private key such that d*e = 1 mod phi(n)
The CryptoPublicKey.RSA (n,e) matching this private key
Functions
Encodes this PemEncodable into a PEM-encoded string
PKCS#8 encoding of a private key:
Converts this privateKey into a SecKeyRef, making it usable on iOS