com.wrq.vhi.sconfig
Class SCCertificate

java.lang.Object
  extended by com.wrq.vhi.sconfig.SCCertificate
All Implemented Interfaces:
java.io.Serializable

public class SCCertificate
extends java.lang.Object
implements java.io.Serializable

Container class for X509 certificates.

See Also:
Serialized Form

Constructor Summary
SCCertificate(java.lang.String AADSname, byte[] cert, java.lang.String fingerprint)
          Constructor
 
Method Summary
 java.lang.String getAADSName()
           
 byte[] getCert()
           
 java.lang.String getFingerprint()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCCertificate

public SCCertificate(java.lang.String AADSname,
                     byte[] cert,
                     java.lang.String fingerprint)
Constructor

Parameters:
AADSname - Name of the VHI AADS.
cert - X509 certificate data.
fingerprint - Fingerprint string returned from the VHI AADS.
Method Detail

getAADSName

public java.lang.String getAADSName()
Returns:
Name of the VHI AADS associated with this certificate.

getCert

public byte[] getCert()
Returns:
raw X509 certificate data.

getFingerprint

public java.lang.String getFingerprint()
Returns:
Fingerprint string.