Example #1
0
 public SesSealInfo(SesHeader header, DerIA5String esId, EsPropertyInfo property, SesPictureInfo picture, ExtensionData extData)
 {
     Header   = header;
     EsId     = esId;
     Property = property;
     Picture  = picture;
     ExtData  = extData;
 }
Example #2
0
        public SesSealInfo(Asn1Sequence seq)
        {
            var e = seq.GetEnumerator();

            Header   = SesHeader.GetInstance(e.Next());
            EsId     = DerIA5String.GetInstance(e.Next());
            Property = EsPropertyInfo.GetInstance(e.Next());
            Picture  = SesPictureInfo.GetInstance(e.Next());
            if (e.MoveNext())
            {
                ExtData = ExtensionData.GetInstance(e.Next());
            }
        }