RpcAuthInspectorSignature
class RpcAuthInspectorSignature(val timeout: Duration = 10.minutes, val nonceChecker: suspend (clientId: String, nonce: ByteString, expiration: Instant) -> RpcNonceAndSession = RpcNonceAndSession::checkNonce, val certificateLookup: suspend (String) -> X509Cert) : RpcAuthInspector
Implementation of RpcAuthInspector that requires each RPC call to be authorized with AssertionRpcAuth object signed by a trusted well-known public key.
Properties
Link copied to clipboard
function that returns certificate with the public key that is used to validate message signature (directly or through the certificate chain, if it is included in the message).
Link copied to clipboard
val nonceChecker: suspend (clientId: String, nonce: ByteString, expiration: Instant) -> RpcNonceAndSession
function that validates nonce AssertionRpcAuth.nonce