open class WithKey : DigitalSignature
A digital signature that identifies who the public key is owned by.
WithKey(by: PublicKey, bytes: ByteArray)
A digital signature that identifies who the public key is owned by. |
val by: PublicKey |
fun isValid(content: ByteArray): Boolean
Utility to simplify the act of verifying a signature. In comparison to verify doesn't throw an exception, making it more suitable where a boolean is required, but normally you should use the function which throws, as it avoids the risk of failing to test the result. |
|
fun verify(content: ByteArray): Boolean fun verify(content: OpaqueBytes): Boolean
Utility to simplify the act of verifying a signature. |
|
fun withoutKey(): DigitalSignature |