Searched refs:signatureAlgorithm (Results 1 – 5 of 5) sorted by relevance
/libcore/benchmarks/src/benchmarks/regression/ |
D | SignatureBenchmark.java | 61 private String signatureAlgorithm; field in SignatureBenchmark 68 this.signatureAlgorithm = algorithm.toString(); in setUp() 70 String keyAlgorithm = signatureAlgorithm.substring(signatureAlgorithm.length() - 3 , in setUp() 71 signatureAlgorithm.length()); in setUp() 81 this.signature = SIGNATURES.get(signatureAlgorithm); in setUp() 83 Signature signer = Signature.getInstance(signatureAlgorithm); in setUp() 87 SIGNATURES.put(signatureAlgorithm, signature); in setUp() 96 signer = Signature.getInstance(signatureAlgorithm, "AndroidOpenSSL"); in timeSign() 99 signer = Signature.getInstance(signatureAlgorithm, "BC"); in timeSign() 115 verifier = Signature.getInstance(signatureAlgorithm, "AndroidOpenSSL"); in timeVerify() [all …]
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | AlgorithmId.java | 1012 public static String getEncAlgFromSigAlg(String signatureAlgorithm) { in getEncAlgFromSigAlg() argument 1013 signatureAlgorithm = signatureAlgorithm.toUpperCase(Locale.ENGLISH); in getEncAlgFromSigAlg() 1014 int with = signatureAlgorithm.indexOf("WITH"); in getEncAlgFromSigAlg() 1017 int and = signatureAlgorithm.indexOf("AND", with + 4); in getEncAlgFromSigAlg() 1019 keyAlgorithm = signatureAlgorithm.substring(with + 4, and); in getEncAlgFromSigAlg() 1021 keyAlgorithm = signatureAlgorithm.substring(with + 4); in getEncAlgFromSigAlg() 1034 public static String getDigAlgFromSigAlg(String signatureAlgorithm) { in getDigAlgFromSigAlg() argument 1035 signatureAlgorithm = signatureAlgorithm.toUpperCase(Locale.ENGLISH); in getDigAlgFromSigAlg() 1036 int with = signatureAlgorithm.indexOf("WITH"); in getDigAlgFromSigAlg() 1038 return signatureAlgorithm.substring(0, with); in getDigAlgFromSigAlg()
|
/libcore/support/src/test/java/libcore/java/security/ |
D | TestKeyStore.java | 694 String signatureAlgorithm; in createCertificate() local 696 signatureAlgorithm = "sha256WithRSA"; in createCertificate() 698 signatureAlgorithm = "sha256WithDSA"; in createCertificate() 700 signatureAlgorithm = "sha256WithECDSA"; in createCertificate() 702 signatureAlgorithm = "sha256WithRSA"; in createCertificate() 751 new JcaContentSignerBuilder(signatureAlgorithm).build(privateKey)); in createCertificate() 793 public static String signatureAlgorithm(String algorithm) { in signatureAlgorithm() method in TestKeyStore 819 public PrivateKeyEntry getPrivateKey(String keyAlgorithm, String signatureAlgorithm) { in getPrivateKey() argument 820 return privateKey(keyStore, keyPassword, keyAlgorithm, signatureAlgorithm); in getPrivateKey() 829 String keyAlgorithm, String signatureAlgorithm) { in privateKey() argument [all …]
|
/libcore/ojluni/annotations/hiddenapi/sun/security/x509/ |
D | AlgorithmId.java | 162 public static java.lang.String getEncAlgFromSigAlg(java.lang.String signatureAlgorithm) { in getEncAlgFromSigAlg() argument 167 public static java.lang.String getDigAlgFromSigAlg(java.lang.String signatureAlgorithm) { in getDigAlgFromSigAlg() argument
|
/libcore/ojluni/annotations/mmodule/sun/security/x509/ |
D | AlgorithmId.annotated.java | 113 public static java.lang.String getEncAlgFromSigAlg(java.lang.String signatureAlgorithm) { throw new… in getEncAlgFromSigAlg() argument 116 public static java.lang.String getDigAlgFromSigAlg(java.lang.String signatureAlgorithm) { throw new… in getDigAlgFromSigAlg() argument
|