public static sign ( string | resource $filename, SignatureSecretKey $secretKey, mixed $encoding = Halite::ENCODE_BASE64URLSAFE ) : string | ||
$filename | string | resource | File name or file handle |
$secretKey | SignatureSecretKey | Secret key for digital signatures |
$encoding | mixed | Which encoding scheme to use for the signature? |
return | string | Detached signature for the file |