RawPublicKey

class RawPublicKey(subjectPublicKeyInfo: ByteArray) : PeerIdentity(source)

The peer's raw public key (RFC 7250) as a DER SubjectPublicKeyInfo. RFC 7252 §9.1.3.2.1 derives the CoAP identifier from it with RFC 6920 (sha-256-120 at least); that lives in kcoap-dtls.

Constructors

Link copied to clipboard
constructor(subjectPublicKeyInfo: ByteArray)

Properties

Link copied to clipboard
open override val mode: SecurityMode
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String