Overview | File | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## Class PKCS15_CommonKeyAttributes

    Object
       |
       +--PKCS15_CIO
             |
             +--PKCS15_CommonKeyAttributes

Direct Known Subclasses:
  PKCS15_CommonPrivateKeyAttributes, PKCS15_CommonSecretKeyAttributes

class PKCS15_CommonKeyAttributes
extends PKCS15_CIO

This class adds common key attributes to the base CIO class.

The class decodes the following ASN.1 syntax:

     CommonKeyAttributes ::= SEQUENCE {
    		iD Identifier,
    		usage KeyUsageFlags,
    		native BOOLEAN DEFAULT TRUE,
    		accessFlags KeyAccessFlags OPTIONAL,
    		keyReference KeyReference OPTIONAL,
    		startDate GeneralizedTime OPTIONAL,
    		endDate [0] GeneralizedTime OPTIONAL,
    		algReference [1] SEQUENCE OF Reference OPTIONAL,
    		... -- For future extensions
    		}

See:

- PKCS15_CIO is the base class

Defined in p15classes.js

Field Summary
`Object` | `accessFlags`
`Object` | `algReference`
`Object` | `endDate`
`Object` | `iD`
`Object` | `keyReference`
`Object` | `native_`
`Object` | `startDate`
`Object` | `usage`

Fields inherited from class PKCS15_CIO
`tlv, label, flags, authId, userConsent, accessControlRules`

Constructor Summary
`PKCS15_CommonKeyAttributes(tlv)` Create a Common Key Attribute Object

Method Summary
`String` | `getAccessFlagsAsString()` Gets the key access flags as string of concatenated flags.
`String` | `getUsageAsString()` Gets the key usage flags as string of concatenated flags.
`String` | `toString()` Convert the object to a human readable string

Methods inherited from class PKCS15_CIO
`getFlagsAsString`

Field Detail

### accessFlags

    Object accessFlags

### algReference

    Object algReference

### endDate

    Object endDate

### iD

    Object iD

### keyReference

    Object keyReference

### native_

    Object native_

### startDate

    Object startDate

### usage

    Object usage

Constructor Detail

### PKCS15_CommonKeyAttributes

    PKCS15_CommonKeyAttributes(tlv)

Create a Common Key Attribute Object

Parameters:

`the` - tlv structure containing the CIO

See:

- PKCS15_CIO is the base class

Method Detail

### getAccessFlagsAsString

    String getAccessFlagsAsString()

Gets the key access flags as string of concatenated flags.

Returns:

the string containing the flags separated by a blank

### getUsageAsString

    String getUsageAsString()

Gets the key usage flags as string of concatenated flags.

Returns:

the string containing the flags separated by a blank

### toString

    String toString()

Convert the object to a human readable string

Returns:

content information

Overview | File | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Documentation generated by JSDoc on Fri Oct 24 18:16:45 2025