HomeSort by relevance Sort by last modified time
    Searched refs:X500Name (Results 1 - 25 of 77) sorted by null

1 2 3 4

  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
PrincipalUtils.java 10 import org.bouncycastle.asn1.x500.X500Name;
15 static X500Name getSubjectPrincipal(X509Certificate cert)
17 return X500Name.getInstance(cert.getSubjectX500Principal().getEncoded());
20 static X500Name getIssuerPrincipal(X509CRL crl)
22 return X500Name.getInstance(crl.getIssuerX500Principal().getEncoded());
25 static X500Name getIssuerPrincipal(X509Certificate cert)
27 return X500Name.getInstance(cert.getIssuerX500Principal().getEncoded());
30 static X500Name getCA(TrustAnchor trustAnchor)
32 return X500Name.getInstance(trustAnchor.getCA().getEncoded());
41 static X500Name getEncodedIssuerPrincipal
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/
X500NameStyle.java 47 boolean areEqual(X500Name name1, X500Name name2);
55 int calculateHashCode(X500Name name);
58 * Convert the passed in X500Name to a String.
62 String toString(X500Name name);
X500Name.java 30 public class X500Name
45 public X500Name(X500NameStyle style, X500Name name)
52 * Return a X500Name based on the passed in tagged object.
56 * @return the X500Name
58 public static X500Name getInstance(
66 public static X500Name getInstance(
69 if (obj instanceof X500Name)
71 return (X500Name)obj;
75 return new X500Name(ASN1Sequence.getInstance(obj))
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
IssuerAndSerialNumber.java 11 import org.bouncycastle.asn1.x500.X500Name;
17 X500Name name;
38 this.name = X500Name.getInstance(seq.getObjectAt(0));
46 this.name = X500Name.getInstance(name.toASN1Primitive());
54 this.name = X500Name.getInstance(name.toASN1Primitive());
59 X500Name name,
66 public X500Name getName()
CertificationRequestInfo.java 11 import org.bouncycastle.asn1.x500.X500Name;
37 X500Name subject;
70 X500Name subject,
85 * @deprecated use X500Name method.
97 this.subject = X500Name.getInstance(subject.toASN1Primitive());
110 subject = X500Name.getInstance(seq.getObjectAt(1));
134 public X500Name getSubject()
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/style/
BCStrictStyle.java 4 import org.bouncycastle.asn1.x500.X500Name;
16 public boolean areEqual(X500Name name1, X500Name name2)
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ocsp/
ResponderID.java 11 import org.bouncycastle.asn1.x500.X500Name;
26 X500Name value)
48 return new ResponderID(X500Name.getInstance(o, true));
56 return new ResponderID(X500Name.getInstance(obj));
77 public X500Name getName()
84 return X500Name.getInstance(value);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
IssuerAndSerialNumber.java 11 import org.bouncycastle.asn1.x500.X500Name;
31 private X500Name name;
68 this.name = X500Name.getInstance(seq.getObjectAt(0));
90 X500Name name,
98 * @deprecated use X500Name constructor
104 this.name = X500Name.getInstance(name);
109 * @deprecated use X500Name constructor
115 this.name = X500Name.getInstance(name);
119 public X500Name getName()
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
V1TBSCertificateGenerator.java 8 import org.bouncycastle.asn1.x500.X500Name;
31 X500Name issuer;
33 X500Name subject;
53 * @deprecated use X500Name method
58 this.issuer = X500Name.getInstance(issuer.toASN1Primitive());
62 X500Name issuer)
92 * @deprecated use X500Name method
97 this.subject = X500Name.getInstance(subject.toASN1Primitive());
101 X500Name subject)
TBSCertificate.java 10 import org.bouncycastle.asn1.x500.X500Name;
40 X500Name issuer;
42 X500Name subject;
93 issuer = X500Name.getInstance(seq.getObjectAt(seqStart + 3));
103 subject = X500Name.getInstance(seq.getObjectAt(seqStart + 5));
148 public X500Name getIssuer()
163 public X500Name getSubject()
TBSCertificateStructure.java 11 import org.bouncycastle.asn1.x500.X500Name;
42 X500Name issuer;
44 X500Name subject;
95 issuer = X500Name.getInstance(seq.getObjectAt(seqStart + 3));
105 subject = X500Name.getInstance(seq.getObjectAt(seqStart + 5));
150 public X500Name getIssuer()
165 public X500Name getSubject()
V3TBSCertificateGenerator.java 9 import org.bouncycastle.asn1.x500.X500Name;
35 X500Name issuer;
37 X500Name subject;
62 * @deprecated use X500Name method
67 this.issuer = X500Name.getInstance(issuer);
71 X500Name issuer)
101 * @deprecated use X500Name method
106 this.subject = X500Name.getInstance(subject.toASN1Primitive());
110 X500Name subject)
Certificate.java 9 import org.bouncycastle.asn1.x500.X500Name;
92 public X500Name getIssuer()
107 public X500Name getSubject()
X509CertificateStructure.java 10 import org.bouncycastle.asn1.x500.X500Name;
90 public X500Name getIssuer()
105 public X500Name getSubject()
  /libcore/ojluni/src/main/java/sun/security/x509/
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...]
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...]
  /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/
AttributeCertificateIssuer.java 7 import org.bouncycastle.asn1.x500.X500Name;
32 public AttributeCertificateIssuer(X500Name principal)
37 public X500Name[] getNames()
58 l.add(X500Name.getInstance(names[i].getName()));
62 return (X500Name[])l.toArray(new X500Name[l.size()]);
65 private boolean matchesDN(X500Name subject, GeneralNames targets)
75 if (X500Name.getInstance(gn.getName()).equals(subject))
AttributeCertificateHolder.java 11 import org.bouncycastle.asn1.x500.X500Name;
62 public AttributeCertificateHolder(X500Name issuerName,
86 public AttributeCertificateHolder(X500Name principal)
189 private GeneralNames generateGeneralNames(X500Name principal)
194 private boolean matchesDN(X500Name subject, GeneralNames targets)
204 if (X500Name.getInstance(gn.getName()).equals(subject))
214 private X500Name[] getPrincipals(GeneralName[] names)
222 l.add(X500Name.getInstance(names[i].getName()));
226 return (X500Name[])l.toArray(new X500Name[l.size()])
    [all...]
  /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
SignerId.java 5 import org.bouncycastle.asn1.x500.X500Name;
39 public SignerId(X500Name issuer, BigInteger serialNumber)
52 public SignerId(X500Name issuer, BigInteger serialNumber, byte[] subjectKeyId)
57 public X500Name getIssuer()
  /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ocsp/jcajce/
JcaRespID.java 7 import org.bouncycastle.asn1.x500.X500Name;
18 super(X500Name.getInstance(name.getEncoded()));
  /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/selector/
X509CertificateHolderSelector.java 7 import org.bouncycastle.asn1.x500.X500Name;
21 private X500Name issuer;
41 public X509CertificateHolderSelector(X500Name issuer, BigInteger serialNumber)
54 public X509CertificateHolderSelector(X500Name issuer, BigInteger serialNumber, byte[] subjectKeyId)
61 public X500Name getIssuer()
  /libcore/ojluni/src/main/java/javax/security/auth/x500/
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) {
96 thisX500Name = x500Name;
167 thisX500Name = new X500Name(name, keywordMap)
    [all...]
  /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ocsp/
RespID.java 9 import org.bouncycastle.asn1.x500.X500Name;
30 X500Name name)
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/
X509Principal.java 11 import org.bouncycastle.asn1.x500.X500Name;
22 * @deprecated use the X500Name class.
65 X500Name name)
  /libcore/ojluni/src/main/java/sun/security/provider/certpath/
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());

Completed in 175 milliseconds

1 2 3 4