/frameworks/base/keystore/java/android/security/keystore/ |
D | KeyProtection.java | 209 private final @KeyProperties.PurposeEnum int mPurposes; 210 private final @KeyProperties.EncryptionPaddingEnum String[] mEncryptionPaddings; 211 private final @KeyProperties.SignaturePaddingEnum String[] mSignaturePaddings; 212 private final @KeyProperties.DigestEnum String[] mDigests; 213 private final @KeyProperties.BlockModeEnum String[] mBlockModes; 222 @KeyProperties.PurposeEnum int purposes, in KeyProtection() 223 @KeyProperties.EncryptionPaddingEnum String[] encryptionPaddings, in KeyProtection() 224 @KeyProperties.SignaturePaddingEnum String[] signaturePaddings, in KeyProtection() 225 @KeyProperties.DigestEnum String[] digests, in KeyProtection() 226 @KeyProperties.BlockModeEnum String[] blockModes, in KeyProtection() [all …]
|
D | KeyInfo.java | 72 private final @KeyProperties.OriginEnum int mOrigin; 76 private final @KeyProperties.PurposeEnum int mPurposes; 77 private final @KeyProperties.EncryptionPaddingEnum String[] mEncryptionPaddings; 78 private final @KeyProperties.SignaturePaddingEnum String[] mSignaturePaddings; 79 private final @KeyProperties.DigestEnum String[] mDigests; 80 private final @KeyProperties.BlockModeEnum String[] mBlockModes; 90 @KeyProperties.OriginEnum int origin, in KeyInfo() 95 @KeyProperties.PurposeEnum int purposes, in KeyInfo() 96 @KeyProperties.EncryptionPaddingEnum String[] encryptionPaddings, in KeyInfo() 97 @KeyProperties.SignaturePaddingEnum String[] signaturePaddings, in KeyInfo() [all …]
|
D | KeyGenParameterSpec.java | 243 private final @KeyProperties.PurposeEnum int mPurposes; 244 private final @KeyProperties.DigestEnum String[] mDigests; 245 private final @KeyProperties.EncryptionPaddingEnum String[] mEncryptionPaddings; 246 private final @KeyProperties.SignaturePaddingEnum String[] mSignaturePaddings; 247 private final @KeyProperties.BlockModeEnum String[] mBlockModes; 266 @KeyProperties.PurposeEnum int purposes, in KeyGenParameterSpec() 267 @KeyProperties.DigestEnum String[] digests, in KeyGenParameterSpec() 268 @KeyProperties.EncryptionPaddingEnum String[] encryptionPaddings, in KeyGenParameterSpec() 269 @KeyProperties.SignaturePaddingEnum String[] signaturePaddings, in KeyGenParameterSpec() 270 @KeyProperties.BlockModeEnum String[] blockModes, in KeyGenParameterSpec() [all …]
|
D | AndroidKeyStoreSpi.java | 27 import android.security.keystore.KeyProperties; 290 if (KeyProperties.KEY_ALGORITHM_EC.equalsIgnoreCase(keyAlgorithm)) { in getLegacyKeyProtectionParameter() 293 KeyProperties.PURPOSE_SIGN | KeyProperties.PURPOSE_VERIFY); in getLegacyKeyProtectionParameter() 297 KeyProperties.DIGEST_NONE, in getLegacyKeyProtectionParameter() 298 KeyProperties.DIGEST_SHA1, in getLegacyKeyProtectionParameter() 299 KeyProperties.DIGEST_SHA224, in getLegacyKeyProtectionParameter() 300 KeyProperties.DIGEST_SHA256, in getLegacyKeyProtectionParameter() 301 KeyProperties.DIGEST_SHA384, in getLegacyKeyProtectionParameter() 302 KeyProperties.DIGEST_SHA512); in getLegacyKeyProtectionParameter() 303 } else if (KeyProperties.KEY_ALGORITHM_RSA.equalsIgnoreCase(keyAlgorithm)) { in getLegacyKeyProtectionParameter() [all …]
|
D | AndroidKeyStoreKeyPairGeneratorSpi.java | 151 private @KeyProperties.KeyAlgorithmEnum String mJcaKeyAlgorithm; 203 KeyProperties.KeyAlgorithm.toKeymasterAsymmetricKeyAlgorithm( in initialize() 214 KeyProperties.PURPOSE_SIGN in initialize() 215 | KeyProperties.PURPOSE_VERIFY); in initialize() 219 KeyProperties.DIGEST_NONE, in initialize() 220 KeyProperties.DIGEST_SHA1, in initialize() 221 KeyProperties.DIGEST_SHA224, in initialize() 222 KeyProperties.DIGEST_SHA256, in initialize() 223 KeyProperties.DIGEST_SHA384, in initialize() 224 KeyProperties.DIGEST_SHA512); in initialize() [all …]
|
D | AndroidKeyStoreSecretKeyFactorySpi.java | 83 @KeyProperties.OriginEnum int origin; in getKeyInfo() 85 @KeyProperties.PurposeEnum int purposes; in getKeyInfo() 88 @KeyProperties.DigestEnum String[] digests; in getKeyInfo() 89 @KeyProperties.BlockModeEnum String[] blockModes; in getKeyInfo() 95 origin = KeyProperties.Origin.fromKeymaster( in getKeyInfo() 99 origin = KeyProperties.Origin.fromKeymaster( in getKeyInfo() 112 purposes = KeyProperties.Purpose.allFromKeymaster( in getKeyInfo() 120 @KeyProperties.EncryptionPaddingEnum String jcaPadding = in getKeyInfo() 121 KeyProperties.EncryptionPadding.fromKeymaster(keymasterPadding); in getKeyInfo() 125 @KeyProperties.SignaturePaddingEnum String padding = in getKeyInfo() [all …]
|
D | AndroidKeyStoreKeyGeneratorSpi.java | 25 import android.security.keystore.KeyProperties; 178 mKeymasterPurposes = KeyProperties.Purpose.allToKeymaster(spec.getPurposes()); in engineInit() 179 mKeymasterPaddings = KeyProperties.EncryptionPadding.allToKeymaster( in engineInit() 185 mKeymasterBlockModes = KeyProperties.BlockMode.allToKeymaster(spec.getBlockModes()); in engineInit() 186 if (((spec.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) in engineInit() 194 + KeyProperties.BlockMode.fromKeymaster(keymasterBlockMode) in engineInit() 212 KeyProperties.Digest.allToKeymaster(spec.getDigests()); in engineInit() 218 + KeyProperties.Digest.fromKeymaster(mKeymasterDigest) in engineInit() 225 mKeymasterDigests = KeyProperties.Digest.allToKeymaster(spec.getDigests()); in engineInit() 286 if (((spec.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) in engineGenerateKey() [all …]
|
D | AndroidKeyStoreProvider.java | 170 @NonNull @KeyProperties.KeyAlgorithmEnum String keyAlgorithm, in getAndroidKeyStorePublicKey() 182 if (KeyProperties.KEY_ALGORITHM_EC.equalsIgnoreCase(keyAlgorithm)) { in getAndroidKeyStorePublicKey() 184 } else if (KeyProperties.KEY_ALGORITHM_RSA.equalsIgnoreCase(keyAlgorithm)) { in getAndroidKeyStorePublicKey() 196 if (KeyProperties.KEY_ALGORITHM_EC.equalsIgnoreCase(keyAlgorithm)) { in getAndroidKeyStorePrivateKey() 199 } else if (KeyProperties.KEY_ALGORITHM_RSA.equalsIgnoreCase(keyAlgorithm)) { in getAndroidKeyStorePrivateKey() 236 jcaKeyAlgorithm = KeyProperties.KeyAlgorithm.fromKeymasterAsymmetricKeyAlgorithm( in loadAndroidKeyStorePublicKeyFromKeystore() 295 @KeyProperties.KeyAlgorithmEnum String keyAlgorithmString; in loadAndroidKeyStoreSecretKeyFromKeystore() 297 keyAlgorithmString = KeyProperties.KeyAlgorithm.fromKeymasterSecretKeyAlgorithm( in loadAndroidKeyStoreSecretKeyFromKeystore()
|
D | AndroidKeyStoreRSACipherSpi.java | 199 keymasterDigest = KeyProperties.Digest.toKeymaster(jcaDigest); in initAlgorithmSpecificParameters() 227 if (!KeyProperties.DIGEST_SHA1.equalsIgnoreCase(mgf1JcaDigest)) { in initAlgorithmSpecificParameters() 230 + ". Only " + KeyProperties.DIGEST_SHA1 + " supported"); in initAlgorithmSpecificParameters() 275 KeyProperties.Digest.fromKeymaster(mKeymasterDigest), in engineGetParameters() 361 if (!KeyProperties.KEY_ALGORITHM_RSA.equalsIgnoreCase(key.getAlgorithm())) { in initKey() 363 + ". Only " + KeyProperties.KEY_ALGORITHM_RSA + " supported"); in initKey() 387 + KeyProperties.EncryptionPadding.fromKeymaster(mKeymasterPadding) in initKey() 407 + KeyProperties.EncryptionPadding.fromKeymaster(mKeymasterPadding) in initKey()
|
D | AndroidKeyStoreRSASignatureSpi.java | 140 if (!KeyProperties.KEY_ALGORITHM_RSA.equalsIgnoreCase(key.getAlgorithm())) { in initKey() 142 + ". Only" + KeyProperties.KEY_ALGORITHM_RSA + " supported"); in initKey()
|
D | AndroidKeyStoreECDSASignatureSpi.java | 151 if (!KeyProperties.KEY_ALGORITHM_EC.equalsIgnoreCase(key.getAlgorithm())) { in initKey() 153 + ". Only" + KeyProperties.KEY_ALGORITHM_EC + " supported"); in initKey()
|
D | AndroidKeyStoreRSAPrivateKey.java | 33 super(alias, KeyProperties.KEY_ALGORITHM_RSA); in AndroidKeyStoreRSAPrivateKey()
|
D | AndroidKeyStoreECPrivateKey.java | 32 super(alias, KeyProperties.KEY_ALGORITHM_EC); in AndroidKeyStoreECPrivateKey()
|
D | AndroidKeyStoreRSAPublicKey.java | 33 super(alias, KeyProperties.KEY_ALGORITHM_RSA, x509EncodedForm); in AndroidKeyStoreRSAPublicKey()
|
D | AndroidKeyStoreUnauthenticatedAESCipherSpi.java | 131 if (!KeyProperties.KEY_ALGORITHM_AES.equalsIgnoreCase(key.getAlgorithm())) { in initKey() 134 KeyProperties.KEY_ALGORITHM_AES + " supported"); in initKey()
|
D | AndroidKeyStoreECPublicKey.java | 35 super(alias, KeyProperties.KEY_ALGORITHM_EC, x509EncodedForm); in AndroidKeyStoreECPublicKey()
|
D | KeymasterUtils.java | 173 + KeyProperties.Digest.fromKeymaster(keymasterDigest)); in addMinMacLengthAuthorizationIfNecessary()
|
D | AndroidKeyStoreAuthenticatedAESCipherSpi.java | 279 if (!KeyProperties.KEY_ALGORITHM_AES.equalsIgnoreCase(key.getAlgorithm())) { in initKey() 282 KeyProperties.KEY_ALGORITHM_AES + " supported"); in initKey()
|
D | KeyProperties.java | 35 public abstract class KeyProperties { class 36 private KeyProperties() {} in KeyProperties() method in KeyProperties
|
/frameworks/base/keystore/java/android/security/ |
D | KeyChain.java | 34 import android.security.keystore.KeyProperties; 259 @KeyProperties.KeyAlgorithmEnum String[] keyTypes, Principal[] issuers, in choosePrivateKeyAlias() 307 @KeyProperties.KeyAlgorithmEnum String[] keyTypes, Principal[] issuers, in choosePrivateKeyAlias() 439 @NonNull @KeyProperties.KeyAlgorithmEnum String algorithm) { in isKeyAlgorithmSupported() 441 return KeyProperties.KEY_ALGORITHM_EC.equals(algUpper) in isKeyAlgorithmSupported() 442 || KeyProperties.KEY_ALGORITHM_RSA.equals(algUpper); in isKeyAlgorithmSupported() 466 @NonNull @KeyProperties.KeyAlgorithmEnum String algorithm) { in isBoundKeyAlgorithm()
|
D | KeyPairGeneratorSpec.java | 24 import android.security.keystore.KeyProperties; 170 public @KeyProperties.KeyAlgorithmEnum String getKeyType() { in getKeyType() 329 public Builder setKeyType(@NonNull @KeyProperties.KeyAlgorithmEnum String keyType) in setKeyType() 335 KeyProperties.KeyAlgorithm.toKeymasterAsymmetricKeyAlgorithm(keyType); in setKeyType()
|
/frameworks/base/keystore/tests/src/android/security/keystore/ |
D | AndroidKeyPairGeneratorTest.java | 168 KeyProperties.PURPOSE_SIGN | KeyProperties.PURPOSE_VERIFY) in testKeyPairGenerator_GenerateKeyPair_EC_Unencrypted_Success() 173 .setDigests(KeyProperties.DIGEST_SHA256) in testKeyPairGenerator_GenerateKeyPair_EC_Unencrypted_Success()
|
/frameworks/base/api/ |
D | current.txt | 28404 public abstract class KeyProperties {
|
D | system-current.txt | 30463 public abstract class KeyProperties {
|