com.fitbur.bouncycastle.dvcs.DVCSRequestData Maven / Gradle / Ivy
package com.fitbur.bouncycastle.dvcs;
import com.fitbur.bouncycastle.asn1.dvcs.Data;
/**
* Data piece of DVCRequest object (DVCS Data structure).
* Its contents com.fitburpend on the service type.
* Its subclasses com.fitburfine 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;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy