Home
last modified time | relevance | path

Searched refs:KeyPairGeneratorSpec (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/keystore/tests/src/android/security/
DKeyPairGeneratorSpecTest.java42 KeyPairGeneratorSpec spec = in testConstructor_Success()
43 new KeyPairGeneratorSpec(getContext(), TEST_ALIAS_1, "RSA", 1024, null, TEST_DN_1, in testConstructor_Success()
62 KeyPairGeneratorSpec spec = new KeyPairGeneratorSpec.Builder(getContext()) in testBuilder_Success()
92 … new KeyPairGeneratorSpec(null, TEST_ALIAS_1, "RSA", 1024, null, TEST_DN_1, SERIAL_1, NOW, in testConstructor_NullContext_Failure()
101 … new KeyPairGeneratorSpec(getContext(), null, "RSA", 1024, null, TEST_DN_1, SERIAL_1, NOW, in testConstructor_NullKeystoreAlias_Failure()
110 … new KeyPairGeneratorSpec(getContext(), TEST_ALIAS_1, "RSA", 1024, null, null, SERIAL_1, NOW, in testConstructor_NullSubjectDN_Failure()
119 … new KeyPairGeneratorSpec(getContext(), TEST_ALIAS_1, "RSA", 1024, null, TEST_DN_1, null, NOW, in testConstructor_NullSerial_Failure()
128 … new KeyPairGeneratorSpec(getContext(), TEST_ALIAS_1, "RSA", 1024, null, TEST_DN_1, SERIAL_1, in testConstructor_NullStartDate_Failure()
137 … new KeyPairGeneratorSpec(getContext(), TEST_ALIAS_1, "RSA", 1024, null, TEST_DN_1, SERIAL_1, in testConstructor_NullEndDate_Failure()
146 … new KeyPairGeneratorSpec(getContext(), TEST_ALIAS_1, "RSA", 1024, null, TEST_DN_1, SERIAL_1, in testConstructor_EndBeforeStart_Failure()
/frameworks/base/keystore/tests/src/android/security/keystore/
DAndroidKeyPairGeneratorTest.java20 import android.security.KeyPairGeneratorSpec;
96 mGenerator.initialize(new KeyPairGeneratorSpec.Builder(getContext()) in testKeyPairGenerator_Initialize_Params_Encrypted_Success()
132 new KeyPairGeneratorSpec.Builder(getContext()) in testKeyPairGenerator_Initialize_ParamsAndSecureRandom_Encrypted_Failure()
148 mGenerator.initialize(new KeyPairGeneratorSpec.Builder(getContext()) in testKeyPairGenerator_GenerateKeyPair_Encrypted_Success()
185 mGenerator.initialize(new KeyPairGeneratorSpec.Builder(getContext()) in testKeyPairGenerator_Legacy_GenerateKeyPair_EC_Unencrypted_Success()
202 mGenerator.initialize(new KeyPairGeneratorSpec.Builder(getContext()) in testKeyPairGenerator_GenerateKeyPair_EC_P521_Unencrypted_Success()
220 mGenerator.initialize(new KeyPairGeneratorSpec.Builder(getContext()) in testKeyPairGenerator_GenerateKeyPair_RSA_Unencrypted_Success()
238 mGenerator.initialize(new KeyPairGeneratorSpec.Builder(getContext()) in testKeyPairGenerator_GenerateKeyPair_RSA_WithParams_Unencrypted_Success()
258 mGenerator.initialize(new KeyPairGeneratorSpec.Builder(getContext()) in testKeyPairGenerator_GenerateKeyPair_Replaced_Success()
273 mGenerator.initialize(new KeyPairGeneratorSpec.Builder(getContext()) in testKeyPairGenerator_GenerateKeyPair_Replaced_Success()
[all …]
/frameworks/base/keystore/java/android/security/
DKeyPairGeneratorSpec.java61 public final class KeyPairGeneratorSpec implements AlgorithmParameterSpec { class
115 public KeyPairGeneratorSpec(Context context, String keyStoreAlias, String keyType, int keySize, in KeyPairGeneratorSpec() method in KeyPairGeneratorSpec
448 public KeyPairGeneratorSpec build() { in build()
449 return new KeyPairGeneratorSpec(mContext, in build()
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreKeyPairGeneratorSpi.java21 import android.security.KeyPairGeneratorSpec;
179 KeyGenParameterSpec.class.getName() + " or " + KeyPairGeneratorSpec.class.getName() in initialize()
194 + " or " + KeyPairGeneratorSpec.class.getName()); in initialize()
202 } else if (params instanceof KeyPairGeneratorSpec) { in initialize()
204 KeyPairGeneratorSpec legacySpec = (KeyPairGeneratorSpec) params; in initialize()
291 + ", " + KeyPairGeneratorSpec.class.getName()); in initialize()
/frameworks/base/docs/html/training/articles/
Dkeystore.jd161 with {@link android.security.KeyPairGeneratorSpec}:</p>
452 initialized {@link android.security.KeyPairGeneratorSpec} whose key type is set to "EC"
453 using {@link android.security.KeyPairGeneratorSpec.Builder#setKeyType(String)}. EC curve
/frameworks/base/docs/html/about/versions/
Dandroid-4.3.jd1086 {@link java.security.KeyPairGenerator} with {@link android.security.KeyPairGeneratorSpec}. First
1090 {@link android.security.KeyPairGeneratorSpec}, which you can get using
1091 {@link android.security.KeyPairGeneratorSpec.Builder KeyPairGeneratorSpec.Builder}.
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt26871 public final class KeyPairGeneratorSpec implements java.security.spec.AlgorithmParameterSpec {
26884 public static final class KeyPairGeneratorSpec.Builder {
26885 ctor public KeyPairGeneratorSpec.Builder(android.content.Context);
26886 method public android.security.KeyPairGeneratorSpec build();
26887 …method public android.security.KeyPairGeneratorSpec.Builder setAlgorithmParameterSpec(java.securit…
26888 method public android.security.KeyPairGeneratorSpec.Builder setAlias(java.lang.String);
26889 method public android.security.KeyPairGeneratorSpec.Builder setEncryptionRequired();
26890 method public android.security.KeyPairGeneratorSpec.Builder setEndDate(java.util.Date);
26891 method public android.security.KeyPairGeneratorSpec.Builder setKeySize(int);
26892 …method public android.security.KeyPairGeneratorSpec.Builder setKeyType(java.lang.String) throws ja…
[all …]
/frameworks/base/api/
Dcurrent.txt34269 …public final deprecated class KeyPairGeneratorSpec implements java.security.spec.AlgorithmParamete…
34282 public static final deprecated class KeyPairGeneratorSpec.Builder {
34283 ctor public KeyPairGeneratorSpec.Builder(android.content.Context);
34284 method public android.security.KeyPairGeneratorSpec build();
34285 …method public android.security.KeyPairGeneratorSpec.Builder setAlgorithmParameterSpec(java.securit…
34286 method public android.security.KeyPairGeneratorSpec.Builder setAlias(java.lang.String);
34287 method public android.security.KeyPairGeneratorSpec.Builder setEncryptionRequired();
34288 method public android.security.KeyPairGeneratorSpec.Builder setEndDate(java.util.Date);
34289 method public android.security.KeyPairGeneratorSpec.Builder setKeySize(int);
34290 …method public android.security.KeyPairGeneratorSpec.Builder setKeyType(java.lang.String) throws ja…
[all …]
Dsystem-current.txt37027 …public final deprecated class KeyPairGeneratorSpec implements java.security.spec.AlgorithmParamete…
37040 public static final deprecated class KeyPairGeneratorSpec.Builder {
37041 ctor public KeyPairGeneratorSpec.Builder(android.content.Context);
37042 method public android.security.KeyPairGeneratorSpec build();
37043 …method public android.security.KeyPairGeneratorSpec.Builder setAlgorithmParameterSpec(java.securit…
37044 method public android.security.KeyPairGeneratorSpec.Builder setAlias(java.lang.String);
37045 method public android.security.KeyPairGeneratorSpec.Builder setEncryptionRequired();
37046 method public android.security.KeyPairGeneratorSpec.Builder setEndDate(java.util.Date);
37047 method public android.security.KeyPairGeneratorSpec.Builder setKeySize(int);
37048 …method public android.security.KeyPairGeneratorSpec.Builder setKeyType(java.lang.String) throws ja…
[all …]
Dtest-current.txt34351 …public final deprecated class KeyPairGeneratorSpec implements java.security.spec.AlgorithmParamete…
34364 public static final deprecated class KeyPairGeneratorSpec.Builder {
34365 ctor public KeyPairGeneratorSpec.Builder(android.content.Context);
34366 method public android.security.KeyPairGeneratorSpec build();
34367 …method public android.security.KeyPairGeneratorSpec.Builder setAlgorithmParameterSpec(java.securit…
34368 method public android.security.KeyPairGeneratorSpec.Builder setAlias(java.lang.String);
34369 method public android.security.KeyPairGeneratorSpec.Builder setEncryptionRequired();
34370 method public android.security.KeyPairGeneratorSpec.Builder setEndDate(java.util.Date);
34371 method public android.security.KeyPairGeneratorSpec.Builder setKeySize(int);
34372 …method public android.security.KeyPairGeneratorSpec.Builder setKeyType(java.lang.String) throws ja…
[all …]