Home
last modified time | relevance | path

Searched refs:getInstance (Results 1 – 8 of 8) sorted by relevance

/system/extras/verity/
DUtils.java150 SecretKeyFactory skFactory = SecretKeyFactory.getInstance(epkInfo.getAlgName()); in decryptPrivateKey()
154 Cipher cipher = Cipher.getInstance(epkInfo.getAlgName()); in decryptPrivateKey()
173 PrivateKeyInfo pki = PrivateKeyInfo.getInstance(bIn.readObject()); in loadDERPrivateKey()
176 return KeyFactory.getInstance(algOid).generatePrivate(spec); in loadDERPrivateKey()
194 KeyFactory factory = KeyFactory.getInstance("RSA"); in loadDERPublicKey()
201 KeyFactory factory = KeyFactory.getInstance("RSA"); in loadPEMPublicKey()
215 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in loadPEMCertificate()
223 KeyFactory factory = KeyFactory.getInstance("EC"); in getSignatureAlgorithm()
267 Signature verifier = Signature.getInstance(algName); in verify()
275 Signature signer = Signature.getInstance(getSignatureAlgorithm(privateKey)); in sign()
DVerityVerifier.java73 digest = MessageDigest.getInstance("SHA-256"); in VerityVerifier()
132 KeyFactory factory = KeyFactory.getInstance("RSA"); in getMincryptPublicKey()
DBootSignature.java105 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in BootSignature()
/system/core/fingerprintd/
Dfingerprintd.cpp40 android::FingerprintDaemonProxy::getInstance(); in main()
DFingerprintDaemonProxy.h27 static FingerprintDaemonProxy* getInstance() { in getInstance() function
DFingerprintDaemonProxy.cpp45 FingerprintDaemonProxy* instance = FingerprintDaemonProxy::getInstance(); in hal_notify_callback()
/system/core/include/utils/
DSingleton.h32 static TYPE& getInstance() { in getInstance() function
/system/core/libmincrypt/tools/
DDumpPublicKey.java240 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in main()