Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AAI ¶
type AAI interface { Signcrypt(sender *signcryption.Certificate, recipient *signcryption.Certificate, plaintext, additionalData []byte) (*SigncryptionOutput, error) Verify(sender, recipient *signcryption.Certificate, additionalData []byte, output *SigncryptionOutput) (bool, error) Unsigncrypt(sender, recipient *signcryption.Certificate, additionalData []byte, output *SigncryptionOutput) ([]byte, bool, error) }
AAI represents all of the different functions possible with the AAI signcryption scheme.
type SigncryptionOutput ¶
SigncryptionOutput is the output generated by the signcryption process. All of it must be maintained in order to verify and unsigncrypt the data.
Click to show internal directories.
Click to hide internal directories.