Home
last modified time | relevance | path

Searched refs:cert_buf (Results 1 – 4 of 4) sorted by relevance

/system/security/keystore2/src/crypto/
Dlib.rs413 pub fn parse_subject_from_certificate(cert_buf: &[u8]) -> Result<Vec<u8>, Error> { in parse_subject_from_certificate()
421 cert_buf.as_ptr(), in parse_subject_from_certificate()
422 cert_buf.len(), in parse_subject_from_certificate()
441 cert_buf.as_ptr(), in parse_subject_from_certificate()
442 cert_buf.len(), in parse_subject_from_certificate()
Dcrypto.cpp284 int extractSubjectFromCertificate(const uint8_t* cert_buf, size_t cert_len, uint8_t* subject_buf, in extractSubjectFromCertificate() argument
286 if (!cert_buf || !subject_buf) { in extractSubjectFromCertificate()
291 const uint8_t* p = cert_buf; in extractSubjectFromCertificate()
Dcrypto.hpp87 int extractSubjectFromCertificate(const uint8_t* cert_buf, size_t cert_len,
Dcertificate_utils.cpp611 uint8_t* cert_buf = nullptr; in signCertWith() local
612 int buf_len = i2d_re_X509_tbs(certificate, &cert_buf); in signCertWith()
617 bssl::UniquePtr<uint8_t> free_cert_buf(cert_buf); in signCertWith()
618 auto signature = sign(cert_buf, buf_len); in signCertWith()