Наследование: Org.BouncyCastle.Asn1.DerEnumerated
Пример #1
0
 private OcspResponse(Asn1Sequence seq)
 {
     this.responseStatus = new OcspResponseStatus(DerEnumerated.GetInstance(seq[0]));
     if (seq.Count == 2)
     {
         this.responseBytes = Org.BouncyCastle.Asn1.Ocsp.ResponseBytes.GetInstance((Asn1TaggedObject)seq[1], true);
     }
 }
Пример #2
0
 private OcspResponse(Asn1Sequence seq)
 {
     responseStatus = new OcspResponseStatus(DerEnumerated.GetInstance(seq[0]));
     if (seq.Count == 2)
     {
         responseBytes = ResponseBytes.GetInstance((Asn1TaggedObject)seq[1], explicitly: true);
     }
 }
Пример #3
0
 public OcspResponse(OcspResponseStatus responseStatus, ResponseBytes responseBytes)
 {
     if (responseStatus == null)
     {
         throw new ArgumentNullException("responseStatus");
     }
     this.responseStatus = responseStatus;
     this.responseBytes  = responseBytes;
 }
Пример #4
0
 public OcspResponse(OcspResponseStatus responseStatus, Org.BouncyCastle.Asn1.Ocsp.ResponseBytes responseBytes)
 {
     if (responseStatus == null)
     {
         throw new ArgumentNullException("responseStatus");
     }
     this.responseStatus = responseStatus;
     this.responseBytes  = responseBytes;
 }
Пример #5
0
 public OcspResponse(OcspResponseStatus responseStatus, ResponseBytes responseBytes)
 {
     //IL_000e: Unknown result type (might be due to invalid IL or missing references)
     if (responseStatus == null)
     {
         throw new ArgumentNullException("responseStatus");
     }
     this.responseStatus = responseStatus;
     this.responseBytes  = responseBytes;
 }
Пример #6
0
		public OcspResponse(
            OcspResponseStatus	responseStatus,
            ResponseBytes		responseBytes)
        {
			if (responseStatus == null)
				throw new ArgumentNullException("responseStatus");

			this.responseStatus = responseStatus;
            this.responseBytes = responseBytes;
        }
Пример #7
0
		private OcspResponse(
            Asn1Sequence seq)
        {
            responseStatus = new OcspResponseStatus(
				DerEnumerated.GetInstance(seq[0]));

			if (seq.Count == 2)
            {
                responseBytes = ResponseBytes.GetInstance(
					(Asn1TaggedObject)seq[1], true);
            }
        }