Org.BouncyCastle.Asn1.Cms.EnvelopedData.ToAsn1Object C# (CSharp) 메소드

ToAsn1Object() 공개 메소드

public ToAsn1Object ( ) : Asn1Object
리턴 Org.BouncyCastle.Asn1.Asn1Object
        public override Asn1Object ToAsn1Object()
        {
            Asn1EncodableVector v = new Asn1EncodableVector(version);

            if (originatorInfo != null)
            {
                v.Add(new DerTaggedObject(false, 0, originatorInfo));
            }

            v.Add(recipientInfos, encryptedContentInfo);

            if (unprotectedAttrs != null)
            {
                v.Add(new DerTaggedObject(false, 1, unprotectedAttrs));
            }

            return new BerSequence(v);
        }