/cts/tools/utils/ |
D | certificates.py | 18 from OpenSSL import crypto 29 return crypto.dump_certificate(crypto.FILETYPE_PEM, self.cert) 32 return crypto.dump_privatekey(crypto.FILETYPE_PEM, self.key) 47 cert = crypto.load_certificate(crypto.FILETYPE_PEM, data) 48 key = crypto.load_privatekey(crypto.FILETYPE_PEM, data) 56 key = crypto.PKey() 57 key.generate_key(crypto.TYPE_RSA, keysize) 59 cert = crypto.X509() 69 basicContraints = crypto.X509Extension("basicConstraints", True, "CA:TRUE")
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | FingerprintIncidentTest.java | 58 final FingerprintActionStatsProto crypto = userStats.getCrypto(); in testNoneRegistered() local 59 assertEquals(0, crypto.getAccept()); in testNoneRegistered() 60 assertEquals(0, crypto.getReject()); in testNoneRegistered() 61 assertEquals(0, crypto.getAcquire()); in testNoneRegistered() 62 assertEquals(0, crypto.getLockout()); in testNoneRegistered()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | ScreenLockBoundKeysTest.java | 46 import javax.crypto.BadPaddingException; 47 import javax.crypto.Cipher; 48 import javax.crypto.IllegalBlockSizeException; 49 import javax.crypto.KeyGenerator; 50 import javax.crypto.NoSuchPaddingException; 51 import javax.crypto.SecretKey;
|
D | FingerprintBoundKeysTest.java | 54 import javax.crypto.BadPaddingException; 55 import javax.crypto.Cipher; 56 import javax.crypto.IllegalBlockSizeException; 57 import javax.crypto.KeyGenerator; 58 import javax.crypto.NoSuchPaddingException; 59 import javax.crypto.SecretKey;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | AuthenticationBoundKeyTestActivity.java | 39 import javax.crypto.BadPaddingException; 40 import javax.crypto.Cipher; 41 import javax.crypto.IllegalBlockSizeException; 42 import javax.crypto.KeyGenerator; 43 import javax.crypto.NoSuchPaddingException; 44 import javax.crypto.SecretKey;
|
/cts/tests/tests/media/libmediandkjni/ |
D | native-mediadrm-jni.cpp | 277 const char* mime, const AMediaCrypto* crypto, in addTrack() argument 288 const_cast<AMediaCrypto*>(crypto), 0); in addTrack() 292 const AMediaCrypto* crypto, const ANativeWindow* window, in addTracks() argument 316 addTrack(trackFormat, mime, crypto, window, codec); in addTracks() 413 AMediaCrypto* crypto = NULL; in playContent() local 415 crypto = AMediaCrypto_new(&uuid[0], sessionId.ptr, sessionId.length); in playContent() 416 if (crypto == NULL) { in playContent() 423 addTracks(videoExtractor, crypto, window, &videoCodec); in playContent() 469 AMediaCrypto_delete(crypto); in playContent()
|
D | native-media-jni.cpp | 607 AMediaCrypto *crypto = AMediaCrypto_new(entry->uuid, entry->data, entry->datalen); in Java_android_media_cts_NativeDecoderTest_testPsshNative() local 608 if (crypto) { in Java_android_media_cts_NativeDecoderTest_testPsshNative() 610 AMediaCrypto_delete(crypto); in Java_android_media_cts_NativeDecoderTest_testPsshNative()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | AESGCMCipherTestBase.java | 25 import javax.crypto.AEADBadTagException; 26 import javax.crypto.Cipher; 27 import javax.crypto.spec.GCMParameterSpec;
|
D | AESCipherNistCavpKatTest.java | 34 import javax.crypto.Cipher; 35 import javax.crypto.SecretKey; 36 import javax.crypto.spec.IvParameterSpec; 37 import javax.crypto.spec.SecretKeySpec;
|
D | SecretKeyFactoryTest.java | 39 import javax.crypto.KeyGenerator; 40 import javax.crypto.SecretKey; 41 import javax.crypto.SecretKeyFactory; 42 import javax.crypto.spec.SecretKeySpec;
|
D | TransparentSecretKey.java | 19 import javax.crypto.SecretKey;
|
D | AESCTRCipherTestBase.java | 23 import javax.crypto.spec.IvParameterSpec;
|
D | AESCBCCipherTestBase.java | 23 import javax.crypto.spec.IvParameterSpec;
|
D | RSACipherTest.java | 26 import javax.crypto.BadPaddingException; 27 import javax.crypto.Cipher; 28 import javax.crypto.IllegalBlockSizeException;
|
D | ImportedKey.java | 22 import javax.crypto.SecretKey;
|
D | CipherTest.java | 46 import javax.crypto.BadPaddingException; 47 import javax.crypto.Cipher; 48 import javax.crypto.IllegalBlockSizeException; 49 import javax.crypto.spec.GCMParameterSpec; 50 import javax.crypto.spec.IvParameterSpec; 51 import javax.crypto.spec.OAEPParameterSpec; 52 import javax.crypto.spec.PSource; 53 import javax.crypto.spec.SecretKeySpec;
|
D | BlockCipherTestBase.java | 43 import javax.crypto.BadPaddingException; 44 import javax.crypto.Cipher; 45 import javax.crypto.IllegalBlockSizeException; 46 import javax.crypto.NoSuchPaddingException; 47 import javax.crypto.SecretKey; 48 import javax.crypto.ShortBufferException; 49 import javax.crypto.spec.IvParameterSpec; 50 import javax.crypto.spec.SecretKeySpec;
|
D | MacTest.java | 37 import javax.crypto.Mac; 38 import javax.crypto.SecretKey; 39 import javax.crypto.spec.SecretKeySpec;
|
D | KeyFactoryTest.java | 57 import javax.crypto.SecretKey; 58 import javax.crypto.spec.SecretKeySpec;
|
D | KeyGeneratorTest.java | 43 import javax.crypto.KeyGenerator; 44 import javax.crypto.SecretKey;
|
D | TestUtils.java | 62 import javax.crypto.SecretKey; 63 import javax.crypto.SecretKeyFactory; 64 import javax.crypto.spec.SecretKeySpec;
|
D | AndroidKeyStoreTest.java | 63 import javax.crypto.BadPaddingException; 64 import javax.crypto.Cipher; 65 import javax.crypto.Mac; 66 import javax.crypto.SecretKey;
|
D | KeyAttestationTest.java | 85 import javax.crypto.KeyGenerator;
|
/cts/tools/dex-tools/dex/ |
D | classes0.out.dex | 32623 private final javax.crypto.SecretKey secretKey 32627 javax.crypto.SecretKey) 32629 public javax.crypto.SecretKey getSecretKey() 59367 public class javax.crypto.BadPaddingException extends java.security.GeneralSecurityException 59382 public class javax.crypto.Cipher extends java.lang.Object 59410 private javax.crypto.CipherSpi spiImpl 59418 javax.crypto.CipherSpi 59424 @dalvik.annotation.Throws (value =Ljava/security/NoSuchAlgorithmException;Ljavax/crypto/NoSuchPaddi… 59425 private static javax.crypto.Cipher getCipher( 59428 @dalvik.annotation.Throws (value =Ljava/security/NoSuchAlgorithmException;Ljavax/crypto/NoSuchPaddi… [all …]
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaCodecTest.java | 1761 MediaCrypto crypto = new MediaCrypto(CLEARKEY_SCHEME_UUID, new byte[0]); in testCryptoError() local 1765 crypto.setMediaDrmSession(sessionId); in testCryptoError() 1770 codec.configure(format, null, crypto, 0); in testCryptoError() 1794 crypto.release(); in testCryptoError()
|