public abstract class SecureVariantKey extends SecureKey implements java.io.Serializable
SecureVariantKey
class wraps any keys that are secured by
the security module with variant methods.Modifier and Type | Field and Description |
---|---|
protected java.lang.Byte |
variant
Indicates key protection variant metchod appiled to this key by a security module.
|
Constructor and Description |
---|
SecureVariantKey() |
Modifier and Type | Method and Description |
---|---|
abstract byte |
getVariant()
Gets the key variant method used to protect this key.
|
void |
setVariant(byte variant)
Sets key protection variant metchod appiled to this key by the security module.
|
getKeyBytes, getKeyCheckValue, getKeyLength, getKeyName, getKeyType, getScheme, setKeyBytes, setKeyCheckValue, setKeyLength, setKeyName, setKeyType, setScheme
protected java.lang.Byte variant
public void setVariant(byte variant)
variant
- key variant method used to protect this key.public abstract byte getVariant()