com.unbound.provider.kmip.response.MACVerifyResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of unbound-java-provider Show documentation
Show all versions of unbound-java-provider Show documentation
This is a collection of JAVA libraries that implement Unbound cryptographic classes for JAVA provider, PKCS11 wrapper, cryptoki, and advapi
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 15-Dec-16.
*/
public class MACVerifyResponse extends ResponseItem
{
public String uid = null;
public byte[] corr = null;
public int validityIndicator;
public MACVerifyResponse()
{
super(KMIP.Operation.MACVerify);
}
public void convert(KMIPConverter converter) throws KMIPConvertException
{
uid = converter.convert(KMIP.Tag.UniqueIdentifier, uid);
validityIndicator = converter.convert(KMIP.Tag.ValidityIndicator, validityIndicator);
corr = converter.convertOptional(KMIP.Tag.CorrelationValue, corr);
}
public void log()
{
Log.print("MACVerifyResponse").log("uid", uid).log("validityIndicator", validityIndicator).end();
}
}