public interface CryptoServiceProperties
Properties interface for cryptographic services. Provides metadata about security level, service name, purpose, and parameters.
Method Summary
All MethodsModifier and TypeMethodDescriptionintReturn the security level in bits.Return the parameters for the cryptographic service.Return the purpose of the cryptographic service.Return the name of the cryptographic service.
Method Details
bitsOfSecurity
int bitsOfSecurity()Return the security level in bits.- Returns:
- security level in bits
getServiceName
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