We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 933ab6d commit 09dd9aeCopy full SHA for 09dd9ae
Yubico.YubiKey/src/Yubico/YubiKey/Piv/Converters/KeyExtensions.cs
@@ -53,6 +53,7 @@ public static Memory<byte> EncodeAsPiv(this IPublicKey parameters) =>
53
/// <param name="parameters">The private key parameters to encode.</param>
54
/// <returns>A BER encoded byte array containing the encoded private key.</returns>
55
/// <exception cref="ArgumentException">Thrown when the key type is not supported or when RSA key components have invalid lengths.</exception>
56
+ /// <remarks>This method returns a newly allocated array containing sensitive information.</remarks>
57
public static Memory<byte> EncodeAsPiv(this IPrivateKey parameters) =>
58
parameters switch
59
{
0 commit comments