Home
last modified time | relevance | path

Searched refs:security (Results 1 – 25 of 1019) sorted by relevance

12345678910>>...41

/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DSignedObjectTest.java18 package org.apache.harmony.security.tests.java.security;
20 import java.security.NoSuchAlgorithmException;
21 import java.security.Signature;
22 import java.security.SignedObject;
27 import org.apache.harmony.security.tests.support.TestKeyPair;
32 import java.security.InvalidKeyException;
33 import java.security.InvalidParameterException;
34 import java.security.NoSuchAlgorithmException;
35 import java.security.PrivateKey;
36 import java.security.PublicKey;
[all …]
DKeyPairGeneratorSpiTest.java23 package org.apache.harmony.security.tests.java.security;
25 import java.security.InvalidAlgorithmParameterException;
26 import java.security.InvalidParameterException;
27 import java.security.KeyPair;
28 import java.security.KeyPairGeneratorSpi;
29 import java.security.SecureRandom;
30 import java.security.spec.AlgorithmParameterSpec;
32 import org.apache.harmony.security.tests.support.MyKeyPairGeneratorSpi;
DKeyPairGenerator3Test.java23 package org.apache.harmony.security.tests.java.security;
25 import java.security.AlgorithmParameters;
26 import java.security.AlgorithmParametersSpi;
27 import java.security.KeyPair;
28 import java.security.KeyPairGenerator;
29 import java.security.NoSuchAlgorithmException;
30 import java.security.NoSuchProviderException;
31 import java.security.Provider;
32 import java.security.SecureRandom;
34 import org.apache.harmony.security.tests.java.security.AlgorithmParametersTest.MyAlgorithmParameter…
[all …]
DKeyStorePrivateKeyEntryTest.java18 package org.apache.harmony.security.tests.java.security;
22 import java.security.KeyPair;
23 import java.security.KeyPairGenerator;
24 import java.security.KeyStore;
25 import java.security.PrivateKey;
26 import java.security.cert.Certificate;
27 import java.security.cert.CertificateFactory;
28 import java.security.cert.X509Certificate;
DKeyStoreSpiTest.java18 package org.apache.harmony.security.tests.java.security;
22 import java.security.InvalidKeyException;
23 import java.security.Key;
24 import java.security.KeyStore.LoadStoreParameter;
25 import java.security.KeyStore.Entry;
26 import java.security.KeyStore.ProtectionParameter;
27 import java.security.KeyStore;
28 import java.security.KeyStoreException;
29 import java.security.KeyStoreSpi;
30 import java.security.NoSuchAlgorithmException;
[all …]
DSignerTest.java23 package org.apache.harmony.security.tests.java.security;
25 import java.security.IdentityScope;
26 import java.security.InvalidParameterException;
27 import java.security.KeyManagementException;
28 import java.security.KeyPair;
29 import java.security.Permission;
30 import java.security.Permissions;
31 import java.security.SecurityPermission;
32 import java.security.Signer;
34 import org.apache.harmony.security.tests.support.PrivateKeyStub;
[all …]
/libcore/luni/src/test/java/tests/targets/security/cert/
DCertPathValidatorTestPKIX.java16 package tests.targets.security.cert;
19 import java.security.KeyStore;
20 import java.security.cert.CertPath;
21 import java.security.cert.CertPathBuilder;
22 import java.security.cert.CertPathBuilderResult;
23 import java.security.cert.CertPathParameters;
24 import java.security.cert.CertPathValidatorResult;
25 import java.security.cert.CertStore;
26 import java.security.cert.CertStoreParameters;
27 import java.security.cert.Certificate;
[all …]
DCertPathBuilderTestPKIX.java16 package tests.targets.security.cert;
18 import java.security.KeyStore;
19 import java.security.KeyStore.PrivateKeyEntry;
20 import java.security.cert.CertPath;
21 import java.security.cert.CertPathParameters;
22 import java.security.cert.CertStore;
23 import java.security.cert.CertStoreParameters;
24 import java.security.cert.Certificate;
25 import java.security.cert.CollectionCertStoreParameters;
26 import java.security.cert.PKIXBuilderParameters;
[all …]
/libcore/ojluni/src/main/java/java/io/
DFile.java724 SecurityManager security = System.getSecurityManager(); in canRead() local
725 if (security != null) { in canRead()
726 security.checkRead(path); in canRead()
749 SecurityManager security = System.getSecurityManager(); in canWrite() local
750 if (security != null) { in canWrite()
751 security.checkWrite(path); in canWrite()
772 SecurityManager security = System.getSecurityManager(); in exists() local
773 if (security != null) { in exists()
774 security.checkRead(path); in exists()
797 SecurityManager security = System.getSecurityManager(); in isDirectory() local
[all …]
/libcore/support/src/test/java/tests/security/
DAlgorithmParameterSignatureHelper.java17 package tests.security;
19 import java.security.AlgorithmParameters;
20 import java.security.InvalidAlgorithmParameterException;
21 import java.security.InvalidKeyException;
22 import java.security.KeyPair;
23 import java.security.KeyPairGenerator;
24 import java.security.NoSuchAlgorithmException;
25 import java.security.Signature;
26 import java.security.SignatureException;
27 import java.security.spec.AlgorithmParameterSpec;
[all …]
DDefaultKeys.java16 package tests.security;
18 import java.security.KeyFactory;
19 import java.security.NoSuchAlgorithmException;
20 import java.security.PrivateKey;
21 import java.security.PublicKey;
22 import java.security.spec.InvalidKeySpecException;
23 import java.security.spec.KeySpec;
24 import java.security.spec.PKCS8EncodedKeySpec;
25 import java.security.spec.X509EncodedKeySpec;
DSignatureHelper.java17 package tests.security;
19 import java.security.InvalidKeyException;
20 import java.security.KeyPair;
21 import java.security.NoSuchAlgorithmException;
22 import java.security.PrivateKey;
23 import java.security.PublicKey;
24 import java.security.Signature;
25 import java.security.SignatureException;
/libcore/ojluni/src/main/java/com/sun/security/cert/internal/x509/
DX509V1CertImpl.java26 package com.sun.security.cert.internal.x509;
36 import java.security.Signature;
37 import javax.security.cert.*;
38 import java.security.*;
52 private java.security.cert.X509Certificate wrappedCert;
54 synchronized private static java.security.cert.CertificateFactory
56 throws java.security.cert.CertificateException in getFactory()
58 return java.security.cert.CertificateFactory.getInstance("X.509"); in getFactory()
84 wrappedCert = (java.security.cert.X509Certificate) in X509V1CertImpl()
86 } catch (java.security.cert.CertificateException e) { in X509V1CertImpl()
[all …]
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
DMyCertStoreSpi.java23 package org.apache.harmony.security.tests.support.cert;
25 import java.security.InvalidAlgorithmParameterException;
26 import java.security.cert.CRL;
27 import java.security.cert.CRLSelector;
28 import java.security.cert.CertSelector;
29 import java.security.cert.CertStoreException;
30 import java.security.cert.CertStoreParameters;
31 import java.security.cert.CertStoreSpi;
32 import java.security.cert.Certificate;
DMyCertPathValidatorSpi.java23 package org.apache.harmony.security.tests.support.cert;
25 import java.security.InvalidAlgorithmParameterException;
26 import java.security.cert.CertPath;
27 import java.security.cert.CertPathParameters;
28 import java.security.cert.CertPathValidatorException;
29 import java.security.cert.CertPathValidatorResult;
30 import java.security.cert.CertPathValidatorSpi;
/libcore/luni/src/test/java/tests/security/cert/
DCertPathValidator3Test.java23 package tests.security.cert;
28 import org.apache.harmony.security.tests.support.SpiEngUtils;
29 import org.apache.harmony.security.tests.support.cert.MyCertPath;
30 import org.apache.harmony.security.tests.support.cert.TestUtils;
33 import java.security.InvalidAlgorithmParameterException;
34 import java.security.NoSuchAlgorithmException;
35 import java.security.NoSuchProviderException;
36 import java.security.Provider;
37 import java.security.cert.CertPathParameters;
38 import java.security.cert.CertPathValidator;
[all …]
DCertStoreSpiTest.java23 package tests.security.cert;
30 import java.security.InvalidAlgorithmParameterException;
31 import java.security.cert.CRL;
32 import java.security.cert.CRLSelector;
33 import java.security.cert.CertSelector;
34 import java.security.cert.CertStoreException;
35 import java.security.cert.CertStoreSpi;
36 import java.security.cert.Certificate;
38 import org.apache.harmony.security.tests.support.cert.MyCertStoreParameters;
39 import org.apache.harmony.security.tests.support.cert.MyCertStoreSpi;
DCertPathBuilderSpiTest.java23 package tests.security.cert;
27 import java.security.InvalidAlgorithmParameterException;
28 import java.security.cert.CertPathBuilderException;
29 import java.security.cert.CertPathBuilderResult;
30 import java.security.cert.CertPathBuilderSpi;
31 import java.security.cert.CertPathParameters;
33 import org.apache.harmony.security.tests.support.cert.MyCertPathBuilderSpi;
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DAlgorithmChecker.java26 package sun.security.provider.certpath;
28 import java.security.AlgorithmConstraints;
29 import java.security.CryptoPrimitive;
36 import java.security.PublicKey;
37 import java.security.KeyFactory;
38 import java.security.AlgorithmParameters;
39 import java.security.NoSuchAlgorithmException;
40 import java.security.GeneralSecurityException;
41 import java.security.cert.Certificate;
42 import java.security.cert.X509CRL;
[all …]
DSunCertPathBuilderResult.java26 package sun.security.provider.certpath;
28 import sun.security.util.Debug;
29 import java.security.PublicKey;
30 import java.security.cert.CertPath;
31 import java.security.cert.PKIXCertPathBuilderResult;
32 import java.security.cert.PolicyNode;
33 import java.security.cert.TrustAnchor;
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DMyKeyPairGeneratorSpi.java23 package org.apache.harmony.security.tests.support;
25 import java.security.InvalidAlgorithmParameterException;
26 import java.security.InvalidParameterException;
27 import java.security.KeyPair;
28 import java.security.KeyPairGeneratorSpi;
29 import java.security.SecureRandom;
30 import java.security.spec.AlgorithmParameterSpec;
DKeyStoreTestSupport.java18 package org.apache.harmony.security.tests.support;
20 import java.security.InvalidKeyException;
21 import java.security.KeyStore;
22 import java.security.NoSuchAlgorithmException;
23 import java.security.NoSuchProviderException;
24 import java.security.PrivateKey;
25 import java.security.Provider;
26 import java.security.PublicKey;
27 import java.security.SignatureException;
28 import java.security.cert.Certificate;
[all …]
/libcore/luni/src/test/java/tests/security/interfaces/
DDSAPrivateKeyTest.java16 package tests.security.interfaces;
20 import java.security.KeyPair;
21 import java.security.KeyPairGenerator;
22 import java.security.SecureRandom;
23 import java.security.interfaces.DSAPrivateKey;
24 import java.security.interfaces.DSAPublicKey;
25 import java.security.spec.DSAParameterSpec;
/libcore/luni/src/test/java/libcore/java/security/cert/
DFakeOidProvider.java1 package libcore.java.security.cert;
3 import java.security.InvalidKeyException;
4 import java.security.InvalidParameterException;
5 import java.security.PrivateKey;
6 import java.security.Provider;
7 import java.security.PublicKey;
8 import java.security.SignatureException;
9 import java.security.SignatureSpi;
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ldap/
DLDAPCertStoreHelper.java26 package sun.security.provider.certpath.ldap;
31 import java.security.NoSuchAlgorithmException;
32 import java.security.InvalidAlgorithmParameterException;
33 import java.security.cert.CertStore;
34 import java.security.cert.CertStoreException;
35 import java.security.cert.X509CertSelector;
36 import java.security.cert.X509CRLSelector;
39 import javax.security.auth.x500.X500Principal;
41 import sun.security.provider.certpath.CertStoreHelper;

12345678910>>...41