GetInstance() public static method

public static GetInstance ( Asn1TaggedObject obj, bool explicitly ) : ResponseBytes
obj Org.BouncyCastle.Asn1.Asn1TaggedObject
explicitly bool
return ResponseBytes
        private OcspResponse(
            Asn1Sequence seq)
        {
            responseStatus = new OcspResponseStatus(
                DerEnumerated.GetInstance(seq[0]));

            if (seq.Count == 2)
            {
                responseBytes = ResponseBytes.GetInstance(
                    (Asn1TaggedObject)seq[1], true);
            }
        }
示例#2
0
 public static ResponseBytes GetInstance(Asn1TaggedObject obj, bool explicitly)
 {
     return(ResponseBytes.GetInstance(Asn1Sequence.GetInstance(obj, explicitly)));
 }