summaryrefslogtreecommitdiffstats
path: root/luni/src/main/java/javax
diff options
context:
space:
mode:
Diffstat (limited to 'luni/src/main/java/javax')
-rw-r--r--luni/src/main/java/javax/crypto/Cipher.java4
-rw-r--r--luni/src/main/java/javax/crypto/KeyAgreement.java4
-rw-r--r--luni/src/main/java/javax/crypto/Mac.java4
3 files changed, 3 insertions, 9 deletions
diff --git a/luni/src/main/java/javax/crypto/Cipher.java b/luni/src/main/java/javax/crypto/Cipher.java
index 225822d..5a66c20 100644
--- a/luni/src/main/java/javax/crypto/Cipher.java
+++ b/luni/src/main/java/javax/crypto/Cipher.java
@@ -366,10 +366,8 @@ public class Cipher {
/**
* Convenience call when the Key is not available.
- *
- * @hide
*/
- public CipherSpi getSpi() {
+ private CipherSpi getSpi() {
return getSpi(null);
}
diff --git a/luni/src/main/java/javax/crypto/KeyAgreement.java b/luni/src/main/java/javax/crypto/KeyAgreement.java
index c804273..1ba660d 100644
--- a/luni/src/main/java/javax/crypto/KeyAgreement.java
+++ b/luni/src/main/java/javax/crypto/KeyAgreement.java
@@ -252,10 +252,8 @@ public class KeyAgreement {
/**
* Convenience call when the Key is not available.
- *
- * @hide
*/
- public KeyAgreementSpi getSpi() {
+ private KeyAgreementSpi getSpi() {
return getSpi(null);
}
diff --git a/luni/src/main/java/javax/crypto/Mac.java b/luni/src/main/java/javax/crypto/Mac.java
index 5774eb2..7da84e6 100644
--- a/luni/src/main/java/javax/crypto/Mac.java
+++ b/luni/src/main/java/javax/crypto/Mac.java
@@ -266,10 +266,8 @@ public class Mac implements Cloneable {
/**
* Convenience call when the Key is not available.
- *
- * @hide
*/
- public MacSpi getSpi() {
+ private MacSpi getSpi() {
return getSpi(null);
}