diff options
| author | Casey Marshall <csm@gnu.org> | 2003-04-29 23:37:35 +0000 |
|---|---|---|
| committer | Casey Marshall <csm@gnu.org> | 2003-04-29 23:37:35 +0000 |
| commit | 672e933a714e4f94796fcf3261ce424c19d319b6 (patch) | |
| tree | 5f2fcc5b7ea130c72cea5b42dbb812d31c8b68c0 /java/security/cert | |
| parent | c877fdf2f36ec9a677bc4bbe458383c32d046165 (diff) | |
| download | classpath-672e933a714e4f94796fcf3261ce424c19d319b6.tar.gz | |
2003-04-29 Casey Marshall <rsdio@metastatic.org>
* java/security/cert/CertPathValidator.java:
(getIntstance) renamed to proper name.
(getInstance) renamed from getIntstance.
* java/security/cert/X509CRL.java:
(getIssuerX500Principal) new method (1.4 compatibility).
Diffstat (limited to 'java/security/cert')
| -rw-r--r-- | java/security/cert/CertPathValidator.java | 4 | ||||
| -rw-r--r-- | java/security/cert/X509CRL.java | 15 |
2 files changed, 17 insertions, 2 deletions
diff --git a/java/security/cert/CertPathValidator.java b/java/security/cert/CertPathValidator.java index 22f278ad9..4c1262d37 100644 --- a/java/security/cert/CertPathValidator.java +++ b/java/security/cert/CertPathValidator.java @@ -161,8 +161,8 @@ public class CertPathValidator { * @throws NoSuchProviderException If no provider named * <i>provider</i> is installed. */ - public static CertPathValidator getIntstance(String algorithm, - String provider) + public static CertPathValidator getInstance(String algorithm, + String provider) throws NoSuchAlgorithmException, NoSuchProviderException { Provider p = Security.getProvider(provider); diff --git a/java/security/cert/X509CRL.java b/java/security/cert/X509CRL.java index 24773987b..6794ccb43 100644 --- a/java/security/cert/X509CRL.java +++ b/java/security/cert/X509CRL.java @@ -47,6 +47,8 @@ import java.security.SignatureException; import java.util.Date; import java.util.Set; +import javax.security.auth.x500.X500Principal; + /** The X509CRL class is the abstract class used to manage X.509 Certificate Revocation Lists. The CRL is a list of @@ -378,4 +380,17 @@ public abstract class X509CRL extends CRL implements X509Extension */ public abstract byte[] getSigAlgParams(); + // 1.4 instance methods. + // ------------------------------------------------------------------------ + + /** + * Returns the X.500 distinguished name of this CRL's issuer. + * + * @return The issuer's X.500 distinguished name. + * @since JDK 1.4 + */ + public X500Principal getIssuerX500Principal() + { + throw new UnsupportedOperationException(); + } } |
