GetInstance() public static method

public static GetInstance ( Asn1TaggedObject obj, bool explicitly ) : ResponseData
obj Org.BouncyCastle.Asn1.Asn1TaggedObject
explicitly bool
return ResponseData
コード例 #1
0
 private BasicOcspResponse(Asn1Sequence seq)
 {
     tbsResponseData    = ResponseData.GetInstance(seq[0]);
     signatureAlgorithm = AlgorithmIdentifier.GetInstance(seq[1]);
     signature          = (DerBitString)seq[2];
     if (seq.Count > 3)
     {
         certs = Asn1Sequence.GetInstance((Asn1TaggedObject)seq[3], explicitly: true);
     }
 }
コード例 #2
0
 public static ResponseData GetInstance(Asn1TaggedObject obj, bool explicitly)
 {
     return(ResponseData.GetInstance(Asn1Sequence.GetInstance(obj, explicitly)));
 }