Home
last modified time | relevance | path

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

/cts/tests/tests/identity/src/android/security/identity/cts/
DUtilUnitTests.java68 + "[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 …]
DCreateItemsRequestTest.java46 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()
DProvisioningTest.java176 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()
DDynamicAuthTest.java95 String pretty = Util.cborPrettyPrint(Util.canonicalizeCbor(resultCbor)); in dynamicAuthTest()
245 String pretty = Util.cborPrettyPrint(Util.canonicalizeCbor(resultCbor)); in dynamicAuthTest()
DUserAuthTest.java239 String pretty = Util.cborPrettyPrint(proofOfProvisioning); in doTestUserAuth()
DReaderAuthTest.java216 String pretty = Util.cborPrettyPrint(proofOfProvisioning); in readerAuth()
DUtil.java104 static String cborPrettyPrint(byte[] encodedBytes) throws CborException { in cborPrettyPrint() method in Util