Home
last modified time | relevance | path

Searched refs:PolicyConstraints (Results 1 – 24 of 24) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DPolicyConstraints.java26 public class PolicyConstraints class
32 … public PolicyConstraints(BigInteger requireExplicitPolicyMapping, BigInteger inhibitPolicyMapping) in PolicyConstraints() method in PolicyConstraints
38 private PolicyConstraints(ASN1Sequence seq) in PolicyConstraints() method in PolicyConstraints
59 public static PolicyConstraints getInstance( in getInstance()
62 if (obj instanceof PolicyConstraints) in getInstance()
64 return (PolicyConstraints)obj; in getInstance()
69 return new PolicyConstraints(ASN1Sequence.getInstance(obj)); in getInstance()
75 public static PolicyConstraints fromExtensions(Extensions extensions) in fromExtensions()
DX509Extensions.java141 …public static final ASN1ObjectIdentifier PolicyConstraints = new ASN1ObjectIdentifier("2.5.29.36"); field in X509Extensions
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/x509/
DPolicyConstraints.java28 public class PolicyConstraints class
34 … public PolicyConstraints(BigInteger requireExplicitPolicyMapping, BigInteger inhibitPolicyMapping) in PolicyConstraints() method in PolicyConstraints
40 private PolicyConstraints(ASN1Sequence seq) in PolicyConstraints() method in PolicyConstraints
61 public static PolicyConstraints getInstance( in getInstance()
64 if (obj instanceof PolicyConstraints) in getInstance()
66 return (PolicyConstraints)obj; in getInstance()
71 return new PolicyConstraints(ASN1Sequence.getInstance(obj)); in getInstance()
77 public static PolicyConstraints fromExtensions(Extensions extensions) in fromExtensions()
DX509Extensions.java143 …public static final ASN1ObjectIdentifier PolicyConstraints = new ASN1ObjectIdentifier("2.5.29.36"); field in X509Extensions
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x509/
DPolicyConstraints.java28 public class PolicyConstraints class
34 … public PolicyConstraints(BigInteger requireExplicitPolicyMapping, BigInteger inhibitPolicyMapping) in PolicyConstraints() method in PolicyConstraints
40 private PolicyConstraints(ASN1Sequence seq) in PolicyConstraints() method in PolicyConstraints
61 public static PolicyConstraints getInstance( in getInstance()
64 if (obj instanceof PolicyConstraints) in getInstance()
66 return (PolicyConstraints)obj; in getInstance()
71 return new PolicyConstraints(ASN1Sequence.getInstance(obj)); in getInstance()
77 public static PolicyConstraints fromExtensions(Extensions extensions) in fromExtensions()
DX509Extensions.java143 …public static final ASN1ObjectIdentifier PolicyConstraints = new ASN1ObjectIdentifier("2.5.29.36"); field in X509Extensions
/external/rust/crates/x509-cert/src/ext/pkix/constraints/
Dpolicy.rs16 pub struct PolicyConstraints { struct
24 impl AssociatedOid for PolicyConstraints { implementation
/external/rust/crates/x509-cert/src/ext/pkix/
Dconstraints.rs10 pub use policy::PolicyConstraints;
/external/rust/crates/x509-parser/src/
Dextensions.rs190 PolicyConstraints(PolicyConstraints), enumerator
591 pub struct PolicyConstraints { struct
596 impl<'a> FromDer<'a> for PolicyConstraints { argument
1042 pub(super) fn parse_policyconstraints(i: &[u8]) -> IResult<&[u8], PolicyConstraints, BerError> { in parse_policyconstraints() argument
1052 let policy_constraint = PolicyConstraints { in parse_policyconstraints()
1061 map(parse_policyconstraints, ParsedExtension::PolicyConstraints)(i) in parse_policyconstraints_ext()
1553 &PolicyConstraints { in test_extensions1()
1614 &PolicyConstraints { in test_extensions2()
Dcertificate.rs381 pub fn policy_constraints(&self) -> Option<(bool, &PolicyConstraints)> { in policy_constraints() argument
384 ParsedExtension::PolicyConstraints(ref pc) => Some((ext.critical, pc)), in policy_constraints()
/external/rust/crates/x509-cert/src/ext/
Dpkix.rs19 pub use constraints::{BasicConstraints, NameConstraints, PolicyConstraints};
/external/python/cryptography/src/cryptography/x509/
D__init__.py57 PolicyConstraints,
Dextensions.py644 class PolicyConstraints(object): class
680 if not isinstance(other, PolicyConstraints):
/external/python/cryptography/tests/x509/
Dtest_x509_ext.py2698 x509.PolicyConstraints("invalid", None)
2702 x509.PolicyConstraints(None, "invalid")
2706 x509.PolicyConstraints(None, None)
2709 pc = x509.PolicyConstraints(0, None)
2717 pc = x509.PolicyConstraints(2, 1)
2718 pc2 = x509.PolicyConstraints(2, 1)
2722 pc = x509.PolicyConstraints(2, 1)
2723 pc2 = x509.PolicyConstraints(2, 2)
2724 pc3 = x509.PolicyConstraints(3, 1)
2730 pc = x509.PolicyConstraints(2, 1)
[all …]
Dtest_x509.py2972 x509.PolicyConstraints(
2975 x509.PolicyConstraints(
2978 x509.PolicyConstraints(
/external/rust/crates/x509-cert/tests/
Dpkix_extensions.rs79 PolicyConstraints::OID => { in spin_over_exts()
80 let decoded = PolicyConstraints::from_der(ext.extn_value).unwrap(); in spin_over_exts()
/external/python/pyasn1-modules/pyasn1_modules/
Drfc5280.py1558 class PolicyConstraints(univ.Sequence): class
1562 PolicyConstraints.componentType = namedtype.NamedTypes(
1645 id_ce_policyConstraints: PolicyConstraints(),
Drfc3280.py1499 class PolicyConstraints(univ.Sequence): class
1503 PolicyConstraints.componentType = namedtype.NamedTypes(
Drfc2459.py824 class PolicyConstraints(univ.Sequence): class
1325 id_ce_policyConstraints: PolicyConstraints(),
/external/python/asn1crypto/asn1crypto/
Dx509.py1657 class PolicyConstraints(Sequence): class
2106 'policy_constraints': PolicyConstraints,
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/
Ddecode_asn1.py515 return x509.PolicyConstraints(
/external/cronet/net/cert/
Dcert_verify_proc_unittest.cc5178 TEST_P(CertVerifyProcConstraintsTrustedLeafTest, PolicyConstraints) { in TEST_P() argument
5450 TEST_P(CertVerifyProcConstraintsTrustedSelfSignedTest, PolicyConstraints) { in TEST_P() argument
/external/python/cryptography/docs/x509/
Dreference.rst2373 .. class:: PolicyConstraints
3174 :class:`~cryptography.x509.PolicyConstraints` extension type.
/external/python/cryptography/
DCHANGELOG.rst917 * Added support for the :class:`~cryptography.x509.PolicyConstraints`