public interface CryptoServiceProperties
Properties interface for cryptographic services. Provides metadata about security level, service name, purpose, and parameters.
  • Method Details

    • bitsOfSecurity

      int bitsOfSecurity()
      Return the security level in bits.
      Returns:
      security level in bits
    • getServiceName

      String getServiceName()
      Return the name of the cryptographic service.
      Returns:
      service name
    • getPurpose

      CryptoServicePurpose getPurpose()
      Return the purpose of the cryptographic service.
      Returns:
      what the service is for: agreement, encryption, decryption, key generation, signing, verifying, authentication, a PRF, or any
    • getParams

      Object getParams()
      Return the parameters for the cryptographic service.
      Returns:
      the service properties that describe this algorithm