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.ASN1Object
ServiceType ::= ENUMERATED { cpd(1), vsd(2), cpkc(3), ccpd(4) }
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static 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
    Constructor
    Description
    ServiceType(int value)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    getInstance(org.bouncycastle.asn1.ASN1TaggedObject obj, boolean explicit)
     
     
    org.bouncycastle.asn1.ASN1Primitive
     
     

    Methods inherited from class org.bouncycastle.asn1.ASN1Object

    encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • 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).
  • Constructor Details

    • ServiceType

      public ServiceType(int value)
  • Method Details

    • getInstance

      public static ServiceType getInstance(Object obj)
    • getInstance

      public static ServiceType getInstance(org.bouncycastle.asn1.ASN1TaggedObject obj, boolean explicit)
    • getValue

      public BigInteger getValue()
    • toASN1Primitive

      public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
      Specified by:
      toASN1Primitive in interface org.bouncycastle.asn1.ASN1Encodable
      Specified by:
      toASN1Primitive in class org.bouncycastle.asn1.ASN1Object
    • toString

      public String toString()
      Overrides:
      toString in class Object