| DigitalSignature |
open class DigitalSignature : OpaqueBytesA wrapper around a digital signature. The covering field is a generic tag usable by whatever is interpreting the signature. It isnt used currently, but experience from Bitcoin suggests such a feature is useful, especially when building partially signed transactions. |
| DummyPublicKey |
class DummyPublicKey : PublicKey, Comparable<PublicKey> |
| NullPublicKey |
object NullPublicKey : PublicKey, Comparable<PublicKey> |
| Party |
data class PartyA Party is well known (name, pubkey) pair. In a real system this would probably be an X.509 certificate. |
| SecureHash |
sealed class SecureHash : OpaqueBytes |
| SignedData |
open class SignedData<T : Any>A serialized piece of data and its signature. Enforces signature validity in order to deserialize the data contained within. |
| java.security.KeyPair | |
| java.security.PrivateKey | |
| java.security.PublicKey | |
| kotlin.ByteArray |
| generateKeyPair |
fun generateKeyPair(): KeyPairA simple wrapper that will make it easier to swap out the EC algorithm we use in future |
| sha256 |
fun OpaqueBytes.sha256(): SHA256 |