Loading keystore/java/android/security/keystore/AndroidKeyStoreKeyPairGeneratorSpi.java +2 −3 Original line number Original line Diff line number Diff line Loading @@ -226,9 +226,8 @@ public abstract class AndroidKeyStoreKeyPairGeneratorSpi extends KeyPairGenerato | KeyProperties.PURPOSE_VERIFY); | KeyProperties.PURPOSE_VERIFY); // Authorized to be used with any digest (including no digest). // Authorized to be used with any digest (including no digest). specBuilder.setDigests(KeyProperties.DIGEST_NONE); specBuilder.setDigests(KeyProperties.DIGEST_NONE); specBuilder.setSignaturePaddings( // Authorized to be used with any encryption and signature padding KeyProperties.SIGNATURE_PADDING_RSA_PKCS1); // scheme (including no padding). // Authorized to be used with any padding (including no padding). specBuilder.setEncryptionPaddings( specBuilder.setEncryptionPaddings( KeyProperties.ENCRYPTION_PADDING_NONE); KeyProperties.ENCRYPTION_PADDING_NONE); // Disable randomized encryption requirement to support encryption // Disable randomized encryption requirement to support encryption Loading keystore/java/android/security/keystore/AndroidKeyStoreSpi.java +2 −3 Original line number Original line Diff line number Diff line Loading @@ -258,9 +258,8 @@ public class AndroidKeyStoreSpi extends KeyStoreSpi { | KeyProperties.PURPOSE_VERIFY); | KeyProperties.PURPOSE_VERIFY); // Authorized to be used with any digest (including no digest). // Authorized to be used with any digest (including no digest). specBuilder.setDigests(KeyProperties.DIGEST_NONE); specBuilder.setDigests(KeyProperties.DIGEST_NONE); specBuilder.setSignaturePaddings( // Authorized to be used with any encryption and signature padding scheme (including no KeyProperties.SIGNATURE_PADDING_RSA_PKCS1); // padding). // Authorized to be used with any padding (including no padding). specBuilder.setEncryptionPaddings( specBuilder.setEncryptionPaddings( KeyProperties.ENCRYPTION_PADDING_NONE); KeyProperties.ENCRYPTION_PADDING_NONE); // Disable randomized encryption requirement to support encryption padding NONE // Disable randomized encryption requirement to support encryption padding NONE Loading Loading
keystore/java/android/security/keystore/AndroidKeyStoreKeyPairGeneratorSpi.java +2 −3 Original line number Original line Diff line number Diff line Loading @@ -226,9 +226,8 @@ public abstract class AndroidKeyStoreKeyPairGeneratorSpi extends KeyPairGenerato | KeyProperties.PURPOSE_VERIFY); | KeyProperties.PURPOSE_VERIFY); // Authorized to be used with any digest (including no digest). // Authorized to be used with any digest (including no digest). specBuilder.setDigests(KeyProperties.DIGEST_NONE); specBuilder.setDigests(KeyProperties.DIGEST_NONE); specBuilder.setSignaturePaddings( // Authorized to be used with any encryption and signature padding KeyProperties.SIGNATURE_PADDING_RSA_PKCS1); // scheme (including no padding). // Authorized to be used with any padding (including no padding). specBuilder.setEncryptionPaddings( specBuilder.setEncryptionPaddings( KeyProperties.ENCRYPTION_PADDING_NONE); KeyProperties.ENCRYPTION_PADDING_NONE); // Disable randomized encryption requirement to support encryption // Disable randomized encryption requirement to support encryption Loading
keystore/java/android/security/keystore/AndroidKeyStoreSpi.java +2 −3 Original line number Original line Diff line number Diff line Loading @@ -258,9 +258,8 @@ public class AndroidKeyStoreSpi extends KeyStoreSpi { | KeyProperties.PURPOSE_VERIFY); | KeyProperties.PURPOSE_VERIFY); // Authorized to be used with any digest (including no digest). // Authorized to be used with any digest (including no digest). specBuilder.setDigests(KeyProperties.DIGEST_NONE); specBuilder.setDigests(KeyProperties.DIGEST_NONE); specBuilder.setSignaturePaddings( // Authorized to be used with any encryption and signature padding scheme (including no KeyProperties.SIGNATURE_PADDING_RSA_PKCS1); // padding). // Authorized to be used with any padding (including no padding). specBuilder.setEncryptionPaddings( specBuilder.setEncryptionPaddings( KeyProperties.ENCRYPTION_PADDING_NONE); KeyProperties.ENCRYPTION_PADDING_NONE); // Disable randomized encryption requirement to support encryption padding NONE // Disable randomized encryption requirement to support encryption padding NONE Loading