OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:generalnames
(Results
1 - 25
of
53
) sorted by null
1
2
3
/libcore/luni/src/main/java/org/apache/harmony/security/x509/
GeneralNames.java
35
* with the
GeneralNames
structure which is a part of X.509 certificate
43
*
GeneralNames
::= SEQUENCE SIZE (1..MAX) OF GeneralName
49
public final class
GeneralNames
{
51
private List<GeneralName>
generalNames
;
52
/** the ASN.1 encoded form of
GeneralNames
*/
55
public
GeneralNames
() {
56
generalNames
= new ArrayList<GeneralName>();
59
public
GeneralNames
(List<GeneralName>
generalNames
) {
60
this.
generalNames
= generalNames
[
all
...]
DistributionPoint.java
46
* cRLIssuer [2]
GeneralNames
OPTIONAL
50
* fullName [0]
GeneralNames
,
70
private final
GeneralNames
cRLIssuer;
73
ReasonFlags reasons,
GeneralNames
cRLIssuer) {
108
new ASN1Implicit(2,
GeneralNames
.ASN1)
119
(ReasonFlags) values[1], (
GeneralNames
) values[2]);
DistributionPointName.java
48
* cRLIssuer [2]
GeneralNames
OPTIONAL
52
* fullName [0]
GeneralNames
,
70
private final
GeneralNames
fullName;
73
public DistributionPointName(
GeneralNames
fullName) {
98
new ASN1Implicit(0,
GeneralNames
.ASN1),
109
result = new DistributionPointName((
GeneralNames
) in.content);
AlternativeName.java
39
private
GeneralNames
alternativeNames;
49
this.alternativeNames = (
GeneralNames
)
GeneralNames
.ASN1.decode(encoding);
57
encoding =
GeneralNames
.ASN1.encode(alternativeNames);
AuthorityKeyIdentifier.java
48
* authorityCertIssuer [1]
GeneralNames
OPTIONAL,
56
private final
GeneralNames
authorityCertIssuer;
60
GeneralNames
authorityCertIssuer,
83
* The
GeneralNames
for this authority key identifier.
87
public
GeneralNames
getAuthorityCertIssuer() {
129
new ASN1Implicit(1,
GeneralNames
.ASN1),
148
(
GeneralNames
) values[1], authorityCertSerialNumber);
CertificateIssuer.java
29
* It is a CRL entry extension and contains the
GeneralNames
describing
34
* certificateIssuer ::=
GeneralNames
37
* In java implementation it is presumed that
GeneralNames
consist of
Extensions.java
251
* SubjectAltName ::=
GeneralNames
270
* IssuerAltName ::=
GeneralNames
283
* Given an X.509 extension that encodes
GeneralNames
, return it in the
292
Collection<List<?>> collection = ((
GeneralNames
)
GeneralNames
.ASN1.decode(extension
308
* It is a CRL entry extension and contains the
GeneralNames
describing
313
* certificateIssuer ::=
GeneralNames
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
GeneralNames.java
10
public class
GeneralNames
15
public static
GeneralNames
getInstance(
18
if (obj instanceof
GeneralNames
)
20
return (
GeneralNames
)obj;
25
return new
GeneralNames
(ASN1Sequence.getInstance(obj));
31
public static
GeneralNames
getInstance(
38
public static
GeneralNames
fromExtensions(Extensions extensions, ASN1ObjectIdentifier extOID)
40
return
GeneralNames
.getInstance(extensions.getExtensionParsedValue(extOID));
44
* Construct a
GeneralNames
object containing one GeneralName.
48
public
GeneralNames
(
[
all
...]
AttCertIssuer.java
29
else if (obj instanceof
GeneralNames
)
31
return new AttCertIssuer((
GeneralNames
)obj);
39
return new AttCertIssuer(
GeneralNames
.getInstance(obj));
56
* @param names our
GeneralNames
structure
59
GeneralNames
names)
81
* v1Form
GeneralNames
, -- MUST NOT be used in this
IssuerSerial.java
17
GeneralNames
issuer;
52
issuer =
GeneralNames
.getInstance(seq.getObjectAt(0));
62
GeneralNames
issuer,
69
GeneralNames
issuer,
76
public
GeneralNames
getIssuer()
95
* issuer
GeneralNames
,
AuthorityKeyIdentifier.java
28
* authorityCertIssuer [1] IMPLICIT
GeneralNames
OPTIONAL,
39
GeneralNames
certissuer=null;
84
this.certissuer =
GeneralNames
.getInstance(o, false);
123
* create an AuthorityKeyIdentifier with the
GeneralNames
tag and
128
GeneralNames
name,
141
this.certissuer =
GeneralNames
.getInstance(name.toASN1Primitive());
146
* create an AuthorityKeyIdentifier with the
GeneralNames
tag and
150
GeneralNames
name,
154
this.certissuer =
GeneralNames
.getInstance(name.toASN1Primitive());
171
* and the
GeneralNames
tag and the serial number provided as well
[
all
...]
DistributionPoint.java
18
* cRLIssuer [2]
GeneralNames
OPTIONAL
27
GeneralNames
cRLIssuer;
67
cRLIssuer =
GeneralNames
.getInstance(t, false);
75
GeneralNames
cRLIssuer)
92
public
GeneralNames
getCRLIssuer()
V2Form.java
14
GeneralNames
issuerName;
41
GeneralNames
issuerName)
59
this.issuerName =
GeneralNames
.getInstance(seq.getObjectAt(0));
81
public
GeneralNames
getIssuerName()
100
* issuerName
GeneralNames
OPTIONAL,
Holder.java
21
* entityName [1]
GeneralNames
OPTIONAL,
36
* subjectName [1]
GeneralNames
},
48
GeneralNames
entityName;
85
entityName =
GeneralNames
.getInstance(tagObj, false);
117
entityName =
GeneralNames
.getInstance(tObj, false);
161
public Holder(
GeneralNames
entityName)
173
public Holder(
GeneralNames
entityName, int version)
200
public
GeneralNames
getEntityName()
DistributionPointName.java
15
* fullName [0]
GeneralNames
,
61
GeneralNames
name)
93
this.name =
GeneralNames
.getInstance(obj, false);
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/
GeneralNamesTest.java
28
import org.apache.harmony.security.x509.
GeneralNames
;
40
GeneralNames
subj_alt_names = new
GeneralNames
(Arrays
48
byte[] encoding =
GeneralNames
.ASN1.encode(subj_alt_names);
50
GeneralNames
gnames = (
GeneralNames
)
GeneralNames
.ASN1.decode(encoding);
ORAddressTest.java
25
import org.apache.harmony.security.x509.
GeneralNames
;
68
GeneralNames
gNames = new
GeneralNames
();
70
System.out.println("
GeneralNames
:");
EDIPartyNameTest.java
28
import org.apache.harmony.security.x509.
GeneralNames
;
105
GeneralNames
gNames = new
GeneralNames
();
121
System.out.println("Got encoded form of
GeneralNames
is:");
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/
AttributeCertificateIssuer.java
10
import org.bouncycastle.asn1.x509.
GeneralNames
;
34
form = new V2Form(new
GeneralNames
(new GeneralName(principal)));
39
GeneralNames
name;
47
name = (
GeneralNames
)form;
65
private boolean matchesDN(X500Name subject,
GeneralNames
targets)
130
GeneralNames
name = issuer.getIssuerName();
138
GeneralNames
name = (
GeneralNames
)form;
X509CRLEntryHolder.java
11
import org.bouncycastle.asn1.x509.
GeneralNames
;
20
private
GeneralNames
ca;
22
X509CRLEntryHolder(TBSCertList.CRLEntry entry, boolean isIndirect,
GeneralNames
previousCA)
33
ca =
GeneralNames
.getInstance(currentCaName.getParsedValue());
78
public
GeneralNames
getCertificateIssuer()
AttributeCertificateHolder.java
14
import org.bouncycastle.asn1.x509.
GeneralNames
;
31
* entityName [1]
GeneralNames
OPTIONAL,
60
new
GeneralNames
(new GeneralName(issuerName)),
173
private
GeneralNames
generateGeneralNames(X500Name principal)
175
return new
GeneralNames
(new GeneralName(principal));
178
private boolean matchesDN(X500Name subject,
GeneralNames
targets)
X509CRLHolder.java
22
import org.bouncycastle.asn1.x509.
GeneralNames
;
36
private
GeneralNames
issuerName;
101
this.issuerName = new
GeneralNames
(new GeneralName(x509CRL.getIssuer()));
128
GeneralNames
currentCA = issuerName;
144
currentCA =
GeneralNames
.getInstance(currentCaName.getParsedValue());
162
GeneralNames
currentCA = issuerName;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
AttributeCertificateIssuer.java
17
import org.bouncycastle.asn1.x509.
GeneralNames
;
49
form = new V2Form(
GeneralNames
.getInstance(new DERSequence(new GeneralName(principal))));
54
GeneralNames
name;
62
name = (
GeneralNames
)form;
110
private boolean matchesDN(X500Principal subject,
GeneralNames
targets)
159
GeneralNames
name = issuer.getIssuerName();
167
GeneralNames
name = (
GeneralNames
)form;
AttributeCertificateHolder.java
24
import org.bouncycastle.asn1.x509.
GeneralNames
;
41
* entityName [1]
GeneralNames
OPTIONAL,
64
GeneralNames
.getInstance(new DERSequence(new GeneralName(issuerName))),
202
private
GeneralNames
generateGeneralNames(X509Principal principal)
204
return
GeneralNames
.getInstance(new DERSequence(new GeneralName(principal)));
207
private boolean matchesDN(X509Principal subject,
GeneralNames
targets)
257
private Principal[] getPrincipals(
GeneralNames
names)
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/extension/
AuthorityKeyIdentifierStructure.java
15
import org.bouncycastle.asn1.x509.
GeneralNames
;
77
info, new
GeneralNames
(genName), certificate.getSerialNumber()).toASN1Object();
90
str.getOctets(), new
GeneralNames
(genName), certificate.getSerialNumber()).toASN1Object();
98
info, new
GeneralNames
(genName), certificate.getSerialNumber()).toASN1Object();
Completed in 4313 milliseconds
1
2
3