Home
last modified time | relevance | path

Searched defs:keyAlgorithm (Results 1 – 25 of 153) sorted by relevance

1234567

/aosp_15_r20/cts/tests/tests/keystore/src/android/keystore/cts/
H A DMacTest.java616 String macAlgorithm, String keyAlgorithm, KeyProtection keyProtection) in assertInitSucceeds()
629 String macAlgorithm, String keyAlgorithm, KeyProtection keyProtection) in assertInitThrowsInvalidKeyException()
640 private SecretKey getDefaultKatKey(String keyAlgorithm) { in getDefaultKatKey()
644 private SecretKey importDefaultKatKey(String keyAlgorithm) throws Exception { in importDefaultKatKey()
651 String keyAlgorithm, KeyProtection keyProtection) throws Exception { in importDefaultKatKey()
H A DSignatureTest.java766 String keyAlgorithm = TestUtils.getSignatureAlgorithmKeyAlgorithm(algorithm); in testLongMsgKat() local
1204 String keyAlgorithm = TestUtils.getSignatureAlgorithmKeyAlgorithm(signatureAlgorithm); in getDefaultKeyAndCertResIds() local
1215 String keyAlgorithm = TestUtils.getSignatureAlgorithmKeyAlgorithm(signatureAlgorithm); in importDefaultKatKeyPair() local
1360 String keyAlgorithm = TestUtils.getSignatureAlgorithmKeyAlgorithm(signatureAlgorithm); in importKatKeyPairsForSigning() local
1374 String keyAlgorithm = TestUtils.getSignatureAlgorithmKeyAlgorithm(signatureAlgorithm); in importLimitedUseKatKeyPairsForSigning() local
H A DDeviceOwnerKeyManagementTest.java84 public final String keyAlgorithm; field in DeviceOwnerKeyManagementTest.SupportedKeyAlgorithm
89 String keyAlgorithm, String signatureAlgorithm, in SupportedKeyAlgorithm()
357 String keyAlgorithm, String signatureAlgorithm, in generateKeyAndCheckAttestation()
H A DCipherTest.java1836 String keyAlgorithm = TestUtils.getCipherKeyAlgorithm(transformation); in getWorkingDecryptionParameterSpec() local
1912 String keyAlgorithm = TestUtils.getCipherKeyAlgorithm(transformation); in importDefaultKatKey() local
1955 String keyAlgorithm = TestUtils.getCipherKeyAlgorithm(transformation); in importKatKeys() local
/aosp_15_r20/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/sign/
H A DSignatureAlgorithm.java36 @Nonnull public final String keyAlgorithm; field in SignatureAlgorithm
56 SignatureAlgorithm( in SignatureAlgorithm()
74 public static SignatureAlgorithm fromKeyAlgorithm(@Nonnull String keyAlgorithm, in fromKeyAlgorithm()
/aosp_15_r20/cts/tests/tests/keystore/src/android/keystore/cts/util/
H A DTestUtils.java287 String keyAlgorithm = publicKey.getAlgorithm(); in assertKeyPairSelfConsistent() local
786 … public static KeyPair getKeyPairForKeyAlgorithm(String keyAlgorithm, Iterable<KeyPair> keyPairs) { in getKeyPairForKeyAlgorithm()
795 public static Key getKeyForKeyAlgorithm(String keyAlgorithm, Iterable<? extends Key> keys) { in getKeyForKeyAlgorithm()
1005 String keyAlgorithm = getSignatureAlgorithmKeyAlgorithm(algorithm); in isKeyLongEnoughForSignatureAlgorithm() local
1060 String keyAlgorithm = getCipherKeyAlgorithm(transformation); in getMaxSupportedPlaintextInputSizeBytes() local
1127 String keyAlgorithm = getSignatureAlgorithmKeyAlgorithm(signatureAlgorithm); in getMinimalWorkingImportParametersForSigningingWith() local
1147 String keyAlgorithm = getSignatureAlgorithmKeyAlgorithm(signatureAlgorithm); in getMinimalWorkingImportParametersWithLimitedUsageForSigningingWith() local
1181 String keyAlgorithm = TestUtils.getCipherKeyAlgorithm(transformation); in getMinimalWorkingImportParametersForCipheringWith() local
/aosp_15_r20/libcore/support/src/test/java/libcore/java/security/
H A DTestKeyStore.java554 String keyAlgorithm, in createKeys()
706 String keyAlgorithm = privateKey.getAlgorithm(); in createCertificate() local
790 public static String keyAlgorithm(String algorithm) { in keyAlgorithm() method in TestKeyStore
832 public PrivateKeyEntry getPrivateKey(String keyAlgorithm, String signatureAlgorithm) { in getPrivateKey()
842 String keyAlgorithm, String signatureAlgorithm) { in privateKey()
/aosp_15_r20/external/conscrypt/testing/src/main/java/org/conscrypt/java/security/
H A DTestKeyStore.java562 private KeyStore createKeys(KeyStore keyStore, String keyAlgorithm, String publicAlias, in createKeys()
701 String keyAlgorithm = privateKey.getAlgorithm(); in createCertificate() local
774 public static String keyAlgorithm(String algorithm) { in keyAlgorithm() method in TestKeyStore
815 public PrivateKeyEntry getPrivateKey(String keyAlgorithm, String signatureAlgorithm) { in getPrivateKey()
825 KeyStore keyStore, char[] keyPassword, String keyAlgorithm, String signatureAlgorithm) { in privateKey()
/aosp_15_r20/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/java/security/
H A DTestKeyStore.java563 private KeyStore createKeys(KeyStore keyStore, String keyAlgorithm, String publicAlias, in createKeys()
701 String keyAlgorithm = privateKey.getAlgorithm(); in createCertificate() local
773 public static String keyAlgorithm(String algorithm) { in keyAlgorithm() method in TestKeyStore
814 public PrivateKeyEntry getPrivateKey(String keyAlgorithm, String signatureAlgorithm) { in getPrivateKey()
824 KeyStore keyStore, char[] keyPassword, String keyAlgorithm, String signatureAlgorithm) { in privateKey()
/aosp_15_r20/external/conscrypt/common/src/main/java/org/conscrypt/
H A DCryptoUpcalls.java63 String keyAlgorithm = javaKey.getAlgorithm(); in ecSignDigestWithPrivateKey() local
148 String keyAlgorithm = javaKey.getAlgorithm(); in rsaOpWithPrivateKey() local
/aosp_15_r20/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
H A DCryptoUpcalls.java65 String keyAlgorithm = javaKey.getAlgorithm(); in ecSignDigestWithPrivateKey() local
150 String keyAlgorithm = javaKey.getAlgorithm(); in rsaOpWithPrivateKey() local
/aosp_15_r20/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
H A DKeyManagementTest.java97 public final String keyAlgorithm; field in KeyManagementTest.SupportedKeyAlgorithm
102 String keyAlgorithm, String signatureAlgorithm, in SupportedKeyAlgorithm()
340 String keyAlgorithm, String signatureAlgorithm, in generateKeyAndCheckAttestation()
/aosp_15_r20/tools/apksig/src/test/java/com/android/apksig/internal/util/
H A DResources.java146 String keyAlgorithm = resourceName.substring(0, delimiterIndex).toUpperCase(Locale.US); in toPrivateKey() local
151 Class <?> cls, String resourceName, String keyAlgorithm) in toPrivateKey()
/aosp_15_r20/external/google-cloud-java/java-iam-admin/google-iam-admin/src/test/java/com/google/cloud/iam/admin/v1/
H A DIAMClientTest.java951 ServiceAccountKeyAlgorithm keyAlgorithm = ServiceAccountKeyAlgorithm.forNumber(0); in createServiceAccountKeyTest() local
979 ServiceAccountKeyAlgorithm keyAlgorithm = ServiceAccountKeyAlgorithm.forNumber(0); in createServiceAccountKeyExceptionTest() local
1005 ServiceAccountKeyAlgorithm keyAlgorithm = ServiceAccountKeyAlgorithm.forNumber(0); in createServiceAccountKeyTest2() local
1033 ServiceAccountKeyAlgorithm keyAlgorithm = ServiceAccountKeyAlgorithm.forNumber(0); in createServiceAccountKeyExceptionTest2() local
/aosp_15_r20/external/google-cloud-java/java-iam-admin/samples/snippets/generated/com/google/cloud/iam/admin/v1/iam/createserviceaccountkey/
H A DSyncCreateServiceAccountKeyStringServiceaccountprivatekeytypeServiceaccountkeyalgorithm.java44 ServiceAccountKeyAlgorithm keyAlgorithm = ServiceAccountKeyAlgorithm.forNumber(0); in syncCreateServiceAccountKeyStringServiceaccountprivatekeytypeServiceaccountkeyalgorithm() local
H A DSyncCreateServiceAccountKeyServiceaccountnameServiceaccountprivatekeytypeServiceaccountkeyalgorithm.java44 ServiceAccountKeyAlgorithm keyAlgorithm = ServiceAccountKeyAlgorithm.forNumber(0); in syncCreateServiceAccountKeyServiceaccountnameServiceaccountprivatekeytypeServiceaccountkeyalgorithm() local
/aosp_15_r20/cts/tests/security/src/android/keystore/cts/
H A DCertificateUtils.java59 String keyAlgorithm = keyPair.getPrivate().getAlgorithm(); in createCertificate() local
/aosp_15_r20/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/
H A DRandomPrivateKeyX509ExtendedKeyManager.java50 String keyAlgorithm = originalPrivateKey.getAlgorithm(); in getPrivateKey() local
/aosp_15_r20/libcore/support/src/test/java/libcore/javax/net/ssl/
H A DRandomPrivateKeyX509ExtendedKeyManager.java52 String keyAlgorithm = originalPrivateKey.getAlgorithm(); in getPrivateKey() local
/aosp_15_r20/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/
H A DRandomPrivateKeyX509ExtendedKeyManager.java48 String keyAlgorithm = originalPrivateKey.getAlgorithm(); in getPrivateKey() local
/aosp_15_r20/tools/apksig/src/main/java/com/android/apksig/internal/pkcs7/
H A DAlgorithmIdentifier.java83 String keyAlgorithm = publicKey.getAlgorithm(); in getSignerInfoSignatureAlgorithm() local
/aosp_15_r20/libcore/benchmarks/src/benchmarks/regression/
H A DSignatureBenchmark.java70 String keyAlgorithm = signatureAlgorithm.substring(signatureAlgorithm.length() - 3 , in setUp() local
H A DCipherBenchmark.java103 String keyAlgorithm = algorithm.toString(); in setUp() local
/aosp_15_r20/tools/apksig/src/main/java/com/android/apksig/internal/apk/v4/
H A DV4SchemeVerifier.java161 String keyAlgorithm = signatureAlgorithm.getJcaKeyAlgorithm(); in parseAndVerifySignatureBlock() local
/aosp_15_r20/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/
H A DSignaturePerfTest.java94 String keyAlgorithm = in setUp() local

1234567