org.globus.ogsa.impl.security.authentication
Class EncryptionGSS
java.lang.Object
org.apache.xml.security.algorithms.encryption.EncryptionMethodSpi
org.globus.ogsa.impl.security.authentication.EncryptionGSS
- public class EncryptionGSS
- extends org.apache.xml.security.algorithms.encryption.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.
Field Summary |
static java.lang.String |
URI
Field _URI |
Fields inherited from class org.apache.xml.security.algorithms.encryption.EncryptionMethodSpi |
ALGOTYPE_BLOCK_ENCRYPTION, ALGOTYPE_KEY_AGREEMENT, ALGOTYPE_KEY_TRANSPORT, ALGOTYPE_STREAM_ENCRYPTION, ALGOTYPE_SYMMETRIC_KEY_WRAP |
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()
|
org.apache.xml.security.algorithms.encryption.params.EncryptionMethodParams |
engineInit(org.w3c.dom.Document doc,
org.apache.xml.security.algorithms.encryption.params.EncryptionMethodParams params)
|
org.apache.xml.security.algorithms.encryption.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 org.apache.xml.security.algorithms.encryption.EncryptionMethodSpi |
getImplementedAlgorithmJCE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URI
public static final java.lang.String URI
- Field _URI
- See Also:
- Constant Field Values
EncryptionGSS
public EncryptionGSS()
throws org.apache.xml.security.exceptions.XMLSecurityException
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 org.apache.xml.security.algorithms.encryption.params.EncryptionMethodParams engineInit(org.w3c.dom.Document doc,
org.apache.xml.security.algorithms.encryption.params.EncryptionMethodParams params)
throws org.apache.xml.security.exceptions.XMLSecurityException
- Throws:
org.apache.xml.security.exceptions.XMLSecurityException
engineInit
public org.apache.xml.security.algorithms.encryption.params.EncryptionMethodParams engineInit(org.w3c.dom.Element encryptionMethodElem)
throws org.apache.xml.security.exceptions.XMLSecurityException
- Throws:
org.apache.xml.security.exceptions.XMLSecurityException
Copyright ? 1999 University of Chicago and The University of Southern California. All Rights Reserved.