OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:sigalgorithm
(Results
1 - 6
of
6
) sorted by null
/cts/tests/tests/keystore/src/android/keystore/cts/
SignatureTest.java
368
for (String
sigAlgorithm
: EXPECTED_SIGNATURE_ALGORITHMS) {
370
KeyPair keyPair = importDefaultKatKeyPair(
sigAlgorithm
).getKeystoreBackedKeyPair();
371
Signature signature = Signature.getInstance(
sigAlgorithm
);
375
throw new RuntimeException(
sigAlgorithm
+ " failed", e);
384
for (String
sigAlgorithm
: EXPECTED_SIGNATURE_ALGORITHMS) {
386
KeyPair keyPair = importDefaultKatKeyPair(
sigAlgorithm
).getKeystoreBackedKeyPair();
387
Signature signature = Signature.getInstance(
sigAlgorithm
);
390
throw new RuntimeException(
sigAlgorithm
+ " failed", e);
399
for (String
sigAlgorithm
: EXPECTED_SIGNATURE_ALGORITHMS) {
400
for (ImportedKey key : importKatKeyPairsForSigning(getContext(),
sigAlgorithm
)) {
[
all
...]
/external/conscrypt/src/main/java/org/conscrypt/
KeyManagerImpl.java
170
final String
sigAlgorithm
;
174
sigAlgorithm
= null;
176
sigAlgorithm
= keyAlgorithm.substring(index + 1);
190
if (
sigAlgorithm
!= null && certSigAlg != null
191
&& !certSigAlg.contains(
sigAlgorithm
)) {
/frameworks/base/core/java/android/util/apk/
ApkSignatureSchemeV2Verifier.java
271
int
sigAlgorithm
= signature.getInt();
272
signaturesSigAlgorithms.add(
sigAlgorithm
);
273
if (!isSupportedSignatureAlgorithm(
sigAlgorithm
)) {
277
|| (compareSignatureAlgorithm(
sigAlgorithm
, bestSigAlgorithm) > 0)) {
278
bestSigAlgorithm =
sigAlgorithm
;
335
int
sigAlgorithm
= digest.getInt();
336
digestsSigAlgorithms.add(
sigAlgorithm
);
337
if (
sigAlgorithm
== bestSigAlgorithm) {
613
private static boolean isSupportedSignatureAlgorithm(int
sigAlgorithm
) {
614
switch (
sigAlgorithm
) {
[
all
...]
/build/tools/signapk/src/com/android/signapk/
ApkSignerV2.java
641
getSignatureAlgorithmJcaSignatureAlgorithm(int
sigAlgorithm
) {
642
switch (
sigAlgorithm
) {
668
+ Long.toHexString(
sigAlgorithm
& 0xffffffff));
672
private static int getSignatureAlgorithmContentDigestAlgorithm(int
sigAlgorithm
) {
673
switch (
sigAlgorithm
) {
687
+ Long.toHexString(
sigAlgorithm
& 0xffffffff));
[
all
...]
/libcore/luni/src/test/java/libcore/java/security/
SignatureTest.java
344
private KeyPair keyPair(String
sigAlgorithm
, String providerName) throws Exception {
345
String sigAlgorithmUpperCase =
sigAlgorithm
.toUpperCase(Locale.US);
347
sigAlgorithm
=
sigAlgorithm
.substring(0,
sigAlgorithm
.length()-"ENCRYPTION".length());
348
sigAlgorithmUpperCase =
sigAlgorithm
.toUpperCase(Locale.US);
362
+
sigAlgorithm
);
[
all
...]
/prebuilts/sdk/tools/lib/
signapk.jar
Completed in 1958 milliseconds