Searched refs:purposes (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/keystore/java/android/security/keystore/
H A DKeyProtection.java233 @KeyProperties.PurposeEnum int purposes,
246 mPurposes = purposes;
291 * Gets the set of purposes (e.g., encrypt, decrypt, sign) for which the key can be used.
460 * @param purposes set of purposes (e.g., encrypt, decrypt, sign) for which the key can be
465 public Builder(@KeyProperties.PurposeEnum int purposes) { argument
466 mPurposes = purposes;
229 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) argument
H A DKeyInfo.java95 @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 DKeyGenParameterSpec.java281 @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.
662 * @param purposes set of purposes (e.g., encrypt, decrypt, sign) for which the key can be
665 * <p>If the set of purposes for which the key can be used does not contain
673 public Builder(@NonNull String keystoreAlias, @KeyProperties.PurposeEnum int purposes) { argument
680 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
H A DAndroidKeyStoreSecretKeyFactorySpi.java89 @KeyProperties.PurposeEnum int purposes;
117 purposes = KeyProperties.Purpose.allFromKeymaster(
194 purposes,
H A DKeyProperties.java108 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 DAndroidKeyStoreSpi.java468 @KeyProperties.PurposeEnum int purposes = spec.getPurposes();
470 KeyProperties.Purpose.allToKeymaster(purposes));
481 if (((purposes & KeyProperties.PURPOSE_ENCRYPT) != 0)
670 @KeyProperties.PurposeEnum int purposes = params.getPurposes();
673 if (((purposes & KeyProperties.PURPOSE_ENCRYPT) != 0)
687 KeyProperties.Purpose.allToKeymaster(purposes));
712 if (((purposes & KeyProperties.PURPOSE_ENCRYPT) != 0)
/frameworks/rs/api/
H A Drs_object_types.spec158 as a single unit for packing and alignment purposes.

Completed in 90 milliseconds