Source release 17.1.2

This commit is contained in:
John "Juce" Bruce
2023-06-23 15:37:42 -07:00
parent a10f13a2dc
commit 2baa7c6e2b
353 changed files with 12903 additions and 2305 deletions

View File

@@ -268,6 +268,13 @@ class RsaPrivateKey {
// Returns an empty vector on error.
std::vector<uint8_t> Serialize() const;
// Serializes the key's private exponent in network-byte-order
// using I2OSP primitive as defined by RFC3447 Section 4.1. The
// exact length of the exponent will depend on the exponents value,
// not the modulus size.
// Returns an empty vector on error.
std::vector<uint8_t> GetPrivateExponent() const;
// Signs the provided |message| using the RSA signing algorithm
// specified by |algorithm|. See RsaSignatureAlgorithm for
// details on each algorithm.