org.bouncycastle.dvcs.DVCSRequestData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bcpkix-fips Show documentation
Show all versions of bcpkix-fips Show documentation
The Bouncy Castle Java APIs for CMS, PKCS, EAC, TSP, CMP, CRMF, OCSP, and certificate generation. The APIs are designed primarily to be used in conjunction with the BC FIPS provider. The APIs may also be used with other providers although if being used in a FIPS context it is the responsibility of the user to ensure that any other providers used are FIPS certified.
package org.bouncycastle.dvcs;
import org.bouncycastle.asn1.dvcs.Data;
/**
* Data piece of DVCRequest object (DVCS Data structure).
* Its contents depend on the service type.
* Its subclasses define 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 the data piece for this request.
*/
protected DVCSRequestData(Data data)
{
this.data = data;
}
/**
* Convert to ASN.1 structure (Data).
*
* @return a Data object.
*/
public Data toASN1Structure()
{
return data;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy