10.8. Algorithm Specifications

When implementing crypto algorithms, a provider should comply with existing standard specifications. Following are some of these specifications and their relationships with SDK implementations. In particular, some or all the following fields are given for each algorithm specification:

  • Name. The name by which the algorithm is known. This is the name passed to the getInstance method when requesting the algorithm and returned by the getAlgorithm method to determine the name of an existing algorithm object. These methods are in the engine classes Signature, MessageDigest, KeyPairGenerator, and AlgorithmParameterGenerator.

  • Type. The type of algorithm: Signature, MessageDigest, KeyPairGenerator, or ParameterGenerator ...

Get Inside Java™ 2 Platform Security: Architecture, API Design, and Implementation, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.