Home
last modified time | relevance | path

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

/tools/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/
DAttestationTest.java150 X509Certificate attestationCert = (X509Certificate) certificates[0]; in testEcAttestation() local
160 printKeyUsage(attestationCert); in testEcAttestation()
163 (ImmutableSet) retrieveUnexpectedExtensionOids(attestationCert); in testEcAttestation()
171 Attestation attestation = new Attestation(attestationCert); in testEcAttestation()
242 private void printKeyUsage(X509Certificate attestationCert) { in printKeyUsage() argument
244 if (attestationCert.getKeyUsage() == null) { in printKeyUsage()
248 if (attestationCert.getKeyUsage()[KEY_USAGE_DIGITAL_SIGNATURE_BIT_OFFSET]) { in printKeyUsage()
251 if (attestationCert.getKeyUsage()[KEY_USAGE_DATA_ENCIPHERMENT_BIT_OFFSET]) { in printKeyUsage()
254 if (attestationCert.getKeyUsage()[KEY_USAGE_KEY_ENCIPHERMENT_BIT_OFFSET]) { in printKeyUsage()