コード例 #1
0
ファイル: TbsSign.cs プロジェクト: fendaq/OfdSharp
 public TbsSign(DerInteger version, SesSealInfo eSeal, DerBitString timeInfo, DerBitString dataHash, DerIA5String propertyInfo, DerObjectIdentifier signatureAlgorithm)
 {
     Version            = version;
     EsSeal             = eSeal;
     TimeInfo           = timeInfo;
     DataHash           = dataHash;
     PropertyInfo       = propertyInfo;
     SignatureAlgorithm = signatureAlgorithm;
 }
コード例 #2
0
ファイル: TbsSign.cs プロジェクト: fendaq/OfdSharp
        public TbsSign(Asn1Sequence seq)
        {
            IEnumerator e = seq.GetEnumerator();

            Version            = DerInteger.GetInstance(e.Next());
            EsSeal             = SesSealInfo.GetInstance(e.Next());
            TimeInfo           = DerBitString.GetInstance(e.Next());
            DataHash           = DerBitString.GetInstance(e.Next());
            PropertyInfo       = DerIA5String.GetInstance(e.Next());
            Cert               = Asn1OctetString.GetInstance(e.Next());
            SignatureAlgorithm = DerObjectIdentifier.GetInstance(e.Next());
        }
コード例 #3
0
ファイル: TbsSign.cs プロジェクト: yangl5619/OfdSharp
        public TbsSign(Asn1Sequence seq)
        {
            var e = seq.GetEnumerator();

            Version      = DerInteger.GetInstance(e.Next());
            EsSeal       = SesSealInfo.GetInstance(e.Next());
            TimeInfo     = DerBitString.GetInstance(e.Next());
            DataHash     = DerBitString.GetInstance(e.Next());
            PropertyInfo = DerIA5String.GetInstance(e.Next());
            if (e.MoveNext())
            {
                ExtensionData = ExtensionData.GetInstance(e.Next());
            }
        }