Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/tests/targets/security/
DKeyStorePkcs7FormatTest.java122 KeyStore keystore = KeyStore.getInstance("PKCS12"); in keystoreIsReadableAndConsistent() local
125 keystore.load(inputStream, PASSWORD); in keystoreIsReadableAndConsistent()
127 Enumeration<String> aliases = keystore.aliases(); in keystoreIsReadableAndConsistent()
133 if (!keystore.isKeyEntry(alias)) { in keystoreIsReadableAndConsistent()
137 PrivateKeyEntry keyEntry = (PrivateKeyEntry) keystore.getEntry(alias, null); in keystoreIsReadableAndConsistent()
162 KeyStore keystore = KeyStore.getInstance("PKCS12"); in unknownHashThrowsCorrectException() local
167 keystore.load(inputStream, PASSWORD); in unknownHashThrowsCorrectException()
/libcore/ojluni/src/main/java/java/security/cert/
DPKIXBuilderParameters.java126 public PKIXBuilderParameters(KeyStore keystore, in PKIXBuilderParameters() argument
130 super(keystore); in PKIXBuilderParameters()
DPKIXParameters.java141 public PKIXParameters(KeyStore keystore) in PKIXParameters() argument
144 if (keystore == null) in PKIXParameters()
148 Enumeration<String> aliases = keystore.aliases(); in PKIXParameters()
151 if (keystore.isCertificateEntry(alias)) { in PKIXParameters()
152 Certificate cert = keystore.getCertificate(alias); in PKIXParameters()
/libcore/luni/src/test/java/libcore/java/security/cert/
DOldPKIXParametersTest.java204 KeyStore keystore = KeyStore.getInstance(KeyStore.getDefaultType()); in testPKIXParametersKeyStore04() local
205 keystore.load(null,null); in testPKIXParametersKeyStore04()
206 keystore.setCertificateEntry("test", TestUtils.rootCertificateSS); in testPKIXParametersKeyStore04()
209 PKIXParameters p = new PKIXParameters(keystore); in testPKIXParametersKeyStore04()
/libcore/ojluni/src/main/java/java/security/
DKeyStore.java1788 KeyStore keystore = null; in getInstance() local
1812 keystore = new KeyStore(impl, (Provider)objs[1], type); in getInstance()
1830 if (keystore != null) { in getInstance()
1833 keystore.load(dataStream, password); in getInstance()
1835 keystore.keyStoreSpi.engineLoad(dataStream, param); in getInstance()
1836 keystore.initialized = true; in getInstance()
1838 return keystore; in getInstance()
/libcore/luni/src/main/java/java/security/
Dsecurity.properties50 keystore.type=BKS
/libcore/
DJavaLibrary.bp600 "//cts/tests/tests/keystore",