/dalvik/libcore/auth/src/main/java/javax/security/auth/ |
H A D | SubjectDomainCombiner.java | 31 // subject to be associated 32 private Subject subject; field in class:SubjectDomainCombiner 34 // permission required to get a subject object 39 * Creates a domain combiner for the entity provided in {@code subject}. 41 * @param subject 44 public SubjectDomainCombiner(Subject subject) { argument 46 if (subject == null) { 49 this.subject = subject; 63 return subject; [all...] |
H A D | Subject.java | 43 * authenticated user or entity (both referred to as "subject"). IT defines also 45 * to the subject's permissions. 47 * A subject has the following features: 103 * The constructor for the subject, setting its public and private 137 * @param subject 144 public static Object doAs(Subject subject, PrivilegedAction action) { argument 148 return doAs_PrivilegedAction(subject, action, AccessController.getContext()); 156 * @param subject 167 public static Object doAsPrivileged(Subject subject, PrivilegedAction action, argument 173 return doAs_PrivilegedAction(subject, actio 181 doAs_PrivilegedAction(Subject subject, PrivilegedAction action, final AccessControlContext context) argument 220 doAs(Subject subject, PrivilegedExceptionAction action) argument 246 doAsPrivileged(Subject subject, PrivilegedExceptionAction action, AccessControlContext context) argument 261 doAs_PrivilegedExceptionAction(Subject subject, PrivilegedExceptionAction action, final AccessControlContext context) argument [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/pkcs/ |
H A D | CertificationRequestInfo.java | 19 * subject Name, 36 X509Name subject; field in class:CertificationRequestInfo 56 X509Name subject, 60 this.subject = subject; 64 if ((subject == null) || (version == null) || (subjectPKInfo == null)) 75 subject = X509Name.getInstance(seq.getObjectAt(1)); 88 if ((subject == null) || (version == null) || (subjectPKInfo == null)) 101 return subject; 119 v.add(subject); 55 CertificationRequestInfo( X509Name subject, SubjectPublicKeyInfo pkInfo, ASN1Set attributes) argument [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/x509/ |
H A D | V1TBSCertificateGenerator.java | 18 * subject Name, 32 X509Name subject; field in class:V1TBSCertificateGenerator 82 X509Name subject) 84 this.subject = subject; 97 || (subject == null) || (subjectPublicKeyInfo == null)) 119 seq.add(subject); 81 setSubject( X509Name subject) argument
|
H A D | V3TBSCertificateGenerator.java | 18 * subject Name, 35 X509Name subject; field in class:V3TBSCertificateGenerator 86 X509Name subject) 88 this.subject = subject; 107 || (subject == null) || (subjectPublicKeyInfo == null)) 129 v.add(subject); 85 setSubject( X509Name subject) argument
|
H A D | TBSCertificateStructure.java | 21 * subject Name, 43 X509Name subject; field in class:TBSCertificateStructure 104 subject = X509Name.getInstance(seq.getObjectAt(seqStart + 5)); 166 return subject;
|
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/pkcs10/ |
H A D | CertificationRequestInfo.java | 37 subject Name, 50 // the value of subject field of the structure 51 private Name subject; field in class:CertificationRequestInfo 62 public CertificationRequestInfo(int version, Name subject, argument 65 this.subject = subject; 71 private CertificationRequestInfo(int version, Name subject, argument 73 this(version, subject, subjectPublicKeyInfo, attributes); 85 * @return Returns the subject. 88 return subject; [all...] |
/dalvik/libcore/security/src/main/java/java/security/ |
H A D | AuthProvider.java | 59 * @param subject 60 * the subject that is used to login. 70 public abstract void login(Subject subject, CallbackHandler handler) throws LoginException; argument
|
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/ |
H A D | TBSCertificate.java | 53 * subject Name, 76 // the value of subject field of the structure 77 private final Name subject; field in class:TBSCertificate 97 * @param subject : Name 102 Validity validity, Name subject, 104 this(version, serialNumber, signature, issuer, validity, subject, 115 * @param subject: Name 123 Validity validity, Name subject, 132 this.subject = subject; 100 TBSCertificate(int version, BigInteger serialNumber, AlgorithmIdentifier signature, Name issuer, Validity validity, Name subject, SubjectPublicKeyInfo subjectPublicKeyInfo) argument 121 TBSCertificate(int version, BigInteger serialNumber, AlgorithmIdentifier signature, Name issuer, Validity validity, Name subject, SubjectPublicKeyInfo subjectPublicKeyInfo, boolean[] issuerUniqueID, boolean[] subjectUniqueID, Extensions extensions) argument 153 TBSCertificate(int version, BigInteger serialNumber, AlgorithmIdentifier signature, Name issuer, Validity validity, Name subject, SubjectPublicKeyInfo subjectPublicKeyInfo, boolean[] issuerUniqueID, boolean[] subjectUniqueID, Extensions extensions, byte[] encoding) argument [all...] |
/dalvik/libcore/security/src/test/java/tests/security/permissions/ |
H A D | JavaxSecurityAuthSubjectDomainCombiner.java | 78 Subject subject = new Subject(); 84 SubjectDomainCombiner sdc = new SubjectDomainCombiner(subject);
|
H A D | JavaxSecurityAuthSubject.java | 147 Subject subject = new Subject(); 153 subject.setReadOnly(); 192 Subject subject = new Subject(); 198 Subject.doAs(subject, new PrivilegedAction<Object>(){ 209 Subject.doAs(subject, new PrivilegedExceptionAction<Object>(){ 272 Subject subject = new Subject(); 278 Subject.doAsPrivileged(subject, new PrivilegedAction<Object>() { 289 Subject.doAsPrivileged(subject, new PrivilegedExceptionAction<Object>() {
|
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/provider/cert/ |
H A D | X509CertImpl.java | 87 private X500Principal subject; field in class:X509CertImpl 244 if (subject == null) { 245 // retrieve the subject's principal 246 subject = tbsCert.getSubject().getX500Principal(); 248 return subject; 256 if (subject == null) { 257 // retrieve the subject's principal 258 subject = tbsCert.getSubject().getX500Principal(); 260 return subject;
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/ |
H A D | PKCS10CertificationRequest.java | 51 * subject Name, 194 X509Name subject, 201 this(signatureAlgorithm, subject, key, attributes, signingKey, "BC"); 222 X500Principal subject, 229 this(signatureAlgorithm, convertName(subject), key, attributes, signingKey, "BC"); 237 X500Principal subject, 245 this(signatureAlgorithm, convertName(subject), key, attributes, signingKey, provider); 253 X509Name subject, 268 if (subject == null) 270 throw new IllegalArgumentException("subject mus 192 PKCS10CertificationRequest( String signatureAlgorithm, X509Name subject, PublicKey key, ASN1Set attributes, PrivateKey signingKey) argument 220 PKCS10CertificationRequest( String signatureAlgorithm, X500Principal subject, PublicKey key, ASN1Set attributes, PrivateKey signingKey) argument 235 PKCS10CertificationRequest( String signatureAlgorithm, X500Principal subject, PublicKey key, ASN1Set attributes, PrivateKey signingKey, String provider) argument 251 PKCS10CertificationRequest( String signatureAlgorithm, X509Name subject, PublicKey key, ASN1Set attributes, PrivateKey signingKey, String provider) argument [all...] |
H A D | X509V1CertificateGenerator.java | 112 * Set the subject distinguished name. The subject describes the entity associated with the public key. 115 X509Name subject) 117 tbsGen.setSubject(subject); 154 * generate an X509 certificate, based on the current issuer and subject 172 * generate an X509 certificate, based on the current issuer and subject 191 * generate an X509 certificate, based on the current issuer and subject, 204 * generate an X509 certificate, based on the current issuer and subject, 114 setSubjectDN( X509Name subject) argument
|
H A D | X509V3CertificateGenerator.java | 111 * Set the subject distinguished name. The subject describes the entity associated with the public key. 114 X509Name subject) 116 tbsGen.setSubject(subject); 224 * generate an X509 certificate, based on the current issuer and subject 242 * generate an X509 certificate, based on the current issuer and subject 262 * generate an X509 certificate, based on the current issuer and subject, 274 * generate an X509 certificate, based on the current issuer and subject, 113 setSubjectDN( X509Name subject) argument
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/ |
H A D | IndexedPKIXParameters.java | 61 X500Principal subject = cert.getSubjectX500Principal(); 62 if (bySubject.put(subject, anchor) != null) { 64 throw new KeyStoreException("Two certs have the same subject: " 65 + subject);
|
H A D | PKIXCertPath.java | 103 X500Principal subject = cert.getSubjectX500Principal(); 108 if (c.getIssuerX500Principal().equals(subject))
|
/dalvik/libcore/security/src/main/java/java/security/cert/ |
H A D | X509CertSelector.java | 59 private X500Principal subject; field in class:X509CertSelector 239 * Set the subject that a certificate must match. 241 * @param subject 242 * the subject distinguished name or {@code null} to not check 243 * the subject. 245 public void setSubject(X500Principal subject) { argument 246 this.subject = subject; 250 * Returns the subject that a certificate must match. 252 * @return the subject distinguishe [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/x509/ |
H A D | X509V1CertificateGenerator.java | 116 * Set the subject distinguished name. The subject describes the entity associated with the public key. 119 X500Principal subject) 123 tbsGen.setSubject(new X509Principal(subject.getEncoded())); 132 * Set the subject distinguished name. The subject describes the entity associated with the public key. 135 X509Name subject) 137 tbsGen.setSubject(subject); 180 * generate an X509 certificate, based on the current issuer and subject 198 * generate an X509 certificate, based on the current issuer and subject 118 setSubjectDN( X500Principal subject) argument 134 setSubjectDN( X509Name subject) argument [all...] |
H A D | X509V3CertificateGenerator.java | 119 * Set the subject distinguished name. The subject describes the entity associated with the public key. 122 X500Principal subject) 126 tbsGen.setSubject(new X509Principal(subject.getEncoded())); 135 * Set the subject distinguished name. The subject describes the entity associated with the public key. 138 X509Name subject) 140 tbsGen.setSubject(subject); 298 * generate an X509 certificate, based on the current issuer and subject 316 * generate an X509 certificate, based on the current issuer and subject 121 setSubjectDN( X500Principal subject) argument 137 setSubjectDN( X509Name subject) argument [all...] |
H A D | AttributeCertificateIssuer.java | 108 private boolean matchesDN(X500Principal subject, GeneralNames targets) argument 120 if (new X500Principal(((ASN1Encodable)gn.getName()).getEncoded()).equals(subject))
|
H A D | AttributeCertificateHolder.java | 106 private boolean matchesDN(X509Principal subject, GeneralNames targets) argument 118 if (new X509Principal(((ASN1Encodable)gn.getName()).getEncoded()).equals(subject))
|
/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | AuthProviderTest.java | 105 public void login(Subject subject, CallbackHandler handler) {} argument
|
/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
H A D | TestCertUtils.java | 72 * arbitrarily and is subject to change. 436 private X500Principal subject; field in class:TestCertUtils.TestX509Certificate 441 this.subject = subj; 450 return subject; 461 byte[] asubj = subject.getEncoded();
|
/dalvik/libcore/security/src/test/java/tests/security/cert/ |
H A D | X509CertSelectorTest.java | 772 assertEquals("The returned subject should be equal to specified", sub1, 774 assertFalse("The returned subject should differ", sub2.equals(selector 872 assertEquals("The returned subject should be equal to specified", 874 assertFalse("The returned subject should differ", name2.equals(selector 877 assertEquals("The returned subject should be equal to specified", 1672 + "in the case of null subject criteria.", selector 2018 protected X500Principal subject = null; field in class:X509CertSelectorTest.TestCert 2150 public void setSubject(X500Principal subject) { argument 2151 this.subject = subject; [all...] |