Crypt-PKCS11

 view release on metacpan or  search on metacpan

lib/Crypt/PKCS11.pod  view on Meta::CPAN

=item Crypt::PKCS11::Attribute

A module that represent a PKCS #11 attribute that are used in templates when for
example creating keys. This is only a base class, see
L<Crypt::PKCS11::Attributes> for a list of all available attributes.

=item Crypt::PKCS11::Attributes

A module to handle a set of Crypt::PKCS11::Attribute objects and also lists all
available PKCS #11 attributes.

=item Crypt::PKCS11::constant

List of all PKCS #11 constants.

=item Crypt::PKCS11::Attribute::AttributeArray

A base module that handles nested PKCS #11 attributes.

=item Crypt::PKCS11::Attribute::ByteArray

A base module that handles byte array attributes.

=item Crypt::PKCS11::Attribute::CK_BBOOL

A base module that handles boolean attributes.

=item Crypt::PKCS11::Attribute::CK_BYTE

A base module that handles one byte attributes.

=item Crypt::PKCS11::Attribute::CK_DATE

A base module that handles date attributes.

=item Crypt::PKCS11::Attribute::CK_ULONG

A base module that handles an unsigned long attributes.

=item Crypt::PKCS11::Attribute::RFC2279string

A base module that handles RFC 2279 string attributes.

=item Crypt::PKCS11::Attribute::UlongArray

A base module that handles unsigned long array attributes.

=item Crypt::PKCS11::Attribute::Value

A base module that handles attributes containing either a byte array or a binary
string.

=back

Following modules exist as an interface to its corresponding PKCS #11 C
structure, for more information about each structure see individual pod page and
PKCS #11 documentation.

=over 4

=item L<Crypt::PKCS11::CK_AES_CBC_ENCRYPT_DATA_PARAMS>

=item L<Crypt::PKCS11::CK_AES_CCM_PARAMS>

=item L<Crypt::PKCS11::CK_AES_CTR_PARAMS>

=item L<Crypt::PKCS11::CK_AES_GCM_PARAMS>

=item L<Crypt::PKCS11::CK_ARIA_CBC_ENCRYPT_DATA_PARAMS>

=item L<Crypt::PKCS11::CK_CAMELLIA_CBC_ENCRYPT_DATA_PARAMS>

=item L<Crypt::PKCS11::CK_CAMELLIA_CTR_PARAMS>

=item L<Crypt::PKCS11::CK_CMS_SIG_PARAMS>

=item L<Crypt::PKCS11::CK_DES_CBC_ENCRYPT_DATA_PARAMS>

=item L<Crypt::PKCS11::CK_ECDH1_DERIVE_PARAMS>

=item L<Crypt::PKCS11::CK_ECDH2_DERIVE_PARAMS>

=item L<Crypt::PKCS11::CK_ECMQV_DERIVE_PARAMS>

=item L<Crypt::PKCS11::CK_KEA_DERIVE_PARAMS>

=item L<Crypt::PKCS11::CK_KEY_DERIVATION_STRING_DATA>

=item L<Crypt::PKCS11::CK_KEY_WRAP_SET_OAEP_PARAMS>

=item L<Crypt::PKCS11::CK_KIP_PARAMS>

=item L<Crypt::PKCS11::CK_MECHANISM>

=item L<Crypt::PKCS11::CK_OTP_PARAM>

=item L<Crypt::PKCS11::CK_OTP_PARAMS>

=item L<Crypt::PKCS11::CK_OTP_SIGNATURE_INFO>

=item L<Crypt::PKCS11::CK_PBE_PARAMS>

=item L<Crypt::PKCS11::CK_PKCS5_PBKD2_PARAMS>

=item L<Crypt::PKCS11::CK_RC2_CBC_PARAMS>

=item L<Crypt::PKCS11::CK_RC2_MAC_GENERAL_PARAMS>

=item L<Crypt::PKCS11::CK_RC5_CBC_PARAMS>

=item L<Crypt::PKCS11::CK_RC5_MAC_GENERAL_PARAMS>

=item L<Crypt::PKCS11::CK_RC5_PARAMS>

=item L<Crypt::PKCS11::CK_RSA_PKCS_OAEP_PARAMS>

=item L<Crypt::PKCS11::CK_RSA_PKCS_PSS_PARAMS>

=item L<Crypt::PKCS11::CK_SKIPJACK_PRIVATE_WRAP_PARAMS>

=item L<Crypt::PKCS11::CK_SKIPJACK_RELAYX_PARAMS>

=item L<Crypt::PKCS11::CK_SSL3_KEY_MAT_OUT>

=item L<Crypt::PKCS11::CK_SSL3_KEY_MAT_PARAMS>

=item L<Crypt::PKCS11::CK_SSL3_MASTER_KEY_DERIVE_PARAMS>

=item L<Crypt::PKCS11::CK_SSL3_RANDOM_DATA>

=item L<Crypt::PKCS11::CK_TLS_PRF_PARAMS>

=item L<Crypt::PKCS11::CK_VERSION>

=item L<Crypt::PKCS11::CK_WTLS_KEY_MAT_OUT>

=item L<Crypt::PKCS11::CK_WTLS_KEY_MAT_PARAMS>

=item L<Crypt::PKCS11::CK_WTLS_MASTER_KEY_DERIVE_PARAMS>

=item L<Crypt::PKCS11::CK_WTLS_PRF_PARAMS>

=item L<Crypt::PKCS11::CK_WTLS_RANDOM_DATA>

=item L<Crypt::PKCS11::CK_X9_42_DH1_DERIVE_PARAMS>

=item L<Crypt::PKCS11::CK_X9_42_DH2_DERIVE_PARAMS>

=item L<Crypt::PKCS11::CK_X9_42_MQV_DERIVE_PARAMS>

=back

=head1 QUALITY ASSURANCE AND TESTING

This module is currently tested on Ubuntu 12.04 and with SoftHSM version 1.3.7
and 2.0.0b2 as PKCS #11 providers / HSM backends. It uses Test::LeakTrace to
detect leaks and Devel::Cover to provide coverage reports. The goal is to always
be non-leaking and to have 100% coverage. See README.testing.md for more
information how to test.

  ---------------------------- ------ ------ ------ ------ ------ ------ ------
  File                           stmt   bran   cond    sub    pod   time  total
  ---------------------------- ------ ------ ------ ------ ------ ------ ------
  blib/lib/Crypt/PKCS11.pm      100.0  100.0  100.0  100.0  100.0   90.6  100.0
  ...Crypt/PKCS11/Attribute.pm  100.0  100.0  100.0  100.0  100.0    0.1  100.0
  ...tribute/AttributeArray.pm  100.0  100.0  100.0  100.0  100.0    0.0  100.0
  ...11/Attribute/ByteArray.pm  100.0  100.0  100.0  100.0  100.0    0.0  100.0
  ...S11/Attribute/CK_BBOOL.pm  100.0  100.0    n/a  100.0  100.0    0.0  100.0
  ...CS11/Attribute/CK_BYTE.pm  100.0  100.0  100.0  100.0  100.0    0.0  100.0



( run in 0.959 second using v1.01-cache-2.11-cpan-e1769b4cff6 )