Package anbxj
Class AnBx_Agent
java.lang.Object
anbxj.AnBx_Agent
- All Implemented Interfaces:
Serializable
,Principal
AnBx Agent
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAnBx_Agent
(String alias) Constructs an AnBx_Agent with the specified alias.AnBx_Agent
(String alias, AnB_Crypto_Wrapper lb) Constructs an AnBx_Agent with the specified alias and certificates from a Crypto_Wrapper.AnBx_Agent
(String alias, AnB_Session lb) Constructs an AnBx_Agent with the specified alias and certificates from a Session.AnBx_Agent
(String alias, Map<Crypto_KeyStoreType, Certificate> cert) Constructs an AnBx_Agent with the specified alias and certificates. -
Method Summary
-
Constructor Details
-
AnBx_Agent
Constructs an AnBx_Agent with the specified alias.- Parameters:
alias
- The alias for the AnBx_Agent.
-
AnBx_Agent
Constructs an AnBx_Agent with the specified alias and certificates.- Parameters:
alias
- The alias for the AnBx_Agent.cert
- The certificates associated with the AnBx_Agent.
-
AnBx_Agent
Constructs an AnBx_Agent with the specified alias and certificates from a Crypto_Wrapper.- Parameters:
alias
- The alias for the AnBx_Agent.lb
- The Crypto_Wrapper from which to retrieve certificates.
-
AnBx_Agent
Constructs an AnBx_Agent with the specified alias and certificates from a Session.- Parameters:
alias
- The alias for the AnBx_Agent.lb
- The Session from which to retrieve certificates.
-
-
Method Details
-
isCertified
Checks if the AnBx_Agent has certificates for all specified Crypto_KeyStoreTypes.- Returns:
- True if the AnBx_Agent is certified for all specified Crypto_KeyStoreTypes, false otherwise.
-
equals
-
getCert
Retrieves the certificate associated with the specified Crypto_KeyStoreType.- Parameters:
kst
- The Crypto_KeyStoreType for which to retrieve the certificate.- Returns:
- The certificate associated with the specified Crypto_KeyStoreType.
-
getName
-
hashCode
public int hashCode() -
toString
-