Top Description Inners Methods
com.oracle.bmc.http.signing.internal

public Interface Version

Known Direct Implementers
com.oracle.bmc.http.signing.internal.SignedRequestVersion
Imports
java.security.interfaces.RSAPublicKey, java.util.Set, .Optional, jakarta.annotation.Nonnull

The rules for a signed request version, i.e., supported algorithms, supported keyId formats.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum

Method Summary

Modifier and TypeMethod and Description
public int
getMinimumKeySizeInBits()

Get the minimum public key size in bits.

public Set<Algorithm>
getSupportedAlgorithms()

Get a set of supported algorithms.

public Set<KeyIdType>
getSupportedKeyIdTypes()

Get a set of supported keyId types.

public String
getVersionName()

Get the name of this version - usually the version number as a String.

public int
getVersionNumber()

Get the version number.

public Optional<Version.Error>
public Optional<Version.Error>
public Optional<Version.Error>

Method Detail

getMinimumKeySizeInBitsback to summary
public int getMinimumKeySizeInBits()

Get the minimum public key size in bits.

getSupportedAlgorithmsback to summary
public Set<Algorithm> getSupportedAlgorithms()

Get a set of supported algorithms.

getSupportedKeyIdTypesback to summary
public Set<KeyIdType> getSupportedKeyIdTypes()

Get a set of supported keyId types.

getVersionNameback to summary
public String getVersionName()

Get the name of this version - usually the version number as a String.

getVersionNumberback to summary
public int getVersionNumber()

Get the version number.

validateAlgorithmback to summary
public Optional<Version.Error> validateAlgorithm(Algorithm algorithm)
validateKeyIdback to summary
public Optional<Version.Error> validateKeyId(String keyId)
validateKeySizeback to summary
public Optional<Version.Error> validateKeySize(RSAPublicKey publicKey)
com.oracle.bmc.http.signing.internal back to summary

public final Enum Version.Error

extends Enum<Version.Error>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final Version.Error
public static final Version.Error
public static final Version.Error

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static Version.Error
public static Version.Error[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

KEY_TOO_SMALLback to summary
public static final Version.Error KEY_TOO_SMALL
UNSUPPORTED_ALGORITHMback to summary
public static final Version.Error UNSUPPORTED_ALGORITHM
UNSUPPORTED_KEYIDback to summary
public static final Version.Error UNSUPPORTED_KEYID

Constructor Detail

Errorback to summary
private Error()

Method Detail

valueOfback to summary
public static Version.Error valueOf(String name)
valuesback to summary
public static Version.Error[] values()