org.openmdx.base.security.pki
Class CertificateConnection

java.lang.Object
  extended by org.openmdx.base.security.pki.CertificateConnection
All Implemented Interfaces:
CertificateProvider, Connection
Direct Known Subclasses:
KeyConnection

public class CertificateConnection
extends Object
implements CertificateProvider

CertificateConnection


Constructor Summary
CertificateConnection()
           
 
Method Summary
 void close()
          Closes this connection and releases any system resources associated with it.
 String getAlias()
          Retrieve the Certificate's alias
 Certificate getCertificate()
          Retrieve this provider's Certificate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CertificateConnection

public CertificateConnection()
Method Detail

getAlias

public String getAlias()
Description copied from interface: CertificateProvider
Retrieve the Certificate's alias

Specified by:
getAlias in interface CertificateProvider
Returns:
the Certificate's alias.

getCertificate

public Certificate getCertificate()
                           throws GeneralSecurityException
Description copied from interface: CertificateProvider
Retrieve this provider's Certificate

Specified by:
getCertificate in interface CertificateProvider
Returns:
this provider's Certificate
Throws:
GeneralSecurityException

close

public void close()
Description copied from interface: Connection
Closes this connection and releases any system resources associated with it. If the connection is already closed then invoking this method has no effect.

Specified by:
close in interface Connection


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.