Lines Matching refs:signature
205 BAppFileInfo::GetSignature(char* signature) const
208 status_t error = (signature ? B_OK : B_BAD_VALUE);
215 B_MIME_STRING_TYPE, signature, B_MIME_TYPE_LENGTH, read);
218 if (error == B_OK && signature[read - 1] != '\0') {
222 signature[read] = '\0';
229 BAppFileInfo::SetSignature(const char* signature)
236 if (signature) {
238 size_t signatureLen = strlen(signature);
244 B_MIME_STRING_TYPE, signature, signatureLen + 1);
425 // update the MIME database, if the app signature is installed
864 // set the attribute on the MIME type, if the file has a signature
916 // set the attribute on the MIME type, if the file has a signature
982 char signature[B_MIME_TYPE_LENGTH];
983 status_t error = GetSignature(signature);
985 error = meta->SetTo(signature);