HomeSort by relevance Sort by last modified time
    Searched refs:RDN (Results 1 - 22 of 22) sorted by null

  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/
RDN.java 13 * Holding class for a single Relative Distinguished Name (RDN).
15 public class RDN
20 private RDN(ASN1Set values)
25 public static RDN getInstance(Object obj)
27 if (obj instanceof RDN)
29 return (RDN)obj;
33 return new RDN(ASN1Set.getInstance(obj));
40 * Create a single valued RDN.
42 * @param oid RDN type.
43 * @param value RDN value
    [all...]
X500NameBuilder.java 36 * Add an RDN based on a single OID and a string representation of its value.
38 * @param oid the OID for this RDN.
50 * Add an RDN based on a single OID and an ASN.1 value.
52 * @param oid the OID for this RDN.
58 rdns.addElement(new RDN(oid, value));
64 * Add an RDN based on the passed in AttributeTypeAndValue.
66 * @param attrTAndV the AttributeTypeAndValue to build the RDN from.
71 rdns.addElement(new RDN(attrTAndV));
77 * Add a multi-valued RDN made up of the passed in OIDs and associated string values.
79 * @param oids the OIDs making up the RDN
    [all...]
X500Name.java 40 private RDN[] rdns;
113 this.rdns = new RDN[seq.size()];
119 rdns[index++] = RDN.getInstance(e.nextElement());
124 RDN[] rDNs)
131 RDN[] rDNs)
155 * @return an array of RDN objects.
157 public RDN[] getRDNs()
159 RDN[] tmp = new RDN[this.rdns.length];
167 * return an array of OIDs contained in the attribute type of each RDN in structure order
177 RDN rdn = rdns[i]; local
188 RDN rdn = rdns[i]; local
220 RDN rdn = rdns[i]; local
    [all...]
X500NameStyle.java 34 * Return an array of RDN generated from the passed in String.
38 RDN[] fromString(String dirName);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/style/
BCStrictStyle.java 3 import org.bouncycastle.asn1.x500.RDN;
18 RDN[] rdns1 = name1.getRDNs();
19 RDN[] rdns2 = name2.getRDNs();
AbstractX500NameStyle.java 12 import org.bouncycastle.asn1.x500.RDN;
55 RDN[] rdns = name.getRDNs();
135 RDN[] rdns1 = name1.getRDNs();
136 RDN[] rdns2 = name2.getRDNs();
161 private boolean foundMatch(boolean reverse, RDN rdn, RDN[] possRDNs)
167 if (possRDNs[i] != null && rdnAreEqual(rdn, possRDNs[i]))
178 if (possRDNs[i] != null && rdnAreEqual(rdn, possRDNs[i]))
189 protected boolean rdnAreEqual(RDN rdn1, RDN rdn2
    [all...]
RFC4519Style.java 9 import org.bouncycastle.asn1.x500.RDN;
209 public RDN[] fromString(String dirName)
211 RDN[] tmp = IETFUtils.rDNsFromString(dirName, this);
212 RDN[] res = new RDN[tmp.length];
228 RDN[] rdns = name.getRDNs();
BCStyle.java 11 import org.bouncycastle.asn1.x500.RDN;
319 public RDN[] fromString(String dirName)
329 RDN[] rdns = name.getRDNs();
IETFUtils.java 15 import org.bouncycastle.asn1.x500.RDN;
129 public static RDN[] rDNsFromString(String name, X500NameStyle x500Style)
301 RDN rdn,
304 if (rdn.isMultiValued())
306 AttributeTypeAndValue[] atv = rdn.getTypesAndValues();
325 if (rdn.getFirst() != null)
327 IETFUtils.appendTypeAndValue(buf, rdn.getFirst(), oidSymbols);
518 public static boolean rDNAreEqual(RDN rdn1, RDN rdn2
    [all...]
  /libcore/ojluni/src/main/java/sun/security/x509/
X500Name.java 137 private RDN[] names; // RDNs (never null)
142 private volatile List<RDN> rdnList;
207 names = new RDN[4];
212 names[3] = new RDN(1);
215 names[2] = new RDN(1);
218 names[1] = new RDN(1);
221 names[0] = new RDN(1);
245 names = new RDN[6];
250 names[5] = new RDN(1);
253 names[4] = new RDN(1)
921 RDN rdn = new RDN(rdnString, keywordMap); local
938 RDN rdn = new RDN(rdnString, keywordMap); local
994 RDN rdn = new RDN(rdnString, "RFC2253"); local
1007 RDN rdn = new RDN(rdnString, "RFC2253"); local
    [all...]
RDN.java 47 * per RDN. This style is currently common.
51 * it, but we'll need to sort them when we expose the RDN class more.
70 public class RDN {
82 * Constructs an RDN from its printable representation.
84 * An RDN may consist of one or multiple Attribute Value Assertions (AVAs),
89 * @param name String form of RDN
92 public RDN(String name) throws IOException {
97 * Constructs an RDN from its printable representation.
99 * An RDN may consist of one or multiple Attribute Value Assertions (AVAs),
104 * @param name String form of RDN
    [all...]
DistributionPointName.java 90 private RDN relativeName = null;
116 public DistributionPointName(RDN relativeName) {
142 relativeName = new RDN(encoding);
160 public RDN getRelativeName() {
DistributionPoint.java 131 private RDN relativeName;
173 public DistributionPoint(RDN relativeName, boolean[] reasonFlags,
214 relativeName = new RDN(distPnt);
256 public RDN getRelativeName() {
  /libcore/ojluni/src/main/java/sun/security/provider/certpath/
DistributionPointFetcher.java 156 RDN relativeName = point.getRelativeName();
406 RDN relativeName = idpPoint.getRelativeName();
425 RDN relativeName = point.getRelativeName();
708 private static GeneralNames getFullNames(X500Name issuer, RDN rdn)
711 List<RDN> rdns = new ArrayList<>(issuer.rdns());
712 rdns.add(rdn);
713 X500Name fullName = new X500Name(rdns.toArray(new RDN[0]));
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
RFC3280CertPathUtilities.java 41 import org.bouncycastle.asn1.x500.RDN;
    [all...]
  /libcore/
openjdk_java_files.mk     [all...]
  /prebuilts/sdk/tools/lib/
signapk.jar 
  /frameworks/base/
compiled-classes-phone     [all...]
  /prebuilts/devtools/tools/lib/
bcprov-jdk15on-1.48.jar 
  /prebuilts/tools/common/m2/repository/org/bouncycastle/bcprov-jdk15on/1.48/
bcprov-jdk15on-1.48.jar 
  /prebuilts/tools/common/m2/repository/org/bouncycastle/bcprov-jdk16/1.46/
bcprov-jdk16-1.46.jar 
  /prebuilts/tools/common/offline-m2/org/bouncycastle/bcprov-jdk15on/1.48/
bcprov-jdk15on-1.48.jar 

Completed in 115 milliseconds