Home
last modified time | relevance | path

Searched refs:issuerKeyHash (Results 1 – 7 of 7) sorted by relevance

/external/conscrypt/common/src/main/java/org/conscrypt/ct/
DCertificateEntry.java52 private final byte[] issuerKeyHash; field in CertificateEntry
58 private CertificateEntry(LogEntryType entryType, byte[] certificate, byte[] issuerKeyHash) { in CertificateEntry() argument
59 if (entryType == LogEntryType.PRECERT_ENTRY && issuerKeyHash == null) { in CertificateEntry()
61 } else if (entryType == LogEntryType.X509_ENTRY && issuerKeyHash != null) { in CertificateEntry()
65 if (issuerKeyHash != null && issuerKeyHash.length != CTConstants.ISSUER_KEY_HASH_LENGTH) { in CertificateEntry()
70 this.issuerKeyHash = issuerKeyHash; in CertificateEntry()
77 …blic static CertificateEntry createForPrecertificate(byte[] tbsCertificate, byte[] issuerKeyHash) { in createForPrecertificate() argument
78 return new CertificateEntry(LogEntryType.PRECERT_ENTRY, tbsCertificate, issuerKeyHash); in createForPrecertificate()
94 byte[] issuerKeyHash = md.digest(); in createForPrecertificate()
96 return createForPrecertificate(tbs, issuerKeyHash); in createForPrecertificate()
[all …]
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ct/
DCertificateEntry.java57 private final byte[] issuerKeyHash; field in CertificateEntry
63 private CertificateEntry(LogEntryType entryType, byte[] certificate, byte[] issuerKeyHash) { in CertificateEntry() argument
64 if (entryType == LogEntryType.PRECERT_ENTRY && issuerKeyHash == null) { in CertificateEntry()
66 } else if (entryType == LogEntryType.X509_ENTRY && issuerKeyHash != null) { in CertificateEntry()
70 if (issuerKeyHash != null && issuerKeyHash.length != CTConstants.ISSUER_KEY_HASH_LENGTH) { in CertificateEntry()
75 this.issuerKeyHash = issuerKeyHash; in CertificateEntry()
82 …blic static CertificateEntry createForPrecertificate(byte[] tbsCertificate, byte[] issuerKeyHash) { in createForPrecertificate() argument
83 return new CertificateEntry(LogEntryType.PRECERT_ENTRY, tbsCertificate, issuerKeyHash); in createForPrecertificate()
99 byte[] issuerKeyHash = md.digest(); in createForPrecertificate()
101 return createForPrecertificate(tbs, issuerKeyHash); in createForPrecertificate()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ocsp/
DCertID.java18 ASN1OctetString issuerKeyHash; field in CertID
24 ASN1OctetString issuerKeyHash, in CertID() argument
29 this.issuerKeyHash = issuerKeyHash; in CertID()
38 issuerKeyHash = (ASN1OctetString)seq.getObjectAt(2); in CertID()
76 return issuerKeyHash; in getIssuerKeyHash()
100 v.add(issuerKeyHash); in toASN1Primitive()
/external/wpa_supplicant_8/src/crypto/
Dtls_openssl_ocsp.c49 ASN1_OCTET_STRING *issuerKeyHash; member
172 ASN1_SIMPLE(CertID, issuerKeyHash, ASN1_OCTET_STRING),
450 if (ASN1_OCTET_STRING_cmp(certid->issuerKeyHash, hash)) { in issuer_match()
728 txt = octet_string_str(sresp->certID->issuerKeyHash); in check_ocsp_resp()
783 ASN1_OCTET_STRING_cmp(cid1->issuerKeyHash, in check_ocsp_resp()
784 cid2->issuerKeyHash) != 0)) { in check_ocsp_resp()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ocsp/
DCertificateID.java147 ASN1OctetString issuerKeyHash = new DEROctetString(digCalc.getDigest()); in createCertID() local
149 … return new CertID(digCalc.getAlgorithmIdentifier(), issuerNameHash, issuerKeyHash, serialNumber); in createCertID()
/external/python/pyasn1-modules/tools/
Docspclient.py69 issuerKeyHash = hashlib.sha1(
85 reqCert.setComponentByName('issuerKeyHash', issuerKeyHash)
/external/scapy/test/
Dx509.uts246 assert(singleResponse.certID.issuerKeyHash.val[:3] == b"Qh\xff" and singleResponse.certID.issuerKey…