summary refs log tree commit diff
path: root/crypto/src/asn1/smime/SMIMECapabilitiesAttribute.cs
blob: 310c478feb5dd4667098e92927d4098878e6727b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using Org.BouncyCastle.Asn1;
using Org.BouncyCastle.Asn1.X509;

namespace Org.BouncyCastle.Asn1.Smime
{
    public class SmimeCapabilitiesAttribute
        : AttributeX509
    {
        public SmimeCapabilitiesAttribute(
            SmimeCapabilityVector capabilities)
            : base(SmimeAttributes.SmimeCapabilities,
                    new DerSet(new DerSequence(capabilities.ToAsn1EncodableVector())))
        {
        }
    }
}