- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DilithiumKeyAttributes
,DSAKeyHWAttributes
,ECHWKeyAttributes
,KyberKeyAttributes
,MLDSAKeyAttributes
,MLKEMKeyAttributes
,RSAKeyHWAttributes
,RSAPSSKeyHWAttributes
This interface defines key attributes for use with Hardware keys.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbyte
This method returns a byte that represents the Key Type.byte
This method returns a byte that represents the Key Usage.
-
Field Details
-
serialVersionUID
static final long serialVersionUID- See Also:
-
-
Method Details
-
getKeyType
byte getKeyType()This method returns a byte that represents the Key Type. The values for Key Type are defined in class KeyHWAttributeValues.- Returns:
- the key type
-
getKeyUsage
byte getKeyUsage()This method returns a byte that represents the Key Usage. The values for Key Usage are defined in class KeyHWAttributeValues,- Returns:
- the key usage
-