org.xbill.DNS
Class CERTRecord.CertificateType

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

public static class CERTRecord.CertificateType
extends java.lang.Object


Field Summary
static int OID
          Certificate format defined by OID
static int PGP
          Pretty Good Privacy
static int PKIX
          PKIX (X.509v3)
static int SPKI
          Simple Public Key Infrastructure
static int URI
          Certificate format defined by URI
 
Method Summary
static java.lang.String string(int type)
          Converts a certificate type into its textual representation
static int value(java.lang.String s)
          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 Detail

PKIX

public static final int PKIX
PKIX (X.509v3)

See Also:
Constant Field Values

SPKI

public static final int SPKI
Simple Public Key Infrastructure

See Also:
Constant Field Values

PGP

public static final int PGP
Pretty Good Privacy

See Also:
Constant Field Values

URI

public static final int URI
Certificate format defined by URI

See Also:
Constant Field Values

OID

public static final int OID
Certificate format defined by OID

See Also:
Constant Field Values
Method Detail

string

public static java.lang.String string(int type)
Converts a certificate type into its textual representation


value

public static int value(java.lang.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.