Class SmartCardHSMPrivateKey
- java.lang.Object
-
- de.cardcontact.opencard.service.smartcardhsm.SmartCardHSMKey
-
- de.cardcontact.opencard.service.smartcardhsm.SmartCardHSMPrivateKey
-
- All Implemented Interfaces:
java.io.Serializable
,java.security.Key
,java.security.PrivateKey
,javax.security.auth.Destroyable
,KeyRef
,PrivateKeyRef
- Direct Known Subclasses:
SmartCardHSMECKey
,SmartCardHSMRSAKey
public class SmartCardHSMPrivateKey extends SmartCardHSMKey implements PrivateKeyRef
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.cardcontact.opencard.service.smartcardhsm.SmartCardHSMKey
AES, EC, RSA
-
-
Constructor Summary
Constructors Constructor Description SmartCardHSMPrivateKey(byte keyRef, java.lang.String label, short keySize, java.lang.String algorithm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deriveKeySizeFromPublicKey(java.security.cert.Certificate cert)
Derive the key size from the certificate's public key-
Methods inherited from class de.cardcontact.opencard.service.smartcardhsm.SmartCardHSMKey
getAlgorithm, getAlgorithms, getCardService, getEncoded, getFormat, getKeyDomain, getKeyId, getKeyRef, getKeySize, getLabel, getUseCounter, processKeyInfo, setAlgorithm, setAlgorithms, setCardService, setKeyDomain, setKeyId, setKeyRef, setKeySize, setLabel, toString
-
-