Class SecureVariantKey
java.lang.Object
org.jpos.security.SecureKey
org.jpos.security.SecureVariantKey
- All Implemented Interfaces:
Serializable, Loggeable
- Direct Known Subclasses:
SecureDESKey, SecurePrivateKey
The
SecureVariantKey class wraps any keys that are secured by
the security module with variant methods.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ByteIndicates key protection variant metchod appiled to this key by a security module. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract byteGets the key variant method used to protect this key.voidsetVariant(byte variant) Sets key protection variant metchod appiled to this key by the security module.Methods inherited from class SecureKey
getKeyBytes, getKeyCheckValue, getKeyLength, getKeyName, getKeyType, getScheme, setKeyBytes, setKeyCheckValue, setKeyLength, setKeyName, setKeyType, setScheme
-
Field Details
-
variant
-
-
Constructor Details
-
SecureVariantKey
public SecureVariantKey()
-
-
Method Details
-
setVariant
Sets key protection variant metchod appiled to this key by the security module.- Parameters:
variant- key variant method used to protect this key.
-
getVariant
Gets the key variant method used to protect this key.- Returns:
- key variant method used to protect this key.
-