Home
last modified time | relevance | path

Searched refs:BasicConstraints (Results 1 – 25 of 58) sorted by relevance

123

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DBasicConstraints.java14 public class BasicConstraints class
20 public static BasicConstraints getInstance( in getInstance()
27 public static BasicConstraints getInstance( in getInstance()
30 if (obj instanceof BasicConstraints) in getInstance()
32 return (BasicConstraints)obj; in getInstance()
40 return new BasicConstraints(ASN1Sequence.getInstance(obj)); in getInstance()
46 public static BasicConstraints fromExtensions(Extensions extensions) in fromExtensions()
51 private BasicConstraints( in BasicConstraints() method in BasicConstraints
84 public BasicConstraints( in BasicConstraints() method in BasicConstraints
103 public BasicConstraints( in BasicConstraints() method in BasicConstraints
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x509/
DBasicConstraints.java18 public class BasicConstraints class
24 public static BasicConstraints getInstance( in getInstance()
31 public static BasicConstraints getInstance( in getInstance()
34 if (obj instanceof BasicConstraints) in getInstance()
36 return (BasicConstraints)obj; in getInstance()
44 return new BasicConstraints(ASN1Sequence.getInstance(obj)); in getInstance()
50 public static BasicConstraints fromExtensions(Extensions extensions) in fromExtensions()
55 private BasicConstraints( in BasicConstraints() method in BasicConstraints
88 public BasicConstraints( in BasicConstraints() method in BasicConstraints
107 public BasicConstraints( in BasicConstraints() method in BasicConstraints
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/x509/
DBasicConstraints.java18 public class BasicConstraints class
24 public static BasicConstraints getInstance( in getInstance()
31 public static BasicConstraints getInstance( in getInstance()
34 if (obj instanceof BasicConstraints) in getInstance()
36 return (BasicConstraints)obj; in getInstance()
44 return new BasicConstraints(ASN1Sequence.getInstance(obj)); in getInstance()
50 public static BasicConstraints fromExtensions(Extensions extensions) in fromExtensions()
55 private BasicConstraints( in BasicConstraints() method in BasicConstraints
88 public BasicConstraints( in BasicConstraints() method in BasicConstraints
107 public BasicConstraints( in BasicConstraints() method in BasicConstraints
/external/rust/crates/openssl/src/x509/
Dextension.rs26 pub struct BasicConstraints { struct
32 impl Default for BasicConstraints { argument
33 fn default() -> BasicConstraints { in default()
34 BasicConstraints::new() in default()
38 impl BasicConstraints { implementation
40 pub fn new() -> BasicConstraints { in new()
41 BasicConstraints { in new()
49 pub fn critical(&mut self) -> &mut BasicConstraints { in critical() argument
55 pub fn ca(&mut self) -> &mut BasicConstraints { in ca() argument
62 pub fn pathlen(&mut self, pathlen: u32) -> &mut BasicConstraints { in pathlen() argument
/external/rust/crates/x509-cert/src/ext/pkix/constraints/
Dbasic.rs16 pub struct BasicConstraints { struct
22 impl AssociatedOid for BasicConstraints { argument
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/
DHeldCertificate.java28 import org.bouncycastle.asn1.x509.BasicConstraints;
128 generator.addExtension(X509Extensions.BasicConstraints, true, in build()
129 new BasicConstraints(maxIntermediateCas)); in build()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
DX509CertificateInternal.java5 import org.bouncycastle.asn1.x509.BasicConstraints;
13BasicConstraints basicConstraints, boolean[] keyUsage, String sigAlgName, byte[] sigAlgParams, byt… in X509CertificateInternal()
DX509CertificateObject.java54 import org.bouncycastle.asn1.x509.BasicConstraints;
344 private static BasicConstraints createBasicConstraints(org.bouncycastle.asn1.x509.Certificate c) in createBasicConstraints()
355 return BasicConstraints.getInstance(ASN1Primitive.fromByteArray(extOctets)); in createBasicConstraints()
DX509CertificateImpl.java54 import org.bouncycastle.asn1.x509.BasicConstraints;
77 protected BasicConstraints basicConstraints;
83BasicConstraints basicConstraints, boolean[] keyUsage, String sigAlgName, byte[] sigAlgParams) in X509CertificateImpl()
521 buf.append(BasicConstraints.getInstance(dIn.readObject())).append(nl); in toString()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/x509/
DX509CertificateInternal.java6 import com.android.org.bouncycastle.asn1.x509.BasicConstraints;
14BasicConstraints basicConstraints, boolean[] keyUsage, String sigAlgName, byte[] sigAlgParams, byt… in X509CertificateInternal()
DX509CertificateObject.java55 import com.android.org.bouncycastle.asn1.x509.BasicConstraints;
345 …private static BasicConstraints createBasicConstraints(com.android.org.bouncycastle.asn1.x509.Cert… in createBasicConstraints()
356 return BasicConstraints.getInstance(ASN1Primitive.fromByteArray(extOctets)); in createBasicConstraints()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/x509/
DX509CertificateInternal.java6 import com.android.internal.org.bouncycastle.asn1.x509.BasicConstraints;
14BasicConstraints basicConstraints, boolean[] keyUsage, String sigAlgName, byte[] sigAlgParams, byt… in X509CertificateInternal()
DX509CertificateObject.java55 import com.android.internal.org.bouncycastle.asn1.x509.BasicConstraints;
345 …private static BasicConstraints createBasicConstraints(com.android.internal.org.bouncycastle.asn1.… in createBasicConstraints()
356 return BasicConstraints.getInstance(ASN1Primitive.fromByteArray(extOctets)); in createBasicConstraints()
/external/rust/crates/openssl/examples/
Dmk_certs.rs11 AuthorityKeyIdentifier, BasicConstraints, KeyUsage, SubjectAlternativeName,
44 cert_builder.append_extension(BasicConstraints::new().critical().ca().build()?)?; in mk_ca_cert()
107 cert_builder.append_extension(BasicConstraints::new().build()?)?; in mk_ca_signed_cert()
/external/rust/crates/x509-cert/src/ext/pkix/
Dconstraints.rs8 pub use basic::BasicConstraints;
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DCertInstallerHelper.java26 import com.android.internal.org.bouncycastle.asn1.x509.BasicConstraints;
165 return BasicConstraints.getInstance(sequence).isCA(); in isCa()
/external/pigweed/pw_tls_client/py/pw_tls_client/
Dgenerate_test_data.py97 (x509.BasicConstraints(True, None), True),
157 (x509.BasicConstraints(False, None), True),
/external/conscrypt/common/src/test/java/org/conscrypt/java/security/cert/
DCertificateFactoryTest.java62 import org.bouncycastle.asn1.x509.BasicConstraints;
836 BasicConstraints basicConstraints; in generateCertificate()
838 basicConstraints = new BasicConstraints(10 - serial.intValue()); in generateCertificate()
840 basicConstraints = new BasicConstraints(false); in generateCertificate()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DX509CertificateObject.java54 import org.bouncycastle.asn1.x509.BasicConstraints;
78 private BasicConstraints basicConstraints;
97 basicConstraints = BasicConstraints.getInstance(ASN1Primitive.fromByteArray(bytes)); in X509CertificateObject()
704 buf.append(BasicConstraints.getInstance(dIn.readObject())).append(nl); in toString()
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/java/security/cert/
DCertificateFactoryTest.java66 import org.bouncycastle.asn1.x509.BasicConstraints;
845 BasicConstraints basicConstraints; in generateCertificate()
847 basicConstraints = new BasicConstraints(10 - serial.intValue()); in generateCertificate()
849 basicConstraints = new BasicConstraints(false); in generateCertificate()
/external/rust/crates/x509-cert/src/ext/
Dpkix.rs19 pub use constraints::{BasicConstraints, NameConstraints, PolicyConstraints};
/external/rust/crates/x509-parser/src/
Dextensions.rs186 BasicConstraints(BasicConstraints), enumerator
261 pub struct BasicConstraints { struct
266 impl<'a> FromDer<'a> for BasicConstraints { argument
878 pub(super) fn parse_basicconstraints(i: &[u8]) -> IResult<&[u8], BasicConstraints, BerError> { in parse_basicconstraints() argument
905 BasicConstraints { in parse_basicconstraints()
916 map(parse_basicconstraints, ParsedExtension::BasicConstraints)(i) in parse_basicconstraints_ext()
1523 &BasicConstraints { in test_extensions1()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jce/provider/
DX509CertificateObject.java55 import com.android.internal.org.bouncycastle.asn1.x509.BasicConstraints;
80 private BasicConstraints basicConstraints;
99 basicConstraints = BasicConstraints.getInstance(ASN1Primitive.fromByteArray(bytes)); in X509CertificateObject()
706 buf.append(BasicConstraints.getInstance(dIn.readObject())).append(nl); in toString()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/
DX509CertificateObject.java55 import com.android.org.bouncycastle.asn1.x509.BasicConstraints;
80 private BasicConstraints basicConstraints;
100 basicConstraints = BasicConstraints.getInstance(ASN1Primitive.fromByteArray(bytes)); in X509CertificateObject()
707 buf.append(BasicConstraints.getInstance(dIn.readObject())).append(nl); in toString()
/external/rust/crates/x509-parser/tests/
Dreadcert.rs74 ParsedExtension::BasicConstraints(BasicConstraints { in test_x509_parser()

123