diff options
Diffstat (limited to 'release-notes/7.0/preview/api-diff/preview7/Microsoft.NETCore.App/7.0-preview7_System.Net.Security.md')
-rw-r--r-- | release-notes/7.0/preview/api-diff/preview7/Microsoft.NETCore.App/7.0-preview7_System.Net.Security.md | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/release-notes/7.0/preview/api-diff/preview7/Microsoft.NETCore.App/7.0-preview7_System.Net.Security.md b/release-notes/7.0/preview/api-diff/preview7/Microsoft.NETCore.App/7.0-preview7_System.Net.Security.md new file mode 100644 index 00000000..07c1461e --- /dev/null +++ b/release-notes/7.0/preview/api-diff/preview7/Microsoft.NETCore.App/7.0-preview7_System.Net.Security.md @@ -0,0 +1,43 @@ +# System.Net.Security + +``` diff + namespace System.Net.Security { + [NullableAttribute((byte)0)] + [NullableContextAttribute((byte)1)] + public sealed class NegotiateAuthentication : IDisposable { ++ public TokenImpersonationLevel ImpersonationLevel { get; } ++ public NegotiateAuthenticationStatusCode Unwrap(ReadOnlySpan<byte> input, [NullableAttribute((byte)1)] IBufferWriter<byte> outputWriter, out bool wasEncrypted); ++ public NegotiateAuthenticationStatusCode UnwrapInPlace(Span<byte> input, out int unwrappedOffset, out int unwrappedLength, out bool wasEncrypted); ++ public NegotiateAuthenticationStatusCode Wrap(ReadOnlySpan<byte> input, [NullableAttribute((byte)1)] IBufferWriter<byte> outputWriter, bool requestEncryption, out bool isEncrypted); + } + [NullableAttribute((byte)0)] + [NullableContextAttribute((byte)1)] + public class NegotiateAuthenticationClientOptions { ++ public TokenImpersonationLevel AllowedImpersonationLevel { get; set; } ++ public bool RequireMutualAuthentication { get; set; } + } + [NullableAttribute((byte)0)] + [NullableContextAttribute((byte)1)] + public class NegotiateAuthenticationServerOptions { ++ [NullableAttribute((byte)2)] ++ public ExtendedProtectionPolicy? Policy { [NullableContextAttribute((byte)2)] get; [NullableContextAttribute((byte)2)] set; } ++ public TokenImpersonationLevel RequiredImpersonationLevel { get; set; } + } + public enum NegotiateAuthenticationStatusCode { ++ ImpersonationValidationFailed = 15, ++ SecurityQosFailed = 13, ++ TargetUnknown = 14, + } + [NullableAttribute((byte)0)] + [NullableContextAttribute((byte)2)] + public class SslClientAuthenticationOptions { ++ public X509ChainPolicy CertificateChainPolicy { get; set; } + } + [NullableAttribute((byte)0)] + [NullableContextAttribute((byte)2)] + public class SslServerAuthenticationOptions { ++ public X509ChainPolicy CertificateChainPolicy { get; set; } + } + } +``` + |