Package org.opends.server.crypto
Class CryptoManager.MacService
java.lang.Object
org.opends.server.crypto.CryptoManager.MacService
- Enclosing class:
- CryptoManager
Generates a MAC to use for authenticating data and provides an encoding for storing and reuse.
The encoding is an LDAP entry, that can be stored and used to verify data at a later point in time.
-
Method Details
-
getMac
Return theMac
to use for MAC operations.- Returns:
- the
Mac
to use for MAC operations
-
wrapMacAsLdapEntry
Return the MAC key as an LDAP Entry.- Returns:
- the MAC key as an LDAP Entry
- Throws:
CryptoManagerException
- if an error occurs
-