Searched defs:purposes (Results 1 - 4 of 4) sorted by relevance
/frameworks/base/keystore/java/android/security/keystore/ |
H A D | KeyInfo.java | 95 @KeyProperties.PurposeEnum int purposes, 112 mPurposes = purposes; 188 * Gets the set of purposes (e.g., encrypt, decrypt, sign) for which the key can be used. 88 KeyInfo(String keystoreKeyAlias, boolean insideSecureHardware, @KeyProperties.OriginEnum int origin, int keySize, Date keyValidityStart, Date keyValidityForOriginationEnd, Date keyValidityForConsumptionEnd, @KeyProperties.PurposeEnum int purposes, @KeyProperties.EncryptionPaddingEnum String[] encryptionPaddings, @KeyProperties.SignaturePaddingEnum String[] signaturePaddings, @KeyProperties.DigestEnum String[] digests, @KeyProperties.BlockModeEnum String[] blockModes, boolean userAuthenticationRequired, int userAuthenticationValidityDurationSeconds, boolean userAuthenticationRequirementEnforcedBySecureHardware, boolean userAuthenticationValidWhileOnBody, boolean invalidatedByBiometricEnrollment) argument
|
H A D | KeyProperties.java | 108 public static int[] allToKeymaster(@PurposeEnum int purposes) { argument 109 int[] result = getSetFlags(purposes); 116 public static @PurposeEnum int allFromKeymaster(@NonNull Collection<Integer> purposes) { argument 118 for (int keymasterPurpose : purposes) {
|
H A D | KeyProtection.java | 236 @KeyProperties.PurposeEnum int purposes, 251 mPurposes = purposes; 298 * Gets the set of purposes (e.g., encrypt, decrypt, sign) for which the key can be used. 497 * @param purposes set of purposes (e.g., encrypt, decrypt, sign) for which the key can be 502 public Builder(@KeyProperties.PurposeEnum int purposes) { argument 503 mPurposes = purposes; 232 KeyProtection( Date keyValidityStart, Date keyValidityForOriginationEnd, Date keyValidityForConsumptionEnd, @KeyProperties.PurposeEnum int purposes, @KeyProperties.EncryptionPaddingEnum String[] encryptionPaddings, @KeyProperties.SignaturePaddingEnum String[] signaturePaddings, @KeyProperties.DigestEnum String[] digests, @KeyProperties.BlockModeEnum String[] blockModes, boolean randomizedEncryptionRequired, boolean userAuthenticationRequired, int userAuthenticationValidityDurationSeconds, boolean userAuthenticationValidWhileOnBody, boolean invalidatedByBiometricEnrollment, long boundToSecureUserId, boolean criticalToDeviceEncryption) argument
|
H A D | KeyGenParameterSpec.java | 281 @KeyProperties.PurposeEnum int purposes, 325 mPurposes = purposes; 441 * Returns the set of purposes (e.g., encrypt, decrypt, sign) for which the key can be used. 661 * @param purposes set of purposes (e.g., encrypt, decrypt, sign) for which the key can be 664 * <p>If the set of purposes for which the key can be used does not contain 672 public Builder(@NonNull String keystoreAlias, @KeyProperties.PurposeEnum int purposes) { argument 679 mPurposes = purposes; 269 KeyGenParameterSpec( String keyStoreAlias, int uid, int keySize, AlgorithmParameterSpec spec, X500Principal certificateSubject, BigInteger certificateSerialNumber, Date certificateNotBefore, Date certificateNotAfter, Date keyValidityStart, Date keyValidityForOriginationEnd, Date keyValidityForConsumptionEnd, @KeyProperties.PurposeEnum int purposes, @KeyProperties.DigestEnum String[] digests, @KeyProperties.EncryptionPaddingEnum String[] encryptionPaddings, @KeyProperties.SignaturePaddingEnum String[] signaturePaddings, @KeyProperties.BlockModeEnum String[] blockModes, boolean randomizedEncryptionRequired, boolean userAuthenticationRequired, int userAuthenticationValidityDurationSeconds, byte[] attestationChallenge, boolean uniqueIdIncluded, boolean userAuthenticationValidWhileOnBody, boolean invalidatedByBiometricEnrollment) argument
|
Completed in 1805 milliseconds