Package jade.security
Interface CredentialsHelper
-
public interface CredentialsHelperThis interface includes the subset of methods of theSecurityHelperclass required by the JADE runtime- Author:
- Giovanni Caire - TILAB
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CredentialsgetCredentials()Retrieve the credentials of the agent this CredentialsHelper refers to.CredentialsgetCredentials(ACLMessage msg)Retrieve the credentials of the sender of a signed ACLMessage.JADEPrincipalgetPrincipal()Retrieve the principal of the agent this CredentialsHelper refers to.JADEPrincipalgetPrincipal(ACLMessage msg)Retrieve the principal of the sender of a signed ACLMessage.
-
-
-
Method Detail
-
getPrincipal
JADEPrincipal getPrincipal()
Retrieve the principal of the agent this CredentialsHelper refers to.
-
getCredentials
Credentials getCredentials()
Retrieve the credentials of the agent this CredentialsHelper refers to.
-
getPrincipal
JADEPrincipal getPrincipal(ACLMessage msg)
Retrieve the principal of the sender of a signed ACLMessage.
-
getCredentials
Credentials getCredentials(ACLMessage msg) throws JADESecurityException
Retrieve the credentials of the sender of a signed ACLMessage.- Throws:
JADESecurityException
-
-