
com.safelayer.rap.impl.model.issuance.ProofOfPossessionValue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pki-connector-restapi Show documentation
Show all versions of pki-connector-restapi Show documentation
The PKI Connector RESTAPI is a library that helps developing new PKI Connectors for TrustedX
The newest version!
package com.safelayer.rap.impl.model.issuance;
import java.io.Serializable;
import java.security.PublicKey;
import com.safelayer.rap.api.model.issuance.IssuancePopPendingResponse.ProofOfPossession;
@SuppressWarnings("serial")
public class ProofOfPossessionValue implements ProofOfPossession, Serializable {
private PublicKey publicKey;
private String signatureAlgorithm;
private byte[] digest;
private byte[] originalData;
public ProofOfPossessionValue(PublicKey publicKey, String signatureAlgorithm, byte[] digest) {
super();
this.publicKey = publicKey;
this.signatureAlgorithm = signatureAlgorithm;
this.digest = digest;
}
@Override
public PublicKey getPublicKey() {
return publicKey;
}
@Override
public String getSignatureAlgorithm() {
return signatureAlgorithm;
}
@Override
public byte[] getDigest() {
return digest;
}
public void setOriginalData(byte[] originalData) {
this.originalData = originalData;
}
public byte[] getOriginalData() {
return originalData;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy