diff options
Diffstat (limited to 'crypto/test/src')
-rw-r--r-- | crypto/test/src/tls/crypto/test/BcTlsCryptoTest.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/crypto/test/src/tls/crypto/test/BcTlsCryptoTest.cs b/crypto/test/src/tls/crypto/test/BcTlsCryptoTest.cs index e0bd39f64..494175261 100644 --- a/crypto/test/src/tls/crypto/test/BcTlsCryptoTest.cs +++ b/crypto/test/src/tls/crypto/test/BcTlsCryptoTest.cs @@ -657,7 +657,7 @@ namespace Org.BouncyCastle.Tls.Crypto.Tests TlsStreamSigner tlsStreamSigner = credentialedSigner.GetStreamSigner(); if (null != tlsStreamSigner) { - Stream output = tlsStreamSigner.GetOutputStream(); + Stream output = tlsStreamSigner.Stream; output.Write(message, 0, message.Length); signature = tlsStreamSigner.GetSignature(); } @@ -678,7 +678,7 @@ namespace Org.BouncyCastle.Tls.Crypto.Tests TlsStreamVerifier tlsStreamVerifier = tlsVerifier.GetStreamVerifier(digitallySigned); if (null != tlsStreamVerifier) { - Stream output = tlsStreamVerifier.GetOutputStream(); + Stream output = tlsStreamVerifier.Stream; output.Write(message, 0, message.Length); verified = tlsStreamVerifier.IsVerified(); } @@ -702,7 +702,7 @@ namespace Org.BouncyCastle.Tls.Crypto.Tests TlsStreamSigner tlsStreamSigner = credentialedSigner.GetStreamSigner(); if (null != tlsStreamSigner) { - Stream output = tlsStreamSigner.GetOutputStream(); + Stream output = tlsStreamSigner.Stream; output.Write(message, 0, message.Length); signature = tlsStreamSigner.GetSignature(); } @@ -721,7 +721,7 @@ namespace Org.BouncyCastle.Tls.Crypto.Tests TlsStreamVerifier tlsStreamVerifier = tlsVerifier.GetStreamVerifier(digitallySigned); if (null != tlsStreamVerifier) { - Stream output = tlsStreamVerifier.GetOutputStream(); + Stream output = tlsStreamVerifier.Stream; output.Write(message, 0, message.Length); verified = tlsStreamVerifier.IsVerified(); } @@ -742,7 +742,7 @@ namespace Org.BouncyCastle.Tls.Crypto.Tests TlsStreamSigner tlsStreamSigner = credentialedSigner.GetStreamSigner(); if (null != tlsStreamSigner) { - Stream output = tlsStreamSigner.GetOutputStream(); + Stream output = tlsStreamSigner.Stream; output.Write(message, 0, message.Length); signature = tlsStreamSigner.GetSignature(); } @@ -762,7 +762,7 @@ namespace Org.BouncyCastle.Tls.Crypto.Tests TlsStreamVerifier tlsStreamVerifier = tlsVerifier.GetStreamVerifier(digitallySigned); if (null != tlsStreamVerifier) { - Stream output = tlsStreamVerifier.GetOutputStream(); + Stream output = tlsStreamVerifier.Stream; output.Write(message, 0, message.Length); verified = tlsStreamVerifier.IsVerified(); } |