Searched refs:CertUtils (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/certificate/ |
D | CertUtilsTest.java | 79 X509Certificate cert = CertUtils.decodeCert(f); in decodeCert_readPemFile_succeeds_singleBlock() 86 X509Certificate cert = CertUtils.decodeCert(in); in decodeCert_readPemFile_succeeds_multipleBlocks() 93 assertThrows(CertParsingException.class, () -> CertUtils.decodeCert(in)); in decodeCert_readPemFile_throwsIfNoBeginEndLines() 99 assertThrows(CertParsingException.class, () -> CertUtils.decodeCert(in)); in decodeCert_readPemFile_throwsIfEmptyBlock() 105 assertThrows(CertParsingException.class, () -> CertUtils.decodeCert(in)); in decodeCert_readPemFile_throwsIfInvalidCert() 110 X509Certificate cert = CertUtils.decodeCert(TestData.INTERMEDIATE_CA_2.getEncoded()); in decodeCert_readBytes_succeeds() 119 assertThrows(CertParsingException.class, () -> CertUtils.decodeCert(modifiedCertBytes)); in decodeCert_readBytes_throwsIfInvalidCert() 124 assertThat(CertUtils.decodeBase64("VEVTVA==")).isEqualTo("TEST".getBytes(UTF_8)); in decodeBase64_succeeds() 129 assertThat(CertUtils.decodeBase64("")).hasLength(0); in decodeBase64_succeedsIfEmptyInput() 134 assertThrows(CertParsingException.class, () -> CertUtils.decodeBase64("EVTVA==")); in decodeBase64_throwsIfInvalidInput() [all …]
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/ |
D | SigXml.java | 74 CertUtils.validateCert(validationDate, trustedRoot, intermediateCerts, signerCert); in verifyFileSignature() 75 CertUtils.verifyRsaSha256Signature(signerCert.getPublicKey(), signature, signedFileBytes); in verifyFileSignature() 87 Element rootNode = CertUtils.getXmlRootNode(bytes); in parse() 96 CertUtils.getXmlNodeContents( in parseIntermediateCerts() 97 CertUtils.MUST_EXIST_UNENFORCED, in parseIntermediateCerts() 103 res.add(CertUtils.decodeCert(CertUtils.decodeBase64(content))); in parseIntermediateCerts() 110 CertUtils.getXmlNodeContents( in parseSignerCert() 111 CertUtils.MUST_EXIST_EXACTLY_ONE, rootNode, SIGNER_CERT_NODE_TAG); in parseSignerCert() 112 return CertUtils.decodeCert(CertUtils.decodeBase64(contents.get(0))); in parseSignerCert() 117 CertUtils.getXmlNodeContents( in parseFileSignature() [all …]
|
D | CertXml.java | 96 return CertUtils.validateCert(validationDate, trustedRoot, intermediateCerts, chosenCert); in getEndpointCert() 108 Element rootNode = CertUtils.getXmlRootNode(bytes); in parse() 117 CertUtils.getXmlNodeContents( in parseSerial() 118 CertUtils.MUST_EXIST_EXACTLY_ONE, in parseSerial() 128 CertUtils.getXmlNodeContents( in parseIntermediateCerts() 129 CertUtils.MUST_EXIST_UNENFORCED, in parseIntermediateCerts() 135 res.add(CertUtils.decodeCert(CertUtils.decodeBase64(content))); in parseIntermediateCerts() 143 CertUtils.getXmlNodeContents( in parseEndpointCerts() 144 CertUtils.MUST_EXIST_AT_LEAST_ONE, in parseEndpointCerts() 150 res.add(CertUtils.decodeCert(CertUtils.decodeBase64(content))); in parseEndpointCerts()
|
D | CertUtils.java | 66 public final class CertUtils { class 80 private CertUtils() {} in CertUtils() method in CertUtils
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | TestData.java | 21 import com.android.server.locksettings.recoverablekeystore.certificate.CertUtils;
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
D | RecoverableKeyStoreManager.java | 51 import com.android.server.locksettings.recoverablekeystore.certificate.CertUtils; 572 CertUtils.validateCertPath( in startRecoverySessionWithCertPath()
|
/frameworks/base/services/ |
D | art-profile | 8488 PLcom/android/server/locksettings/recoverablekeystore/certificate/CertUtils;->buildCertPath(Ljava/s… 8489 PLcom/android/server/locksettings/recoverablekeystore/certificate/CertUtils;->buildPkixParams(Ljava… 8490 PLcom/android/server/locksettings/recoverablekeystore/certificate/CertUtils;->decodeBase64(Ljava/la… 8491 PLcom/android/server/locksettings/recoverablekeystore/certificate/CertUtils;->decodeCert(Ljava/io/I… 8492 PLcom/android/server/locksettings/recoverablekeystore/certificate/CertUtils;->getXmlDirectChildren(… 8493 PLcom/android/server/locksettings/recoverablekeystore/certificate/CertUtils;->getXmlNodeContents(IL… 8494 PLcom/android/server/locksettings/recoverablekeystore/certificate/CertUtils;->getXmlRootNode([B)Lor… 8495 PLcom/android/server/locksettings/recoverablekeystore/certificate/CertUtils;->validateCert(Ljava/ut… 8496 PLcom/android/server/locksettings/recoverablekeystore/certificate/CertUtils;->verifyRsaSha256Signat…
|