Documentation Contents

# Description of Figure Example of How Application Retrieves "AES" Cipher Instance / Architecture of Service Provider Interface

Link to figure Example of How Application Retrieves "AES" Cipher Instance in Java Cryptography Architecture (JCA) Reference Guide

Link to figure Architecture of Service Provider Interface in How to Implement a Provider in the Java Cryptography Architecture

This figure consists of five boxes:

- Application: This box contains the following pseudocode:

      c:Cipher.getInstance("AES");

- JCA/JCE: This box contains the following list:

  - Signature
  - Message Digest
  - Key Script Generator
  - Key Factory
  - Algorithm Parameters
  - Cipher
  - Key Agreement
  - Key Generator
  - Secret Key Factory
  - MAC

- CSP, CSP2, CSP3: These boxes represent cryptographic service providers

- The fifth box represents CSP3. It contains the following headers and pseudocode:

  - Provider.class

        "Cipher.AES" -> "com.foo.AESCipher"

  - com.foo.AESCipher.class

        package com.foo:
          class AESCipher extends CipherSPi {
            .
            .
            .
          }

Arrows connect the boxes as follows:

- From Application to JCA/JCE
- From JCA/JCE to CSP1, CSP2, and CSP3 (the arrow branches)

A dotted line connects CSP3 to the headings Provider.class and com.foo.AESCipher.class

Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved.
Contact Us