org.globus.ogsa.impl.security.authentication
Class EncryptionGSS

java.lang.Object
  extended byEncryptionMethodSpi
      extended byorg.globus.ogsa.impl.security.authentication.EncryptionGSS

public class EncryptionGSS
extends EncryptionMethodSpi

This is a dummy class so that the xml-security library recognizes "http://www.globus.org/2002/04/xmlenc#gssapi-enc" as a encryption algorithm. This class does not implement any of its methods.

See Also:
Serialized Form

Field Summary
static java.lang.String URI
          Field _URI
 
Constructor Summary
EncryptionGSS()
           
 
Method Summary
 byte[] engineDecrypt(byte[] ciphertextBytes, java.security.Key contentKey)
           
 byte[] engineEncrypt(byte[] plaintextBytes, java.security.Key contentKey)
           
 byte[] engineEncrypt(byte[] plaintextBytes, java.security.Key contentKey, byte[] IV)
           
 int engineGetBlockSize()
           
 int engineGetIvLength()
           
 EncryptionMethodParams engineInit(org.w3c.dom.Document doc, EncryptionMethodParams params)
           
 EncryptionMethodParams engineInit(org.w3c.dom.Element encryptionMethodElem)
           
 java.security.Key engineUnwrap(byte[] wrappedKey, java.security.Key wrapKey, java.lang.String wrappedKeyAlgoURI)
           
 byte[] engineWrap(java.security.Key contentKey, java.security.Key wrapKey)
           
 byte[] engineWrap(java.security.Key contentKey, java.security.Key wrapKey, byte[] IV)
           
 int getImplementedAlgorithmType()
          Method getImplementedAlgorithmType
 java.lang.String getImplementedAlgorithmURI()
           
 boolean getRequiredProviderAvailable()
           
 java.lang.String getRequiredProviderName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

URI

public static final java.lang.String URI
Field _URI

See Also:
Constant Field Values
Constructor Detail

EncryptionGSS

public EncryptionGSS()
              throws XMLSecurityException
Method Detail

getImplementedAlgorithmType

public int getImplementedAlgorithmType()
Method getImplementedAlgorithmType


getImplementedAlgorithmURI

public java.lang.String getImplementedAlgorithmURI()

getRequiredProviderName

public java.lang.String getRequiredProviderName()

getRequiredProviderAvailable

public boolean getRequiredProviderAvailable()

engineGetBlockSize

public int engineGetBlockSize()

engineGetIvLength

public int engineGetIvLength()

engineEncrypt

public byte[] engineEncrypt(byte[] plaintextBytes,
                            java.security.Key contentKey)
                     throws org.apache.xml.security.exceptions.XMLSecurityException
Throws:
org.apache.xml.security.exceptions.XMLSecurityException

engineEncrypt

public byte[] engineEncrypt(byte[] plaintextBytes,
                            java.security.Key contentKey,
                            byte[] IV)
                     throws org.apache.xml.security.exceptions.XMLSecurityException
Throws:
org.apache.xml.security.exceptions.XMLSecurityException

engineDecrypt

public byte[] engineDecrypt(byte[] ciphertextBytes,
                            java.security.Key contentKey)
                     throws org.apache.xml.security.exceptions.XMLSecurityException
Throws:
org.apache.xml.security.exceptions.XMLSecurityException

engineWrap

public byte[] engineWrap(java.security.Key contentKey,
                         java.security.Key wrapKey)
                  throws org.apache.xml.security.exceptions.XMLSecurityException
Throws:
org.apache.xml.security.exceptions.XMLSecurityException

engineWrap

public byte[] engineWrap(java.security.Key contentKey,
                         java.security.Key wrapKey,
                         byte[] IV)
                  throws org.apache.xml.security.exceptions.XMLSecurityException
Throws:
org.apache.xml.security.exceptions.XMLSecurityException

engineUnwrap

public java.security.Key engineUnwrap(byte[] wrappedKey,
                                      java.security.Key wrapKey,
                                      java.lang.String wrappedKeyAlgoURI)
                               throws org.apache.xml.security.exceptions.XMLSecurityException
Throws:
org.apache.xml.security.exceptions.XMLSecurityException

engineInit

public EncryptionMethodParams engineInit(org.w3c.dom.Document doc,
                                         EncryptionMethodParams params)
                                  throws org.apache.xml.security.exceptions.XMLSecurityException
Throws:
org.apache.xml.security.exceptions.XMLSecurityException

engineInit

public EncryptionMethodParams engineInit(org.w3c.dom.Element encryptionMethodElem)
                                  throws org.apache.xml.security.exceptions.XMLSecurityException
Throws:
org.apache.xml.security.exceptions.XMLSecurityException