![JAR search and dependency download from the Maven repository](/logo.png)
com.unbound.provider.kmip.response.SignResponse Maven / Gradle / Ivy
package com.unbound.provider.kmip.response;
import com.unbound.common.Log;
import com.unbound.provider.kmip.KMIP;
import com.unbound.provider.kmip.KMIPConvertException;
import com.unbound.provider.kmip.KMIPConverter;
/**
* Created by valery.osheter on 23-Nov-15.
*/
public class SignResponse extends ResponseItem
{
public String uid = null;
public byte[] data = null;
public SignResponse()
{
super(KMIP.Operation.Sign);
}
public void convert(KMIPConverter converter) throws KMIPConvertException
{
uid = converter.convert(KMIP.Tag.UniqueIdentifier, uid);
data = converter.convert(KMIP.Tag.SignatureData, data);
}
public void log()
{
Log.print("SignResponse").log("uid", uid).logLen("dataLen", data).end();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy