2 references to ExportPkcs8PrivateKeyCallback
System.Security.Cryptography (2)
System\Security\Cryptography\X25519DiffieHellman.cs (2)
360return ExportPkcs8PrivateKeyCallback(static pkcs8 => pkcs8.ToArray()); 376return ExportPkcs8PrivateKeyCallback(static pkcs8 => PemEncoding.WriteString(PemLabels.Pkcs8PrivateKey, pkcs8));