summary refs log tree commit diff
path: root/crypto/src/asn1/DLApplicationSpecific.cs
blob: 8fffcf65b578f473c6f5bafcb5fe013322739450 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System;

namespace Org.BouncyCastle.Asn1
{
    internal class DLApplicationSpecific
        : DerApplicationSpecific
    {
        internal DLApplicationSpecific(int tagNo, Asn1Encodable baseEncodable)
            : this(true, tagNo, baseEncodable)
        {
        }

        internal DLApplicationSpecific(bool isExplicit, int tagNo, Asn1Encodable baseEncodable)
            : base(new DLTaggedObject(isExplicit, Asn1Tags.Application, tagNo, baseEncodable))
        {
        }

        internal DLApplicationSpecific(int tagNo, Asn1EncodableVector contentsElements)
            : base(new DLTaggedObject(false, Asn1Tags.Application, tagNo, DLSequence.FromVector(contentsElements)))
        {
        }

        internal DLApplicationSpecific(Asn1TaggedObject taggedObject)
            : base(taggedObject)
        {
        }
    }
}