Class DeletedKey

java.lang.Object
com.azure.security.keyvault.keys.models.KeyVaultKey
com.azure.security.keyvault.keys.models.DeletedKey

public final class DeletedKey extends KeyVaultKey
Deleted Key is the resource consisting of name, recovery id, deleted date, scheduled purge date and its attributes inherited from KeyVaultKey. It is managed by Key Service.
See Also:
  • Constructor Details

    • DeletedKey

      public DeletedKey()
  • Method Details

    • getRecoveryId

      public String getRecoveryId()
      Get the recoveryId identifier.
      Returns:
      the recoveryId identifier.
    • getScheduledPurgeDate

      public OffsetDateTime getScheduledPurgeDate()
      Get the scheduled purge UTC time.
      Returns:
      the scheduledPurgeDate UTC time.
    • getDeletedOn

      public OffsetDateTime getDeletedOn()
      Get the deleted UTC time.
      Returns:
      the deletedDate UTC time.
    • getKey

      public JsonWebKey getKey()
      Get the key value.
      Overrides:
      getKey in class KeyVaultKey
      Returns:
      the key value