Class Index | File Index

## Classes

- _global_
- AccessController
- APDU
- AuthenticationObject
- CAConnection
- ChipAuthentication
- ChipAuthenticationDomainParameterInfo
- ChipAuthenticationInfo
- ChipAuthenticationPublicKeyInfo
- CommandInterpreter
- CRLGenerator
- CVC
- CVCCA
- CVCertificateStore
- DataUnitAPDU
- DF
- DKEK
- DNEncoder
- EAC20
- EAC2CVCertificateGenerator
- EAC2CVRequestGenerator
- FCP
- File
- FileSelector
- FileSystemIdObject
- FSNode
- GPSCP03
- HSMCVCertificateStore
- HSMKeyStore
- LinearEF
- ManagePKA
- P11CVCertificateStore
- PACE
- PACEDomainParameterInfo
- PACEInfo
- PaperKeyEncoding
- PKCS10Generator
- PublicKeyReference
- RAMClient
- RestrictedIdentificationDomainParameterInfo
- RestrictedIdentificationInfo
- SecureChannelHandler
- SecureMessagingCommandAPDUDecoder
- SecurityEnvironment
- SignatureKey
- SmartCardHSM
- SmartCardHSMCrypto
- SmartCardHSMInitializer
- SmartCardHSMKey
- SmartCardHSMKeySpecGenerator
- SmartCardHSMSymmetricKeySpecGenerator
- TransparentEF
- TrustAnchor
- X509CertificateGenerator
- X509CertificateIssuer
- X509CertificateStore
- X509Signer

# Class AccessController

Defined in: AccessController.js.

Class Summary
Constructor Attributes | Constructor Name and Description
--- | ---
| AccessController() Create an default controller granting read but denying write access

Method Summary
Method Attributes | Method Name and Description
--- | ---
| checkCommandAccess(apdu, apdu) Check if command is allowed
| checkFileReadAccess(apdu, node, node) Check if read access to file system node is allowed
| checkFileWriteAccess(apdu, node, node) Check if write access to file system node is allowed

Class Detail
AccessController()
Create an default controller granting read but denying write access
Method Detail
{boolean} checkCommandAccess(apdu, apdu)
Check if command is allowed

Parameters:
{APDU} apdu
  the APDU to check
apdu

Returns:
  true if access is allowed

{boolean} checkFileReadAccess(apdu, node, node)
Check if read access to file system node is allowed

Parameters:
{APDU} apdu
  the APDU used to access the object
{FSNode} node
  the file system object
node

Returns:
  true if access is allowed

{boolean} checkFileWriteAccess(apdu, node, node)
Check if write access to file system node is allowed

Parameters:
{APDU} apdu
  the APDU used to access the object
{FSNode} node
  the file system object
node

Returns:
  true if access is allowed

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Sep 18 2025 10:55:02 GMT+0200 (CEST)