Interface Version
- 
- All Known Implementing Classes:
- SignedRequestVersion
 
 public interface VersionThe rules for a signed request version, i.e., supported algorithms, supported keyId formats.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classVersion.Error
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetMinimumKeySizeInBits()Get the minimum public key size in bits.Set<Algorithm>getSupportedAlgorithms()Get a set of supported algorithms.Set<KeyIdType>getSupportedKeyIdTypes()Get a set of supported keyId types.StringgetVersionName()Get the name of this version - usually the version number as a String.intgetVersionNumber()Get the version number.Optional<Version.Error>validateAlgorithm(Algorithm algorithm)Optional<Version.Error>validateKeyId(String keyId)Optional<Version.Error>validateKeySize(RSAPublicKey publicKey)
 
- 
- 
- 
Method Detail- 
getVersionNumberint getVersionNumber() Get the version number.
 - 
getVersionNameString getVersionName() Get the name of this version - usually the version number as a String.
 - 
getMinimumKeySizeInBitsint getMinimumKeySizeInBits() Get the minimum public key size in bits.
 - 
validateKeyIdOptional<Version.Error> validateKeyId(@Nonnull String keyId) 
 - 
validateAlgorithmOptional<Version.Error> validateAlgorithm(@Nonnull Algorithm algorithm) 
 - 
validateKeySizeOptional<Version.Error> validateKeySize(@Nonnull RSAPublicKey publicKey) 
 
- 
 
-