au.gov.nehta.vendorlibrary.common.security
Class EncryptedContainerProfileUtil

java.lang.Object
  extended by au.gov.nehta.vendorlibrary.common.security.EncryptedContainerProfileUtil

public final class EncryptedContainerProfileUtil
extends java.lang.Object


Method Summary
static org.w3c.dom.Document getDecryptedPayload(org.w3c.dom.Document encryptedPayload, javax.crypto.SecretKey sessionKey)
           
static org.w3c.dom.Document getDecryptedPayload(org.w3c.dom.Document encryptedPayload, javax.security.auth.x500.X500PrivateCredential decryptingPrivateCredential)
           
static org.w3c.dom.Document getEncryptedPayload(org.w3c.dom.Document signedDocument, javax.crypto.SecretKey sessionKey, java.util.List<java.security.cert.X509Certificate> encryptingCertificates)
           
static org.w3c.dom.Document getEncryptedPayload(org.w3c.dom.Document signedDocument, javax.crypto.SecretKey sessionKey, java.security.cert.X509Certificate encryptingCert)
           
static org.w3c.dom.Document getEncryptedPayload(org.w3c.dom.Document signedDocument, java.security.cert.X509Certificate encryptingCert)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getEncryptedPayload

public static org.w3c.dom.Document getEncryptedPayload(org.w3c.dom.Document signedDocument,
                                                       java.security.cert.X509Certificate encryptingCert)

getEncryptedPayload

public static org.w3c.dom.Document getEncryptedPayload(org.w3c.dom.Document signedDocument,
                                                       javax.crypto.SecretKey sessionKey,
                                                       java.util.List<java.security.cert.X509Certificate> encryptingCertificates)

getEncryptedPayload

public static org.w3c.dom.Document getEncryptedPayload(org.w3c.dom.Document signedDocument,
                                                       javax.crypto.SecretKey sessionKey,
                                                       java.security.cert.X509Certificate encryptingCert)

getDecryptedPayload

public static org.w3c.dom.Document getDecryptedPayload(org.w3c.dom.Document encryptedPayload,
                                                       javax.security.auth.x500.X500PrivateCredential decryptingPrivateCredential)
                                                throws au.gov.nehta.xsp.XspException
Throws:
au.gov.nehta.xsp.XspException

getDecryptedPayload

public static org.w3c.dom.Document getDecryptedPayload(org.w3c.dom.Document encryptedPayload,
                                                       javax.crypto.SecretKey sessionKey)
                                                throws au.gov.nehta.xsp.XspException
Throws:
au.gov.nehta.xsp.XspException