Inheritance: Org.BouncyCastle.Asn1.DerEnumerated
Ejemplo n.º 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);
     }
 }
Ejemplo n.º 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);
     }
 }
Ejemplo n.º 3
0
 public OcspResponse(OcspResponseStatus responseStatus, ResponseBytes responseBytes)
 {
     if (responseStatus == null)
     {
         throw new ArgumentNullException("responseStatus");
     }
     this.responseStatus = responseStatus;
     this.responseBytes  = responseBytes;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 6
0
		public OcspResponse(
            OcspResponseStatus	responseStatus,
            ResponseBytes		responseBytes)
        {
			if (responseStatus == null)
				throw new ArgumentNullException("responseStatus");

			this.responseStatus = responseStatus;
            this.responseBytes = responseBytes;
        }
Ejemplo n.º 7
0
		private OcspResponse(
            Asn1Sequence seq)
        {
            responseStatus = new OcspResponseStatus(
				DerEnumerated.GetInstance(seq[0]));

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