diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-03-11 23:36:32 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-03-11 23:36:32 +0700 |
commit | 8ed01d5f6322defa0b3dbb1e149b05736f54f832 (patch) | |
tree | fde48f03f14134ecd9b9ece814309bda07e85371 /crypto/src/asn1/pkcs/EncryptedData.cs | |
parent | Obsolete unused segmentLimit (diff) | |
download | BouncyCastle.NET-ed25519-8ed01d5f6322defa0b3dbb1e149b05736f54f832.tar.xz |
Refactoring in Asn1 classes
Diffstat (limited to 'crypto/src/asn1/pkcs/EncryptedData.cs')
-rw-r--r-- | crypto/src/asn1/pkcs/EncryptedData.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/pkcs/EncryptedData.cs b/crypto/src/asn1/pkcs/EncryptedData.cs index cb04f343c..fdee60405 100644 --- a/crypto/src/asn1/pkcs/EncryptedData.cs +++ b/crypto/src/asn1/pkcs/EncryptedData.cs @@ -86,7 +86,7 @@ namespace Org.BouncyCastle.Asn1.Pkcs { if (data.Count == 3) { - DerTaggedObject o = (DerTaggedObject) data[2]; + Asn1TaggedObject o = (Asn1TaggedObject)data[2]; return Asn1OctetString.GetInstance(o, false); } |