< prev index next >
jdk/src/java.base/share/classes/java/security/spec/EncodedKeySpec.java
Print this page
@@ -72,11 +72,11 @@
* for information about standard algorithm names.
* @throws NullPointerException if {@code encodedKey}
* or {@code algorithm} is null.
* @throws IllegalArgumentException if {@code algorithm} is
* the empty string {@code ""}
- * @since 1.9
+ * @since 9
*/
protected EncodedKeySpec(byte[] encodedKey, String algorithm) {
if (algorithm == null) {
throw new NullPointerException("algorithm name may not be null");
}
@@ -91,11 +91,11 @@
/**
* Returns the name of the algorithm of the encoded key.
*
* @return the name of the algorithm, or null if not specified
- * @since 1.9
+ * @since 9
*/
public String getAlgorithm() {
return algorithmName;
}
< prev index next >