Class SmartCardHSMKey

    • Constructor Detail

      • SmartCardHSMKey

        public SmartCardHSMKey​(byte keyRef,
                               java.lang.String label,
                               short keySize)
      • SmartCardHSMKey

        public SmartCardHSMKey​(byte keyRef,
                               java.lang.String label,
                               short keySize,
                               java.lang.String algorithm)
    • Method Detail

      • getAlgorithm

        public java.lang.String getAlgorithm()
        Specified by:
        getAlgorithm in interface java.security.Key
      • getEncoded

        public byte[] getEncoded()
        Specified by:
        getEncoded in interface java.security.Key
      • getFormat

        public java.lang.String getFormat()
        Specified by:
        getFormat in interface java.security.Key
      • setAlgorithm

        public void setAlgorithm​(java.lang.String algorithm)
      • getKeyRef

        public byte getKeyRef()
      • setKeyRef

        public void setKeyRef​(byte keyRef)
      • getLabel

        public java.lang.String getLabel()
      • setLabel

        public void setLabel​(java.lang.String label)
      • getKeyId

        public byte[] getKeyId()
      • setKeyId

        public void setKeyId​(byte[] keyId)
      • getKeySize

        public short getKeySize()
      • setKeySize

        public void setKeySize​(short keySize)
      • setAlgorithms

        public void setAlgorithms​(byte[] algorithms)
      • getAlgorithms

        public byte[] getAlgorithms()
      • getUseCounter

        public int getUseCounter()
      • setKeyDomain

        public void setKeyDomain​(KeyDomain keyDomain)
      • getKeyDomain

        public KeyDomain getKeyDomain()
      • processKeyInfo

        public void processKeyInfo​(java.util.ArrayList<KeyDomain> keyDomains,
                                   byte[] a5)
        Process the content of tag A5 returned in the SELECT command applied to a key FID
        Parameters:
        a5 - the encoded tag A5
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object