Package co.cryptoservice.sdk
Record Class KeyDeleteResult
java.lang.Object
java.lang.Record
co.cryptoservice.sdk.KeyDeleteResult
- Record Components:
deleted- always truekeyId- identifier of the server-held key; use it with the signing, decryption and decapsulation routes
What
POST /v2/keys/delete answers: delete a server-held key.-
Constructor Summary
ConstructorsConstructorDescriptionKeyDeleteResult(boolean deleted, String keyId) Creates an instance of aKeyDeleteResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleandeleted()Returns the value of thedeletedrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.keyId()Returns the value of thekeyIdrecord component.toString()Names the members; values that may be secret (keys, plaintexts, passwords, signatures) are redacted.
-
Constructor Details
-
Method Details
-
toString
Names the members; values that may be secret (keys, plaintexts, passwords, signatures) are redacted. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
deleted
public boolean deleted()Returns the value of thedeletedrecord component.- Returns:
- the value of the
deletedrecord component
-
keyId
Returns the value of thekeyIdrecord component.- Returns:
- the value of the
keyIdrecord component
-