Global

Members

(constant) EC_CURVE_TYPE :string

Curve types for ECDSA keys

Properties:
Name Type Description
P256 string
P384 string
P512 string
K256 string
Type:
  • string

(constant) ECDSA_SIGN_MECHANISM :string

Sign mechanisms for ECDSA keys

Properties:
Name Type Description
EC_SHA1 string
EC_SHA256 string
EC_SHA384 string
EC_SHA512 string
Type:
  • string

(constant) EXTRA_ERR_MESSAGES

Workaround for missing error codes added in extension until extension is published

(constant) HASH_ALGORITHM :string

Hash algorithms for PKCS7 signature and create self signed

Properties:
Name Type Description
SHA1 string
SHA256 string
SHA384 string
SHA512 string
Type:
  • string

(constant) KEY_ALGORITHM :string

Assymetric key types

Properties:
Name Type Description
RSA string

RSA algorithm

ECDSA string

ECDSA algorithm

Type:
  • string

(constant) RSA_SIGN_MECHANISM :string

Sign mechanisms for RSA keys

Properties:
Name Type Description
RSA_SHA1 string
RSA_SHA256 string
RSA_SHA384 string
RSA_SHA512 string
Type:
  • string

(constant) SECURED_OBJECT_TYPE :string

Secure object types

Properties:
Name Type Description
PUBLIC_KEY Number

Used for objects that store private/public key pair for an assymetric algorithm such as 'RSA'

PRIVATE_KEY Number

Used for objects that store private/public key pair for an assymetric algorithm such as 'RSA'

CERTIFICATE Number

Used for objects that store a certificate

Type:
  • string

Type Definitions

SecuredObject

Properties:
Name Type Description
UID string

The unique key id

name string

A text name

objectType SECURED_OBJECT_TYPE

The type of object

algorithm KEY_ALGORITHM

The object algorithm

certificate SecuredObject

If this object is a key which has a certificate, this attribute will store the associated certificate

size number

The key size in bits

dataDER Array.<byte>

Raw public data of the object in DER format