Home
last modified time | relevance | path

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

/frameworks/base/tests/AttestationVerificationTest/src/com/android/server/security/
DAttestationVerificationPeerDeviceVerifierTest.kt56 TEST_ATTESTATION_WITH_ROOT_CERT_FILENAME.fromPEMFileToByteArray()) in verifyAttestation_returnsSuccessTypeChallenge()
69 TEST_ATTESTATION_WITH_ROOT_CERT_FILENAME.fromPEMFileToByteArray()) in verifyAttestation_returnsSuccessLocalPatchOlderThanOneYear()
87 TEST_ATTESTATION_WITH_ROOT_CERT_FILENAME.fromPEMFileToByteArray()) in verifyAttestation_returnsSuccessTypePublicKey()
101 TEST_OWNED_BY_SYSTEM_FILENAME.fromPEMFileToByteArray()) in verifyAttestation_returnsSuccessOwnedBySystem()
115 TEST_ATTESTATION_WITH_ROOT_CERT_FILENAME.fromPEMFileToByteArray()) in verifyAttestation_returnsFailureOwnedBySystem()
128 TEST_ATTESTATION_WITH_ROOT_CERT_FILENAME.fromPEMFileToByteArray()) in verifyAttestation_returnsFailurePatchDateNotWithinOneYearLocalPatch()
141 TEST_ATTESTATION_WITH_ROOT_CERT_FILENAME.fromPEMFileToByteArray()) in verifyAttestation_returnsFailureTrustedAnchorEmpty()
160 TEST_ATTESTATION_WITH_ROOT_CERT_FILENAME.fromPEMFileToByteArray()) in verifyAttestation_returnsFailureTrustedAnchorMismatch()
172 TEST_ATTESTATION_WITH_ROOT_CERT_FILENAME.fromPEMFileToByteArray()) in verifyAttestation_returnsFailureChallenge()
182 private fun String.fromPEMFileToByteArray(): ByteArray { in fromPEMFileToByteArray() method in com.android.server.security.AttestationVerificationPeerDeviceVerifierTest
/frameworks/base/tests/AttestationVerificationTest/src/android/security/attestationverification/
DPeerDeviceSystemAttestationVerificationTest.kt45 invalidAttestationByteArray = TEST_ATTESTATION_CERT_FILENAME.fromPEMFileToByteArray() in <lambda>()
141 private fun String.fromPEMFileToByteArray(): ByteArray { in <lambda>() method in android.security.attestationverification.PeerDeviceSystemAttestationVerificationTest