peer_is_owner_of_identity


Description:

public virtual bool peer_is_owner_of_identity (SecurityContext peer_ctx, SecurityContext owner_ctx)

Checks if the peer specified in peer_ctx is the owner of the identity.

The default implementation is using check to check peer_ctx against owner_ctx directly.

Parameters:

this

object instance.

peer_ctx

security context of the peer connection.

owner_ctx

security context of the identity owner.

Returns:

true if the peer is the owner to use the identity, false otherwise.