diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-05-05 14:05:40 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-05-05 14:05:40 +0700 |
commit | 045e65c688059037bbf5a2c4ac8bc9943dac82d6 (patch) | |
tree | ca7f6cf582691c692cd944c2e88e67b4de1446ec /crypto/src/tls/TlsUtilities.cs | |
parent | Fix member names (diff) | |
download | BouncyCastle.NET-ed25519-045e65c688059037bbf5a2c4ac8bc9943dac82d6.tar.xz |
Change method to property
Diffstat (limited to 'crypto/src/tls/TlsUtilities.cs')
-rw-r--r-- | crypto/src/tls/TlsUtilities.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/crypto/src/tls/TlsUtilities.cs b/crypto/src/tls/TlsUtilities.cs index 8e5b02216..13155d26e 100644 --- a/crypto/src/tls/TlsUtilities.cs +++ b/crypto/src/tls/TlsUtilities.cs @@ -2144,7 +2144,7 @@ namespace Org.BouncyCastle.Tls byte[] signature; if (streamSigner != null) { - handshakeHash.CopyBufferTo(streamSigner.GetOutputStream()); + handshakeHash.CopyBufferTo(streamSigner.Stream); signature = streamSigner.GetSignature(); } else @@ -2195,7 +2195,7 @@ namespace Org.BouncyCastle.Tls if (null != streamSigner) { - Stream output = streamSigner.GetOutputStream(); + Stream output = streamSigner.Stream; output.Write(header, 0, header.Length); output.Write(prfHash, 0, prfHash.Length); return streamSigner.GetSignature(); @@ -2246,7 +2246,7 @@ namespace Org.BouncyCastle.Tls if (streamVerifier != null) { - handshakeHash.CopyBufferTo(streamVerifier.GetOutputStream()); + handshakeHash.CopyBufferTo(streamVerifier.Stream); verified = streamVerifier.IsVerified(); } else @@ -2364,7 +2364,7 @@ namespace Org.BouncyCastle.Tls if (null != streamVerifier) { - Stream output = streamVerifier.GetOutputStream(); + Stream output = streamVerifier.Stream; output.Write(header, 0, header.Length); output.Write(prfHash, 0, prfHash.Length); return streamVerifier.IsVerified(); @@ -2410,7 +2410,7 @@ namespace Org.BouncyCastle.Tls byte[] signature; if (streamSigner != null) { - SendSignatureInput(context, extraSignatureInput, digestBuffer, streamSigner.GetOutputStream()); + SendSignatureInput(context, extraSignatureInput, digestBuffer, streamSigner.Stream); signature = streamSigner.GetSignature(); } else @@ -2456,7 +2456,7 @@ namespace Org.BouncyCastle.Tls bool verified; if (streamVerifier != null) { - SendSignatureInput(context, null, digestBuffer, streamVerifier.GetOutputStream()); + SendSignatureInput(context, null, digestBuffer, streamVerifier.Stream); verified = streamVerifier.IsVerified(); } else |