org.apache.rahas.impl.util
Class SignKeyHolder

java.lang.Object
  extended by org.apache.rahas.impl.util.SignKeyHolder
All Implemented Interfaces:
org.opensaml.xml.security.credential.Credential, org.opensaml.xml.security.x509.X509Credential

public class SignKeyHolder
extends java.lang.Object
implements org.opensaml.xml.security.x509.X509Credential

This class is used to store the signing credentials.


Constructor Summary
SignKeyHolder()
           
 
Method Summary
 org.opensaml.xml.security.credential.CredentialContextSet getCredentalContextSet()
           
 java.lang.Class<? extends org.opensaml.xml.security.credential.Credential> getCredentialType()
           
 java.util.Collection<java.security.cert.X509CRL> getCRLs()
           
 java.security.cert.X509Certificate getEntityCertificate()
           
 java.util.Collection<java.security.cert.X509Certificate> getEntityCertificateChain()
           
 java.lang.String getEntityId()
           
 java.security.cert.X509Certificate[] getIssuerCerts()
           
 java.security.PrivateKey getIssuerPK()
           
 java.util.Collection<java.lang.String> getKeyNames()
           
 java.security.PrivateKey getPrivateKey()
           
 java.security.PublicKey getPublicKey()
           
 javax.crypto.SecretKey getSecretKey()
           
 java.lang.String getSignatureAlgorithm()
           
 org.opensaml.xml.security.credential.UsageType getUsageType()
           
 void setIssuerCerts(java.security.cert.X509Certificate[] issuerCerts)
           
 void setIssuerPK(java.security.PrivateKey issuerPK)
           
 void setSignatureAlgorithm(java.lang.String signatureAlgorithm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SignKeyHolder

public SignKeyHolder()
Method Detail

getSignatureAlgorithm

public java.lang.String getSignatureAlgorithm()

setSignatureAlgorithm

public void setSignatureAlgorithm(java.lang.String signatureAlgorithm)

getIssuerCerts

public java.security.cert.X509Certificate[] getIssuerCerts()

setIssuerCerts

public void setIssuerCerts(java.security.cert.X509Certificate[] issuerCerts)

getIssuerPK

public java.security.PrivateKey getIssuerPK()

setIssuerPK

public void setIssuerPK(java.security.PrivateKey issuerPK)

getEntityCertificate

public java.security.cert.X509Certificate getEntityCertificate()
Specified by:
getEntityCertificate in interface org.opensaml.xml.security.x509.X509Credential

getEntityCertificateChain

public java.util.Collection<java.security.cert.X509Certificate> getEntityCertificateChain()
Specified by:
getEntityCertificateChain in interface org.opensaml.xml.security.x509.X509Credential

getCRLs

public java.util.Collection<java.security.cert.X509CRL> getCRLs()
Specified by:
getCRLs in interface org.opensaml.xml.security.x509.X509Credential

getEntityId

public java.lang.String getEntityId()
Specified by:
getEntityId in interface org.opensaml.xml.security.credential.Credential

getUsageType

public org.opensaml.xml.security.credential.UsageType getUsageType()
Specified by:
getUsageType in interface org.opensaml.xml.security.credential.Credential

getKeyNames

public java.util.Collection<java.lang.String> getKeyNames()
Specified by:
getKeyNames in interface org.opensaml.xml.security.credential.Credential

getPublicKey

public java.security.PublicKey getPublicKey()
Specified by:
getPublicKey in interface org.opensaml.xml.security.credential.Credential

getPrivateKey

public java.security.PrivateKey getPrivateKey()
Specified by:
getPrivateKey in interface org.opensaml.xml.security.credential.Credential

getSecretKey

public javax.crypto.SecretKey getSecretKey()
Specified by:
getSecretKey in interface org.opensaml.xml.security.credential.Credential

getCredentalContextSet

public org.opensaml.xml.security.credential.CredentialContextSet getCredentalContextSet()
Specified by:
getCredentalContextSet in interface org.opensaml.xml.security.credential.Credential

getCredentialType

public java.lang.Class<? extends org.opensaml.xml.security.credential.Credential> getCredentialType()
Specified by:
getCredentialType in interface org.opensaml.xml.security.credential.Credential