public function createWsseHeader($username, $digest, $nonce, $createdAt)
    {
        return sprintf(
            'UsernameToken Username="%s", PasswordDigest="%s", Nonce="%s", Created="%s"',
            $username,
            $digest,
            base64_encode($nonce),
            $createdAt
        );
    }