|
Oracle Security Developer Tools Web Services Security Java API Reference 10g Release 2 (10.1.2.0.2) B15570-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.security.xmlsec.wss.util.WSSignatureParams
Deprecated. As of Version 1.0 Build F, the user is responsible for managing the signature parameters.
A specification of algorithms and keys for using with XML signature.This includes the following:
Signature parameters:
Signing keys. One of the following:
Signing key identifier. One of the following must be provided:
| Constructor Summary | |
WSSignatureParams(java.lang.String signMethod, boolean usingDecryptTranform)Deprecated. Create a new WSSignatureParams instance. |
|
WSSignatureParams(java.lang.String c14nMethod, java.lang.String signMethod, java.lang.String digestMethod, boolean usingDecryptTranform)Deprecated. Create a new WSSignatureParams instance. |
|
| Method Summary | |
java.lang.String |
getC14NMethod()Deprecated. Get the Canonicalization Algorithm. |
byte[] |
getCertId()Deprecated. Get the Certificate Identifier. |
java.lang.String |
getDigestMethod()Deprecated. Get the Digest Algorithm. |
java.lang.String |
getKeyName()Deprecated. Get the Key Name. |
PrivateKey |
getPrivateKey()Deprecated. Get the Private Key that will be used to generate a PKI signature. |
byte[] |
getSecretKey()Deprecated. Get the Secret Key that will be used to generate a HMAC based signature. |
java.lang.String |
getSignatureMethod()Deprecated. Get the Signature Algorithm. |
oracle.security.crypto.cert.X509 |
getX509Certificate()Deprecated. Get the Public Key Certificate. |
oracle.security.xmlsec.keys.X509Data |
getX509IssuerAndSerialNumber()Deprecated. Get the Certificate Issuer and Serial Number. |
void |
setCertId(byte[] certId)Deprecated. Set the Certificate Identifier. |
void |
setKeyName(java.lang.String keyName)Deprecated. Set the Key Name. |
void |
setPrivateKey(PrivateKey signingKey)Deprecated. Set the Private Key that will be used to generate a PKI signature. |
void |
setSecretKey(byte[] secretKey)Deprecated. Set the Secret Key that will be used to generate a HMAC based signature. |
void |
setX509Certificate(oracle.security.crypto.cert.X509 cert)Deprecated. Set the Public Key Certificate. |
void |
setX509IssuerAndSerialNumber(oracle.security.xmlsec.keys.X509Data iasn)Deprecated. Set the Public Key Certificate Issuer and Serial Number. |
boolean |
usingDecryptionTransform()Deprecated. Indicates if the DecryptTransform is being used. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WSSignatureParams(java.lang.String signMethod,
boolean usingDecryptTranform)
WSSignatureParams instance.signMethod - The signature algorithm.usingDecryptTranform - Set to true</true> if using the DecryptTransform.
public WSSignatureParams(java.lang.String c14nMethod,
java.lang.String signMethod,
java.lang.String digestMethod,
boolean usingDecryptTranform)
WSSignatureParams instance.c14nMethod - The canonicalization algorithm.digestMethod - The digest algorithm.signMethod - The signature algorithm.usingDecryptTranform - Set to true</true> if using the DecryptTransform.| Method Detail |
public java.lang.String getC14NMethod()
public java.lang.String getSignatureMethod()
public java.lang.String getDigestMethod()
public boolean usingDecryptionTransform()
true if the DecyrptTransform is being used, false otherwise.public void setSecretKey(byte[] secretKey)
secretKey - The key bytes.public void setPrivateKey(PrivateKey signingKey)
signingKey - The singing key.public byte[] getSecretKey()
public PrivateKey getPrivateKey()
public void setX509Certificate(oracle.security.crypto.cert.X509 cert)
cert - The X.509 certificate.public void setCertId(byte[] certId)
certId - The certificate identifier bytes.public void setKeyName(java.lang.String keyName)
keyName - The key name.public void setX509IssuerAndSerialNumber(oracle.security.xmlsec.keys.X509Data iasn)
iasn - The X.509 certificate data.public oracle.security.crypto.cert.X509 getX509Certificate()
public byte[] getCertId()
public java.lang.String getKeyName()
public oracle.security.xmlsec.keys.X509Data getX509IssuerAndSerialNumber()
|
Oracle Security Developer Tools Web Services Security Java API Reference 10g Release 2 (10.1.2.0.2) B15570-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||