diff options
| author | Casey Marshall <csm@gnu.org> | 2006-12-31 05:23:19 +0000 |
|---|---|---|
| committer | Casey Marshall <csm@gnu.org> | 2006-12-31 05:23:19 +0000 |
| commit | eeecdc6f3fd6990889b204abe0d60f6061ca8bfb (patch) | |
| tree | a9480e310d846845962951dc2ab4a1c77b09cebb /gnu/java/security/x509/ext/SubjectAlternativeNames.java | |
| parent | 0532989da389aebcb620ce0925a22d6c1509c3e8 (diff) | |
| download | classpath-eeecdc6f3fd6990889b204abe0d60f6061ca8bfb.tar.gz | |
2006-12-30 Casey Marshall <csm@gnu.org>
* gnu/java/security/x509/X509Certificate.java (serialVersionUID):
new constant.
(extensions): parameterize.
(getExtendedKeyUsage): parameterize return type.
(getSubjectAlternativeNames): parameterize return type; handle changes
to `SubjectAlternativeNames' class.
(getIssuerAlternativeNames): parameterize return type; handle changes
to `IssuerAlternativeNames' class.
(getCriticalExtensionOIDs, getNonCriticalExtensionOIDs): parameterize
return type.
* gnu/java/security/x509/ext/CertificatePolicies.java
(policies, policyQualifierInfos): parameterize.
* gnu/java/security/x509/ext/ExtendedKeyUsage.java (purposeIds):
parameterize.
* gnu/java/security/x509/ext/Extension.java (<init>): add support
for NameConstraints extension.
* gnu/java/security/x509/ext/GeneralName.java: new class.
* gnu/java/security/x509/ext/GeneralNames.java (names): parameterize;
retrofit to use the GeneralName class.
* gnu/java/security/x509/ext/GeneralSubtree.java: new class.
* gnu/java/security/x509/ext/IssuerAlternativeNames.java (getNames):
change return type to GeneralName parameterized list.
* gnu/java/security/x509/ext/NameConstraints.java: new class.
* gnu/java/security/x509/ext/SubjectAlternativeNames.java (getNames):
change return type to GeneralName parameterized list.
* java/security/cert/X509CertSelector.java: re-sorted methods.
(makeName): new method.
(addPathToName, addPathToName, getPathToNames, getPolicy,
getSubjectAlternativeNames, setPathToNames, setPolicy): implemented.
(keyPurposeSet, altNames, policy): parametized.
(pathToNames): new field.
Diffstat (limited to 'gnu/java/security/x509/ext/SubjectAlternativeNames.java')
| -rw-r--r-- | gnu/java/security/x509/ext/SubjectAlternativeNames.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/java/security/x509/ext/SubjectAlternativeNames.java b/gnu/java/security/x509/ext/SubjectAlternativeNames.java index f88e85496..8b6347d99 100644 --- a/gnu/java/security/x509/ext/SubjectAlternativeNames.java +++ b/gnu/java/security/x509/ext/SubjectAlternativeNames.java @@ -1,5 +1,5 @@ /* SubjectAlternatuveNames.java -- subject alternative names extension. - Copyright (C) 2004 Free Software Foundation, Inc. + Copyright (C) 2004, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -65,7 +65,7 @@ public class SubjectAlternativeNames extends Extension.Value // Instance method. // ------------------------------------------------------------------------- - public List getNames() + public List<GeneralName> getNames() { return names.getNames(); } |
