KeypackageRef

A lightweight distinct reference to a KeyPackage sufficient to uniquely identify it

This contains some metadata to assist in sorting and filtering refs without needing to perform the relatively heavy operation of converting to a full keypackage.

Constructors

Link copied to clipboard
constructor(pointer: Pointer)
constructor(noPointer: NoPointer)

This constructor can be used to instantiate a fake object. Only used for tests. Any attempt to actually use an object constructed this way will fail as there is no connected Rust object.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun ciphersuite(): Ciphersuite

Get the ciphersuite associated with this key package ref.

Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun credentialType(): CredentialType

Get the credential type associated with this key package ref.

Link copied to clipboard
open override fun destroy()
Link copied to clipboard
open override fun hashRef(): ByteArray

Get the bytes of the hash reference to a `Keypackage`

Link copied to clipboard
open override fun isValid(): Boolean

Determines whether this keypackage is valid in the sense of the former client_valid_keypackages_count method.

Link copied to clipboard
open override fun signatureScheme(): SignatureScheme

Get the signature scheme associated wtih this key package ref.

Link copied to clipboard
fun uniffiClonePointer(): Pointer