76 |
* use or modify this class then they need to synchronize on the object. |
* use or modify this class then they need to synchronize on the object. |
77 |
* |
* |
78 |
* @author Casey Marshall (csm@gnu.org) |
* @author Casey Marshall (csm@gnu.org) |
79 |
|
* @since 1.4 |
80 |
*/ |
*/ |
81 |
public class X509CertSelector implements CertSelector, Cloneable |
public class X509CertSelector implements CertSelector, Cloneable |
82 |
{ |
{ |
589 |
* @param keyPurposeSet The set of key purpose OIDs. |
* @param keyPurposeSet The set of key purpose OIDs. |
590 |
* @throws IOException If any element of the set is not a valid OID string. |
* @throws IOException If any element of the set is not a valid OID string. |
591 |
*/ |
*/ |
592 |
public void setExtendedKeyUsage(Set keyPurposeSet) throws IOException |
public void setExtendedKeyUsage(Set<String> keyPurposeSet) throws IOException |
593 |
{ |
{ |
594 |
if (keyPurposeSet == null) |
if (keyPurposeSet == null) |
595 |
{ |
{ |
654 |
* @param altNames The alternative names. |
* @param altNames The alternative names. |
655 |
* @throws IOException If any element of the argument is invalid. |
* @throws IOException If any element of the argument is invalid. |
656 |
*/ |
*/ |
657 |
public void setSubjectAlternativeNames(Collection altNames) |
public void setSubjectAlternativeNames(Collection<List<?>> altNames) |
658 |
throws IOException |
throws IOException |
659 |
{ |
{ |
660 |
if (altNames == null) |
if (altNames == null) |
787 |
// certificate, and check it against the specified set. |
// certificate, and check it against the specified set. |
788 |
|
|
789 |
// FIXME |
// FIXME |
790 |
// public void setPolicy(Set policy) throws IOException |
// public void setPolicy(Set<String> policy) throws IOException |
791 |
// { |
// { |
792 |
// if (policy != null) |
// if (policy != null) |
793 |
// { |
// { |
808 |
// } |
// } |
809 |
|
|
810 |
// FIXME |
// FIXME |
811 |
// public void setPathToNames(Collection names) throws IOException |
// public void setPathToNames(Collection<List<?>> names) throws IOException |
812 |
// { |
// { |
813 |
// if (names == null) |
// if (names == null) |
814 |
// { |
// { |
844 |
// } |
// } |
845 |
|
|
846 |
// FIXME |
// FIXME |
847 |
// public Collection getSubjectAlternativeNames() |
// public Collection<List<?>> getSubjectAlternativeNames() |
848 |
// { |
// { |
849 |
// return null; |
// return null; |
850 |
// } |
// } |
851 |
|
|
852 |
// FIXME |
// FIXME |
853 |
// public Set getPolicy() |
// public Set<String> getPolicy() |
854 |
// { |
// { |
855 |
// return null; |
// return null; |
856 |
// } |
// } |
857 |
|
|
858 |
// FIXME |
// FIXME |
859 |
// public Collection getPathToNames() |
// public Collection<List<?>> getPathToNames() |
860 |
// { |
// { |
861 |
// return null; |
// return null; |
862 |
// } |
// } |