Movatterモバイル変換


[0]ホーム

URL:


Go to main content
oracle home

Developer's Guide to Oracle® Solaris 11.4 Security

Exit Print View

 
Search Scope:
  »  ...Documentation Home  »  Oracle Solaris 11.4 Information Library  »  Developer's Guide to Oracle® ...  »  Introduction to the Oracle Solaris ...  »  What Cryptography Developers Need to Know
Updated: November 2020
 
 

What Cryptography Developers Need to Know

This section describes the requirements to develop the four types of applications that can plug into the Cryptographic Framework.

Requirements for Developers of User-Level Consumers

    To develop a user-level consumer, do all of the following:

  • Include<security/cryptoki.h>.

  • Make all calls through the PKCS #11 interfaces only.

  • Link withlibpkcs11.so.

  • Libraries should not call theC_Finalize() function.

SeeWriting User-Level Cryptographic Applications for more information.

Requirements for Developers of User-Level Providers

    To develop a user-level provider, a developer needs to keep the following items in mind:

  • Design the provider to stand alone. Although the provider shared object need not be a full-fledged library to which applications link, all necessary symbols must exist in the provider. Assume that the provider is to be opened bydlopen(3C) inRTLD_LAZY mode.

  • Create a PKCS #11 Cryptoki implementation in a shared object. This shared object should include necessary symbols rather than depend on consumer applications.

  • It is highly recommended though not required to provide a_fini() routine for data cleanup. This method is required to avoid collisions betweenC_Finalize() calls when an application or shared library loadslibpkcs11 and other provider libraries concurrently.

  • Package the shared object according to Oracle conventions.

Copyright © 2000, 2020, Oracle and/or its affiliates. 
Previous
Next

[8]ページ先頭

©2009-2025 Movatter.jp