Home
last modified time | relevance | path

Searched refs:SignatureCreator (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/crypto/
Dsignature_creator_nss.cc20 SECOidTag ToNSSSigOid(SignatureCreator::HashAlgorithm hash_alg) { in ToNSSSigOid()
22 case SignatureCreator::SHA1: in ToNSSSigOid()
24 case SignatureCreator::SHA256: in ToNSSSigOid()
30 SECOidTag ToNSSHashOid(SignatureCreator::HashAlgorithm hash_alg) { in ToNSSHashOid()
32 case SignatureCreator::SHA1: in ToNSSHashOid()
34 case SignatureCreator::SHA256: in ToNSSHashOid()
42 SignatureCreator::~SignatureCreator() { in ~SignatureCreator()
50 SignatureCreator* SignatureCreator::Create(RSAPrivateKey* key, in Create()
52 scoped_ptr<SignatureCreator> result(new SignatureCreator); in Create()
71 bool SignatureCreator::Sign(RSAPrivateKey* key, in Sign()
[all …]
Dsignature_creator_openssl.cc21 const EVP_MD* ToOpenSSLDigest(SignatureCreator::HashAlgorithm hash_alg) { in ToOpenSSLDigest()
23 case SignatureCreator::SHA1: in ToOpenSSLDigest()
25 case SignatureCreator::SHA256: in ToOpenSSLDigest()
31 int ToOpenSSLDigestType(SignatureCreator::HashAlgorithm hash_alg) { in ToOpenSSLDigestType()
33 case SignatureCreator::SHA1: in ToOpenSSLDigestType()
35 case SignatureCreator::SHA256: in ToOpenSSLDigestType()
44 SignatureCreator* SignatureCreator::Create(RSAPrivateKey* key, in Create()
47 scoped_ptr<SignatureCreator> result(new SignatureCreator); in Create()
60 bool SignatureCreator::Sign(RSAPrivateKey* key, in Sign()
81 SignatureCreator::SignatureCreator() in SignatureCreator() function in crypto::SignatureCreator
[all …]
Dsignature_creator.h28 class CRYPTO_EXPORT SignatureCreator {
36 ~SignatureCreator();
41 static SignatureCreator* Create(RSAPrivateKey* key, HashAlgorithm hash_alg);
60 SignatureCreator();
70 DISALLOW_COPY_AND_ASSIGN(SignatureCreator);
Dsignature_creator_unittest.cc43 scoped_ptr<crypto::SignatureCreator> signer( in TEST()
44 crypto::SignatureCreator::Create(key.get(), in TEST()
45 crypto::SignatureCreator::SHA1)); in TEST()
85 ASSERT_TRUE(crypto::SignatureCreator::Sign( in TEST()
87 crypto::SignatureCreator::SHA1, in TEST()
123 ASSERT_TRUE(crypto::SignatureCreator::Sign( in TEST()
125 crypto::SignatureCreator::HashAlgorithm::SHA256, in TEST()
/external/chromium_org/components/ownership/
Downer_settings_service.cc34 scoped_ptr<crypto::SignatureCreator> signature_creator( in AssembleAndSignPolicy()
35 crypto::SignatureCreator::Create(private_key, in AssembleAndSignPolicy()
36 crypto::SignatureCreator::SHA1)); in AssembleAndSignPolicy()
/external/chromium_org/remoting/base/
Drsa_key_pair.cc80 scoped_ptr<crypto::SignatureCreator> signature_creator( in SignMessage()
81 crypto::SignatureCreator::Create(key_.get(), in SignMessage()
82 crypto::SignatureCreator::SHA1)); in SignMessage()
/external/chromium_org/components/policy/core/common/cloud/
Dpolicy_builder.cc297 scoped_ptr<crypto::SignatureCreator> signature_creator( in SignData()
298 crypto::SignatureCreator::Create(key, in SignData()
299 crypto::SignatureCreator::SHA1)); in SignData()
/external/chromium_org/chrome/browser/extensions/
Dextension_creator.cc213 scoped_ptr<crypto::SignatureCreator> signature_creator( in SignZip()
214 crypto::SignatureCreator::Create(private_key, in SignZip()
215 crypto::SignatureCreator::SHA1)); in SignZip()
/external/chromium_org/chrome/browser/devtools/device/usb/
Dandroid_rsa.cc265 if (!crypto::SignatureCreator::Sign(key, crypto::SignatureCreator::SHA1, in AndroidRSASign()