Searched refs:Name (Results 1 - 25 of 26) sorted by relevance

12

/dalvik/libcore/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
H A DAttributesNameTest.java28 @TestTargetClass(Attributes.Name.class)
32 * @tests java.util.jar.Attributes.Name#Name(java.lang.String)
37 method = "Name",
43 new Attributes.Name(
51 new Attributes.Name((String) null);
57 assertNotNull(new Attributes.Name("Attr"));
67 Attributes.Name attr1 = new Attributes.Name("Attr");
68 Attributes.Name attr
[all...]
H A DAttributesTest.java95 .containsKey(new Attributes.Name("1")));
139 .contains(new Attributes.Name("1")));
141 .contains(new Attributes.Name("2")));
143 .contains(new Attributes.Name("3")));
145 .contains(new Attributes.Name("4")));
197 assertTrue("a) Should contain entry", s.contains(new Attributes.Name(
199 assertTrue("b) Should contain entry", s.contains(new Attributes.Name(
201 assertTrue("c) Should contain entry", s.contains(new Attributes.Name(
203 assertTrue("d) Should contain entry", s.contains(new Attributes.Name(
227 assertNull("Assert 0: ", atts.put(Attributes.Name
[all...]
H A DZipExecTest.java57 att.put(Attributes.Name.MANIFEST_VERSION, "1.0");
58 att.put(Attributes.Name.MAIN_CLASS, "foo.bar.execjartest.Foo");
105 att.put(Attributes.Name.MANIFEST_VERSION, "1.0");
106 att.put(Attributes.Name.MAIN_CLASS, "foo.bar.execjartest.Foo");
107 att.put(Attributes.Name.CLASS_PATH, barZip.getName());
134 att.put(Attributes.Name.CLASS_PATH, "xx yy zz " + barZip.getName());
148 att.put(Attributes.Name.CLASS_PATH, ".." + File.separator
179 att.put(Attributes.Name.MANIFEST_VERSION, "1.0");
180 att.put(Attributes.Name.MAIN_CLASS, "foo.bar.execjartest.Foo");
181 att.put(Attributes.Name
[all...]
H A DJarExecTest.java60 att.put(Attributes.Name.MANIFEST_VERSION, "1.0");
61 att.put(Attributes.Name.MAIN_CLASS, "foo.bar.execjartest.Foo");
106 att.put(Attributes.Name.MANIFEST_VERSION, "1.0");
107 att.put(Attributes.Name.MAIN_CLASS, "foo.bar.execjartest.Foo");
108 att.put(Attributes.Name.CLASS_PATH, barJar.getName());
133 att.put(Attributes.Name.CLASS_PATH, "xx yy zz " + barJar.getName());
144 att.put(Attributes.Name.CLASS_PATH, ".." + File.separator
178 att.put(Attributes.Name.MANIFEST_VERSION, "1.0");
179 att.put(Attributes.Name.MAIN_CLASS, "foo.bar.execjartest.Foo");
180 att.put(Attributes.Name
[all...]
H A DJarOutputStreamTest.java72 att.put(Attributes.Name.MANIFEST_VERSION, "1.0");
73 att.put(Attributes.Name.MAIN_CLASS, element);
151 att.put(Attributes.Name.MANIFEST_VERSION, "1.0");
152 att.put(Attributes.Name.MAIN_CLASS, "foo.bar.execjartest.Foo");
153 att.put(Attributes.Name.CLASS_PATH, barZip.getName());
H A DDalvikExecTest.java209 attrs.put(Attributes.Name.MANIFEST_VERSION, "3.1415962");
210 attrs.put(Attributes.Name.MAIN_CLASS, "dalvikExecTest.HelloWorld");
211 attrs.put(Attributes.Name.CLASS_PATH, jarFile.getName());
251 attrs.get(Attributes.Name.MANIFEST_VERSION));
253 attrs.get(Attributes.Name.MAIN_CLASS));
255 attrs.get(Attributes.Name.CLASS_PATH));
H A DManifestTest.java148 assertAttribute(main, "Bundle-Name", "ClientSupport");
196 + "Name: \nSpecification-Title: foo\nSpecification-Version: 1.0\nSpecification-Vendor: \n"
299 new Attributes.Name("MyAttribute")));
316 new Attributes.Name("MyAttribute")));
333 Attributes.Name.MANIFEST_VERSION));
547 .put(Attributes.Name.IMPLEMENTATION_VENDOR, vendor);
549 Attributes.Name.IMPLEMENTATION_VENDOR, vendor);
551 Attributes.Name.SPECIFICATION_TITLE, spec);
558 Attributes.Name.IMPLEMENTATION_VENDOR));
560 Attributes.Name
[all...]
/dalvik/libcore/archive/src/main/java/java/util/jar/
H A DAttributes.java30 * Attribute keys are generally instances of {@code Attributes.Name}. Values
37 * {@link Attributes.Name}) of a JAR file manifest to arbitrary values. The
54 public static class Name { class in class:Attributes
62 public static final Name CLASS_PATH = new Name("Class-Path"); //$NON-NLS-1$
67 public static final Name MANIFEST_VERSION = new Name("Manifest-Version"); //$NON-NLS-1$
72 public static final Name MAIN_CLASS = new Name("Main-Class"); //$NON-NLS-1$
77 public static final Name SIGNATURE_VERSIO
184 public Name(String s) { method in class:Attributes.Name
205 Name(byte[] buf) { method in class:Attributes.Name
[all...]
H A DManifest.java47 private static final Attributes.Name NAME_ATTRIBUTE = new Attributes.Name(
48 "Name"); //$NON-NLS-1$
229 // Attributes.Name.MANIFEST_VERSION is not used for
351 .getValue(Attributes.Name.MANIFEST_VERSION);
353 writeEntry(out, Attributes.Name.MANIFEST_VERSION, version, encoder,
357 Attributes.Name name = (Attributes.Name) entries.next();
358 if (!name.equals(Attributes.Name.MANIFEST_VERSION)) {
372 Attributes.Name nam
[all...]
H A DInitManifest.java36 Attributes.Name name;
43 InitManifest(byte[] buf, Attributes main, Attributes.Name ver)
65 if (!Attributes.Name.NAME.equals(name)) {
144 name = new Attributes.Name(nameBuffer);
H A DJarVerifier.java328 InitManifest im = new InitManifest(sfBytes, attributes, Attributes.Name.SIGNATURE_VERSION);
/dalvik/libcore/auth/src/main/java/javax/security/auth/x500/
H A DX500Principal.java28 import org.apache.harmony.security.x501.Name;
60 //Distinguished Name
61 private transient Name dn;
79 // FIXME dn = new Name(name);
80 dn = (Name) Name.ASN1.decode(name);
106 // FIXME dn = new Name(is);
107 dn = (Name) Name.ASN1.decode(in);
133 dn = new Name(nam
[all...]
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/
H A DDistributionPointName.java32 import org.apache.harmony.security.x501.Name;
73 private final Name nameRelativeToCRLIssuer;
81 public DistributionPointName(Name nameRelativeToCRLIssuer) {
92 buffer.append("Distribution Point Name: [\n"); //$NON-NLS-1$
107 new ASN1Implicit(1, Name.ASN1_RDN) }) {
121 result = new DistributionPointName((Name) in.content);
H A DTBSCertificate.java36 import org.apache.harmony.security.x501.Name;
51 * issuer Name,
53 * subject Name,
73 private final Name issuer;
77 private final Name subject;
95 * @param issuer : Name
97 * @param subject : Name
101 AlgorithmIdentifier signature, Name issuer,
102 Validity validity, Name subject,
113 * @param issuer: Name
[all...]
H A DCertificateIssuer.java25 import org.apache.harmony.security.x501.Name;
94 return ((Name) ((GeneralName) ((Object[]) in.content)[0])
H A DTBSCertList.java40 import org.apache.harmony.security.x501.Name;
56 * issuer Name,
77 private final Name issuer;
219 * @param issuer: Name
223 Name issuer, Date thisUpdate) {
241 * @param issuer: Name
248 Name issuer, Date thisUpdate, Date nextUpdate,
261 Name issuer, Date thisUpdate, Date nextUpdate,
294 public Name getIssuer() {
348 // FIXME use Name
[all...]
H A DGeneralName.java44 import org.apache.harmony.security.x501.Name;
61 * directoryName [4] Name,
115 nameASN1[DIR_NAME] = Name.ASN1;
137 * If GeneralName structure is used as a part of Name Constraints
178 this.name = new Name(name);
208 * @param name: Name
210 public GeneralName(Name name) {
229 * If GeneralName structure is used as a part of Name Constraints
279 * [4] directoryName - instance of Name object,
286 * If GeneralName structure is used as a part of Name Constraint
[all...]
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/pkcs10/
H A DCertificationRequestInfo.java31 import org.apache.harmony.security.x501.Name;
37 subject Name,
51 private Name subject;
62 public CertificationRequestInfo(int version, Name subject,
71 private CertificationRequestInfo(int version, Name subject,
87 public Name getSubject() {
140 Name.ASN1, // subject
150 (Name) values[1],
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x501/
H A DName.java44 * X.501 Name
46 public class Name { class
48 //ASN.1 DER encoding of Name
64 * Creates new <code>Name</code> instance from its DER encoding
69 public Name(byte[] encoding) throws IOException { method in class:Name
83 * Creates new <code>Name</code> instance
85 * @param name - Name as String
88 public Name(String name) throws IOException { method in class:Name
92 // Creates Name instance
93 private Name(Lis method in class:Name
[all...]
/dalvik/libcore/security/src/main/java/java/security/cert/
H A DX509CRLSelector.java32 import org.apache.harmony.security.x501.Name;
118 new Name((String) name).getName(
122 new Name((byte[]) name).getName(
184 String name = new Name(iss_name).getName(X500Principal.CANONICAL);
208 String name = new Name(iss_name).getName(X500Principal.CANONICAL);
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/pkcs7/
H A DSignerInfo.java39 import org.apache.harmony.security.x501.Name;
82 this.issuer = ((Name)issuerAndSerialNumber[0]).getX500Principal();
160 Name.ASN1, // issuer
192 values[1] = new Object[] { new Name(si.issuer.getName()),
196 // is created using Name.getX500Principal().
/dalvik/libcore/luni/src/main/java/java/net/
H A DURLClassLoader.java1063 Attributes.Name.CLASS_PATH);
1103 .getValue(Attributes.Name.SPECIFICATION_TITLE);
1106 .getValue(Attributes.Name.SPECIFICATION_TITLE);
1109 .getValue(Attributes.Name.SPECIFICATION_VERSION);
1112 .getValue(Attributes.Name.SPECIFICATION_VERSION);
1115 .getValue(Attributes.Name.SPECIFICATION_VENDOR);
1118 .getValue(Attributes.Name.SPECIFICATION_VENDOR);
1121 .getValue(Attributes.Name.IMPLEMENTATION_TITLE);
1124 .getValue(Attributes.Name.IMPLEMENTATION_TITLE);
1127 .getValue(Attributes.Name
[all...]
/dalvik/dx/src/com/android/dx/command/dexer/
H A DMain.java73 private static final Attributes.Name CREATED_BY =
74 new Attributes.Name("Created-By");
539 attribs.put(Attributes.Name.MANIFEST_VERSION, "1.0");
/dalvik/libcore/luni/src/test/java/tests/api/java/net/
H A DJarURLConnectionTest.java95 .get(new java.util.jar.Attributes.Name("Digest-Algorithms")));
424 .get(java.util.jar.Attributes.Name.MANIFEST_VERSION));
/dalvik/libcore/security/src/test/java/tests/security/cert/
H A DX509CertSelectorTest.java73 import org.apache.harmony.security.x501.Name;
581 // new GeneralName(1, "822.Name"),
582 // new GeneralName(1, "rfc@822.Name"),
583 // new GeneralName(2, "Name.org"),
584 // new GeneralName(2, "dNS.Name.org"),
627 GeneralName san1 = new GeneralName(1, "rfc@822.Name");
630 GeneralName san4 = new GeneralName(new Name("O=Organization"));
789 GeneralName san1 = new GeneralName(1, "rfc@822.Name");
1396 // new GeneralName(1, "822.Name"),
1397 // new GeneralName(1, "rfc@822.Name"),
[all...]

Completed in 485 milliseconds

12