Function attribute

  • Decorator that creates setter/getter for PKCS#11 object attributes

    Parameters

    • name: string

      Attribute name

    • OptionaldefaultValue: any

    Returns ((target: any, propertyKey: string) => void)

      • (target, propertyKey): void
      • Parameters

        • target: any
        • propertyKey: string

        Returns void