diff options
Diffstat (limited to 'libjava/java/security')
-rw-r--r-- | libjava/java/security/SecureRandom.java | 4 | ||||
-rw-r--r-- | libjava/java/security/SignedObject.java | 6 | ||||
-rw-r--r-- | libjava/java/security/cert/X509Certificate.java | 2 | ||||
-rw-r--r-- | libjava/java/security/interfaces/DSAKey.java | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/libjava/java/security/SecureRandom.java b/libjava/java/security/SecureRandom.java index 597d077..00fdca2 100644 --- a/libjava/java/security/SecureRandom.java +++ b/libjava/java/security/SecureRandom.java @@ -55,7 +55,7 @@ public class SecureRandom extends Random It is not seeded and should be seeded using setSeed or else on the first call to getnextBytes it will force a seed. - It is maintained for backwards compatability and programs + It is maintained for backwards compatibility and programs should use getInstance. */ public SecureRandom() @@ -115,7 +115,7 @@ public class SecureRandom extends Random It is seeded with the passed function and is useful if the user has access to hardware random device (like a radiation detector). - It is maintained for backwards compatability and programs + It is maintained for backwards compatibility and programs should use getInstance. @param seed Seed bytes for class diff --git a/libjava/java/security/SignedObject.java b/libjava/java/security/SignedObject.java index 34f80e9..40aeba7 100644 --- a/libjava/java/security/SignedObject.java +++ b/libjava/java/security/SignedObject.java @@ -80,7 +80,7 @@ public final class SignedObject implements Serializable @param signingKey the key to sign with @param signingEngine the signature engine to use - @throws IOException serialization error occured + @throws IOException serialization error occurred @throws InvalidKeyException invalid key @throws SignatureException signing error */ @@ -108,8 +108,8 @@ public final class SignedObject implements Serializable @return the encapsulated object - @throws IOException de-serialization error occured - @throws ClassNotFoundException de-serialization error occured + @throws IOException de-serialization error occurred + @throws ClassNotFoundException de-serialization error occurred */ public Object getObject() throws IOException, ClassNotFoundException { diff --git a/libjava/java/security/cert/X509Certificate.java b/libjava/java/security/cert/X509Certificate.java index 46f47f6..db51964 100644 --- a/libjava/java/security/cert/X509Certificate.java +++ b/libjava/java/security/cert/X509Certificate.java @@ -288,7 +288,7 @@ public abstract class X509Certificate extends Certificate implements X509Extensi @return the DER encoded tbsCertificate - @throws CertificateEncodingException if encoding error occured + @throws CertificateEncodingException if encoding error occurred */ public abstract byte[] getTBSCertificate() throws CertificateEncodingException; diff --git a/libjava/java/security/interfaces/DSAKey.java b/libjava/java/security/interfaces/DSAKey.java index 1670b5a..06fdec1 100644 --- a/libjava/java/security/interfaces/DSAKey.java +++ b/libjava/java/security/interfaces/DSAKey.java @@ -1,4 +1,4 @@ -/* DSAKey.java -- Interface for Digital Signature Algorith key +/* DSAKey.java -- Interface for Digital Signature Algorithm key Copyright (C) 1998 Free Software Foundation, Inc. This file is part of GNU Classpath. |