Interface IAuthenticationSuite
- 
- All Known Implementing Classes:
- Blake2bX509AuthenticationSuite
 
 public interface IAuthenticationSuiteSuite for authenticating messages.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description AuthTokencreateAuthenticationToken(byte[] msg, AbstractAuthenticationSecret key)Creates an authentication token for a message based on an abstract implementation-dependent "key".voidfinalizePake(SecurityAgent agent, IComponentIdentifier remoteid, byte[] round2data)Finalizes the password-authenticated key exchange.intgetId()Gets the authentication suite ID.byte[]getPakeRound1(SecurityAgent agent, IComponentIdentifier remoteid)Gets the first round of the password-authenticated key-exchange.byte[]getPakeRound2(SecurityAgent agent, IComponentIdentifier remoteid, byte[] round1data)Gets the second round of the password-authenticated key-exchange.booleanverifyAuthenticationToken(byte[] msg, AbstractAuthenticationSecret key, AuthToken authtoken)Creates an authentication token for a message based on an abstract implementation-dependent "key".
 
- 
- 
- 
Method Detail- 
getIdint getId() Gets the authentication suite ID.- Returns:
- The authentication suite ID.
 
 - 
createAuthenticationTokenAuthToken createAuthenticationToken(byte[] msg, AbstractAuthenticationSecret key) Creates an authentication token for a message based on an abstract implementation-dependent "key".- Parameters:
- msg- The message being authenticated.
- key- The key used for authentication.
- Returns:
- Authentication token.
 
 - 
verifyAuthenticationTokenboolean verifyAuthenticationToken(byte[] msg, AbstractAuthenticationSecret key, AuthToken authtoken)Creates an authentication token for a message based on an abstract implementation-dependent "key".- Parameters:
- msg- The message being authenticated.
- key- The key used for authentication.
- authtoken- Authentication token.
- Returns:
- True if authenticated, false otherwise.
 
 - 
getPakeRound1byte[] getPakeRound1(SecurityAgent agent, IComponentIdentifier remoteid) Gets the first round of the password-authenticated key-exchange.- Returns:
- First round payload.
 
 - 
getPakeRound2byte[] getPakeRound2(SecurityAgent agent, IComponentIdentifier remoteid, byte[] round1data) Gets the second round of the password-authenticated key-exchange.- Returns:
- Second round payload.
 
 - 
finalizePakevoid finalizePake(SecurityAgent agent, IComponentIdentifier remoteid, byte[] round2data) Finalizes the password-authenticated key exchange.
 
- 
 
-