Searched refs:getXmlRootNode (Results 1 – 5 of 5) sorted by relevance
139 Element root = CertUtils.getXmlRootNode(XML_STR.getBytes(UTF_8)); in getXmlRootNode_succeeds()145 assertThrows(CertParsingException.class, () -> CertUtils.getXmlRootNode(new byte[0])); in getXmlRootNode_throwsIfEmptyInput()150 Element root = CertUtils.getXmlRootNode(XML_STR.getBytes(UTF_8)); in getXmlNodeContents_singleLevel_succeeds()157 Element root = CertUtils.getXmlRootNode(XML_STR.getBytes(UTF_8)); in getXmlNodeContents_multipleLevels_succeeds()164 Element root = CertUtils.getXmlRootNode(XML_STR.getBytes(UTF_8)); in getXmlNodeContents_mustExistFalse_succeedsIfNotExist()173 Element root = CertUtils.getXmlRootNode(XML_STR.getBytes(UTF_8)); in getXmlNodeContents_mustExistAtLeastOne_throwsIfNotExist()186 Element root = CertUtils.getXmlRootNode(XML_STR.getBytes(UTF_8)); in getXmlNodeContents_mustExistExactlyOne_throwsIfNotExist()199 Element root = CertUtils.getXmlRootNode(XML_STR.getBytes(UTF_8)); in getXmlNodeContents_mustExistExactlyOne_throwsIfMultipleExist()
87 Element rootNode = CertUtils.getXmlRootNode(bytes); in parse()
108 Element rootNode = CertUtils.getXmlRootNode(bytes); in parse()
122 static Element getXmlRootNode(byte[] xmlBytes) throws CertParsingException { in getXmlRootNode() method in CertUtils
8494 PLcom/android/server/locksettings/recoverablekeystore/certificate/CertUtils;->getXmlRootNode([B)Lor…