Class SignKeyHolder

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

public class SignKeyHolder extends Object implements org.opensaml.security.x509.X509Credential
This class is used to store the signing credentials.
  • Constructor Details

    • SignKeyHolder

      public SignKeyHolder()
  • Method Details

    • getSignatureAlgorithm

      public String getSignatureAlgorithm()
    • setSignatureAlgorithm

      public void setSignatureAlgorithm(String signatureAlgorithm)
    • getIssuerCerts

      public X509Certificate[] getIssuerCerts()
    • setIssuerCerts

      public void setIssuerCerts(X509Certificate[] issuerCerts)
    • getIssuerPK

      public PrivateKey getIssuerPK()
    • setIssuerPK

      public void setIssuerPK(PrivateKey issuerPK)
    • getEntityCertificate

      public X509Certificate getEntityCertificate()
      Specified by:
      getEntityCertificate in interface org.opensaml.security.x509.X509Credential
    • getEntityCertificateChain

      public Collection<X509Certificate> getEntityCertificateChain()
      Specified by:
      getEntityCertificateChain in interface org.opensaml.security.x509.X509Credential
    • getCRLs

      public Collection<X509CRL> getCRLs()
      Specified by:
      getCRLs in interface org.opensaml.security.x509.X509Credential
    • getEntityId

      public String getEntityId()
      Specified by:
      getEntityId in interface org.opensaml.security.credential.Credential
    • getUsageType

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

      public Collection<String> getKeyNames()
      Specified by:
      getKeyNames in interface org.opensaml.security.credential.Credential
    • getPublicKey

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

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

      public SecretKey getSecretKey()
      Specified by:
      getSecretKey in interface org.opensaml.security.credential.Credential
    • getCredentialContextSet

      public org.opensaml.security.credential.CredentialContextSet getCredentialContextSet()
      Specified by:
      getCredentialContextSet in interface org.opensaml.security.credential.Credential
    • getCredentialType

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