diff options
Diffstat (limited to 'luni/src/main/java/javax/crypto/SealedObject.java')
-rw-r--r-- | luni/src/main/java/javax/crypto/SealedObject.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/luni/src/main/java/javax/crypto/SealedObject.java b/luni/src/main/java/javax/crypto/SealedObject.java index 1f1ced8..e99fbd0 100644 --- a/luni/src/main/java/javax/crypto/SealedObject.java +++ b/luni/src/main/java/javax/crypto/SealedObject.java @@ -87,7 +87,7 @@ public class SealedObject implements Serializable { public SealedObject(Serializable object, Cipher c) throws IOException, IllegalBlockSizeException { if (c == null) { - throw new NullPointerException(Messages.getString("crypto.13")); + throw new NullPointerException(Messages.getString("crypto.13")); } try { ByteArrayOutputStream bos = new ByteArrayOutputStream(); @@ -115,7 +115,7 @@ public class SealedObject implements Serializable { */ protected SealedObject(SealedObject so) { if (so == null) { - throw new NullPointerException(Messages.getString("crypto.14")); + throw new NullPointerException(Messages.getString("crypto.14")); } this.encryptedContent = so.encryptedContent; this.encodedParams = so.encodedParams; @@ -215,7 +215,7 @@ public class SealedObject implements Serializable { throws IOException, ClassNotFoundException, IllegalBlockSizeException, BadPaddingException { if (c == null) { - throw new NullPointerException(Messages.getString("crypto.13")); + throw new NullPointerException(Messages.getString("crypto.13")); } byte[] serialized = c.doFinal(encryptedContent); ObjectInputStream ois = @@ -250,7 +250,7 @@ public class SealedObject implements Serializable { InvalidKeyException { if ((provider == null) || (provider.length() == 0)) { throw new IllegalArgumentException( - Messages.getString("crypto.15")); + Messages.getString("crypto.15")); } try { Cipher cipher = Cipher.getInstance(sealAlg, provider); |