Searched refs:cborPrettyPrint (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/identity/src/android/security/identity/cts/ |
D | UtilUnitTests.java | 68 + "[1, 'text']", Util.cborPrettyPrint(baos.toByteArray())); in prettyPrintMultipleCompleteTypes() 75 assertEquals("'foobar'", Util.cborPrettyPrint(baos.toByteArray())); in prettyPrintString() 82 assertEquals("[0x01, 0x02, 0x21, 0xfe]", Util.cborPrettyPrint(baos.toByteArray())); in prettyPrintBytestring() 89 assertEquals("42", Util.cborPrettyPrint(baos.toByteArray())); in prettyPrintUnsignedInteger() 96 assertEquals("-42", Util.cborPrettyPrint(baos.toByteArray())); in prettyPrintNegativeInteger() 103 assertEquals("1.1", Util.cborPrettyPrint(baos.toByteArray())); in prettyPrintDouble() 107 assertEquals("-42.0000000001", Util.cborPrettyPrint(baos.toByteArray())); in prettyPrintDouble() 111 assertEquals("-5", Util.cborPrettyPrint(baos.toByteArray())); in prettyPrintDouble() 131 assertEquals("-5", Util.cborPrettyPrint(baos.toByteArray())); in prettyPrintFloat() 138 assertEquals("1.099609375", Util.cborPrettyPrint(baos.toByteArray())); in prettyPrintHalfFloat() [all …]
|
D | CreateItemsRequestTest.java | 46 Util.cborPrettyPrint(Util.createItemsRequest(entriesToRequest, docType))); in basicRequest() 68 Util.cborPrettyPrint(Util.createItemsRequest(entriesToRequest, docType))); in multipleNamespaces() 83 Util.cborPrettyPrint(Util.createItemsRequest(entriesToRequest, null))); in noDocType() 92 Util.cborPrettyPrint(Util.createItemsRequest(entriesToRequest, null))); in empty()
|
D | ProvisioningTest.java | 176 pretty = Util.cborPrettyPrint(proofOfProvisioning); in createCredentialWithChallengeAndAcpId() 321 String pretty = Util.cborPrettyPrint(proofOfProvisioning); in createCredentialMultipleNamespaces() 432 String pretty = Util.cborPrettyPrint(proofOfDeletion); in deleteCredential() 533 + "}", Util.cborPrettyPrint(Util.canonicalizeCbor(rd.getAuthenticatedData()))); in testProvisionAndRetrieve() 877 String pretty = Util.cborPrettyPrint(Util.canonicalizeCbor(resultCbor)); in multipleNamespaces() 1014 + "}", Util.cborPrettyPrint(Util.canonicalizeCbor(rd.getAuthenticatedData()))); in testProvisionAcpIdNotStartingAtZero()
|
D | DynamicAuthTest.java | 95 String pretty = Util.cborPrettyPrint(Util.canonicalizeCbor(resultCbor)); in dynamicAuthTest() 245 String pretty = Util.cborPrettyPrint(Util.canonicalizeCbor(resultCbor)); in dynamicAuthTest()
|
D | UserAuthTest.java | 239 String pretty = Util.cborPrettyPrint(proofOfProvisioning); in doTestUserAuth()
|
D | ReaderAuthTest.java | 216 String pretty = Util.cborPrettyPrint(proofOfProvisioning); in readerAuth()
|
D | Util.java | 104 static String cborPrettyPrint(byte[] encodedBytes) throws CborException { in cborPrettyPrint() method in Util
|