org.testifyproject.bouncycastle.dvcs.DVCSRequestData Maven / Gradle / Ivy
package org.testifyproject.bouncycastle.dvcs;
import org.testifyproject.bouncycastle.asn1.dvcs.Data;
/**
* Data piece of DVCRequest object (DVCS Data structure).
* Its contents org.testifyproject.testifyprojectpend on the service type.
* Its subclasses org.testifyproject.testifyprojectfine the service-specific interface.
*
* The concrete objects of DVCRequestData are created by buildDVCRequestData static method.
*/
public abstract class DVCSRequestData
{
/**
* The underlying data object is accessible by subclasses.
*/
protected Data data;
/**
* The constructor is accessible by subclasses.
*
* @param data
*/
protected DVCSRequestData(Data data)
{
this.data = data;
}
/**
* Convert to ASN.1 structure (Data).
*
* @return
*/
public Data toASN1Structure()
{
return data;
}
}