blob: 6758f3599f8787fd14b2e794d434b7b9ab017c8f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
package org.spongycastle.dvcs;
import org.spongycastle.asn1.ASN1Encodable;
import org.spongycastle.asn1.ASN1ObjectIdentifier;
import org.spongycastle.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();
}
|