RFC 3126: 4.2.2 Complete Revocation Refs Attribute Definition OcspIdentifier ::= SEQUENCE { ocspResponderID ResponderID, -- As in OCSP response data producedAt GeneralizedTime -- As in OCSP response data }
Inheritance: Asn1Encodable
Esempio n. 1
0
 public OcspResponsesID(OcspIdentifier ocspIdentifier, OtherHash ocspRepHash)
 {
     if (ocspIdentifier == null)
     {
         throw new ArgumentNullException("ocspIdentifier");
     }
     this.ocspIdentifier = ocspIdentifier;
     this.ocspRepHash    = ocspRepHash;
 }
Esempio n. 2
0
		public OcspResponsesID(
			OcspIdentifier	ocspIdentifier,
			OtherHash		ocspRepHash)
		{
			if (ocspIdentifier == null)
				throw new ArgumentNullException("ocspIdentifier");

			this.ocspIdentifier = ocspIdentifier;
			this.ocspRepHash = ocspRepHash;
		}
Esempio n. 3
0
 public OcspResponsesID(OcspIdentifier ocspIdentifier, OtherHash ocspRepHash)
 {
     //IL_000e: Unknown result type (might be due to invalid IL or missing references)
     if (ocspIdentifier == null)
     {
         throw new ArgumentNullException("ocspIdentifier");
     }
     this.ocspIdentifier = ocspIdentifier;
     this.ocspRepHash    = ocspRepHash;
 }
Esempio n. 4
0
		private OcspResponsesID(
			Asn1Sequence seq)
		{
			if (seq == null)
				throw new ArgumentNullException("seq");
			if (seq.Count < 1 || seq.Count > 2)
				throw new ArgumentException("Bad sequence size: " + seq.Count, "seq");

			this.ocspIdentifier = OcspIdentifier.GetInstance(seq[0].ToAsn1Object());

			if (seq.Count > 1)
			{
				this.ocspRepHash = OtherHash.GetInstance(seq[1].ToAsn1Object());
			}
		}
Esempio n. 5
0
 private OcspResponsesID(Asn1Sequence seq)
 {
     if (seq == null)
     {
         throw new ArgumentNullException("seq");
     }
     if (seq.Count < 1 || seq.Count > 2)
     {
         throw new ArgumentException("Bad sequence size: " + seq.Count, "seq");
     }
     this.ocspIdentifier = OcspIdentifier.GetInstance(seq[0].ToAsn1Object());
     if (seq.Count > 1)
     {
         this.ocspRepHash = OtherHash.GetInstance(seq[1].ToAsn1Object());
     }
 }
Esempio n. 6
0
 private OcspResponsesID(Asn1Sequence seq)
 {
     //IL_000e: Unknown result type (might be due to invalid IL or missing references)
     //IL_0040: Unknown result type (might be due to invalid IL or missing references)
     if (seq == null)
     {
         throw new ArgumentNullException("seq");
     }
     if (seq.Count < 1 || seq.Count > 2)
     {
         throw new ArgumentException(string.Concat((object)"Bad sequence size: ", (object)seq.Count), "seq");
     }
     ocspIdentifier = OcspIdentifier.GetInstance(seq[0].ToAsn1Object());
     if (seq.Count > 1)
     {
         ocspRepHash = OtherHash.GetInstance(seq[1].ToAsn1Object());
     }
 }
Esempio n. 7
0
		public OcspResponsesID(
			OcspIdentifier ocspIdentifier)
			: this(ocspIdentifier, null)
		{
		}
Esempio n. 8
0
 public OcspResponsesID(
     OcspIdentifier ocspIdentifier)
     : this(ocspIdentifier, null)
 {
 }