/libcore/luni/src/main/java/java/security/cert/ |
TrustAnchor.java | 24 import org.apache.harmony.security.x509.NameConstraints; 47 private final byte[] nameConstraints; 58 * @param nameConstraints 64 public TrustAnchor(X509Certificate trustedCert, byte[] nameConstraints) { 69 // copy nameConstraints if not null 70 if (nameConstraints != null) { 71 this.nameConstraints = new byte[nameConstraints.length]; 72 System.arraycopy(nameConstraints, 0, 73 this.nameConstraints, 0, this.nameConstraints.length) [all...] |
X509CertSelector.java | 39 import org.apache.harmony.security.x509.NameConstraints; 68 private NameConstraints nameConstraints; 766 * NameConstraints ::= SEQUENCE { 799 this.nameConstraints = (bytes == null) 801 : (NameConstraints) NameConstraints.ASN1.decode(bytes); 811 return (nameConstraints == null) 813 : nameConstraints.getEncoded(); [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
NameConstraints.java | 13 public class NameConstraints 18 public static NameConstraints getInstance(Object obj) 20 if (obj instanceof NameConstraints) 22 return (NameConstraints)obj; 26 return new NameConstraints(ASN1Sequence.getInstance(obj)); 32 private NameConstraints(ASN1Sequence seq) 61 public NameConstraints( 99 * NameConstraints ::= SEQUENCE { permittedSubtrees [0] GeneralSubtrees
|
GeneralSubtree.java | 15 * Class for containing a restriction object subtrees in NameConstraints. See 28 * @see org.bouncycastle.asn1.x509.NameConstraints
|
Extension.java | 95 public static final ASN1ObjectIdentifier nameConstraints = new ASN1ObjectIdentifier("2.5.29.30");
|
X509Extension.java | 89 public static final ASN1ObjectIdentifier nameConstraints = new ASN1ObjectIdentifier("2.5.29.30");
|
X509Extensions.java | 112 public static final ASN1ObjectIdentifier NameConstraints = new ASN1ObjectIdentifier("2.5.29.30");
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/cert/ |
TrustAnchor_ImplTest.java | 88 * Test preconditions: <code>null</code> as nameConstraints passed<br> 106 * Assertion: nameConstraints cloned by the constructor<br> 107 * Test preconditions: modify passed nameConstraints<br> 120 // sub testcase 5 - nameConstraints can be null 154 * Assertion: <code>IllegalArgumentException</code> if nameConstraints 156 * Test preconditions: pass invalid nameConstraints encoding<br> 169 byte [] nameConstraints = getFullEncoding(); 172 nameConstraints[2] = (byte)0x8d; 176 nameConstraints); 182 nameConstraints = getFullEncoding() [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
NameConstraints.java | 45 * NameConstraints ::= SEQUENCE { 56 public final class NameConstraints extends ExtensionValue { 61 /** the ASN.1 encoded form of NameConstraints */ 70 public NameConstraints(GeneralSubtrees permittedSubtrees, 88 private NameConstraints(GeneralSubtrees permittedSubtrees, 94 public static NameConstraints decode(byte[] encoding) throws IOException { 95 return (NameConstraints) ASN1.decode(encoding); 151 * Apply the name restrictions specified by this NameConstraints 163 * these NameConstraints restrictions 194 * NameConstraints object [all...] |
GeneralSubtrees.java | 44 * @see org.apache.harmony.security.x509.NameConstraints
|
GeneralNames.java | 46 * @see org.apache.harmony.security.x509.NameConstraints
|
GeneralSubtree.java | 50 * @see org.apache.harmony.security.x509.NameConstraints
|
GeneralName.java | 92 * These are only necessary for NameConstraints, which are not exposed in the 95 * @see org.apache.harmony.security.x509.NameConstraints
|
Extension.java | 256 extnValueObject = NameConstraints.decode(extnValue);
|
/libcore/luni/src/test/java/tests/security/cert/ |
TrustAnchorTest.java | 81 * Test preconditions: <code>null</code> as nameConstraints passed<br> 95 * Assertion: nameConstraints cloned by the constructor<br> 96 * Test preconditions: modify passed nameConstraints<br> 107 // sub testcase 5 - nameConstraints can be null 190 * Test preconditions: <code>null</code> as nameConstraints passed<br> 206 * Assertion: nameConstraints cloned by the constructor<br> 207 * Test preconditions: modify passed nameConstraints<br> 218 // sub testcase 5 - nameConstraints can be null 338 * Test preconditions: <code>null</code> as nameConstraints passed<br> 583 * NameConstraints ::= SEQUENCE [all...] |
X509CertSelectorTest.java | 69 import org.apache.harmony.security.x509.NameConstraints; 483 // NameConstraints constraints = new NameConstraints(subtrees, [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
TrustAnchorTest.java | 78 * Test preconditions: <code>null</code> as nameConstraints passed<br> 92 * Assertion: nameConstraints cloned by the constructor<br> 93 * Test preconditions: modify passed nameConstraints<br> 104 // sub testcase 5 - nameConstraints can be null 187 * Test preconditions: <code>null</code> as nameConstraints passed<br> 203 * Assertion: nameConstraints cloned by the constructor<br> 204 * Test preconditions: modify passed nameConstraints<br> 215 // sub testcase 5 - nameConstraints can be null 368 * NameConstraints ::= SEQUENCE { 394 // Full NameConstraints encodin [all...] |
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/ |
X509CertSelectorTest.java | 66 import org.apache.harmony.security.x509.NameConstraints; 107 protected NameConstraints nameConstraints = null; 116 public TestCert(NameConstraints nameConstraints) { 117 this.nameConstraints = nameConstraints; 431 if ("2.5.29.30".equals(oid) && (nameConstraints != null)) { 434 nameConstraints.getEncoded()); [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/ |
CertificateTest.java | 44 import org.apache.harmony.security.x509.NameConstraints; 191 (byte)0x30,(byte)0x13, // NameConstraints 202 NameConstraints.ASN1.decode(encoding);
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/cert/ |
X509CertImplTest.java | 71 import org.apache.harmony.security.x509.NameConstraints; 138 static NameConstraints nameConstraints; 168 nameConstraints = 169 new NameConstraints(permittedNames, excludedNames); 174 nameConstraints = new NameConstraints(); 206 new Extension("2.5.29.30", true, nameConstraints),
|
X509CertFactoryPerfTest.java | 112 static NameConstraints nameConstraints; 142 nameConstraints = 143 new NameConstraints(permittedNames, excludedNames); 148 nameConstraints = new NameConstraints(); 183 new Extension("2.5.29.30", true, nameConstraints),
|
/libcore/support/src/test/java/libcore/java/security/ |
TestKeyStore.java | 27 import com.android.org.bouncycastle.asn1.x509.NameConstraints; 569 x509cg.addExtension(X509Extensions.NameConstraints, 571 new NameConstraints(permittedNameConstraints.toArray( [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
RFC3280CertPathUtilities.java | 49 import org.bouncycastle.asn1.x509.NameConstraints; 398 public static final String NAME_CONSTRAINTS = X509Extensions.NameConstraints.getId(); [all...] |
CertPathValidatorUtilities.java | 89 protected static final String NAME_CONSTRAINTS = Extension.nameConstraints.getId(); [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/objects/ |
objects.txt | 754 id-ce 30 : nameConstraints : X509v3 Name Constraints [all...] |