Home
last modified time | relevance | path

Searched refs:leafCert (Results 1 – 5 of 5) sorted by relevance

/expo/packages/expo-updates/ios/Tests/
H A DCertificateChainSpec.swift17 let leafCert = getTestCertificate(TestCertificate.chainLeaf) in spec() variable
56 let leafCert = getTestCertificate(TestCertificate.chainLeaf) in spec() variable
60 try CertificateChain(certificateStrings: [leafCert, rootCert]).codeSigningCertificate() in spec()
65 let leafCert = getTestCertificate(TestCertificate.invalidSignatureChainLeaf) in spec() variable
70 …try CertificateChain(certificateStrings: [leafCert, intermediateCert, rootCert]).codeSigningCertif… in spec()
76 let leafCert = getTestCertificate(TestCertificate.chainLeaf) in spec() variable
80 … try CertificateChain(certificateStrings: [leafCert, intermediateCert]).codeSigningCertificate() in spec()
94 let leafCert = getTestCertificate(TestCertificate.chainNotCALeaf) in spec() variable
99 …try CertificateChain(certificateStrings: [leafCert, intermediateCert, rootCert]).codeSigningCertif… in spec()
104 let leafCert = getTestCertificate(TestCertificate.chainPathLenViolationLeaf) in spec() variable
[all …]
H A DCodeSigningConfigurationSpec.swift10 let leafCert = getTestCertificate(TestCertificate.chainLeaf) in spec() variable
16 …1 = CodeSigningConfiguration.separateCertificateChain(certificateChainInManifestResponse: leafCert) in spec()
19 …figuration.separateCertificateChain(certificateChainInManifestResponse: leafCert + intermediateCer… in spec()
22 …figuration.separateCertificateChain(certificateChainInManifestResponse: leafCert + intermediateCer… in spec()
143 let leafCert = getTestCertificate(TestCertificate.chainLeaf) in spec() variable
154 manifestResponseCertificateChain: leafCert + intermediateCert in spec()
161 let leafCert = getTestCertificate(TestCertificate.chainLeaf) in spec() variable
173 manifestResponseCertificateChain: leafCert + intermediateCert in spec()
/expo/packages/expo-updates/android/src/androidTest/java/expo/modules/updates/codesigning/
H A DCertificateChainTest.kt23 val leafCert = getTestCertificate(TestCertificateType.CHAIN_LEAF) in test_ValidCertificateChain() constant
81 val leafCert = getTestCertificate(TestCertificateType.CHAIN_LEAF) in test_ThrowsChainIsNotValid() constant
86 CertificateChain(listOf(leafCert, rootCert)).codeSigningCertificate in test_ThrowsChainIsNotValid()
95 val leafCert = getTestCertificate(TestCertificateType.CHAIN_LEAF) in test_ThrowsWhenRootIsNotSelfSigned() constant
100 CertificateChain(listOf(leafCert, intermediateCert)).codeSigningCertificate in test_ThrowsWhenRootIsNotSelfSigned()
108 val leafCert = getTestCertificate(TestCertificateType.INVALID_SIGNATURE_CHAIN_LEAF) in test_ThrowsWhenAnySignatureInvalid() constant
114 CertificateChain(listOf(leafCert, intermediateCert, rootCert)).codeSigningCertificate in test_ThrowsWhenAnySignatureInvalid()
132 val leafCert = getTestCertificate(TestCertificateType.CHAIN_NOT_CA_LEAF) in test_ThrowsWhenIntermediateCANotCA() constant
138 CertificateChain(listOf(leafCert, intermediateCert, rootCert)).codeSigningCertificate in test_ThrowsWhenIntermediateCANotCA()
146 val leafCert = getTestCertificate(TestCertificateType.CHAIN_PATH_LEN_VIOLATION_LEAF) in test_ThrowsWhenCAPathLenViolated() constant
[all …]
H A DCodeSigningConfigurationTest.kt13 val leafCert = getTestCertificate(TestCertificateType.CHAIN_LEAF) in test_separateCertificateChain() constant
19 val chain1 = CodeSigningConfiguration.separateCertificateChain(leafCert) in test_separateCertificateChain()
23 leafCert + intermediateCert in test_separateCertificateChain()
28 leafCert + intermediateCert + rootCert in test_separateCertificateChain()
130 val leafCert = getTestCertificate(TestCertificateType.CHAIN_LEAF) in test_validateSignature_DoesNotUseChainInManifestResponseIfFlagIsFalse() constant
139 …stBodySignature, CertificateFixtures.testNewManifestBody.toByteArray(), leafCert + intermediateCer… in test_validateSignature_DoesNotUseChainInManifestResponseIfFlagIsFalse()
145 val leafCert = getTestCertificate(TestCertificateType.CHAIN_LEAF) in test_validateSignature_DoesUseChainInManifestResponseIfFlagIsTrue() constant
156 …inLeafSignature, CertificateFixtures.testNewManifestBody.toByteArray(), leafCert + intermediateCer… in test_validateSignature_DoesUseChainInManifestResponseIfFlagIsTrue()
/expo/packages/expo-updates/android/src/androidTest/java/expo/modules/updates/loader/
H A DFileDownloaderManifestParsingTest.kt664 val leafCert = getTestCertificate(TestCertificateType.CHAIN_LEAF) in testManifestParsing_MultipartBodySignedCertificateParticularExperience() constant
688 …RequestBody.create("application/x-pem-file; charset=utf-8".toMediaTypeOrNull(), leafCert + interme… in testManifestParsing_MultipartBodySignedCertificateParticularExperience()
761 val leafCert = getTestCertificate(TestCertificateType.CHAIN_LEAF) in testManifestParsing_MultipartBodySignedCertificateParticularExperience_IncorrectExperienceInManifest() constant
785 …RequestBody.create("application/x-pem-file; charset=utf-8".toMediaTypeOrNull(), leafCert + interme… in testManifestParsing_MultipartBodySignedCertificateParticularExperience_IncorrectExperienceInManifest()
846 val leafCert = getTestCertificate(TestCertificateType.CHAIN_LEAF) in testManifestParsing_MultipartBodySignedCertificateParticularExperience_IncorrectExperienceInDirective() constant
858 …RequestBody.create("application/x-pem-file; charset=utf-8".toMediaTypeOrNull(), leafCert + interme… in testManifestParsing_MultipartBodySignedCertificateParticularExperience_IncorrectExperienceInDirective()