io.getlime.security.powerauth.rest.api.model.entity.NonPersonalizedEncryptedPayloadModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of powerauth-restful-model Show documentation
Show all versions of powerauth-restful-model Show documentation
Model classes PowerAuth Standard RESTful API
/*
* PowerAuth integration libraries for RESTful API applications, examples and
* related software components
*
* Copyright (C) 2018 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.rest.api.model.entity;
/**
* Class representing a payload encrypted using non-personalized end-to-end encryption.
*
* @author Petr Dvorak, [email protected]
*/
public class NonPersonalizedEncryptedPayloadModel {
private String applicationKey;
private String sessionIndex;
private String adHocIndex;
private String macIndex;
private String nonce;
private String ephemeralPublicKey;
private String mac;
private String encryptedData;
public String getApplicationKey() {
return applicationKey;
}
public void setApplicationKey(String applicationKey) {
this.applicationKey = applicationKey;
}
public String getSessionIndex() {
return sessionIndex;
}
public void setSessionIndex(String sessionIndex) {
this.sessionIndex = sessionIndex;
}
public String getAdHocIndex() {
return adHocIndex;
}
public void setAdHocIndex(String adHocIndex) {
this.adHocIndex = adHocIndex;
}
public String getMacIndex() {
return macIndex;
}
public void setMacIndex(String macIndex) {
this.macIndex = macIndex;
}
public String getNonce() {
return nonce;
}
public void setNonce(String nonce) {
this.nonce = nonce;
}
public String getEphemeralPublicKey() {
return ephemeralPublicKey;
}
public void setEphemeralPublicKey(String ephemeralPublicKey) {
this.ephemeralPublicKey = ephemeralPublicKey;
}
public String getMac() {
return mac;
}
public void setMac(String mac) {
this.mac = mac;
}
public String getEncryptedData() {
return encryptedData;
}
public void setEncryptedData(String encryptedData) {
this.encryptedData = encryptedData;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy