OSDN Git Service

Harden and clean up KeyGenParameterSpec.
authorAlex Klyubin <klyubin@google.com>
Tue, 16 Jun 2015 16:51:20 +0000 (09:51 -0700)
committerAlex Klyubin <klyubin@google.com>
Tue, 16 Jun 2015 19:11:10 +0000 (12:11 -0700)
commit1b937eebdd38a7bea9b86831370a78bcded4d63c
tree7785fb3040cfb4080b784aa3b85ac8f6186ab5dd
parentfa4b7fb856a0f978529626fabcddf45fd57ecc3e
Harden and clean up KeyGenParameterSpec.

This ensures that instances of this class are immutable and cleans up
some flawed logic discovered when writing up CTS tests.

Bug: 18088752
Change-Id: I7a27dbfc3445599bccabbd26e39535ce988a2ab2
keystore/java/android/security/keystore/KeyGenParameterSpec.java
keystore/java/android/security/keystore/Utils.java [new file with mode: 0644]