interface Management {
    getShadow(pin: string): Promise<string>;
    setNsAuthState(aclMask: ACL_MASK, state: NSAUTH_STATE, share: string[]): Promise<boolean>;
}

Methods

  • Reads the shadow of a smart card M from N Dinamo.

    Parameters

    • pin: string

      Card PIN. It must be an ASCII numeric string with a maximum length of 8.

    Returns Promise<string>

    • Shadow read data.

    exceptions.HsmError If an error occurs in the operation.

    NOTE: To carry out this operation, you need to install the HSM Client in the Full option on the device. You can download the HSM Client via this link. You must also use an approved smartcard reader to read the cards.

    Example code: Recovering the shadow of a smartcard