org.eclipse.higgins.sts.spi
Interface IXMLSecurityExtension

All Superinterfaces:
org.eclipse.higgins.configuration.api.IConfigurableComponent

public interface IXMLSecurityExtension
extends org.eclipse.higgins.configuration.api.IConfigurableComponent

Author:
mikemci

Method Summary
 org.eclipse.higgins.sts.api.IElement DecryptElement(org.eclipse.higgins.sts.api.IElement elemEncryptedData, PrivateKey privateKey)
           
 org.eclipse.higgins.sts.api.IElement EncryptElement(String strTagNameOfElementToEncrypt, org.eclipse.higgins.sts.api.IElement elemParent, String strCertificate)
           
 String SHA1Digest(byte[] byteData)
           
 org.eclipse.higgins.sts.api.IElement SignDetached(String[] strElementIdsToSign, org.eclipse.higgins.sts.api.IElement elemParent, PrivateKey privateKey, PublicKey publicKey, String strIDOfToken, org.eclipse.higgins.sts.api.IConstants constants)
           
 org.eclipse.higgins.sts.api.IElement SignEnveloped(String strTagNameOfElementsToSign, org.eclipse.higgins.sts.api.IElement elemParent, String strReferenceIdentifier, PrivateKey privateKey, PublicKey publicKey, org.eclipse.higgins.sts.api.IConstants constants)
           
 org.eclipse.higgins.sts.api.IElement SignEnveloping(org.eclipse.higgins.sts.api.IElement elemObject, String strObjectId, X509Certificate x509Certificate, PrivateKey privateKey)
           
 boolean VerifyEnveloped(org.eclipse.higgins.sts.api.IElement elemSignedElement, org.eclipse.higgins.sts.api.IConstants constants)
           
 
Methods inherited from interface org.eclipse.higgins.configuration.api.IConfigurableComponent
configure
 

Method Detail

SHA1Digest

public String SHA1Digest(byte[] byteData)
                  throws Exception
Throws:
Exception

SignDetached

public org.eclipse.higgins.sts.api.IElement SignDetached(String[] strElementIdsToSign,
                                                         org.eclipse.higgins.sts.api.IElement elemParent,
                                                         PrivateKey privateKey,
                                                         PublicKey publicKey,
                                                         String strIDOfToken,
                                                         org.eclipse.higgins.sts.api.IConstants constants)
                                                  throws Exception
Throws:
Exception

SignEnveloped

public org.eclipse.higgins.sts.api.IElement SignEnveloped(String strTagNameOfElementsToSign,
                                                          org.eclipse.higgins.sts.api.IElement elemParent,
                                                          String strReferenceIdentifier,
                                                          PrivateKey privateKey,
                                                          PublicKey publicKey,
                                                          org.eclipse.higgins.sts.api.IConstants constants)
                                                   throws Exception
Throws:
Exception

SignEnveloping

public org.eclipse.higgins.sts.api.IElement SignEnveloping(org.eclipse.higgins.sts.api.IElement elemObject,
                                                           String strObjectId,
                                                           X509Certificate x509Certificate,
                                                           PrivateKey privateKey)
                                                    throws Exception
Throws:
Exception

VerifyEnveloped

public boolean VerifyEnveloped(org.eclipse.higgins.sts.api.IElement elemSignedElement,
                               org.eclipse.higgins.sts.api.IConstants constants)
                        throws Exception
Throws:
Exception

EncryptElement

public org.eclipse.higgins.sts.api.IElement EncryptElement(String strTagNameOfElementToEncrypt,
                                                           org.eclipse.higgins.sts.api.IElement elemParent,
                                                           String strCertificate)
                                                    throws Exception
Throws:
Exception

DecryptElement

public org.eclipse.higgins.sts.api.IElement DecryptElement(org.eclipse.higgins.sts.api.IElement elemEncryptedData,
                                                           PrivateKey privateKey)
                                                    throws Exception
Throws:
Exception