예제 #1
0
 public CertificationRequest(
     CertificationRequestInfo	requestInfo,
     AlgorithmIdentifier			algorithm,
     DerBitString				signature)
 {
     this.reqInfo = requestInfo;
     this.sigAlgId = algorithm;
     this.sigBits = signature;
 }
예제 #2
0
        public CertificationRequest(
            Asn1Sequence seq)
        {
            if (seq.Count != 3)
                throw new ArgumentException("Wrong number of elements in sequence", "seq");

            reqInfo = CertificationRequestInfo.GetInstance(seq[0]);
            sigAlgId = AlgorithmIdentifier.GetInstance(seq[1]);
            sigBits = DerBitString.GetInstance(seq[2]);
        }
예제 #3
0
        public CertificationRequest(
            Asn1Sequence seq)
        {
            if (seq.Count != 3)
            {
                throw new ArgumentException("Wrong number of elements in sequence", "seq");
            }

            reqInfo  = CertificationRequestInfo.GetInstance(seq[0]);
            sigAlgId = AlgorithmIdentifier.GetInstance(seq[1]);
            sigBits  = DerBitString.GetInstance(seq[2]);
        }
 public CertificationRequest(CertificationRequestInfo requestInfo, AlgorithmIdentifier algorithm, DerBitString signature)
 {
     reqInfo  = requestInfo;
     sigAlgId = algorithm;
     sigBits  = signature;
 }