summaryrefslogtreecommitdiffstats
path: root/keystore/java
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2013-09-03 09:45:55 -0700
committerKenny Root <kroot@google.com>2013-09-03 09:45:55 -0700
commitc222ddd07ff9c65c682fd82f8534a9d7dea796cd (patch)
tree374082b71bd0c03a5b63de361926677724040ede /keystore/java
parenta39859889b7de0ad3190386cc732fa4bdcbe5504 (diff)
downloadframeworks_base-c222ddd07ff9c65c682fd82f8534a9d7dea796cd.zip
frameworks_base-c222ddd07ff9c65c682fd82f8534a9d7dea796cd.tar.gz
frameworks_base-c222ddd07ff9c65c682fd82f8534a9d7dea796cd.tar.bz2
Unhide functions to allow ECDSA support
Bug: 10600582 Change-Id: Ic710807d7e771737521e0abd83af2f666ec1199c
Diffstat (limited to 'keystore/java')
-rw-r--r--keystore/java/android/security/KeyPairGeneratorSpec.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/keystore/java/android/security/KeyPairGeneratorSpec.java b/keystore/java/android/security/KeyPairGeneratorSpec.java
index da1abdc..21d6caa 100644
--- a/keystore/java/android/security/KeyPairGeneratorSpec.java
+++ b/keystore/java/android/security/KeyPairGeneratorSpec.java
@@ -233,7 +233,6 @@ public final class KeyPairGeneratorSpec implements AlgorithmParameterSpec {
/**
* Returns the key type (e.g., "RSA", "DSA", "EC") specified by this
* parameter.
- * @hide
*/
public String getKeyType() {
return mKeyType;
@@ -243,7 +242,6 @@ public final class KeyPairGeneratorSpec implements AlgorithmParameterSpec {
* Returns the key size specified by this parameter. For instance, for RSA
* this will return the modulus size and for EC it will return the field
* size.
- * @hide
*/
public int getKeySize() {
return mKeySize;
@@ -252,7 +250,6 @@ public final class KeyPairGeneratorSpec implements AlgorithmParameterSpec {
/**
* Returns the {@link AlgorithmParameterSpec} that will be used for creation
* of the key pair.
- * @hide
*/
public AlgorithmParameterSpec getAlgorithmParameterSpec() {
return mSpec;
@@ -375,7 +372,6 @@ public final class KeyPairGeneratorSpec implements AlgorithmParameterSpec {
/**
* Sets the key type (e.g., RSA, DSA, EC) of the keypair to be created.
- * @hide
*/
public Builder setKeyType(String keyType) throws NoSuchAlgorithmException {
if (keyType == null) {
@@ -395,7 +391,6 @@ public final class KeyPairGeneratorSpec implements AlgorithmParameterSpec {
* Sets the key size for the keypair to be created. For instance, for a
* key type of RSA this will set the modulus size and for a key type of
* EC it will select a curve with a matching field size.
- * @hide
*/
public Builder setKeySize(int keySize) {
if (keySize < 0) {
@@ -409,7 +404,6 @@ public final class KeyPairGeneratorSpec implements AlgorithmParameterSpec {
* Sets the underlying key type's parameters. This is required for DSA
* where you must set this to an instance of
* {@link java.security.spec.DSAParameterSpec}.
- * @hide
*/
public Builder setAlgorithmParameterSpec(AlgorithmParameterSpec spec) {
if (spec == null) {