com.unbound.provider.kmip.request.LocateRequest 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.request;
import com.unbound.common.Log;
import com.unbound.provider.kmip.KMIP;
import com.unbound.provider.kmip.KMIPConvertException;
import com.unbound.provider.kmip.KMIPConverter;
import com.unbound.provider.kmip.attribute.Attributes;
/**
* Created by valery.osheter on 25-Nov-15.
*/
public class LocateRequest extends RequestItem
{
public Integer maxItems = null;
public Integer offsetItems = null;
public Attributes attrs = new Attributes();
public Integer storageStatusMask = null;
public Integer objectGroupMember = null;
public LocateRequest()
{
super(KMIP.Operation.Locate);
}
public void convert(KMIPConverter converter) throws KMIPConvertException
{
maxItems = converter.convertOptional(KMIP.Tag.MaximumItems, maxItems);
offsetItems = converter.convertOptional(KMIP.Tag.OffsetItems, offsetItems);
storageStatusMask = converter.convertOptional(KMIP.Tag.StorageStatusMask, storageStatusMask);
objectGroupMember = converter.convertOptional(KMIP.Tag.ObjectGroupMember, objectGroupMember);
attrs.convert(converter);
}
public void log()
{
Log log = Log.func("LocateRequest").
log("maxItems", maxItems).
log("offsetItems", offsetItems).
log("storageStatusMask", storageStatusMask).
log("objectGroupMember", objectGroupMember).
end();
attrs.log();
log.leave();
}
}