Searched refs:algoIdentifier (Results 1 – 4 of 4) sorted by relevance
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/ |
D | PreSelectedKeyAccessTest.java | 46 String algoIdentifier = "SHA256withRSA"; in testAccessingPreSelectedAliasExpectingSuccess() local 49 Signature sign = Signature.getInstance(algoIdentifier); in testAccessingPreSelectedAliasExpectingSuccess() 58 Signature verify = Signature.getInstance(algoIdentifier); in testAccessingPreSelectedAliasExpectingSuccess()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | CredentialManagementAppTest.java | 381 void verifySignature(String algoIdentifier, PublicKey publicKey, byte[] signature) in verifySignature() argument 384 Signature verify = Signature.getInstance(algoIdentifier); in verifySignature() 390 private void verifySignatureOverData(String algoIdentifier, KeyPair keyPair) throws Exception { in verifySignatureOverData() argument 391 verifySignature(algoIdentifier, keyPair.getPublic(), in verifySignatureOverData() 392 signDataWithKey(algoIdentifier, keyPair.getPrivate())); in verifySignatureOverData() 395 private byte[] signDataWithKey(String algoIdentifier, PrivateKey privateKey) throws Exception { in signDataWithKey() argument 397 Signature sign = Signature.getInstance(algoIdentifier); in signDataWithKey()
|
D | KeyManagementTest.java | 551 private byte[] signDataWithKey(String algoIdentifier, PrivateKey privateKey) throws Exception { in signDataWithKey() argument 553 Signature sign = Signature.getInstance(algoIdentifier); in signDataWithKey()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | KeyManagementTest.java | 196 byte[] signDataWithKey(String algoIdentifier, PrivateKey privateKey) throws Exception { in signDataWithKey() argument 198 Signature sign = Signature.getInstance(algoIdentifier); in signDataWithKey() 204 void verifySignature(String algoIdentifier, PublicKey publicKey, byte[] signature) in verifySignature() argument 207 Signature verify = Signature.getInstance(algoIdentifier); in verifySignature() 213 void verifySignatureOverData(String algoIdentifier, KeyPair keyPair) throws Exception { in verifySignatureOverData() argument 214 verifySignature(algoIdentifier, keyPair.getPublic(), in verifySignatureOverData() 215 signDataWithKey(algoIdentifier, keyPair.getPrivate())); in verifySignatureOverData()
|