Package org.bouncycastle.asn1.dvcs
Class ServiceType
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.dvcs.ServiceType
- All Implemented Interfaces:
ASN1Encodable
,Encodable
ServiceType ::= ENUMERATED { cpd(1), vsd(2), cpkc(3), ccpd(4) }
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ServiceType
Identifier of CCPD service (Certify Claim of Possession of Data).static final ServiceType
Identifier of CPD service (Certify Possession of Data).static final ServiceType
Identifier of VPKC service (Verify Public Key Certificates (also referred to as CPKC)).static final ServiceType
Identifier of VSD service (Verify Signed Document). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceType
getInstance
(Object obj) static ServiceType
getInstance
(ASN1TaggedObject obj, boolean explicit) getValue()
Method providing a primitive representation of this object suitable for encoding.toString()
Methods inherited from class org.bouncycastle.asn1.ASN1Object
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Field Details
-
CPD
Identifier of CPD service (Certify Possession of Data). -
VSD
Identifier of VSD service (Verify Signed Document). -
VPKC
Identifier of VPKC service (Verify Public Key Certificates (also referred to as CPKC)). -
CCPD
Identifier of CCPD service (Certify Claim of Possession of Data).
-
-
Constructor Details
-
ServiceType
public ServiceType(int value)
-
-
Method Details
-
getInstance
-
getInstance
-
getValue
-
toASN1Primitive
Description copied from class:ASN1Object
Method providing a primitive representation of this object suitable for encoding.- Specified by:
toASN1Primitive
in interfaceASN1Encodable
- Specified by:
toASN1Primitive
in classASN1Object
- Returns:
- a primitive representation of this object.
-
toString
-