Class SmartCardHSMKey

Object
   |
   +--SmartCardHSMKey

class SmartCardHSMKey


Class implementing key access
Defined in smartcardhsm.js


Field Summary
 Object id
          
 Object sc
          
 
Constructor Summary
SmartCardHSMKey(<SmartCardHSM> sc, <Number> id)
            Create a key access object
 
Method Summary
 Number getId()
           Return the key identifier
 String getLabel()
           Return the key label as encoded in the PKCS#15 structure
 Number getSize()
           Return the key size in bits
 void setDescription(<ASN1> desc)
           Set the PKCS#15 private key description
 ByteString sign(<Number> mech, <ByteString> data)
           Sign data using a key in the SmartCard-HSM
 Object toString()
           Return human readable string

Field Detail

id

Object id

sc

Object sc

Constructor Detail

SmartCardHSMKey

SmartCardHSMKey(<SmartCardHSM> sc, <Number> id)

Method Detail

getId

Number getId()

getLabel

String getLabel()

getSize

Number getSize()

setDescription

void setDescription(<ASN1> desc)

sign

ByteString sign(<Number> mech, <ByteString> data)

toString

Object toString()


Documentation generated by JSDoc on Tue Sep 3 22:29:45 2013