org.hyperic.hq.auth.shared
Class CertificateDTO
java.lang.Object
org.hyperic.hq.auth.shared.CertificateDTO
- All Implemented Interfaces:
- java.io.Serializable
public class CertificateDTO
- extends java.lang.Object
- implements java.io.Serializable
The CertificateDTO class is a simple class for passing around Certificate
information from the server to the client. For now this only contains the
PEM encoded certificate and key, but more entries can be added at a later
date
- See Also:
- Serialized Form
Constructor Summary |
CertificateDTO(java.lang.String cert,
java.lang.String key)
General constructor used for initializing the CertificateDTO object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CertificateDTO
public CertificateDTO(java.lang.String cert,
java.lang.String key)
- General constructor used for initializing the CertificateDTO object
- Parameters:
cert
- The PEM encoded certificatekey
- The PEM encoded key
getCertificate
public java.lang.String getCertificate()
- Returns:
- The PEM encoded certificate
getPrivateKey
public java.lang.String getPrivateKey()
- Returns:
- The PEM encoded private key
Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.