Package com.exoscale.sdk.model
Class GetPublicKeyResponse
java.lang.Object
com.exoscale.sdk.model.GetPublicKeyResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class GetPublicKeyResponse
extends Object
GetPublicKeyResponse
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this get-public-key-response object is equal to o.getKeyId()The UUID of the KMS key the public key material belongs to.The cryptographic key specification of the key pair, defining its algorithm and curve.byte[]The Base64-encoded X.509 SubjectPublicKeyInfo (SPKI) DER encoding of the key's public key.getUsage()The usage of the key pair, either `encrypt-decrypt` or `sign-verify`.inthashCode()publicKey(byte[] publicKey) voidvoidsetKeySpec(String keySpec) voidsetPublicKey(byte[] publicKey) voidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_KEY_ID
- See Also:
-
JSON_PROPERTY_KEY_SPEC
- See Also:
-
JSON_PROPERTY_USAGE
- See Also:
-
JSON_PROPERTY_PUBLIC_KEY
- See Also:
-
-
Constructor Details
-
GetPublicKeyResponse
public GetPublicKeyResponse()
-
-
Method Details
-
keyId
-
getKeyId
The UUID of the KMS key the public key material belongs to.- Returns:
- keyId
-
setKeyId
-
keySpec
-
getKeySpec
The cryptographic key specification of the key pair, defining its algorithm and curve.- Returns:
- keySpec
-
setKeySpec
-
usage
-
getUsage
The usage of the key pair, either `encrypt-decrypt` or `sign-verify`.- Returns:
- usage
-
setUsage
-
publicKey
-
getPublicKey
@Nullable public byte[] getPublicKey()The Base64-encoded X.509 SubjectPublicKeyInfo (SPKI) DER encoding of the key's public key.- Returns:
- publicKey
-
setPublicKey
public void setPublicKey(byte[] publicKey) -
equals
Return true if this get-public-key-response object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-