You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
Shawn Willden edited this page Mar 7, 2015
·
1 revision
Attached Signing with Keyczar
Generate digest signature of a message and attaches to the message. Used for Signed Sessions. In format, Header.len(Message).Message.Sig(Message.Nonce.VersionBit)
Java
Java will take two byte arrays the message and the nonce. Then it will return a byte array in the format specified above. No support for WebSafeBase64
Takes two strings as message and nonce. Then it returns a WebSafeBase64 encoded version of format specified above. Does not support unencoded messages.
signer = Signer.Read("/path/to/your/keys")
message_with_signature = signer.AttachedSign("Message with Integrity", "Nonce")
C++
C++ will take in two strings and return the WebSafeBase64 encoded value formatted as specified above. The Encoder can be set on the signer to None if no encoding is required.