Inheritance: Asn1Encodable
 public CertRequest(
     int certReqId,
     CertTemplate certTemplate,
     Controls controls)
     : this(new DerInteger(certReqId), certTemplate, controls)
 {
 }
Beispiel #2
0
 public CertRequest(
     int certReqId,
     CertTemplate certTemplate,
     Controls controls)
     : this(new DerInteger(certReqId), certTemplate, controls)
 {
 }
Beispiel #3
0
        private RevDetails(Asn1Sequence seq)
		{
			certDetails = CertTemplate.GetInstance(seq[0]);
            crlEntryDetails = seq.Count <= 1
                ?   null
                :   X509Extensions.GetInstance(seq[1]);
		}
		private RevDetails(Asn1Sequence seq)
		{
			certDetails = CertTemplate.GetInstance(seq[0]);

			if  (seq.Count > 1)
			{
				crlEntryDetails = X509Extensions.GetInstance(seq[1]);
			}
		}
Beispiel #5
0
 public CertRequest(
     DerInteger certReqId,
     CertTemplate certTemplate,
     Controls controls)
 {
     this.certReqId    = certReqId;
     this.certTemplate = certTemplate;
     this.controls     = controls;
 }
Beispiel #6
0
 private CertRequest(Asn1Sequence seq)
 {
     certReqId    = DerInteger.GetInstance(seq[0]);
     certTemplate = CertTemplate.GetInstance(seq[1]);
     if (seq.Count > 2)
     {
         controls = Controls.GetInstance(seq[2]);
     }
 }
 public CertRequest(
     DerInteger certReqId,
     CertTemplate certTemplate,
     Controls controls)
 {
     this.certReqId = certReqId;
     this.certTemplate = certTemplate;
     this.controls = controls;
 }
 private CertRequest(Asn1Sequence seq)
 {
     certReqId = DerInteger.GetInstance(seq[0]);
     certTemplate = CertTemplate.GetInstance(seq[1]);
     if (seq.Count > 2)
     {
         controls = Controls.GetInstance(seq[2]);
     }
 }
        public virtual CertTemplate Build()
        {
            Asn1EncodableVector v = new Asn1EncodableVector();

            AddOptional(v, 0, isExplicit: false, version);
            AddOptional(v, 1, isExplicit: false, serialNumber);
            AddOptional(v, 2, isExplicit: false, signingAlg);
            AddOptional(v, 3, isExplicit: true, issuer);
            AddOptional(v, 4, isExplicit: false, validity);
            AddOptional(v, 5, isExplicit: true, subject);
            AddOptional(v, 6, isExplicit: false, publicKey);
            AddOptional(v, 7, isExplicit: false, issuerUID);
            AddOptional(v, 8, isExplicit: false, subjectUID);
            AddOptional(v, 9, isExplicit: false, extensions);
            return(CertTemplate.GetInstance(new DerSequence(v)));
        }
        public virtual CertTemplate Build()
        {
            Asn1EncodableVector v = new Asn1EncodableVector(new Asn1Encodable[0]);

            this.AddOptional(v, 0, false, this.version);
            this.AddOptional(v, 1, false, this.serialNumber);
            this.AddOptional(v, 2, false, this.signingAlg);
            this.AddOptional(v, 3, true, this.issuer);
            this.AddOptional(v, 4, false, this.validity);
            this.AddOptional(v, 5, true, this.subject);
            this.AddOptional(v, 6, false, this.publicKey);
            this.AddOptional(v, 7, false, this.issuerUID);
            this.AddOptional(v, 8, false, this.subjectUID);
            this.AddOptional(v, 9, false, this.extensions);
            return(CertTemplate.GetInstance(new DerSequence(v)));
        }
Beispiel #11
0
		public RevDetails(CertTemplate certDetails, X509Extensions crlEntryDetails)
		{
			this.crlEntryDetails = crlEntryDetails;
		}
Beispiel #12
0
		public RevDetails(CertTemplate certDetails)
		{
			this.certDetails = certDetails;
		}
Beispiel #13
0
		public RevDetails(CertTemplate certDetails)
            :   this(certDetails, null)
		{
		}