Returns an initialized java.security.MessageDigest object instance.
Syntax
MessageDigest
getMessageDigest
(
String
profileName
) throws SecException
Returns
MessageDigest to perform the digest operation.
Exceptions
-
IllegalStateException –
if the specified profile requires a role to access and there is no current authenticated subject or if the context has been destroyed.
-
SecException class –
if no profile with the specified profile name exists or if the specified profile requires a role to access and if the authenticated subject is not in that role. Or if none of the configured SecureDataService providers can handle the request.