Package org.bouncycastle.asn1.dvcs
Class ServiceType
- java.lang.Object
-
- org.bouncycastle.asn1.ASN1Object
-
- org.bouncycastle.asn1.dvcs.ServiceType
-
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable,org.bouncycastle.util.Encodable
public class ServiceType extends org.bouncycastle.asn1.ASN1ObjectServiceType ::= ENUMERATED { cpd(1), vsd(2), cpkc(3), ccpd(4) }
-
-
Field Summary
Fields Modifier and Type Field Description static ServiceTypeCCPDIdentifier of CCPD service (Certify Claim of Possession of Data).static ServiceTypeCPDIdentifier of CPD service (Certify Possession of Data).static ServiceTypeVPKCIdentifier of VPKC service (Verify Public Key Certificates (also referred to as CPKC)).static ServiceTypeVSDIdentifier of VSD service (Verify Signed Document).
-
Constructor Summary
Constructors Constructor Description ServiceType(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServiceTypegetInstance(java.lang.Object obj)static ServiceTypegetInstance(org.bouncycastle.asn1.ASN1TaggedObject obj, boolean explicit)java.math.BigIntegergetValue()org.bouncycastle.asn1.ASN1PrimitivetoASN1Primitive()java.lang.StringtoString()
-
-
-
Field Detail
-
CPD
public static final ServiceType CPD
Identifier of CPD service (Certify Possession of Data).
-
VSD
public static final ServiceType VSD
Identifier of VSD service (Verify Signed Document).
-
VPKC
public static final ServiceType VPKC
Identifier of VPKC service (Verify Public Key Certificates (also referred to as CPKC)).
-
CCPD
public static final ServiceType CCPD
Identifier of CCPD service (Certify Claim of Possession of Data).
-
-
Method Detail
-
getInstance
public static ServiceType getInstance(java.lang.Object obj)
-
getInstance
public static ServiceType getInstance(org.bouncycastle.asn1.ASN1TaggedObject obj, boolean explicit)
-
getValue
public java.math.BigInteger getValue()
-
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
- Specified by:
toASN1Primitivein interfaceorg.bouncycastle.asn1.ASN1Encodable- Specified by:
toASN1Primitivein classorg.bouncycastle.asn1.ASN1Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-