/usr/share/vala/vapi/pkcs11.vapi is in libgck-1-dev 3.18.0-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | [CCode (cheader_filename = "p11-kit/pkcs11.h")]
namespace CKA
{
public const ulong LABEL;
public const ulong VALUE;
public const ulong ID;
public const ulong CLASS;
public const ulong CERTIFICATE_CATEGORY;
public const ulong MODIFIABLE;
public const ulong MODULUS_BITS;
public const ulong KEY_TYPE;
public const ulong TOKEN;
}
[CCode (cheader_filename = "p11-kit/pkcs11.h")]
namespace CKS
{
public const ulong RW_USER_FUNCTIONS;
public const ulong RO_USER_FUNCTIONS;
public const ulong RW_SO_FUNCTIONS;
}
[CCode (cheader_filename = "p11-kit/pkcs11.h")]
namespace CKF
{
public const ulong WRITE_PROTECTED;
public const ulong LOGIN_REQUIRED;
public const ulong USER_PIN_INITIALIZED;
}
[CCode (cheader_filename = "p11-kit/pkcs11.h")]
namespace CKO
{
public const ulong CERTIFICATE;
public const ulong PRIVATE_KEY;
}
[CCode (cheader_filename = "p11-kit/pkcs11.h")]
namespace CKU
{
public const ulong USER;
}
[CCode (cheader_filename = "p11-kit/pkcs11.h")]
namespace CKR
{
public const ulong OBJECT_HANDLE_INVALID;
}
|