Home
last modified time | relevance | path

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

/base/security/code_signature/interfaces/innerkits/common/include/
Dbyte_buffer.h43 CopyFrom(other.GetBuffer(), other.GetSize()); in ByteBuffer()
54 bool CopyFrom(const uint8_t *srcData, uint32_t srcSize) in CopyFrom() function
/base/security/code_signature/utils/src/
Dsigner_info.cpp90 if (!unsignedData_->CopyFrom(contentData.GetBuffer(), contentData.GetSize())) { in AddAttrsToSignerInfo()
178 } else if (!digest.CopyFrom(mdBuffer, mdLen)) { in ComputeDigest()
Dpkcs7_data.cpp78 if (!pkcs7Data.CopyFrom(tmp, static_cast<uint32_t>(tmpSize))) { in GetPKCS7Data()
Dpkcs7_generator.cpp88 if (!unsignedData.CopyFrom(data, dataSize)) { in SignData()
/base/security/code_signature/services/local_code_sign/src/
Dlocal_sign_key.cpp107 if (!cert_->CopyFrom(certChain->certs[0].data, certChain->certs[0].size)) { in GetSignCert()
219 if (!signature.CopyFrom(outData.data, outData.size)) { in Sign()
Dlocal_code_sign_service.cpp110 if (!cert.CopyFrom(keyCert->GetBuffer(), keyCert->GetSize())) { in InitLocalCertificate()
/base/security/code_signature/interfaces/innerkits/local_code_sign/src/
Dlocal_code_sign_proxy.cpp91 if (!buffer.CopyFrom(outData, size)) { in ReadResultFromReply()
/base/security/code_signature/test/unittest/
Dsign_and_enforce_test.cpp108 if (!pkcs7Data.CopyFrom(tmp, static_cast<uint32_t>(tmpSize))) { in DumpPKCS7Data()