/libcore/ojluni/src/main/java/sun/security/x509/ |
D | GeneralSubtrees.java | 52 private static final int NAME_DIFF_TYPE = GeneralNameInterface.NAME_DIFF_TYPE; 53 private static final int NAME_MATCH = GeneralNameInterface.NAME_MATCH; 54 private static final int NAME_NARROWS = GeneralNameInterface.NAME_NARROWS; 55 private static final int NAME_WIDENS = GeneralNameInterface.NAME_WIDENS; 56 private static final int NAME_SAME_TYPE = GeneralNameInterface.NAME_SAME_TYPE; 174 private GeneralNameInterface getGeneralNameInterface(int ndx) { in getGeneralNameInterface() 178 private static GeneralNameInterface getGeneralNameInterface(GeneralSubtree gs) { in getGeneralNameInterface() 180 GeneralNameInterface gni = gn.getName(); in getGeneralNameInterface() 195 GeneralNameInterface current = getGeneralNameInterface(i); in minimize() 200 GeneralNameInterface subsequent = getGeneralNameInterface(j); in minimize() [all …]
|
D | GeneralName.java | 55 private GeneralNameInterface name = null; 63 public GeneralName(GeneralNameInterface name) { in GeneralName() 92 case GeneralNameInterface.NAME_ANY: in GeneralName() 101 case GeneralNameInterface.NAME_RFC822: in GeneralName() 110 case GeneralNameInterface.NAME_DNS: in GeneralName() 119 case GeneralNameInterface.NAME_URI: in GeneralName() 129 case GeneralNameInterface.NAME_IP: in GeneralName() 138 case GeneralNameInterface.NAME_OID: in GeneralName() 147 case GeneralNameInterface.NAME_DIRECTORY: in GeneralName() 155 case GeneralNameInterface.NAME_EDI: in GeneralName() [all …]
|
D | OtherName.java | 49 public class OtherName implements GeneralNameInterface { 54 private GeneralNameInterface gni = null; 120 private GeneralNameInterface getGNI(ObjectIdentifier oid, byte[] nameValue) in getGNI() 131 GeneralNameInterface gni = in getGNI() 132 (GeneralNameInterface)cons.newInstance(passed); in getGNI() 143 return GeneralNameInterface.NAME_ANY; in getType() 182 GeneralNameInterface otherGNI = null; in equals() 244 public int constrains(GeneralNameInterface inputName) { in constrains()
|
D | NameConstraintsExtension.java | 471 GeneralNameInterface altGNI = altNames.get(i).getName(); in verify() 490 public boolean verify(GeneralNameInterface name) throws IOException { in verify() 505 GeneralNameInterface exName = gn.getName(); in verify() 512 case GeneralNameInterface.NAME_DIFF_TYPE: in verify() 513 case GeneralNameInterface.NAME_WIDENS: // name widens excluded in verify() 514 case GeneralNameInterface.NAME_SAME_TYPE: in verify() 516 case GeneralNameInterface.NAME_MATCH: in verify() 517 case GeneralNameInterface.NAME_NARROWS: // subject name excluded in verify() 535 GeneralNameInterface perName = gn.getName(); in verify() 543 case GeneralNameInterface.NAME_DIFF_TYPE: in verify() [all …]
|
D | X400Address.java | 335 public class X400Address implements GeneralNameInterface { 363 return (GeneralNameInterface.NAME_X400); in getType() 399 public int constrains(GeneralNameInterface inputName) throws UnsupportedOperationException { in constrains()
|
D | OIDName.java | 42 public class OIDName implements GeneralNameInterface { 82 return (GeneralNameInterface.NAME_OID); in getType() 150 public int constrains(GeneralNameInterface inputName) throws UnsupportedOperationException { in constrains()
|
D | RFC822Name.java | 43 public class RFC822Name implements GeneralNameInterface 103 return (GeneralNameInterface.NAME_RFC822); in getType() 183 public int constrains(GeneralNameInterface inputName) throws UnsupportedOperationException { in constrains() 187 else if (inputName.getType() != (GeneralNameInterface.NAME_RFC822)) { in constrains()
|
D | GeneralNameInterface.java | 39 public interface GeneralNameInterface { interface 92 int constrains(GeneralNameInterface inputName) throws UnsupportedOperationException; in constrains()
|
D | DNSName.java | 51 public class DNSName implements GeneralNameInterface { 109 return (GeneralNameInterface.NAME_DNS); in getType() 195 public int constrains(GeneralNameInterface inputName) throws UnsupportedOperationException { in constrains()
|
D | EDIPartyName.java | 45 public class EDIPartyName implements GeneralNameInterface { 115 return (GeneralNameInterface.NAME_EDI); in getType() 233 public int constrains(GeneralNameInterface inputName) throws UnsupportedOperationException { in constrains()
|
D | URIName.java | 81 public class URIName implements GeneralNameInterface { 193 return GeneralNameInterface.NAME_URI; in getType() 317 public int constrains(GeneralNameInterface inputName) in constrains()
|
D | X509CertImpl.java | 1565 GeneralNameInterface name = gname.getName(); in makeAltNames() 1569 case GeneralNameInterface.NAME_RFC822: in makeAltNames() 1572 case GeneralNameInterface.NAME_DNS: in makeAltNames() 1575 case GeneralNameInterface.NAME_DIRECTORY: in makeAltNames() 1578 case GeneralNameInterface.NAME_URI: in makeAltNames() 1581 case GeneralNameInterface.NAME_IP: in makeAltNames() 1590 case GeneralNameInterface.NAME_OID: in makeAltNames()
|
D | IPAddressName.java | 70 public class IPAddressName implements GeneralNameInterface { 394 public int constrains(GeneralNameInterface inputName) in constrains()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | Builder.java | 38 import sun.security.x509.GeneralNameInterface; 143 static int distance(GeneralNameInterface base, in distance() 144 GeneralNameInterface test, int incomparable) in distance() 147 case GeneralNameInterface.NAME_DIFF_TYPE: in distance() 152 case GeneralNameInterface.NAME_SAME_TYPE: in distance() 158 case GeneralNameInterface.NAME_MATCH: in distance() 160 case GeneralNameInterface.NAME_WIDENS: in distance() 162 case GeneralNameInterface.NAME_NARROWS: in distance() 189 static int hops(GeneralNameInterface base, GeneralNameInterface test, in hops() 194 case GeneralNameInterface.NAME_DIFF_TYPE: in hops() [all …]
|
D | CertPathHelper.java | 34 import sun.security.x509.GeneralNameInterface; 58 Set<GeneralNameInterface> names); in implSetPathToNames() 63 Set<GeneralNameInterface> names) { in setPathToNames()
|
D | ForwardState.java | 43 import sun.security.x509.GeneralNameInterface; 65 HashSet<GeneralNameInterface> subjectNamesTraversed; 138 subjectNamesTraversed = new HashSet<GeneralNameInterface>(); in initState() 254 = (HashSet<GeneralNameInterface>)subjectNamesTraversed.clone(); in clone()
|
D | DistributionPointFetcher.java | 182 if (name.getType() == GeneralNameInterface.NAME_DIRECTORY) { in getCRLs() 187 } else if (name.getType() == GeneralNameInterface.NAME_URI) { in getCRLs() 353 GeneralNameInterface name = t.next().getName(); in verifyCRL() 463 GeneralNameInterface idpName = i.next().getName(); in verifyCRL() 469 GeneralNameInterface pointName = p.next().getName(); in verifyCRL() 492 GeneralNameInterface crlIssuerName = t.next().getName(); in verifyCRL() 495 GeneralNameInterface idpName = i.next().getName(); in verifyCRL()
|
D | OCSP.java | 52 import sun.security.x509.GeneralNameInterface; 329 if (generalName.getType() == GeneralNameInterface.NAME_URI) { in getResponderURI()
|
D | URICertStore.java | 56 import sun.security.x509.GeneralNameInterface; 215 GeneralNameInterface gn = ad.getAccessLocation().getName(); in getInstance()
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | X509CertSelector.java | 111 private Set<GeneralNameInterface> subjectAlternativeGeneralNames; 115 private Set<GeneralNameInterface> pathToGeneralNames; 816 GeneralNameInterface tempName = makeGeneralNameInterface(type, name); in addSubjectAlternativeNameInternal() 821 subjectAlternativeGeneralNames = new HashSet<GeneralNameInterface>(); in addSubjectAlternativeNameInternal() 847 …private static Set<GeneralNameInterface> parseNames(Collection<List<?>> names) throws IOException { in parseNames() 848 Set<GeneralNameInterface> genNames = new HashSet<GeneralNameInterface>(); in parseNames() 897 static GeneralNameInterface makeGeneralNameInterface(int type, Object name) in makeGeneralNameInterface() 899 GeneralNameInterface result; in makeGeneralNameInterface() 1181 void setPathToNamesInternal(Set<GeneralNameInterface> names) { in setPathToNamesInternal() 1268 GeneralNameInterface tempName = makeGeneralNameInterface(type, name); in addPathToNameInternal() [all …]
|
D | CertPathHelperImpl.java | 32 import sun.security.x509.GeneralNameInterface; 59 Set<GeneralNameInterface> names) { in implSetPathToNames()
|
/libcore/ojluni/annotations/hiddenapi/sun/security/x509/ |
D | GeneralName.java | 34 public GeneralName(sun.security.x509.GeneralNameInterface name) { in GeneralName() 53 public sun.security.x509.GeneralNameInterface getName() { in getName() 73 private sun.security.x509.GeneralNameInterface name;
|
D | URIName.java | 31 public class URIName implements sun.security.x509.GeneralNameInterface { 92 public int constrains(sun.security.x509.GeneralNameInterface inputName) in constrains()
|
D | X500Name.java | 34 public class X500Name implements sun.security.x509.GeneralNameInterface, java.security.Principal { 286 public int constrains(sun.security.x509.GeneralNameInterface inputName) in constrains()
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | X509CertSelectorTest.java | 70 import sun.security.x509.GeneralNameInterface; 121 int[] types = { GeneralNameInterface.NAME_ANY, in test_addSubjectAlternativeNameLintLbyte_array() 122 GeneralNameInterface.NAME_RFC822, in test_addSubjectAlternativeNameLintLbyte_array() 123 GeneralNameInterface.NAME_DNS, in test_addSubjectAlternativeNameLintLbyte_array() 124 GeneralNameInterface.NAME_X400, in test_addSubjectAlternativeNameLintLbyte_array() 125 GeneralNameInterface.NAME_DIRECTORY, in test_addSubjectAlternativeNameLintLbyte_array() 126 GeneralNameInterface.NAME_EDI, in test_addSubjectAlternativeNameLintLbyte_array() 127 GeneralNameInterface.NAME_URI, in test_addSubjectAlternativeNameLintLbyte_array() 128 GeneralNameInterface.NAME_IP, in test_addSubjectAlternativeNameLintLbyte_array() 129 GeneralNameInterface.NAME_OID }; in test_addSubjectAlternativeNameLintLbyte_array() [all …]
|