Home
last modified time | relevance | path

Searched refs:GeneralName (Results 1 – 25 of 95) sorted by relevance

1234

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DGeneralNames.java14 private final GeneralName[] names;
16 private static GeneralName[] copy(GeneralName[] names) in copy()
18 GeneralName[] result = new GeneralName[names.length]; in copy()
57 GeneralName name) in GeneralNames()
59 this.names = new GeneralName[] { name }; in GeneralNames()
64 GeneralName[] names) in GeneralNames()
72 this.names = new GeneralName[seq.size()]; in GeneralNames()
76 names[i] = GeneralName.getInstance(seq.getObjectAt(i)); in GeneralNames()
80 public GeneralName[] getNames() in getNames()
DGeneralName.java45 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()
192 return new GeneralName(tag, ASN1Sequence.getInstance(tagObj, false)); in getInstance()
197 return new GeneralName(tag, DERIA5String.getInstance(tagObj, false)); in getInstance()
[all …]
DPKIXNameConstraintValidator.java61 public void checkPermitted(GeneralName name) in checkPermitted()
66 case GeneralName.otherName: in checkPermitted()
69 case GeneralName.rfc822Name: in checkPermitted()
72 case GeneralName.dNSName: in checkPermitted()
75 case GeneralName.directoryName: in checkPermitted()
78 case GeneralName.uniformResourceIdentifier: in checkPermitted()
81 case GeneralName.iPAddress: in checkPermitted()
96 public void checkExcluded(GeneralName name) in checkExcluded()
101 case GeneralName.otherName: in checkExcluded()
104 case GeneralName.rfc822Name: in checkExcluded()
[all …]
DGeneralSubtree.java36 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()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/extension/
DX509ExtensionUtil.java20 import org.bouncycastle.asn1.x509.GeneralName;
76 GeneralName genName = GeneralName.getInstance(it.nextElement()); in getAlternativeNames()
81 case GeneralName.ediPartyName: in getAlternativeNames()
82 case GeneralName.x400Address: in getAlternativeNames()
83 case GeneralName.otherName: in getAlternativeNames()
86 case GeneralName.directoryName: in getAlternativeNames()
89 case GeneralName.dNSName: in getAlternativeNames()
90 case GeneralName.rfc822Name: in getAlternativeNames()
91 case GeneralName.uniformResourceIdentifier: in getAlternativeNames()
94 case GeneralName.registeredID: in getAlternativeNames()
[all …]
DAuthorityKeyIdentifierStructure.java13 import org.bouncycastle.asn1.x509.GeneralName;
70GeneralName genName = new GeneralName(PrincipalUtil.getIssuerX509Principal(certificate)); in fromCertificate()
78GeneralName genName = new GeneralName(PrincipalUtil.getIssuerX509Principal(certificate… in fromCertificate()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/x509/
DGeneralNames.java18 private final GeneralName[] names;
20 private static GeneralName[] copy(GeneralName[] names) in copy()
22 GeneralName[] result = new GeneralName[names.length]; in copy()
61 GeneralName name) in GeneralNames()
63 this.names = new GeneralName[] { name }; in GeneralNames()
68 GeneralName[] names) in GeneralNames()
76 this.names = new GeneralName[seq.size()]; in GeneralNames()
80 names[i] = GeneralName.getInstance(seq.getObjectAt(i)); in GeneralNames()
84 public GeneralName[] getNames() in getNames()
DGeneralName.java47 public class GeneralName class
68 public GeneralName( in GeneralName() method in GeneralName
75 public GeneralName( in GeneralName() method in GeneralName
109 public GeneralName( in GeneralName() method in GeneralName
140 public GeneralName( in GeneralName() method in GeneralName
176 public static GeneralName getInstance( in getInstance()
179 if (obj == null || obj instanceof GeneralName) in getInstance()
181 return (GeneralName)obj; in getInstance()
194 return new GeneralName(tag, ASN1Sequence.getInstance(tagObj, false)); in getInstance()
199 return new GeneralName(tag, DERIA5String.getInstance(tagObj, false)); in getInstance()
[all …]
DPKIXNameConstraintValidator.java65 public void checkPermitted(GeneralName name) in checkPermitted()
70 case GeneralName.otherName: in checkPermitted()
73 case GeneralName.rfc822Name: in checkPermitted()
76 case GeneralName.dNSName: in checkPermitted()
79 case GeneralName.directoryName: in checkPermitted()
82 case GeneralName.uniformResourceIdentifier: in checkPermitted()
85 case GeneralName.iPAddress: in checkPermitted()
100 public void checkExcluded(GeneralName name) in checkExcluded()
105 case GeneralName.otherName: in checkExcluded()
108 case GeneralName.rfc822Name: in checkExcluded()
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x509/
DGeneralNames.java18 private final GeneralName[] names;
20 private static GeneralName[] copy(GeneralName[] names) in copy()
22 GeneralName[] result = new GeneralName[names.length]; in copy()
61 GeneralName name) in GeneralNames()
63 this.names = new GeneralName[] { name }; in GeneralNames()
68 GeneralName[] names) in GeneralNames()
76 this.names = new GeneralName[seq.size()]; in GeneralNames()
80 names[i] = GeneralName.getInstance(seq.getObjectAt(i)); in GeneralNames()
84 public GeneralName[] getNames() in getNames()
DGeneralName.java47 public class GeneralName class
68 public GeneralName( in GeneralName() method in GeneralName
75 public GeneralName( in GeneralName() method in GeneralName
109 public GeneralName( in GeneralName() method in GeneralName
140 public GeneralName( in GeneralName() method in GeneralName
176 public static GeneralName getInstance( in getInstance()
179 if (obj == null || obj instanceof GeneralName) in getInstance()
181 return (GeneralName)obj; in getInstance()
194 return new GeneralName(tag, ASN1Sequence.getInstance(tagObj, false)); in getInstance()
199 return new GeneralName(tag, DERIA5String.getInstance(tagObj, false)); in getInstance()
[all …]
DPKIXNameConstraintValidator.java65 public void checkPermitted(GeneralName name) in checkPermitted()
70 case GeneralName.otherName: in checkPermitted()
73 case GeneralName.rfc822Name: in checkPermitted()
76 case GeneralName.dNSName: in checkPermitted()
79 case GeneralName.directoryName: in checkPermitted()
82 case GeneralName.uniformResourceIdentifier: in checkPermitted()
85 case GeneralName.iPAddress: in checkPermitted()
100 public void checkExcluded(GeneralName name) in checkExcluded()
105 case GeneralName.otherName: in checkExcluded()
108 case GeneralName.rfc822Name: in checkExcluded()
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/x509/extension/
DX509ExtensionUtil.java21 import com.android.org.bouncycastle.asn1.x509.GeneralName;
78 GeneralName genName = GeneralName.getInstance(it.nextElement()); in getAlternativeNames()
83 case GeneralName.ediPartyName: in getAlternativeNames()
84 case GeneralName.x400Address: in getAlternativeNames()
85 case GeneralName.otherName: in getAlternativeNames()
88 case GeneralName.directoryName: in getAlternativeNames()
91 case GeneralName.dNSName: in getAlternativeNames()
92 case GeneralName.rfc822Name: in getAlternativeNames()
93 case GeneralName.uniformResourceIdentifier: in getAlternativeNames()
96 case GeneralName.registeredID: in getAlternativeNames()
[all …]
DAuthorityKeyIdentifierStructure.java14 import com.android.org.bouncycastle.asn1.x509.GeneralName;
72GeneralName genName = new GeneralName(PrincipalUtil.getIssuerX509Principal(certificate)); in fromCertificate()
80GeneralName genName = new GeneralName(PrincipalUtil.getIssuerX509Principal(certificate… in fromCertificate()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/x509/extension/
DX509ExtensionUtil.java21 import com.android.internal.org.bouncycastle.asn1.x509.GeneralName;
78 GeneralName genName = GeneralName.getInstance(it.nextElement()); in getAlternativeNames()
83 case GeneralName.ediPartyName: in getAlternativeNames()
84 case GeneralName.x400Address: in getAlternativeNames()
85 case GeneralName.otherName: in getAlternativeNames()
88 case GeneralName.directoryName: in getAlternativeNames()
91 case GeneralName.dNSName: in getAlternativeNames()
92 case GeneralName.rfc822Name: in getAlternativeNames()
93 case GeneralName.uniformResourceIdentifier: in getAlternativeNames()
96 case GeneralName.registeredID: in getAlternativeNames()
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/
DPKIXExtendedParameters.java17 import com.android.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>();
88 …this.namedCertificateStoreMap = new HashMap<GeneralName, PKIXCertStore>(baseParameters.namedCertif… in Builder()
90 … this.namedCRLStoreMap = new HashMap<GeneralName, PKIXCRLStore>(baseParameters.namedCRLStoreMap); in Builder()
104 public Builder addNamedCertificateStore(GeneralName issuerAltName, PKIXCertStore store) in addNamedCertificateStore()
118 public Builder addNamedCRLStore(GeneralName issuerAltName, PKIXCRLStore store) in addNamedCRLStore()
203 private final Map<GeneralName, PKIXCertStore> namedCertificateStoreMap;
205 private final Map<GeneralName, PKIXCRLStore> namedCRLStoreMap;
217 …this.namedCertificateStoreMap = Collections.unmodifiableMap(new HashMap<GeneralName, PKIXCertStore… in PKIXExtendedParameters()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/
DPKIXExtendedParameters.java16 import org.bouncycastle.asn1.x509.GeneralName;
56 …private Map<GeneralName, PKIXCertStore> namedCertificateStoreMap = new HashMap<GeneralName, PKIXCe…
58 …private Map<GeneralName, PKIXCRLStore> namedCRLStoreMap = new HashMap<GeneralName, PKIXCRLStore>();
85 …this.namedCertificateStoreMap = new HashMap<GeneralName, PKIXCertStore>(baseParameters.namedCertif… in Builder()
87 … this.namedCRLStoreMap = new HashMap<GeneralName, PKIXCRLStore>(baseParameters.namedCRLStoreMap); in Builder()
101 public Builder addNamedCertificateStore(GeneralName issuerAltName, PKIXCertStore store) in addNamedCertificateStore()
115 public Builder addNamedCRLStore(GeneralName issuerAltName, PKIXCRLStore store) in addNamedCRLStore()
200 private final Map<GeneralName, PKIXCertStore> namedCertificateStoreMap;
202 private final Map<GeneralName, PKIXCRLStore> namedCRLStoreMap;
214 …this.namedCertificateStoreMap = Collections.unmodifiableMap(new HashMap<GeneralName, PKIXCertStore… in PKIXExtendedParameters()
[all …]
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/
DPKIXExtendedParameters.java17 import com.android.internal.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>();
88 …this.namedCertificateStoreMap = new HashMap<GeneralName, PKIXCertStore>(baseParameters.namedCertif… in Builder()
90 … this.namedCRLStoreMap = new HashMap<GeneralName, PKIXCRLStore>(baseParameters.namedCRLStoreMap); in Builder()
104 public Builder addNamedCertificateStore(GeneralName issuerAltName, PKIXCertStore store) in addNamedCertificateStore()
118 public Builder addNamedCRLStore(GeneralName issuerAltName, PKIXCRLStore store) in addNamedCRLStore()
203 private final Map<GeneralName, PKIXCertStore> namedCertificateStoreMap;
205 private final Map<GeneralName, PKIXCRLStore> namedCRLStoreMap;
217 …this.namedCertificateStoreMap = Collections.unmodifiableMap(new HashMap<GeneralName, PKIXCertStore… in PKIXExtendedParameters()
[all …]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/
DAttributeCertificateIssuer.java9 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()
DAttributeCertificateHolder.java13 import org.bouncycastle.asn1.x509.GeneralName;
190 return new GeneralNames(new GeneralName(principal)); in generateGeneralNames()
195 GeneralName[] names = targets.getNames(); in matchesDN()
199 GeneralName gn = names[i]; in matchesDN()
201 if (gn.getTagNo() == GeneralName.directoryName) in matchesDN()
213 private X500Name[] getPrincipals(GeneralName[] names) in getPrincipals()
219 if (names[i].getTagNo() == GeneralName.directoryName) in getPrincipals()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/x509/
DAttributeCertificateIssuer.java17 import com.android.internal.org.bouncycastle.asn1.x509.GeneralName;
51 form = new V2Form(GeneralNames.getInstance(new DERSequence(new GeneralName(principal)))); in AttributeCertificateIssuer()
67 GeneralName[] names = name.getNames(); in getNames()
73 if (names[i].getTagNo() == GeneralName.directoryName) in getNames()
114 GeneralName[] names = targets.getNames(); in matchesDN()
118 GeneralName gn = names[i]; in matchesDN()
120 if (gn.getTagNo() == GeneralName.directoryName) in matchesDN()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/x509/
DAttributeCertificateIssuer.java17 import com.android.org.bouncycastle.asn1.x509.GeneralName;
51 form = new V2Form(GeneralNames.getInstance(new DERSequence(new GeneralName(principal)))); in AttributeCertificateIssuer()
67 GeneralName[] names = name.getNames(); in getNames()
73 if (names[i].getTagNo() == GeneralName.directoryName) in getNames()
114 GeneralName[] names = targets.getNames(); in matchesDN()
118 GeneralName gn = names[i]; in matchesDN()
120 if (gn.getTagNo() == GeneralName.directoryName) in matchesDN()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
DAttributeCertificateIssuer.java16 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()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ocsp/
DTBSRequest.java12 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/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/ocsp/
DTBSRequest.java13 import com.android.internal.org.bouncycastle.asn1.x509.GeneralName;
25 GeneralName requestorName;
38 GeneralName requestorName, in TBSRequest()
49 GeneralName requestorName, in TBSRequest()
86 … requestorName = GeneralName.getInstance((ASN1TaggedObject)seq.getObjectAt(index++), true); in TBSRequest()
124 public GeneralName getRequestorName() in getRequestorName()

1234