Home
last modified time | relevance | path

Searched refs:x509Cert (Results 1 – 2 of 2) sorted by relevance

/cts/tests/security/src/android/keystore/cts/
DAttestation.java68 public Attestation(X509Certificate x509Cert) throws CertificateParsingException { in Attestation() argument
69 ASN1Sequence seq = getAttestationSequence(x509Cert); in Attestation()
70 unexpectedExtensionOids = retrieveUnexpectedExtensionOids(x509Cert); in Attestation()
162 private ASN1Sequence getAttestationSequence(X509Certificate x509Cert) in getAttestationSequence() argument
164 byte[] attestationExtensionBytes = x509Cert.getExtensionValue(KEY_DESCRIPTION_OID); in getAttestationSequence()
172 private Set<String> retrieveUnexpectedExtensionOids(X509Certificate x509Cert) { in retrieveUnexpectedExtensionOids() argument
174 .addAll(x509Cert.getCriticalExtensionOIDs() in retrieveUnexpectedExtensionOids()
178 .addAll(x509Cert.getNonCriticalExtensionOIDs() in retrieveUnexpectedExtensionOids()
/cts/tests/tests/keystore/src/android/keystore/cts/
DTestUtils.java178 final X509Certificate x509Cert = (X509Certificate) cert; in assertKeyStoreKeyPair() local
187 keystorePublicKey.getAlgorithm(), x509Cert.getPublicKey().getAlgorithm()); in assertKeyStoreKeyPair()