
io.getlime.security.powerauth.lib.nextstep.model.response.UpdateCredentialDefinitionResponse Maven / Gradle / Ivy
The newest version!
/*
* PowerAuth Web Flow and related software components
* Copyright (C) 2021 Wultra s.r.o.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
package io.getlime.security.powerauth.lib.nextstep.model.response;
import io.getlime.security.powerauth.lib.nextstep.model.entity.enumeration.CredentialCategory;
import io.getlime.security.powerauth.lib.nextstep.model.entity.enumeration.CredentialDefinitionStatus;
import io.getlime.security.powerauth.lib.nextstep.model.entity.enumeration.EncryptionAlgorithm;
import io.getlime.security.powerauth.lib.nextstep.model.entity.enumeration.EndToEndEncryptionAlgorithm;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;
/**
* Response object used for updating a credential definition.
*
* @author Roman Strobl, [email protected]
*/
@Data
public class UpdateCredentialDefinitionResponse {
@NotNull
private String credentialDefinitionName;
@NotBlank
@Size(min = 2, max = 256)
private String applicationName;
@Size(min = 2, max = 256)
private String organizationId;
@NotBlank
@Size(min = 2, max = 256)
private String credentialPolicyName;
@Size(min = 2, max = 256)
private String description;
@NotNull
private CredentialCategory category;
@NotNull
private boolean encryptionEnabled;
private EncryptionAlgorithm encryptionAlgorithm;
@NotNull
private boolean hashingEnabled;
@Size(min = 2, max = 256)
private String hashConfigName;
@NotNull
private boolean e2eEncryptionEnabled;
private EndToEndEncryptionAlgorithm e2eEncryptionAlgorithm;
private String e2eEncryptionCipherTransformation;
private boolean e2eEncryptionForTemporaryCredentialEnabled;
@NotNull
private CredentialDefinitionStatus credentialDefinitionStatus;
@NotNull
private boolean dataAdapterProxyEnabled;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy