public class ServiceType extends ASN1Object
Modifier and Type | Field and Description |
---|---|
static ServiceType |
CCPD
Identifier of CCPD service (Certify Claim of Possession of Data).
|
static ServiceType |
CPD
Identifier of CPD service (Certify Possession of Data).
|
static ServiceType |
VPKC
Identifier of VPKC service (Verify Public Key Certificates (also referred to as CPKC)).
|
static ServiceType |
VSD
Identifier of VSD service (Verify Signed Document).
|
Constructor and Description |
---|
ServiceType(int value) |
Modifier and Type | Method and Description |
---|---|
static ServiceType |
getInstance(ASN1TaggedObject obj,
boolean explicit) |
static ServiceType |
getInstance(java.lang.Object obj) |
java.math.BigInteger |
getValue() |
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
|
java.lang.String |
toString() |
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
public static final ServiceType CPD
public static final ServiceType VSD
public static final ServiceType VPKC
public static final ServiceType CCPD
public static ServiceType getInstance(java.lang.Object obj)
public static ServiceType getInstance(ASN1TaggedObject obj, boolean explicit)
public java.math.BigInteger getValue()
public ASN1Primitive toASN1Primitive()
ASN1Object
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object
public java.lang.String toString()
toString
in class java.lang.Object