From e41a52b8f6ffba2a53b342cca3ce11a313f4027b Mon Sep 17 00:00:00 2001 From: David Hook Date: Wed, 21 Oct 2015 22:04:06 +1100 Subject: Added missed files on IBlockResult change --- crypto/src/cms/CMSSignedDataGenerator.cs | 2 +- crypto/src/crypto/IBlockResult.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'crypto') diff --git a/crypto/src/cms/CMSSignedDataGenerator.cs b/crypto/src/cms/CMSSignedDataGenerator.cs index e0caca9ff..789aa9145 100644 --- a/crypto/src/cms/CMSSignedDataGenerator.cs +++ b/crypto/src/cms/CMSSignedDataGenerator.cs @@ -174,7 +174,7 @@ namespace Org.BouncyCastle.Cms } sigStr.Close(); - byte[] sigBytes = ((IBlockResult)calculator.GetResult()).DoFinal(); + byte[] sigBytes = ((IBlockResult)calculator.GetResult()).Value(); Asn1Set unsignedAttr = null; if (unsAttr != null) diff --git a/crypto/src/crypto/IBlockResult.cs b/crypto/src/crypto/IBlockResult.cs index c12bdaa1d..f2149d951 100644 --- a/crypto/src/crypto/IBlockResult.cs +++ b/crypto/src/crypto/IBlockResult.cs @@ -11,7 +11,7 @@ namespace Org.BouncyCastle.Crypto /// Return the final result of the operation. /// /// A block of bytes, representing the result of an operation. - byte[] DoFinal(); + byte[] Value(); /// /// Store the final result of the operation by copying it into the destination array. @@ -19,6 +19,6 @@ namespace Org.BouncyCastle.Crypto /// The number of bytes copied into destination. /// The byte array to copy the result into. /// The offset into destination to start copying the result at. - int DoFinal(byte[] destination, int offset); + int Value(byte[] destination, int offset); } } -- cgit 1.5.1