Searched defs:digests (Results 1 - 4 of 4) sorted by last modified time

/frameworks/base/keystore/java/android/security/keystore/
H A DKeyGenParameterSpec.java141 * scheme with SHA-256 or SHA-512 digests. The use of the public key is unrestricted.
167 * OAEP encryption padding scheme with SHA-256 or SHA-512 digests. The use of the public key is
282 @KeyProperties.DigestEnum String[] digests,
326 mDigests = ArrayUtils.cloneIfNotEmpty(digests);
845 * Sets the set of digests algorithms (e.g., {@code SHA-256}, {@code SHA-384}) with which
863 public Builder setDigests(@KeyProperties.DigestEnum String... digests) { argument
864 mDigests = ArrayUtils.cloneIfNotEmpty(digests);
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 DKeyInfo.java98 @KeyProperties.DigestEnum String[] digests,
117 mDigests = ArrayUtils.cloneIfNotEmpty(ArrayUtils.nullToEmpty(digests));
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 DKeyProperties.java618 public static @DigestEnum String[] allFromKeymaster(@NonNull Collection<Integer> digests) { argument
619 if (digests.isEmpty()) {
622 String[] result = new String[digests.size()];
624 for (int digest : digests) {
632 public static int[] allToKeymaster(@Nullable @DigestEnum String[] digests) { argument
633 if ((digests == null) || (digests.length == 0)) {
636 int[] result = new int[digests.length];
638 for (@DigestEnum String digest : digests) {
H A DKeyProtection.java125 * digests. The use of the public key is unrestricted. Both the private and the public key must
190 * using any padding schemes and digests. Both the private and the public key must export their key
239 @KeyProperties.DigestEnum String[] digests,
256 mDigests = ArrayUtils.cloneIfNotEmpty(digests);
620 public Builder setDigests(@KeyProperties.DigestEnum String... digests) { argument
621 mDigests = ArrayUtils.cloneIfNotEmpty(digests);
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

Completed in 74 milliseconds