diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-07-24 12:57:09 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-07-24 12:57:09 +0700 |
commit | 521454273ff2d91222cf4b8ac6ab5f16c54b40df (patch) | |
tree | a996faffeebf62b4866a2e26a5c5fcf3407662c0 /crypto/src/asn1/cms/Attributes.cs | |
parent | adjusted HQC and BIKE keys for latest BC Java changes (diff) | |
download | BouncyCastle.NET-ed25519-521454273ff2d91222cf4b8ac6ab5f16c54b40df.tar.xz |
Use Asn1Set FromVector utility methods
Diffstat (limited to 'crypto/src/asn1/cms/Attributes.cs')
-rw-r--r-- | crypto/src/asn1/cms/Attributes.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/cms/Attributes.cs b/crypto/src/asn1/cms/Attributes.cs index 6e3691870..41018453d 100644 --- a/crypto/src/asn1/cms/Attributes.cs +++ b/crypto/src/asn1/cms/Attributes.cs @@ -26,7 +26,7 @@ namespace Org.BouncyCastle.Asn1.Cms public Attributes(Asn1EncodableVector v) { - m_attributes = new BerSet(v); + m_attributes = BerSet.FromVector(v); } public virtual Attribute[] GetAttributes() => m_attributes.MapElements(Attribute.GetInstance); |