P11ex.Lib.ObjectAttributes (p11ex v0.1.1)

This module defines sets of attributes for PKCS#11 objects.

Summary

Functions

Attributes that all kinds of objects have.

Attributes that can be found on EC private keys.

Attributes that can be found on EC public keys.

Attributes related to keys. This are attributes can be found on secrets keys, public keys, and private keys.

Attributes that can be found on private keys.

Attributes that can be found on public keys.

Attributes that can be found on RSA private keys.

Attributes that can be found on RSA private keys that are sensitive. The token will not return these attributes unless the :cka_sensitive attribute is set to false or :cka_extractable is set to true.

Attributes that can be found on RSA public keys.

Attributes that can be found on secret keys.

Attributes related to the storage of objects. Most objects have these attributes.

Functions

common()

@spec common() :: MapSet.t(atom())

Attributes that all kinds of objects have.

ec_private_key()

@spec ec_private_key() :: MapSet.t(atom())

Attributes that can be found on EC private keys.

ec_public_key()

@spec ec_public_key() :: MapSet.t(atom())

Attributes that can be found on EC public keys.

key()

@spec key() :: MapSet.t(atom())

Attributes related to keys. This are attributes can be found on secrets keys, public keys, and private keys.

private_key()

@spec private_key() :: MapSet.t(atom())

Attributes that can be found on private keys.

public_key()

@spec public_key() :: MapSet.t(atom())

Attributes that can be found on public keys.

rsa_private_key()

@spec rsa_private_key() :: MapSet.t(atom())

Attributes that can be found on RSA private keys.

rsa_private_key_with_sensitive()

@spec rsa_private_key_with_sensitive() :: MapSet.t(atom())

Attributes that can be found on RSA private keys that are sensitive. The token will not return these attributes unless the :cka_sensitive attribute is set to false or :cka_extractable is set to true.

rsa_public_key()

@spec rsa_public_key() :: MapSet.t(atom())

Attributes that can be found on RSA public keys.

secret_key()

@spec secret_key() :: MapSet.t(atom())

Attributes that can be found on secret keys.

storage()

@spec storage() :: MapSet.t(atom())

Attributes related to the storage of objects. Most objects have these attributes.