<PackageReference Include="Microsoft.Bcl.Cryptography" Version="11.0.0-preview.7.26381.103" />
API Differences between 11.0.0-preview.7.26381.103 and 11.0.0-preview.3.26207.106
58 Additions
0 Removals
System.Security.Cryptography
-
public sealed class AesGcm : IDisposable
-
public abstract class X25519DiffieHellman : IDisposable
- public const int PrivateKeySizeInBytes = 32
- public const int PublicKeySizeInBytes = 32
- public const int SecretAgreementSizeInBytes = 32
- public static bool IsSupported { get; }
- protected X25519DiffieHellman()
- public static X25519DiffieHellman GenerateKey()
- public static X25519DiffieHellman ImportEncryptedPkcs8PrivateKey(ReadOnlySpan<byte> passwordBytes, ReadOnlySpan<byte> source)
- public static X25519DiffieHellman ImportEncryptedPkcs8PrivateKey(ReadOnlySpan<char> password, ReadOnlySpan<byte> source)
- public static X25519DiffieHellman ImportEncryptedPkcs8PrivateKey(string password, byte[] source)
- public static X25519DiffieHellman ImportFromEncryptedPem(ReadOnlySpan<char> source, ReadOnlySpan<char> password)
- public static X25519DiffieHellman ImportFromEncryptedPem(ReadOnlySpan<char> source, ReadOnlySpan<byte> passwordBytes)
- public static X25519DiffieHellman ImportFromEncryptedPem(string source, string password)
- public static X25519DiffieHellman ImportFromEncryptedPem(string source, byte[] passwordBytes)
- public static X25519DiffieHellman ImportFromPem(ReadOnlySpan<char> source)
- public static X25519DiffieHellman ImportFromPem(string source)
- public static X25519DiffieHellman ImportPkcs8PrivateKey(ReadOnlySpan<byte> source)
- public static X25519DiffieHellman ImportPkcs8PrivateKey(byte[] source)
- public static X25519DiffieHellman ImportPrivateKey(byte[] source)
- public static X25519DiffieHellman ImportPrivateKey(ReadOnlySpan<byte> source)
- public static X25519DiffieHellman ImportPublicKey(byte[] source)
- public static X25519DiffieHellman ImportPublicKey(ReadOnlySpan<byte> source)
- public static X25519DiffieHellman ImportSubjectPublicKeyInfo(ReadOnlySpan<byte> source)
- public static X25519DiffieHellman ImportSubjectPublicKeyInfo(byte[] source)
- public byte[] DeriveRawSecretAgreement(X25519DiffieHellman otherParty)
- public byte[] DeriveRawSecretAgreement(byte[] otherPartyPublicKey)
- public void DeriveRawSecretAgreement(X25519DiffieHellman otherParty, Span<byte> destination)
- public void DeriveRawSecretAgreement(ReadOnlySpan<byte> otherPartyPublicKey, Span<byte> destination)
- protected abstract void DeriveRawSecretAgreementCore(X25519DiffieHellman otherParty, Span<byte> destination)
- protected abstract void DeriveRawSecretAgreementCore(ReadOnlySpan<byte> otherPartyPublicKey, Span<byte> destination)
- public void Dispose()
- protected virtual void Dispose(bool disposing)
- public byte[] ExportEncryptedPkcs8PrivateKey(ReadOnlySpan<byte> passwordBytes, PbeParameters pbeParameters)
- public byte[] ExportEncryptedPkcs8PrivateKey(ReadOnlySpan<char> password, PbeParameters pbeParameters)
- public byte[] ExportEncryptedPkcs8PrivateKey(string password, PbeParameters pbeParameters)
- public string ExportEncryptedPkcs8PrivateKeyPem(ReadOnlySpan<byte> passwordBytes, PbeParameters pbeParameters)
- public string ExportEncryptedPkcs8PrivateKeyPem(ReadOnlySpan<char> password, PbeParameters pbeParameters)
- public string ExportEncryptedPkcs8PrivateKeyPem(string password, PbeParameters pbeParameters)
- public byte[] ExportPkcs8PrivateKey()
- public string ExportPkcs8PrivateKeyPem()
- public byte[] ExportPrivateKey()
- public void ExportPrivateKey(Span<byte> destination)
- protected abstract void ExportPrivateKeyCore(Span<byte> destination)
- public byte[] ExportPublicKey()
- public void ExportPublicKey(Span<byte> destination)
- protected abstract void ExportPublicKeyCore(Span<byte> destination)
- public byte[] ExportSubjectPublicKeyInfo()
- public string ExportSubjectPublicKeyInfoPem()
- public bool TryExportEncryptedPkcs8PrivateKey(ReadOnlySpan<byte> passwordBytes, PbeParameters pbeParameters, Span<byte> destination, out int bytesWritten)
- public bool TryExportEncryptedPkcs8PrivateKey(ReadOnlySpan<char> password, PbeParameters pbeParameters, Span<byte> destination, out int bytesWritten)
- public bool TryExportEncryptedPkcs8PrivateKey(string password, PbeParameters pbeParameters, Span<byte> destination, out int bytesWritten)
- public bool TryExportPkcs8PrivateKey(Span<byte> destination, out int bytesWritten)
- protected abstract bool TryExportPkcs8PrivateKeyCore(Span<byte> destination, out int bytesWritten)
- public bool TryExportSubjectPublicKeyInfo(Span<byte> destination, out int bytesWritten)
-
public sealed class X25519DiffieHellmanCng : X25519DiffieHellman