open class WithKey : DigitalSignature
A digital signature that identifies who the public key is owned by.
<init> |
A digital signature that identifies who the public key is owned by. WithKey(by: PublicKey, bytes: ByteArray) |
by |
val by: PublicKey |
isValid |
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 isValid(content: ByteArray): Boolean |
verify |
Utility to simplify the act of verifying a signature. fun verify(content: ByteArray): Boolean fun verify(content: OpaqueBytes): Boolean |
withoutKey |
fun withoutKey(): DigitalSignature |