diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2024-06-20 21:29:18 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2024-06-20 21:29:18 +0700 |
commit | 3b505be299fc4e147598605a9ee30c10a7e3eb85 (patch) | |
tree | 946d70722499668b38ed038c2311d92ac08a373a /crypto/test | |
parent | Add Try... methods to DerInteger for small value accessors (diff) | |
download | BouncyCastle.NET-ed25519-3b505be299fc4e147598605a9ee30c10a7e3eb85.tar.xz |
Refactoring in Asn1.Pkcs
Diffstat (limited to 'crypto/test')
-rw-r--r-- | crypto/test/src/crypto/test/Pkcs5Test.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/test/src/crypto/test/Pkcs5Test.cs b/crypto/test/src/crypto/test/Pkcs5Test.cs index d3d22172f..649fe69e5 100644 --- a/crypto/test/src/crypto/test/Pkcs5Test.cs +++ b/crypto/test/src/crypto/test/Pkcs5Test.cs @@ -94,7 +94,7 @@ namespace Org.BouncyCastle.Crypto.Tests EncryptedPrivateKeyInfo info = null; try { - info = EncryptedPrivateKeyInfo.GetInstance(Asn1Object.FromByteArray(sample)); + info = EncryptedPrivateKeyInfo.GetInstance(sample); } catch (System.Exception e) { |