Home
last modified time | relevance | path

Searched refs:issuerKeyHash (Results 1 – 8 of 8) 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()
79 …blic static CertificateEntry createForPrecertificate(byte[] tbsCertificate, byte[] issuerKeyHash) { in createForPrecertificate() argument
80 return new CertificateEntry(LogEntryType.PRECERT_ENTRY, tbsCertificate, issuerKeyHash); in createForPrecertificate()
95 byte[] issuerKeyHash = md.digest(); in createForPrecertificate()
97 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()
84 …blic static CertificateEntry createForPrecertificate(byte[] tbsCertificate, byte[] issuerKeyHash) { in createForPrecertificate() argument
85 return new CertificateEntry(LogEntryType.PRECERT_ENTRY, tbsCertificate, issuerKeyHash); in createForPrecertificate()
100 byte[] issuerKeyHash = md.digest(); in createForPrecertificate()
102 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/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/ocsp/
DCertID.java22 ASN1OctetString issuerKeyHash; field in CertID
28 ASN1OctetString issuerKeyHash, in CertID() argument
33 this.issuerKeyHash = issuerKeyHash; in CertID()
42 issuerKeyHash = (ASN1OctetString)seq.getObjectAt(2); in CertID()
80 return issuerKeyHash; in getIssuerKeyHash()
104 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…