Class Certificate
package: src.net.jxta.impl.protocol
public class Certificate
A lightweight container for X.509 Certificates. *

<xs:element name="jxta:cert" type="Certificate"/>

<xs:complexType name="Certificate" type="xs:string">
<xs:element name="Issuer" type="jxta:cert" minOccurs="0" />
</xs:complexType>
Field Summary
private List
private final static transient Logger
   Log4J Logger
 
Constructor Summary
public
public
Certificate(Element root)
Method Summary
public X509Certificate
public Document
getDocument(MimeMediaType encodeAs)
   Creates a document out of the message.
 
public static String
   returns the Message type.
 
protected void
initialize(Element root)
   Initializes the message from a document.
 
public void
setCertificates(X509Certificate certs)
public void
setCertificates(List certs)
Field Detail
certs
private List certs = null

LOG
private final static transient Logger LOG = Logger.getLogger( Certificate.class.getName() )
Log4J Logger
transient
Constructor Detail
Certificate
public Certificate()

Certificate
public Certificate(Element root)
Method Detail
getCertificates
public X509Certificate getCertificates()

getDocument
public Document getDocument(MimeMediaType encodeAs)
Creates a document out of the message.
Parameters:
encodeAs The document representation format requested.
Return:
the message as a document.

getMessageType
public static String getMessageType()
returns the Message type. This will match the XML doctype declaration.
Return:
a string

initialize
protected void initialize(Element root)
Initializes the message from a document.

setCertificates
public void setCertificates(X509Certificate certs)

setCertificates
public void setCertificates(List certs)