diff options
author | Oren Novotny <oren@novotny.org> | 2014-08-26 17:35:17 -0400 |
---|---|---|
committer | Oren Novotny <oren@novotny.org> | 2014-08-26 17:35:17 -0400 |
commit | 5f9336106a1b51241336520b2cd032340d12fd81 (patch) | |
tree | 58be4e085640a1286b715886f7717f81cde898e6 /crypto/src/asn1/smime/SMIMECapabilityVector.cs | |
parent | Release 1.7.0.1 with Wpa81 support (diff) | |
download | BouncyCastle.NET-ed25519-5f9336106a1b51241336520b2cd032340d12fd81.tar.xz |
rename Crypto dir to crypto to match bc-git
Diffstat (limited to 'crypto/src/asn1/smime/SMIMECapabilityVector.cs')
-rw-r--r-- | crypto/src/asn1/smime/SMIMECapabilityVector.cs | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/crypto/src/asn1/smime/SMIMECapabilityVector.cs b/crypto/src/asn1/smime/SMIMECapabilityVector.cs deleted file mode 100644 index 842825b88..000000000 --- a/crypto/src/asn1/smime/SMIMECapabilityVector.cs +++ /dev/null @@ -1,37 +0,0 @@ -using Org.BouncyCastle.Asn1; - -namespace Org.BouncyCastle.Asn1.Smime -{ - /** - * Handler for creating a vector S/MIME Capabilities - */ - public class SmimeCapabilityVector - { - private readonly Asn1EncodableVector capabilities = new Asn1EncodableVector(); - - public void AddCapability( - DerObjectIdentifier capability) - { - capabilities.Add(new DerSequence(capability)); - } - - public void AddCapability( - DerObjectIdentifier capability, - int value) - { - capabilities.Add(new DerSequence(capability, new DerInteger(value))); - } - - public void AddCapability( - DerObjectIdentifier capability, - Asn1Encodable parameters) - { - capabilities.Add(new DerSequence(capability, parameters)); - } - - public Asn1EncodableVector ToAsn1EncodableVector() - { - return capabilities; - } - } -} |