diff options
Diffstat (limited to 'luni')
-rw-r--r-- | luni/src/main/java/java/security/Signature.java | 14 | ||||
-rw-r--r-- | luni/src/main/java/javax/crypto/Cipher.java | 4 | ||||
-rw-r--r-- | luni/src/main/java/javax/crypto/KeyAgreement.java | 4 | ||||
-rw-r--r-- | luni/src/main/java/javax/crypto/Mac.java | 4 |
4 files changed, 4 insertions, 22 deletions
diff --git a/luni/src/main/java/java/security/Signature.java b/luni/src/main/java/java/security/Signature.java index a45fa59..795ccad 100644 --- a/luni/src/main/java/java/security/Signature.java +++ b/luni/src/main/java/java/security/Signature.java @@ -245,15 +245,6 @@ public abstract class Signature extends SignatureSpi { } /** - * Gets the SPI implementation backing this signature. - * - * @hide - */ - public SignatureSpi getSpi() { - return null; - } - - /** * Returns the {@code SignatureSpi} backing this {@code Signature} or {@code null} if no * {@code SignatureSpi} is backing this {@code Signature}. * @@ -749,11 +740,8 @@ public abstract class Signature extends SignatureSpi { /** * Convenience call when the Key is not available. - * - * @hide */ - @Override - public SignatureSpi getSpi() { + private SignatureSpi getSpi() { return getSpi(null); } 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); } |