sHSM/src/test/java/Ret.java
2024-11-21 17:30:42 +08:00

33 lines
759 B
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import java.security.cert.Certificate;
import java.security.PrivateKey;
/**
* @AuthorCheney
* @Date2023/7/18 18:34
*/
public class Ret {
private PrivateKey privateKey;
private Certificate certificate;
public Ret(PrivateKey privateKey, Certificate certificate) {
this.privateKey = privateKey;
this.certificate = certificate;
}
public PrivateKey getPrivateKey() {
return privateKey;
}
public void setPrivateKey(PrivateKey privateKey) {
this.privateKey = privateKey;
}
public Certificate getCertificate() {
return certificate;
}
public void setCertificate(Certificate certificate) {
this.certificate = certificate;
}
}