at.gv.egovernment.moa.spss.server.iaik.pki
Class PKIProfileImpl

java.lang.Object
  |
  +--at.gv.egovernment.moa.spss.server.iaik.pki.PKIProfileImpl
All Implemented Interfaces:
iaik.pki.PKIProfile

public class PKIProfileImpl
extends Object
implements iaik.pki.PKIProfile

Implementation of the PKIProfile interface containing information needed for certificate path validation. It uses configuration data from the MOA configuration.

Version:
$Id$
Author:
Patrick Peck

Constructor Summary
PKIProfileImpl(ConfigurationProvider config, String trustProfileID)
          Create a new PKIProfileImpl.
 
Method Summary
 boolean autoAddCertificates()
           
 iaik.pki.revocation.RevocationProfile getRevocationProfile()
           
 iaik.pki.store.truststore.TrustStoreProfile getTrustStoreProfile()
           
 iaik.pki.pathvalidation.ValidationProfile getValidationProfile()
           
protected  void setRevocationProfile(iaik.pki.revocation.RevocationProfile revocationProfile)
          Sets the RevocationProfile.
protected  void setTrustStoreProfile(iaik.pki.store.truststore.TrustStoreProfile trustStoreProfile)
          Sets the TrustStoreProfile.
protected  void setValidationProfile(iaik.pki.pathvalidation.ValidationProfile validationProfile)
          Sets the ValidationProfile.
 boolean useAuthorityInfoAccess()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PKIProfileImpl

public PKIProfileImpl(ConfigurationProvider config,
                      String trustProfileID)
               throws MOAApplicationException
Create a new PKIProfileImpl.
Parameters:
config - The MOA configuration providing configuration data about certificate path validation.
trustProfileID - The trust profile ID denoting the location of the trust store.
Throws:
MOAApplicationException - An error occurred building the profile.
Method Detail

autoAddCertificates

public boolean autoAddCertificates()
Specified by:
autoAddCertificates in interface iaik.pki.PKIProfile
See Also:
PKIProfile.autoAddCertificates()

getRevocationProfile

public iaik.pki.revocation.RevocationProfile getRevocationProfile()
Specified by:
getRevocationProfile in interface iaik.pki.PKIProfile
See Also:
PKIProfile.getRevocationProfile()

setRevocationProfile

protected void setRevocationProfile(iaik.pki.revocation.RevocationProfile revocationProfile)
Sets the RevocationProfile.
Parameters:
revocationProfile - The RevocationProfile used for revocation checking.

getTrustStoreProfile

public iaik.pki.store.truststore.TrustStoreProfile getTrustStoreProfile()
Specified by:
getTrustStoreProfile in interface iaik.pki.PKIProfile
See Also:
PKIProfile.getTrustStoreProfile()

setTrustStoreProfile

protected void setTrustStoreProfile(iaik.pki.store.truststore.TrustStoreProfile trustStoreProfile)
Sets the TrustStoreProfile.
Parameters:
trustStoreProfile - The TrustStoreProfile.

getValidationProfile

public iaik.pki.pathvalidation.ValidationProfile getValidationProfile()
Specified by:
getValidationProfile in interface iaik.pki.PKIProfile
See Also:
PKIProfile.getValidationProfile()

setValidationProfile

protected void setValidationProfile(iaik.pki.pathvalidation.ValidationProfile validationProfile)
Sets the ValidationProfile.
Parameters:
validationProfile - The ValidationProfile to set.

useAuthorityInfoAccess

public boolean useAuthorityInfoAccess()
Specified by:
useAuthorityInfoAccess in interface iaik.pki.PKIProfile
See Also:
PKIProfile.useAuthorityInfoAccess()