Functions
Link copied to clipboard
fun signature(credential: AuthenticationCredential, identifier: CredentialIdentifier, privateKey: PrivateKey): LocalCredential
A credential whose key signs (methods 0 and 1 for the Initiator, 0 and 2 for the Responder).
Link copied to clipboard
fun staticDiffieHellman(credential: AuthenticationCredential, identifier: CredentialIdentifier, privateKey: PrivateKey): LocalCredential
A credential whose key is a static Diffie-Hellman key.