Home
last modified time | relevance | path

Searched refs:rdns (Results 1 – 7 of 7) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/
DX500Name.java39 private RDN[] rdns; field in X500Name
43 this.rdns = name.rdns; in X500Name()
109 this.rdns = new RDN[seq.size()]; in X500Name()
115 rdns[index++] = RDN.getInstance(e.nextElement()); in X500Name()
129 this.rdns = rDNs; in X500Name()
155 RDN[] tmp = new RDN[this.rdns.length]; in getRDNs()
157 System.arraycopy(rdns, 0, tmp, 0, tmp.length); in getRDNs()
171 for (int i = 0; i != rdns.length; i++) in getAttributeTypes()
173 RDN rdn = rdns[i]; in getAttributeTypes()
182 for (int i = 0; i != rdns.length; i++) in getAttributeTypes()
[all …]
DX500NameBuilder.java12 private Vector rdns = new Vector(); field in X500NameBuilder
33 rdns.addElement(new RDN(oid, value)); in addRDN()
40 rdns.addElement(new RDN(attrTAndV)); in addRDN()
71 rdns.addElement(new RDN(attrTAndVs)); in addMultiValuedRDN()
78 RDN[] vals = new RDN[rdns.size()]; in build()
82 vals[i] = (RDN)rdns.elementAt(i); in build()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/style/
DBCStyle.java392 RDN[] rdns = name.getRDNs(); in calculateHashCode() local
395 for (int i = 0; i != rdns.length; i++) in calculateHashCode()
397 if (rdns[i].isMultiValued()) in calculateHashCode()
399 AttributeTypeAndValue[] atv = rdns[i].getTypesAndValues(); in calculateHashCode()
409 hashCodeValue ^= rdns[i].getFirst().getType().hashCode(); in calculateHashCode()
410 hashCodeValue ^= calcHashCode(rdns[i].getFirst().getValue()); in calculateHashCode()
431 RDN[] rdns = name.getRDNs(); in toString() local
433 for (int i = 0; i < rdns.length; i++) in toString()
444 IETFUtils.appendRDN(buf, rdns[i], DefaultSymbols); in toString()
DRFC4519Style.java290 RDN[] rdns = name.getRDNs(); in calculateHashCode() local
293 for (int i = 0; i != rdns.length; i++) in calculateHashCode()
295 if (rdns[i].isMultiValued()) in calculateHashCode()
297 AttributeTypeAndValue[] atv = rdns[i].getTypesAndValues(); in calculateHashCode()
307 hashCodeValue ^= rdns[i].getFirst().getType().hashCode(); in calculateHashCode()
308 hashCodeValue ^= calcHashCode(rdns[i].getFirst().getValue()); in calculateHashCode()
330 RDN[] rdns = name.getRDNs(); in toString() local
332 for (int i = rdns.length - 1; i >= 0; i--) in toString()
343 IETFUtils.appendRDN(buf, rdns[i], DefaultSymbols); in toString()
/external/chromium/chrome/common/net/
Dx509_certificate_model_openssl.cc26 int rdns = X509_NAME_entry_count(name) - 1; in GetKeyValuesFromName() local
27 for (int i = rdns; i >= 0; --i) { in GetKeyValuesFromName()
/external/chromium/net/base/
Dx509_certificate_nss.cc240 CERTRDN** rdns = name->rdns; in ParsePrincipal() local
241 for (size_t rdn = 0; rdns[rdn]; ++rdn) { in ParsePrincipal()
242 CERTAVA** avas = rdns[rdn]->avas; in ParsePrincipal()
Dx509_certificate_mac.cc512 CERTRDN** rdns = name->rdns; in CERTNameToCSSMOIDVector() local
513 for (size_t rdn = 0; rdns[rdn]; ++rdn) { in CERTNameToCSSMOIDVector()
514 CERTAVA** avas = rdns[rdn]->avas; in CERTNameToCSSMOIDVector()