/libcore/ojluni/src/main/java/sun/security/x509/ |
D | GeneralNames.java | 47 private final List<GeneralName> names; 68 GeneralName name = new GeneralName(encName); in GeneralNames() 77 names = new ArrayList<GeneralName>(); in GeneralNames() 80 public GeneralNames add(GeneralName name) { in add() 88 public GeneralName get(int index) { in get() 100 public Iterator<GeneralName> iterator() { in iterator() 104 public List<GeneralName> names() { in names() 120 for (GeneralName gn : names) { in encode()
|
D | GeneralSubtrees.java | 179 GeneralName gn = gs.getName(); in getGeneralNameInterface() 245 GeneralName newName; in createWidestSubtree() 251 newName = new GeneralName(new OtherName(otherOID, null)); in createWidestSubtree() 254 newName = new GeneralName(new RFC822Name("")); in createWidestSubtree() 257 newName = new GeneralName(new DNSName("")); in createWidestSubtree() 260 newName = new GeneralName(new X400Address((byte[])null)); in createWidestSubtree() 263 newName = new GeneralName(new X500Name("")); in createWidestSubtree() 266 newName = new GeneralName(new EDIPartyName("")); in createWidestSubtree() 269 newName = new GeneralName(new URIName("")); in createWidestSubtree() 272 newName = new GeneralName(new IPAddressName((byte[])null)); in createWidestSubtree() [all …]
|
D | GeneralName.java | 52 public class GeneralName { class 63 public GeneralName(GeneralNameInterface name) { in GeneralName() method in GeneralName 75 public GeneralName(DerValue encName) throws IOException { in GeneralName() method in GeneralName 85 public GeneralName(DerValue encName, boolean nameConstraint) in GeneralName() method in GeneralName 202 if (!(other instanceof GeneralName)) in equals() 204 GeneralNameInterface otherGNI = ((GeneralName)other).name; in equals()
|
D | AccessDescription.java | 42 private GeneralName accessLocation; 56 public AccessDescription(ObjectIdentifier accessMethod, GeneralName accessLocation) { in AccessDescription() 64 accessLocation = new GeneralName(derIn.getDerValue()); in AccessDescription() 71 public GeneralName getAccessLocation() { in getAccessLocation()
|
D | GeneralSubtree.java | 50 private GeneralName name; 63 public GeneralSubtree(GeneralName name, int min, int max) { in GeneralSubtree() 78 name = new GeneralName(val.data.getDerValue(), true); in GeneralSubtree() 103 public GeneralName getName() { in getName()
|
D | SubjectAlternativeNameExtension.java | 153 for(GeneralName name: names.names()) { in toString()
|
D | IssuerAlternativeNameExtension.java | 148 for(GeneralName name: names.names()) { in toString()
|
D | NameConstraintsExtension.java | 502 GeneralName gn = gs.getName(); in verify() 532 GeneralName gn = gs.getName(); in verify()
|
D | X509CertImpl.java | 1564 for (GeneralName gname : names.names()) { in makeAltNames()
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | X509CertSelectorTest.java | 19 import com.android.org.bouncycastle.asn1.x509.GeneralName; 33 certSelector.addSubjectAlternativeName(GeneralName.iPAddress, "127.0.0.1"); in testMatchIpv4SubjectAlternativeName() 44 certSelector.addSubjectAlternativeName(GeneralName.iPAddress, "::ffff:127.0.0.1"); in testMatchIpv4MappedSubjectAlternativeName() 56 certSelector.addSubjectAlternativeName(GeneralName.iPAddress, "::1"); in testMatchIpv6SubjectAlternativeName() 68 certSelector.addPathToName(GeneralName.iPAddress, "127.0.0.1"); in testMatchMaskedIpv4NameConstraint() 93 certSelector.addPathToName(GeneralName.iPAddress, "1::1"); in testMatchMaskedIpv6NameConstraint() 127 certSelector.addSubjectAlternativeName(GeneralName.iPAddress, "1::x"); in testMatchMalformedSubjectAlternativeName() 132 certSelector.addSubjectAlternativeName(GeneralName.iPAddress, "127.0.0.x"); in testMatchMalformedSubjectAlternativeName()
|
D | SubjectAlternativeNameTest.java | 19 import com.android.org.bouncycastle.asn1.x509.GeneralName; 62 assertEquals(GeneralName.iPAddress, subjectAlternativeName.get(0)); in formatIpAddress()
|
/libcore/ojluni/annotations/hiddenapi/sun/security/x509/ |
D | GeneralNames.java | 45 public sun.security.x509.GeneralNames add(sun.security.x509.GeneralName name) { in add() 49 public sun.security.x509.GeneralName get(int index) { in get() 62 public java.util.Iterator<sun.security.x509.GeneralName> iterator() { in iterator() 66 public java.util.List<sun.security.x509.GeneralName> names() { in names() 87 private final java.util.List<sun.security.x509.GeneralName> names;
|
D | GeneralName.java | 31 public class GeneralName { class 34 public GeneralName(sun.security.x509.GeneralNameInterface name) { in GeneralName() method in GeneralName 38 public GeneralName(sun.security.util.DerValue encName) throws java.io.IOException { in GeneralName() method in GeneralName 42 public GeneralName(sun.security.util.DerValue encName, boolean nameConstraint) in GeneralName() method in GeneralName
|
D | AccessDescription.java | 35 sun.security.x509.GeneralName accessLocation) { in AccessDescription() 50 public sun.security.x509.GeneralName getAccessLocation() { in getAccessLocation() 94 private sun.security.x509.GeneralName accessLocation;
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | X509CertSelectorTest.java | 69 import sun.security.x509.GeneralName; 509 GeneralName san0 = new GeneralName(new OtherName(new ObjectIdentifier("1.2.3.4.5"), in test_getPathToNames() 511 GeneralName san1 = new GeneralName(new RFC822Name("rfc@822.Name")); in test_getPathToNames() 512 GeneralName san2 = new GeneralName(new DNSName("dNSName")); in test_getPathToNames() 516 GeneralName san4 = new GeneralName(new X500Name("O=Organization")); in test_getPathToNames() 517 GeneralName san6 = new GeneralName(new URIName("http://uniform.Resource.Id")); in test_getPathToNames() 518 GeneralName san7 = new GeneralName(new IPAddressName("1.1.1.1")); in test_getPathToNames() 519 GeneralName san8 = new GeneralName(new OIDName("1.2.3.4444.55555")); in test_getPathToNames() 640 GeneralName san1 = new GeneralName(new RFC822Name("rfc@822.Name")); in test_getSubjectAlternativeNames() 641 GeneralName san2 = new GeneralName(new DNSName("dNSName")); in test_getSubjectAlternativeNames() [all …]
|
/libcore/support/src/test/java/libcore/java/security/ |
D | TestKeyStore.java | 63 import org.bouncycastle.asn1.x509.GeneralName; 233 .addSubjectAltName(new GeneralName(GeneralName.dNSName, LOCAL_HOST_NAME)) in initCerts() 368 private final List<GeneralName> subjectAltNames = new ArrayList<GeneralName>(); 444 public Builder addSubjectAltName(GeneralName generalName) { in addSubjectAltName() 451 new GeneralName(GeneralName.iPAddress, new DEROctetString(ipAddress))); in addSubjectAltNameIpAddress() 454 private Builder addNameConstraint(boolean permitted, GeneralName generalName) { in addNameConstraint() 465 new GeneralName(GeneralName.iPAddress, new DEROctetString(ipAddress))); in addNameConstraint() 658 new ArrayList<GeneralName>(), in createCa() 676 List<GeneralName> subjectAltNames, in createCertificate() 734 for (GeneralName subjectAltName : subjectAltNames) { in createCertificate()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | DistributionPointFetcher.java | 179 for (Iterator<GeneralName> t = fullName.iterator(); t.hasNext(); ) { in getCRLs() 181 GeneralName name = t.next(); in getCRLs() 351 for (Iterator<GeneralName> t = pointCrlIssuers.iterator(); in verifyCRL() 461 for (Iterator<GeneralName> i = idpNames.iterator(); in verifyCRL() 467 for (Iterator<GeneralName> p = pointNames.iterator(); in verifyCRL() 490 for (Iterator<GeneralName> t = pointCrlIssuers.iterator(); in verifyCRL() 493 for (Iterator<GeneralName> i = idpNames.iterator(); in verifyCRL() 721 fullNames.add(new GeneralName(fullName)); in getFullNames()
|
D | ForwardState.java | 42 import sun.security.x509.GeneralName; 204 for (GeneralName gName : gNames.names()) { in updateState()
|
D | OCSP.java | 51 import sun.security.x509.GeneralName; 328 GeneralName generalName = description.getAccessLocation(); in getResponderURI()
|
D | RevocationChecker.java | 824 new GeneralNames().add(new GeneralName(certIssuer)),
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | X509CertSelector.java | 2333 for (Iterator<GeneralName> t = certNames.iterator(); in matchSubjectAlternativeNames()
|
/libcore/mmodules/core_platform_api/api/legacy_platform/ |
D | current-api.txt | 286 public class GeneralName extends com.android.org.bouncycastle.asn1.ASN1Object { 287 ctor public GeneralName(int, com.android.org.bouncycastle.asn1.ASN1Encodable); 288 ctor public GeneralName(int, String);
|
/libcore/ |
D | openjdk_java_files.bp | 1743 "ojluni/src/main/java/sun/security/x509/GeneralName.java",
|