/libcore/ojluni/src/main/java/sun/security/x509/ |
H A D | CertificateIssuerName.java | 38 * This class defines the X500Name attribute for the Certificate. 61 private X500Name dnName; 69 * @param name the X500Name 71 public CertificateIssuerName(X500Name name) { 78 * @param in the DerInputStream to read the X500Name from. 82 dnName = new X500Name(in); 88 * @param in the InputStream to read the X500Name from. 93 dnName = new X500Name(derVal); 121 if (!(obj instanceof X500Name)) { 122 throw new IOException("Attribute must be of type X500Name [all...] |
H A D | CertificateSubjectName.java | 38 * This class defines the X500Name attribute for the Certificate. 61 private X500Name dnName; 69 * @param name the X500Name 71 public CertificateSubjectName(X500Name name) { 78 * @param in the DerInputStream to read the X500Name from. 82 dnName = new X500Name(in); 88 * @param in the InputStream to read the X500Name from. 93 dnName = new X500Name(derVal); 121 if (!(obj instanceof X500Name)) { 122 throw new IOException("Attribute must be of type X500Name [all...] |
H A D | X500Name.java | 129 public class X500Name implements GeneralNameInterface, Principal { class in inherits:GeneralNameInterface,Principal 150 public X500Name(String dname) throws IOException { method in class:X500Name 162 public X500Name(String dname, Map<String, String> keywordMap) method in class:X500Name 170 * DEFAULT is the default format used by the X500Name(String) 177 public X500Name(String dname, String format) throws IOException { method in class:X500Name 203 public X500Name(String commonName, String organizationUnit, method in class:X500Name 240 public X500Name(String commonName, String organizationUnit, method in class:X500Name 275 public X500Name(RDN[] rdnArray) throws IOException { method in class:X500Name 282 throw new IOException("Cannot create an X500Name"); 294 public X500Name(DerValu method in class:X500Name 306 public X500Name(DerInputStream in) throws IOException { method in class:X500Name 315 public X500Name(byte[] name) throws IOException { method in class:X500Name [all...] |
H A D | AVA.java | 54 * @see X500Name 383 (this.oid.equals((Object)X500Name.DOMAIN_COMPONENT_OID) && 518 (this.oid.equals((Object)X500Name.DOMAIN_COMPONENT_OID) && 588 // in practice, AVA was passed a StringReader from X500Name, 621 oid = X500Name.intern(derval.data.getOID()); 1350 new AVAKeyword("CN", X500Name.commonName_oid, true, true); 1351 new AVAKeyword("C", X500Name.countryName_oid, true, true); 1352 new AVAKeyword("L", X500Name.localityName_oid, true, true); 1353 new AVAKeyword("S", X500Name.stateName_oid, false, false); 1354 new AVAKeyword("ST", X500Name [all...] |
H A D | X509CertInfo.java | 87 protected X500Name issuer = null; 88 protected X500Name subject = null; 649 issuer = new X500Name(in); 659 subject = new X500Name(in); 713 private void verifyCert(X500Name subject, 859 if (!(val instanceof X500Name)) { 863 issuer = (X500Name)val; 887 if (!(val instanceof X500Name)) { 891 subject = (X500Name)val;
|
H A D | NameConstraintsExtension.java | 434 X500Name subject = X500Name.asX500Name(subjectPrincipal); 572 public boolean verifyRFC822SpecialCase(X500Name subject) throws IOException {
|
H A D | X509CRLImpl.java | 103 private X500Name issuer = null; 191 public X509CRLImpl(X500Name issuer, Date thisDate, Date nextDate) { 207 public X509CRLImpl(X500Name issuer, Date thisDate, Date nextDate, 247 public X509CRLImpl(X500Name issuer, Date thisDate, Date nextDate, 1124 issuer = new X500Name(derStrm); 1258 X500Name issuerDN = (X500Name) names.get(0).getName();
|
H A D | GeneralName.java | 149 name = new X500Name(encName.getData());
|
H A D | GeneralSubtrees.java | 263 newName = new GeneralName(new X500Name(""));
|
H A D | RDN.java | 66 // currently not private, accessed directly from X500Name 109 quoteCount += X500Name.countQuotes(name, searchOffset, nextPlus);
|
H A D | X509CertImpl.java | 1576 nameEntry.add(((X500Name) name).getRFC2253Name());
|
/libcore/ojluni/src/main/java/javax/security/auth/x500/ |
H A D | X500Principal.java | 32 import sun.security.x509.X500Name; 82 * The X500Name representing this principal. 84 * NOTE: this field is reflectively accessed from within X500Name. 86 private transient X500Name thisX500Name; 89 * Creates an X500Principal by wrapping an X500Name. 93 * Currently referenced from sun.security.x509.X500Name.asX500Principal(). 95 X500Principal(X500Name x500Name) { 181 thisX500Name = new X500Name(name, keywordMap); 226 thisX500Name = new X500Name(name); 262 thisX500Name = new X500Name(de [all...] |
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
H A D | Builder.java | 42 import sun.security.x509.X500Name; 223 X500Name baseName = (X500Name)base; 224 X500Name testName = (X500Name)test; 225 X500Name commonName = baseName.commonAncestor(testName); 297 X500Name subject = X500Name.asX500Name(certImpl.getSubjectX500Principal());
|
H A D | ForwardBuilder.java | 51 import sun.security.x509.X500Name; 497 X500Name cIssuer1Name = X500Name.asX500Name(cIssuer1); 498 X500Name cIssuer2Name = X500Name.asX500Name(cIssuer2); 533 X500Name tSubjectName = X500Name.asX500Name(tSubject); 564 X500Name tSubjectName = X500Name.asX500Name(tSubject); 597 X500Name tSubjectNam [all...] |
H A D | DistributionPointFetcher.java | 163 ((X500Name) certImpl.getIssuerDN(), relativeName); 170 ((X500Name) crlIssuers.get(0).getName(), relativeName); 183 X500Name x500Name = (X500Name) name.getName(); 261 private static Collection<X509CRL> getCRLs(X500Name name, 334 X500Name certIssuer = (X500Name) certImpl.getIssuerDN(); 335 X500Name crlIssuer = (X500Name) crlImpl.getIssuerDN(); 342 X500Name pointCrlIssue [all...] |
H A D | ForwardState.java | 44 import sun.security.x509.X500Name; 196 subjectNamesTraversed.add(X500Name.asX500Name(subjName));
|
H A D | BasicChecker.java | 49 import sun.security.x509.X500Name; 222 if (X500Name.asX500Name(currIssuer).isEmpty()) {
|
H A D | RevocationChecker.java | 822 X500Name certIssuer = (X500Name)certImpl.getIssuerDN();
|
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
H A D | SignerInfo.java | 65 import sun.security.x509.X500Name; 88 X500Name issuerName; 101 public SignerInfo(X500Name issuerName, 114 public SignerInfo(X500Name issuerName, 159 issuerName = new X500Name(new DerValue(DerValue.tag_Sequence, 505 public X500Name getIssuerName() {
|
H A D | PKCS7.java | 53 import sun.security.x509.X500Name; 716 public X509Certificate getCertificate(BigInteger serial, X500Name issuerName) { 735 * each Principal to type X500Name if necessary. 745 if (!(certIssuerName instanceof X500Name)) { 757 // error generating X500Name object from the cert's 1050 X500Name issuerName = 1051 X500Name.asX500Name(signerChain[0].getIssuerX500Principal());
|
/libcore/ojluni/src/main/java/java/security/cert/ |
H A D | X509CRLSelector.java | 37 import sun.security.x509.X500Name; 247 addIssuerNameInternal(name, new X500Name(name).asX500Principal()); 276 addIssuerNameInternal(name.clone(), new X500Name(name).asX500Principal()); 370 x500Principals.add(new X500Name((String)nameObject).asX500Principal());
|
H A D | TrustAnchor.java | 34 import sun.security.x509.X500Name;
|
H A D | X509CertSelector.java | 231 issuer = new X500Name(issuerDN).asX500Principal(); 322 subject = new X500Name(subjectDN).asX500Principal(); 919 result = new X500Name((String)name); 959 result = new X500Name(val);
|
/libcore/luni/src/test/java/tests/security/cert/ |
H A D | X509CertSelectorTest.java | 80 import sun.security.x509.X500Name; 516 GeneralName san4 = new GeneralName(new X500Name("O=Organization")); 1153 GeneralName san4 = new GeneralName(new X500Name("O=Organization")); 1383 GeneralName san4 = new GeneralName(new X500Name("O=Organization")); 2117 GeneralName name = new GeneralName(new X500Name("O=Android")); 2153 GeneralName name = new GeneralName(new X500Name("O=Android")); 2203 gnList.add(((X500Name) gn.getName()).getName());
|
/libcore/support/src/test/java/libcore/java/security/ |
H A D | TestKeyStore.java | 22 import com.android.org.bouncycastle.asn1.x500.X500Name; 714 X500Name.getInstance(issuer.getEncoded()), serialNumber, start, end, 715 X500Name.getInstance(subject.getEncoded()),
|