![JAR search and dependency download from the Maven repository](/logo.png)
com.unbound.kmip.request.ModifyAttributeRequest 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.kmip.request;
import com.unbound.common.Log;
import com.unbound.kmip.KMIP;
import com.unbound.kmip.KMIPConvertException;
import com.unbound.kmip.KMIPConverter;
import com.unbound.kmip.attribute.Attribute;
/**
* Created by valery.osheter on 25-Nov-15.
*/
public class ModifyAttributeRequest extends RequestItem
{
public String uid = null;
public Attribute attribute = null;
public ModifyAttributeRequest()
{
super(KMIP.Operation.ModifyAttribute);
}
public ModifyAttributeRequest(String uid, Attribute attribute)
{
this();
this.uid = uid;
this.attribute = attribute;
}
public void convert(KMIPConverter converter) throws KMIPConvertException
{
uid = converter.convertOptional(KMIP.Tag.UniqueIdentifier, uid);
attribute = Attribute.convert(converter, attribute);
}
public void log()
{
Log log = Log.func("ModifyAttributeRequest").log("uid", uid).end();
if (attribute!=null) attribute.log();
log.leave();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy