Searched defs:ks (Results 1 - 15 of 15) sorted by relevance

/libcore/luni/src/main/java/javax/net/ssl/
H A DKeyManagerFactorySpi.java41 * @param ks
52 protected abstract void engineInit(KeyStore ks, char[] password) throws KeyStoreException, argument
H A DTrustManagerFactorySpi.java40 * @param ks
45 protected abstract void engineInit(KeyStore ks) throws KeyStoreException; argument
H A DTrustManagerFactory.java189 * @param ks
194 public final void init(KeyStore ks) throws KeyStoreException { argument
195 spiImpl.engineInit(ks);
H A DKeyManagerFactory.java187 * @param ks
199 public final void init(KeyStore ks, char[] password) throws KeyStoreException, argument
201 spiImpl.engineInit(ks, password);
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DMyTrustManagerFactorySpi.java35 protected void engineInit(KeyStore ks) throws KeyStoreException { argument
36 if (ks == null) {
64 public Parameters (KeyStore ks) { argument
65 this.keyStore = ks;
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
H A DKeyManagerFactorySpiImpl.java16 public void engineInit(KeyStore ks, char[] password) argument
20 if (ks == null && password == null) {
24 if (ks == null) {
H A DMyTrustManagerFactorySpi.java35 protected void engineInit(KeyStore ks) throws KeyStoreException { argument
36 if (ks == null) {
64 public Parameters (KeyStore ks) { argument
65 this.keyStore = ks;
H A DMyKeyManagerFactorySpi.java38 protected void engineInit(KeyStore ks, char[] password) argument
44 if (ks == null) {
72 public Parameters (KeyStore ks, char[] pass) { argument
73 this.keyStore = ks;
H A DTrustManagerFactorySpiImpl.java14 private static KeyStore ks = null; field in class:TrustManagerFactorySpiImpl
17 public void engineInit(KeyStore ks) throws KeyStoreException { argument
19 this.ks = ks;
46 return ks;
/libcore/luni/src/main/java/java/security/spec/
H A DECFieldF2m.java41 private final int[] ks; field in class:ECFieldF2m
58 this.ks = null;
96 // setup ks using rp:
98 ks = new int[rp_bc-2];
99 // find midterm orders and set ks accordingly
101 for (int i=ks.length-1; i>=0; i-- ) {
102 ks[i] = rpTmp.getLowestSetBit();
103 rpTmp = rpTmp.clearBit(ks[i]);
109 * a polynomial basis and the reduction polynomial based on {@code ks}.
116 * @param ks
123 ECFieldF2m(int m, int[] ks) argument
[all...]
/libcore/luni/src/test/java/tests/security/spec/
H A DECFieldF2mTest.java70 * The <code>ks</code> parameter for <code>ECFieldF2m</code>
73 final int[] ks; field in class:ECFieldF2mTest.ECFieldF2mDomainParams
87 * @param ks
92 final int[] ks,
96 this.ks = ks;
154 * Set of parameters used for <code>ECFieldF2m(int, int[] ks)</code>
159 // set 0: valid m and ks - trinomial basis params
165 // set 1: valid m and ks - pentanomial basis params
171 // set 2: valid m, invalid (null) pr, invalid (null) ks
90 ECFieldF2mDomainParams(final int m, final BigInteger rp, final int[] ks, final Exception expectedException) argument
[all...]
/libcore/luni/src/test/java/libcore/javax/net/ssl/
H A DSSLContextTest.java360 protected void engineInit(KeyStore ks) throws KeyStoreException { argument
378 protected void engineInit(KeyStore ks, char[] password) throws KeyStoreException, argument
/libcore/luni/src/main/java/java/security/
H A DKeyStore.java912 BuilderImpl(KeyStore ks, ProtectionParameter pp, File file, argument
914 keyStore = ks;
954 final KeyStore ks = (providerForKeyStore == null ? KeyStore
976 ks.load(fis, passwd);
981 ks.load(new TmpLSParameter(protParameter));
985 return ks;
/libcore/luni/src/test/java/libcore/java/security/
H A DKeyStoreTest.java169 KeyStore ks = KeyStore.getInstance(algorithm, provider);
170 assertEquals(provider, ks.getProvider());
171 assertEquals(algorithm, ks.getType());
172 if (!isUnsupported(ks)) {
173 keyStores.add(ks);
180 private static boolean isSecretKeyEnabled(KeyStore ks) { argument
182 return (!(ks.getType().equals("JKS")
183 || ks.getType().equals("CaseExactJKS")
184 || (ks.getType().equals("PKCS12"))
185 || (ks
188 isCertificateEnabled(KeyStore ks) argument
193 isCaseSensitive(KeyStore ks) argument
201 isUnsupported(KeyStore ks) argument
209 isNullPasswordAllowed(KeyStore ks) argument
215 isKeyPasswordSupported(KeyStore ks) argument
218 isKeyPasswordIgnored(KeyStore ks) argument
223 isLoadStoreParameterSupported(KeyStore ks) argument
228 isPersistentStorage(KeyStore ks) argument
232 isLoadStoreUnsupported(KeyStore ks) argument
236 isSetKeyByteArrayUnimplemented(KeyStore ks) argument
243 hasDefaultContents(KeyStore ks) argument
249 isReadOnly(KeyStore ks) argument
255 populate(KeyStore ks) argument
284 clearKeyStore(KeyStore ks) argument
304 setPrivateKeyNoPassword(KeyStore ks, String alias, PrivateKeyEntry privateKey) argument
308 setPrivateKey(KeyStore ks) argument
311 setPrivateKey(KeyStore ks, String alias) argument
314 setPrivateKey(KeyStore ks, String alias, PrivateKeyEntry privateKey) argument
324 setPrivateKeyBytes(KeyStore ks) argument
327 setPrivateKeyBytes(KeyStore ks, String alias) argument
330 setPrivateKeyBytes(KeyStore ks, String alias, PrivateKeyEntry privateKey) argument
339 setSecretKey(KeyStore ks) argument
342 setSecretKey(KeyStore ks, String alias) argument
345 setSecretKey(KeyStore ks, String alias, SecretKey key) argument
352 setSecretKeyBytes(KeyStore ks) argument
355 setSecretKeyBytes(KeyStore ks, String alias) argument
358 setSecretKeyBytes(KeyStore ks, String alias, SecretKey key) argument
365 setCertificate(KeyStore ks) argument
368 setCertificate(KeyStore ks, String alias) argument
371 setCertificate(KeyStore ks, String alias, Certificate certificate) argument
[all...]
/libcore/benchmarks/libs/
H A Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ...

Completed in 3954 milliseconds