Lines Matching defs:names

212      * of some distinguished names.
303 * names.
636 * specified subject alternative names. If disabled, the
638 * specified subject alternative names.
658 * the complete set of subject alternative names for the
662 * The <code>names</code> parameter (if not <code>null</code>) is a
669 * There can be multiple names of the same type. If <code>null</code>
681 * <strong>Note:</strong> for distinguished names, specify the byte
685 * Note that the <code>names</code> parameter can contain duplicate
686 * names (same name and name type), but they may be removed from the
687 * <code>Collection</code> of names returned by the
693 * @param names a <code>Collection</code> of names (or <code>null</code>)
697 public void setSubjectAlternativeNames(Collection<List<?>> names)
699 if (names == null) {
703 if (names.isEmpty()) {
708 Set<List<?>> tempNames = cloneAndCheckNames(names);
723 * alternative names.
730 * names use the well-established string formats for those types (subject to
731 * the restrictions included in RFC 3280). IPv4 address names are
732 * supplied using dotted quad notation. OID address names are represented
734 * directory names (distinguished names) are supplied in RFC 2253 format.
735 * No standard string format is defined for otherNames, X.400 names,
736 * EDI party names, IPv6 address names, or any other type of names. They
742 * <strong>Note:</strong> for distinguished names, use
746 * String form of some distinguished names.
766 * alternative names.
837 * @param names a Collection with one entry per name.
842 * There can be multiple names of the same type. Null is
847 private static Set<GeneralNameInterface> parseNames(Collection<List<?>> names) throws IOException {
849 for (List<?> nameList : names) {
889 * with the String constructors for names other than Distinguished
930 throw new IOException("unable to parse String names of type "
973 throw new IOException("unable to parse byte array names of "
993 * must have subject and subject alternative names that
1120 * path to the specified names.
1123 * the complete set of names which the <code>X509Certificates</code>'s
1130 * would prohibit building a path to any of the names in the partial path.
1132 * The <code>names</code> parameter (if not <code>null</code>) is a
1139 * There can be multiple names of the same type. If <code>null</code>
1151 * <strong>Note:</strong> for distinguished names, specify the byte
1155 * Note that the <code>names</code> parameter can contain duplicate
1156 * names (same name and name type), but they may be removed from the
1157 * <code>Collection</code> of names returned by the
1163 * @param names a <code>Collection</code> with one entry per name
1168 public void setPathToNames(Collection<List<?>> names) throws IOException {
1169 if ((names == null) || names.isEmpty()) {
1173 Set<List<?>> tempNames = cloneAndCheckNames(names);
1181 void setPathToNamesInternal(Set<GeneralNameInterface> names) {
1182 // set names to non-null dummy value
1185 pathToGeneralNames = names;
1193 * This method allows the caller to add a name to the set of names which
1198 * The name is provided in string format. RFC 822, DNS, and URI names
1200 * the restrictions included in RFC 3280). IPv4 address names are
1201 * supplied using dotted quad notation. OID address names are represented
1203 * directory names (distinguished names) are supplied in RFC 2253 format.
1204 * No standard string format is defined for otherNames, X.400 names,
1205 * EDI party names, IPv6 address names, or any other type of names. They
1210 * <strong>Note:</strong> for distinguished names, use
1214 * String form of some distinguished names.
1230 * This method allows the caller to add a name to the set of names which
1326 * names.
1385 * names.
1575 * specified subject alternative names. If <code>false</code>, the
1577 * specified subject alternative names.
1603 * There can be multiple names of the same type. Note that the
1604 * <code>Collection</code> returned may contain duplicate names (same name
1618 * @return a <code>Collection</code> of names (or <code>null</code>)
1638 * @param names a <code>Collection</code> with one entry per name.
1643 * There can be multiple names of the same type. Null
1648 private static Set<List<?>> cloneNames(Collection<List<?>> names) {
1650 return cloneAndCheckNames(names);
1662 * @param names a <code>Collection</code> with one entry per name.
1667 * There can be multiple names of the same type.
1672 private static Set<List<?>> cloneAndCheckNames(Collection<List<?>> names) throws IOException {
1675 Iterator<List<?>> i = names.iterator();
1717 * must have subject and subject alternative names that
1776 * prohibit building a path to the specified names. If the value
1786 * There can be multiple names of the same type. Note that the
1787 * <code>Collection</code> returned may contain duplicate names (same
1801 * @return a <code>Collection</code> of names (or <code>null</code>)
1880 sb.append(" Path to names:\n");
2324 /* match on subject alternative name extension names */
2539 * are listed, all names of that type are permitted.
2547 String names = "";
2553 names = names + " " + permittedName;
2567 "permitted names of type " + pathToName.getType() +
2568 ": " + names);