Class SecureVariantKey

java.lang.Object
org.jpos.security.SecureKey
org.jpos.security.SecureVariantKey
All Implemented Interfaces:
Serializable, Loggeable
Direct Known Subclasses:
SecureDESKey, SecurePrivateKey

public abstract class SecureVariantKey extends SecureKey implements Serializable
The SecureVariantKey class wraps any keys that are secured by the security module with variant methods.
See Also:
  • Field Details

    • variant

      protected Byte variant
      Indicates key protection variant metchod appiled to this key by a security module.
  • Constructor Details

  • Method Details

    • setVariant

      public void setVariant(byte variant)
      Sets key protection variant metchod appiled to this key by the security module.
      Parameters:
      variant - key variant method used to protect this key.
    • getVariant

      public abstract byte getVariant()
      Gets the key variant method used to protect this key.
      Returns:
      key variant method used to protect this key.