org.bouncycastle.dvcs.DVCSMessage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gwt-crypto Show documentation
Show all versions of gwt-crypto Show documentation
A GWT cryptography library ported from Legion of the Bouncy Castle.
The newest version!
package org.bouncycastle.dvcs;
import org.bouncycastle.asn1.ASN1Encodable;
import org.bouncycastle.asn1.ASN1ObjectIdentifier;
import org.bouncycastle.asn1.cms.ContentInfo;
public abstract class DVCSMessage
{
private final ContentInfo contentInfo;
protected DVCSMessage(ContentInfo contentInfo)
{
this.contentInfo = contentInfo;
}
public ASN1ObjectIdentifier getContentType()
{
return contentInfo.getContentType();
}
public abstract ASN1Encodable getContent();
}