The Java Developers Almanac 1.4


Order this book from Amazon.

   
Home > List of Packages > javax.crypto  [14 examples] > MAC  [3 examples]

e467. Listing All Available Message Authentication Code (MAC) Key Generators

Retrieving the list of available MAC algorithms requires checking the services provided by all registered providers.
    // This method is implemented in e194 Listing All Available Cryptographic Services
    String[] names = getCryptoImpls("Mac");
An example of the output:
    HmacSHA1
    HmacMD5

 Related Examples
e468. Generating a Message Authentication Code (MAC) Key
e469. Generating a Message Authentication Code (MAC)

See also: Encrypting and Decrypting    Key Agreement    Symmetric Keys   


© 2002 Addison-Wesley.