Home
last modified time | relevance | path

Searched refs:GeneralName (Results 1 – 20 of 20) sorted by relevance

/libcore/ojluni/src/main/java/sun/security/x509/
DGeneralNames.java47 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()
DGeneralName.java52 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()
DGeneralSubtrees.java179 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 …]
DAccessDescription.java42 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()
DGeneralSubtree.java50 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()
DIssuerAlternativeNameExtension.java148 for(GeneralName name: names.names()) { in toString()
DNameConstraintsExtension.java502 GeneralName gn = gs.getName(); in verify()
532 GeneralName gn = gs.getName(); in verify()
DX509CertImpl.java1564 for (GeneralName gname : names.names()) { in makeAltNames()
/libcore/ojluni/annotations/hiddenapi/sun/security/x509/
DGeneralNames.java45 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;
DGeneralName.java31 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
DAccessDescription.java35 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/libcore/java/security/cert/
DX509CertSelectorTest.java19 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()
/libcore/luni/src/test/java/tests/security/cert/
DX509CertSelectorTest.java69 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/
DTestKeyStore.java63 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/
DDistributionPointFetcher.java179 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()
DForwardState.java42 import sun.security.x509.GeneralName;
204 for (GeneralName gName : gNames.names()) { in updateState()
DOCSP.java51 import sun.security.x509.GeneralName;
328 GeneralName generalName = description.getAccessLocation(); in getResponderURI()
DRevocationChecker.java824 new GeneralNames().add(new GeneralName(certIssuer)),
/libcore/ojluni/src/main/java/java/security/cert/
DX509CertSelector.java2333 for (Iterator<GeneralName> t = certNames.iterator(); in matchSubjectAlternativeNames()
/libcore/
Dopenjdk_java_files.bp1749 "ojluni/src/main/java/sun/security/x509/GeneralName.java",