Package org.xbill.DNS

Class CERTRecord.CertificateType

java.lang.Object
org.xbill.DNS.CERTRecord.CertificateType
Enclosing class:
CERTRecord

public static class CERTRecord.CertificateType extends Object
Certificate type identifiers.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Attribute Certificate
    static final int
    URL of an Attribute Certificate
    static final int
    Fingerprint and URL of an OpenPGP packet
    static final int
    URL of an X.509 data object
    static final int
    URL of an SPKI certificate
    static final int
    Certificate format defined by OID
    static final int
    Pretty Good Privacy
    static final int
    PKIX (X.509v3)
    static final int
    Simple Public Key Infrastructure
    static final int
    Certificate format defined by URI
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    string(int type)
    Converts a certificate type into its textual representation
    static int
    Converts a textual representation of an certificate type into its numeric code.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Method Details

    • string

      public static String string(int type)
      Converts a certificate type into its textual representation
    • value

      public static int value(String s)
      Converts a textual representation of an certificate type into its numeric code. Integers in the range 0..65535 are also accepted.
      Parameters:
      s - The textual representation of the algorithm
      Returns:
      The algorithm code, or -1 on error.