Lines Matching refs:cert
5 #include "net/cert/asn1_util.h"
95 // SeekToSPKI changes |cert| so that it points to a suffix of the
98 static bool SeekToSPKI(base::StringPiece* cert) {
115 if (!GetElement(cert, kSEQUENCE, &certificate))
119 if (!cert->empty())
147 *cert = tbs_certificate;
151 bool ExtractSPKIFromDERCert(base::StringPiece cert,
153 if (!SeekToSPKI(&cert))
155 if (!ParseElement(&cert, kSEQUENCE, spki_out, NULL))
188 bool ExtractCRLURLsFromDERCert(base::StringPiece cert,
193 if (!SeekToSPKI(&cert))
205 if (!GetElement(&cert, kSEQUENCE, NULL))
208 if (!GetElement(&cert, kOptional | kConstructed | kContextSpecific | 1, NULL))
211 if (!GetElement(&cert, kOptional | kConstructed | kContextSpecific | 2, NULL))
215 if (!GetElement(&cert, kOptional | kConstructed | kContextSpecific | 3,