/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/extension/ |
D | X509ExtensionUtil.java | 19 import org.bouncycastle.asn1.x509.GeneralName; 64 GeneralName genName = GeneralName.getInstance(it.nextElement()); in getAlternativeNames() 69 case GeneralName.ediPartyName: in getAlternativeNames() 70 case GeneralName.x400Address: in getAlternativeNames() 71 case GeneralName.otherName: in getAlternativeNames() 74 case GeneralName.directoryName: in getAlternativeNames() 77 case GeneralName.dNSName: in getAlternativeNames() 78 case GeneralName.rfc822Name: in getAlternativeNames() 79 case GeneralName.uniformResourceIdentifier: in getAlternativeNames() 82 case GeneralName.registeredID: in getAlternativeNames() [all …]
|
D | AuthorityKeyIdentifierStructure.java | 13 import org.bouncycastle.asn1.x509.GeneralName; 70 … GeneralName genName = new GeneralName(PrincipalUtil.getIssuerX509Principal(certificate)); in fromCertificate() 78 …GeneralName genName = new GeneralName(PrincipalUtil.getIssuerX509Principal(certificate… in fromCertificate()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/ |
D | PKIXExtendedParameters.java | 16 import org.bouncycastle.asn1.x509.GeneralName; 59 …private Map<GeneralName, PKIXCertStore> namedCertificateStoreMap = new HashMap<GeneralName, PKIXCe… 61 …private Map<GeneralName, PKIXCRLStore> namedCRLStoreMap = new HashMap<GeneralName, PKIXCRLStore>(); 87 …this.namedCertificateStoreMap = new HashMap<GeneralName, PKIXCertStore>(baseParameters.namedCertif… in Builder() 89 … this.namedCRLStoreMap = new HashMap<GeneralName, PKIXCRLStore>(baseParameters.namedCRLStoreMap); in Builder() 103 public Builder addNamedCertificateStore(GeneralName issuerAltName, PKIXCertStore store) in addNamedCertificateStore() 117 public Builder addNamedCRLStore(GeneralName issuerAltName, PKIXCRLStore store) in addNamedCRLStore() 201 private final Map<GeneralName, PKIXCertStore> namedCertificateStoreMap; 203 private final Map<GeneralName, PKIXCRLStore> namedCRLStoreMap; 214 …this.namedCertificateStoreMap = Collections.unmodifiableMap(new HashMap<GeneralName, PKIXCertStore… in PKIXExtendedParameters() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
D | GeneralName.java | 45 public class GeneralName class 66 public GeneralName( in GeneralName() method in GeneralName 73 public GeneralName( in GeneralName() method in GeneralName 107 public GeneralName( in GeneralName() method in GeneralName 138 public GeneralName( in GeneralName() method in GeneralName 174 public static GeneralName getInstance( in getInstance() 177 if (obj == null || obj instanceof GeneralName) in getInstance() 179 return (GeneralName)obj; in getInstance() 190 return new GeneralName(tag, ASN1Sequence.getInstance(tagObj, false)); in getInstance() 192 return new GeneralName(tag, DERIA5String.getInstance(tagObj, false)); in getInstance() [all …]
|
D | GeneralNames.java | 14 private final GeneralName[] names; 50 GeneralName name) in GeneralNames() 52 this.names = new GeneralName[] { name }; in GeneralNames() 57 GeneralName[] names) in GeneralNames() 65 this.names = new GeneralName[seq.size()]; in GeneralNames() 69 names[i] = GeneralName.getInstance(seq.getObjectAt(i)); in GeneralNames() 73 public GeneralName[] getNames() in getNames() 75 GeneralName[] tmp = new GeneralName[names.length]; in getNames()
|
D | PKIXNameConstraintValidator.java | 52 public void checkPermitted(GeneralName name) in checkPermitted() 57 case GeneralName.rfc822Name: in checkPermitted() 61 case GeneralName.dNSName: in checkPermitted() 65 case GeneralName.directoryName: in checkPermitted() 68 case GeneralName.uniformResourceIdentifier: in checkPermitted() 72 case GeneralName.iPAddress: in checkPermitted() 86 public void checkExcluded(GeneralName name) in checkExcluded() 91 case GeneralName.rfc822Name: in checkExcluded() 94 case GeneralName.dNSName: in checkExcluded() 98 case GeneralName.directoryName: in checkExcluded() [all …]
|
D | GeneralSubtree.java | 36 private GeneralName base; 45 base = GeneralName.getInstance(seq.getObjectAt(0)); in GeneralSubtree() 112 GeneralName base, in GeneralSubtree() 131 public GeneralSubtree(GeneralName base) in GeneralSubtree() 159 public GeneralName getBase() in getBase()
|
D | NameConstraintValidator.java | 5 void checkPermitted(GeneralName name) in checkPermitted() 8 void checkExcluded(GeneralName name) in checkExcluded()
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ |
D | AttributeCertificateIssuer.java | 9 import org.bouncycastle.asn1.x509.GeneralName; 34 form = new V2Form(new GeneralNames(new GeneralName(principal))); in AttributeCertificateIssuer() 50 GeneralName[] names = name.getNames(); in getNames() 56 if (names[i].getTagNo() == GeneralName.directoryName) in getNames() 67 GeneralName[] names = targets.getNames(); in matchesDN() 71 GeneralName gn = names[i]; in matchesDN() 73 if (gn.getTagNo() == GeneralName.directoryName) in matchesDN()
|
D | AttributeCertificateHolder.java | 13 import org.bouncycastle.asn1.x509.GeneralName; 191 return new GeneralNames(new GeneralName(principal)); in generateGeneralNames() 196 GeneralName[] names = targets.getNames(); in matchesDN() 200 GeneralName gn = names[i]; in matchesDN() 202 if (gn.getTagNo() == GeneralName.directoryName) in matchesDN() 214 private X500Name[] getPrincipals(GeneralName[] names) in getPrincipals() 220 if (names[i].getTagNo() == GeneralName.directoryName) in getPrincipals()
|
D | X509CRLHolder.java | 22 import org.bouncycastle.asn1.x509.GeneralName; 109 this.issuerName = new GeneralNames(new GeneralName(x509CRL.getIssuer())); in X509CRLHolder()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
D | AttributeCertificateIssuer.java | 16 import org.bouncycastle.asn1.x509.GeneralName; 49 form = new V2Form(GeneralNames.getInstance(new DERSequence(new GeneralName(principal)))); in AttributeCertificateIssuer() 65 GeneralName[] names = name.getNames(); in getNames() 71 if (names[i].getTagNo() == GeneralName.directoryName) in getNames() 112 GeneralName[] names = targets.getNames(); in matchesDN() 116 GeneralName gn = names[i]; in matchesDN() 118 if (gn.getTagNo() == GeneralName.directoryName) in matchesDN()
|
D | AttributeCertificateHolder.java | 23 import org.bouncycastle.asn1.x509.GeneralName; 64 GeneralNames.getInstance(new DERSequence(new GeneralName(issuerName))), in AttributeCertificateHolder() 204 return GeneralNames.getInstance(new DERSequence(new GeneralName(principal))); in generateGeneralNames() 209 GeneralName[] names = targets.getNames(); in matchesDN() 213 GeneralName gn = names[i]; in matchesDN() 215 if (gn.getTagNo() == GeneralName.directoryName) in matchesDN() 234 private Object[] getNames(GeneralName[] names) in getNames() 240 if (names[i].getTagNo() == GeneralName.directoryName) in getNames()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ocsp/ |
D | TBSRequest.java | 12 import org.bouncycastle.asn1.x509.GeneralName; 21 GeneralName requestorName; 34 GeneralName requestorName, in TBSRequest() 45 GeneralName requestorName, in TBSRequest() 82 … requestorName = GeneralName.getInstance((ASN1TaggedObject)seq.getObjectAt(index++), true); in TBSRequest() 120 public GeneralName getRequestorName() in getRequestorName()
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ocsp/ |
D | OCSPReqBuilder.java | 19 import org.bouncycastle.asn1.x509.GeneralName; 26 private GeneralName requestorName = null; 85 this.requestorName = new GeneralName(GeneralName.directoryName, requestorName); in setRequestorName() 91 GeneralName requestorName) in setRequestorName()
|
D | OCSPReq.java | 20 import org.bouncycastle.asn1.x509.GeneralName; 109 public GeneralName getRequestorName() in getRequestorName() 111 return GeneralName.getInstance(req.getTbsRequest().getRequestorName()); in getRequestorName()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
D | X509CertificateObject.java | 57 import org.bouncycastle.asn1.x509.GeneralName; 871 GeneralName genName = GeneralName.getInstance(it.nextElement()); in getAlternativeNames() 876 case GeneralName.ediPartyName: in getAlternativeNames() 877 case GeneralName.x400Address: in getAlternativeNames() 878 case GeneralName.otherName: in getAlternativeNames() 881 case GeneralName.directoryName: in getAlternativeNames() 886 case GeneralName.dNSName: in getAlternativeNames() 887 case GeneralName.rfc822Name: in getAlternativeNames() 888 case GeneralName.uniformResourceIdentifier: in getAlternativeNames() 891 case GeneralName.registeredID: in getAlternativeNames() [all …]
|
D | X509CRLEntryObject.java | 23 import org.bouncycastle.asn1.x509.GeneralName; 100 GeneralName[] names = GeneralNames.getInstance(ext.getParsedValue()).getNames(); in loadCertificateIssuer() 103 if (names[i].getTagNo() == GeneralName.directoryName) in loadCertificateIssuer()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
D | X509CertificateObject.java | 59 import org.bouncycastle.asn1.x509.GeneralName; 896 GeneralName genName = GeneralName.getInstance(it.nextElement()); in getAlternativeNames() 901 case GeneralName.ediPartyName: in getAlternativeNames() 902 case GeneralName.x400Address: in getAlternativeNames() 903 case GeneralName.otherName: in getAlternativeNames() 906 case GeneralName.directoryName: in getAlternativeNames() 911 case GeneralName.dNSName: in getAlternativeNames() 912 case GeneralName.rfc822Name: in getAlternativeNames() 913 case GeneralName.uniformResourceIdentifier: in getAlternativeNames() 916 case GeneralName.registeredID: in getAlternativeNames() [all …]
|
D | RFC3280CertPathUtilities.java | 50 import org.bouncycastle.asn1.x509.GeneralName; 129 GeneralName[] genNames = GeneralNames.getInstance(dpName.getName()).getNames(); in processCRLB2() 151 names.add(new GeneralName(X500Name.getInstance(new DERSequence(vec)))); in processCRLB2() 159 GeneralName[] genNames = null; in processCRLB2() 172 genNames = new GeneralName[1]; in processCRLB2() 175 genNames[0] = new GeneralName(X500Name.getInstance(PrincipalUtils in processCRLB2() 192 … genNames[j] = new GeneralName(X500Name.getInstance(new DERSequence(vec))); in processCRLB2() 222 GeneralName[] genNames = dp.getCRLIssuer().getNames(); in processCRLB2() 314 GeneralName genNames[] = dp.getCRLIssuer().getNames(); in processCRLB1() 317 if (genNames[j].getTagNo() == GeneralName.directoryName) in processCRLB1() [all …]
|
D | X509CRLEntryObject.java | 23 import org.bouncycastle.asn1.x509.GeneralName; 101 GeneralName[] names = GeneralNames.getInstance(ext.getParsedValue()).getNames(); in loadCertificateIssuer() 104 if (names[i].getTagNo() == GeneralName.directoryName) in loadCertificateIssuer()
|
D | CertPathValidatorUtilities.java | 63 import org.bouncycastle.asn1.x509.GeneralName; 244 Map<GeneralName, PKIXCertStore> altNameCertStoreMap) in getAdditionalStoresFromAltNames() argument 253 GeneralName[] names = issuerAltName.getNames(); in getAdditionalStoresFromAltNames() 258 GeneralName altName = names[i]; in getAdditionalStoresFromAltNames() 694 …e> getAdditionalStoresFromCRLDistributionPoint(CRLDistPoint crldp, Map<GeneralName, PKIXCRLStore> … in getAdditionalStoresFromCRLDistributionPoint() argument 719 GeneralName[] genNames = GeneralNames.getInstance( in getAdditionalStoresFromCRLDistributionPoint() 768 GeneralName genNames[] = dp.getCRLIssuer().getNames(); in getCRLIssuersFromDistributionPoint() 772 if (genNames[j].getTagNo() == GeneralName.directoryName) in getCRLIssuersFromDistributionPoint()
|
/external/conscrypt/testing/src/main/java/libcore/java/security/ |
D | TestKeyStore.java | 63 import org.bouncycastle.asn1.x509.GeneralName; 371 private final List<GeneralName> subjectAltNames = new ArrayList<GeneralName>(); 446 public Builder addSubjectAltName(GeneralName generalName) { in addSubjectAltName() 453 new GeneralName(GeneralName.dNSName, dnsName)); in addSubjectAltNameDnsName() 458 new GeneralName(GeneralName.iPAddress, new DEROctetString(ipAddress))); in addSubjectAltNameIpAddress() 461 private Builder addNameConstraint(boolean permitted, GeneralName generalName) { in addNameConstraint() 472 new GeneralName(GeneralName.iPAddress, new DEROctetString(ipAddress))); in addNameConstraint() 662 new ArrayList<GeneralName>(), new ArrayList<GeneralSubtree>(), in createCa() 672 List<GeneralName> subjectAltNames, List<GeneralSubtree> permittedNameConstraints, in createCertificate() 726 new GeneralNames(subjectAltNames.toArray(new GeneralName[0])).getEncoded()); in createCertificate()
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/ssl/ |
D | SslUtil.java | 24 import org.bouncycastle.asn1.x509.GeneralName; 185 new GeneralName(GeneralName.rfc822Name, "android-tv-remote-support@google.com"))); in generateX509V3Certificate() 213 GeneralName genName = new GeneralName(name); in createAuthorityKeyIdentifier()
|
D | CsrUtil.java | 6 import org.bouncycastle.asn1.x509.GeneralName; 89 new GeneralName(GeneralName.rfc822Name, EMAIL))); in generateX509V3AuthorityCertificate()
|