Module crypt.api

Interface Mechanism

All Known Implementing Classes:
ExemptionMechanism, GSSAPIMechanism, PBEMechanism, SaslClientMechanism, SaslServerMechanism

public interface Mechanism
The interface Mechanism is for enums that represents a mechanism
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The Constant UNKNOWN_MECHANISM_NAME is if the mechanism name is unknown
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the mechanism
  • Field Details

    • UNKNOWN_MECHANISM_NAME

      static final String UNKNOWN_MECHANISM_NAME
      The Constant UNKNOWN_MECHANISM_NAME is if the mechanism name is unknown
      See Also:
  • Method Details

    • getMechanism

      String getMechanism()
      Gets the mechanism
      Returns:
      the mechanism