|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.xml.crypto.dsig.XMLSignatureFactory
com.sun.xml.ws.security.opt.crypto.jaxb.JAXBSignatureFactory
public class JAXBSignatureFactory
| Method Summary | |
|---|---|
JAXBContext |
getJAXBContext()
|
javax.xml.crypto.URIDereferencer |
getURIDereferencer()
|
boolean |
isFeatureSupported(java.lang.String string)
|
javax.xml.crypto.dsig.CanonicalizationMethod |
newCanonicalizationMethod(java.lang.String algorithm,
javax.xml.crypto.dsig.spec.C14NMethodParameterSpec c14NMethodParameterSpec)
Creates a CanonicalizationMethod with the specified parameters |
javax.xml.crypto.dsig.CanonicalizationMethod |
newCanonicalizationMethod(java.lang.String algorithm,
javax.xml.crypto.XMLStructure xMLStructure)
Creates a CanonicalizationMethod with the specified parameters |
javax.xml.crypto.dsig.DigestMethod |
newDigestMethod(java.lang.String algorithm,
javax.xml.crypto.dsig.spec.DigestMethodParameterSpec digestMethodParameterSpec)
Creates a DigestMethod with the specified parameters |
DSAKeyValue |
newDSAKeyValue(byte[] p,
byte[] q,
byte[] g,
byte[] y,
byte[] j,
byte[] seed,
byte[] pgenCounter)
Creates a DSAKeyValue with the specified parameters |
static JAXBSignatureFactory |
newInstance()
|
javax.xml.crypto.dsig.keyinfo.KeyInfo |
newKeyInfo(java.util.List content)
|
KeyInfo |
newKeyInfo(java.lang.String id,
java.util.List content)
Creates a KeyInfo with the specified parameters |
KeyName |
newKeyName(java.lang.String name)
Creates a KeyName with the specified parameters |
KeyValue |
newKeyValue(java.util.List content)
Creates a KeyValue with the specified parameters |
javax.xml.crypto.dsig.Manifest |
newManifest(java.util.List list)
Creates a Manifest with the specified parameters |
javax.xml.crypto.dsig.Manifest |
newManifest(java.util.List list,
java.lang.String string)
Creates a Manifest with the specified parameters |
PGPData |
newPGPData(java.util.List content)
Creates a PGPData with the specified parameters |
javax.xml.crypto.dsig.Reference |
newReference(java.lang.String uri,
javax.xml.crypto.dsig.DigestMethod digestMethod)
Creates a Reference with the specified URI and digest method. |
javax.xml.crypto.dsig.Reference |
newReference(java.lang.String string,
javax.xml.crypto.dsig.DigestMethod digestMethod,
java.util.List list,
javax.xml.crypto.Data data,
java.util.List list0,
java.lang.String string0,
java.lang.String string1)
Creates a Reference with the specified parameters |
javax.xml.crypto.dsig.Reference |
newReference(java.lang.String uri,
javax.xml.crypto.dsig.DigestMethod digestMethod,
java.util.List transforms,
java.lang.String type,
java.lang.String id)
Creates a Reference with the specified parameters |
javax.xml.crypto.dsig.Reference |
newReference(java.lang.String uri,
javax.xml.crypto.dsig.DigestMethod digestMethod,
java.util.List transforms,
java.lang.String type,
java.lang.String id,
byte[] digestValue)
Creates a Reference with the specified parameters |
RetrievalMethod |
newRetrievalMethod(Transforms transforms,
java.lang.String type,
java.lang.String uri)
Creates a RetrievalMethod with the specified parameters |
RSAKeyValue |
newRSAKeyValue(byte[] modulas,
byte[] exponent)
Creates a RSAKeyValue with the specified parameters |
javax.xml.crypto.dsig.SignatureMethod |
newSignatureMethod(java.lang.String algorithm,
javax.xml.crypto.dsig.spec.SignatureMethodParameterSpec signatureMethodParameterSpec)
Creates a SignatureMethod with the specified parameters |
javax.xml.crypto.dsig.SignatureProperties |
newSignatureProperties(java.util.List list,
java.lang.String string)
Creates a SignatureProperties with the specified parameters |
javax.xml.crypto.dsig.SignatureProperty |
newSignatureProperty(java.util.List list,
java.lang.String string,
java.lang.String string0)
Creates a SignatureProperty with the specified parameters |
javax.xml.crypto.dsig.SignedInfo |
newSignedInfo(javax.xml.crypto.dsig.CanonicalizationMethod canonicalizationMethod,
javax.xml.crypto.dsig.SignatureMethod signatureMethod,
java.util.List references)
Creates a SignedInfo with the specified parameters |
javax.xml.crypto.dsig.SignedInfo |
newSignedInfo(javax.xml.crypto.dsig.CanonicalizationMethod canonicalizationMethod,
javax.xml.crypto.dsig.SignatureMethod signatureMethod,
java.util.List references,
java.lang.String id)
Creates a SignedInfo with the specified parameters |
SPKIData |
newSPKIData(java.util.List spkiSexpAndAny)
Creates a SPKIData with the specified parameters |
javax.xml.crypto.dsig.Transform |
newTransform(java.lang.String algorithm,
javax.xml.crypto.dsig.spec.TransformParameterSpec transformParameterSpec)
Creates a Transform with the specified parameters |
javax.xml.crypto.dsig.Transform |
newTransform(java.lang.String algorithm,
javax.xml.crypto.XMLStructure xMLStructure)
Creates a Transform with the specified parameters |
X509Data |
newX509Data(java.util.List content)
Creates a X509Data with the specified parameters |
X509IssuerSerial |
newX509IssuerSerial(java.lang.String issuer,
java.math.BigInteger serialno)
Creates a X509IssuerSerial with the specified parameters |
javax.xml.crypto.dsig.XMLObject |
newXMLObject(java.util.List content,
java.lang.String id,
java.lang.String mime,
java.lang.String encoding)
Creates a XMLObject with the specified parameters |
javax.xml.crypto.dsig.XMLSignature |
newXMLSignature(javax.xml.crypto.dsig.SignedInfo signedInfo,
javax.xml.crypto.dsig.keyinfo.KeyInfo keyInfo)
Creates an XMLSignature and initializes it with the contents of the specified SignedInfo and KeyInfo objects. |
javax.xml.crypto.dsig.XMLSignature |
newXMLSignature(javax.xml.crypto.dsig.SignedInfo signedInfo,
javax.xml.crypto.dsig.keyinfo.KeyInfo keyInfo,
java.util.List objects,
java.lang.String id,
java.lang.String type)
Creates an XMLSignature and initializes it with the specified parameters. |
javax.xml.crypto.dsig.XMLSignature |
unmarshalXMLSignature(javax.xml.crypto.XMLStructure xMLStructure)
|
javax.xml.crypto.dsig.XMLSignature |
unmarshalXMLSignature(javax.xml.crypto.dsig.XMLValidateContext xMLValidateContext)
|
| Methods inherited from class javax.xml.crypto.dsig.XMLSignatureFactory |
|---|
getInstance, getInstance, getInstance, getInstance, getKeyInfoFactory, getMechanismType, getProvider |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static JAXBSignatureFactory newInstance()
public JAXBContext getJAXBContext()
throws JAXBException
JAXBException
public javax.xml.crypto.dsig.XMLSignature newXMLSignature(javax.xml.crypto.dsig.SignedInfo signedInfo,
javax.xml.crypto.dsig.keyinfo.KeyInfo keyInfo)
newXMLSignature in class javax.xml.crypto.dsig.XMLSignatureFactorysignedInfo - - signed infokeyInfo - - key info (may be null)
public javax.xml.crypto.dsig.XMLSignature newXMLSignature(javax.xml.crypto.dsig.SignedInfo signedInfo,
javax.xml.crypto.dsig.keyinfo.KeyInfo keyInfo,
java.util.List objects,
java.lang.String id,
java.lang.String type)
newXMLSignature in class javax.xml.crypto.dsig.XMLSignatureFactorysignedInfo - - the Signed InfokeyInfo - - ths key info (may be null)objects - - a list of XMLObjects (may be null)id - - the id (may be null)type - - the type (may be null)
public javax.xml.crypto.dsig.Reference newReference(java.lang.String uri,
javax.xml.crypto.dsig.DigestMethod digestMethod)
newReference in class javax.xml.crypto.dsig.XMLSignatureFactoryuri - digestMethod -
public javax.xml.crypto.dsig.Reference newReference(java.lang.String uri,
javax.xml.crypto.dsig.DigestMethod digestMethod,
java.util.List transforms,
java.lang.String type,
java.lang.String id)
newReference in class javax.xml.crypto.dsig.XMLSignatureFactoryuri - digestMethod - transforms - type - id -
public javax.xml.crypto.dsig.Reference newReference(java.lang.String uri,
javax.xml.crypto.dsig.DigestMethod digestMethod,
java.util.List transforms,
java.lang.String type,
java.lang.String id,
byte[] digestValue)
newReference in class javax.xml.crypto.dsig.XMLSignatureFactoryuri - digestMethod - transforms - type - id - digestValue -
public javax.xml.crypto.dsig.Reference newReference(java.lang.String string,
javax.xml.crypto.dsig.DigestMethod digestMethod,
java.util.List list,
javax.xml.crypto.Data data,
java.util.List list0,
java.lang.String string0,
java.lang.String string1)
newReference in class javax.xml.crypto.dsig.XMLSignatureFactorystring - digestMethod - list - data - list0 - string0 - string1 -
public javax.xml.crypto.dsig.SignedInfo newSignedInfo(javax.xml.crypto.dsig.CanonicalizationMethod canonicalizationMethod,
javax.xml.crypto.dsig.SignatureMethod signatureMethod,
java.util.List references)
newSignedInfo in class javax.xml.crypto.dsig.XMLSignatureFactorycanonicalizationMethod - signatureMethod - references -
public javax.xml.crypto.dsig.SignedInfo newSignedInfo(javax.xml.crypto.dsig.CanonicalizationMethod canonicalizationMethod,
javax.xml.crypto.dsig.SignatureMethod signatureMethod,
java.util.List references,
java.lang.String id)
newSignedInfo in class javax.xml.crypto.dsig.XMLSignatureFactorycanonicalizationMethod - signatureMethod - references - id -
public javax.xml.crypto.dsig.XMLObject newXMLObject(java.util.List content,
java.lang.String id,
java.lang.String mime,
java.lang.String encoding)
newXMLObject in class javax.xml.crypto.dsig.XMLSignatureFactorycontent - id - mime - encoding -
public javax.xml.crypto.dsig.Manifest newManifest(java.util.List list)
newManifest in class javax.xml.crypto.dsig.XMLSignatureFactorylist -
public javax.xml.crypto.dsig.Manifest newManifest(java.util.List list,
java.lang.String string)
newManifest in class javax.xml.crypto.dsig.XMLSignatureFactorylist - string -
public javax.xml.crypto.dsig.SignatureProperty newSignatureProperty(java.util.List list,
java.lang.String string,
java.lang.String string0)
newSignatureProperty in class javax.xml.crypto.dsig.XMLSignatureFactorylist - string - string0 -
public javax.xml.crypto.dsig.SignatureProperties newSignatureProperties(java.util.List list,
java.lang.String string)
newSignatureProperties in class javax.xml.crypto.dsig.XMLSignatureFactorylist - string -
public javax.xml.crypto.dsig.DigestMethod newDigestMethod(java.lang.String algorithm,
javax.xml.crypto.dsig.spec.DigestMethodParameterSpec digestMethodParameterSpec)
throws java.security.NoSuchAlgorithmException,
java.security.InvalidAlgorithmParameterException
newDigestMethod in class javax.xml.crypto.dsig.XMLSignatureFactoryalgorithm - digestMethodParameterSpec -
java.security.NoSuchAlgorithmException
java.security.InvalidAlgorithmParameterException
public javax.xml.crypto.dsig.SignatureMethod newSignatureMethod(java.lang.String algorithm,
javax.xml.crypto.dsig.spec.SignatureMethodParameterSpec signatureMethodParameterSpec)
throws java.security.NoSuchAlgorithmException,
java.security.InvalidAlgorithmParameterException
newSignatureMethod in class javax.xml.crypto.dsig.XMLSignatureFactoryalgorithm - signatureMethodParameterSpec -
java.security.NoSuchAlgorithmException
java.security.InvalidAlgorithmParameterException
public javax.xml.crypto.dsig.Transform newTransform(java.lang.String algorithm,
javax.xml.crypto.dsig.spec.TransformParameterSpec transformParameterSpec)
throws java.security.NoSuchAlgorithmException,
java.security.InvalidAlgorithmParameterException
newTransform in class javax.xml.crypto.dsig.XMLSignatureFactoryalgorithm - transformParameterSpec -
java.security.NoSuchAlgorithmException
java.security.InvalidAlgorithmParameterException
public javax.xml.crypto.dsig.Transform newTransform(java.lang.String algorithm,
javax.xml.crypto.XMLStructure xMLStructure)
throws java.security.NoSuchAlgorithmException,
java.security.InvalidAlgorithmParameterException
newTransform in class javax.xml.crypto.dsig.XMLSignatureFactoryalgorithm - xMLStructure -
java.security.NoSuchAlgorithmException
java.security.InvalidAlgorithmParameterException
public javax.xml.crypto.dsig.CanonicalizationMethod newCanonicalizationMethod(java.lang.String algorithm,
javax.xml.crypto.dsig.spec.C14NMethodParameterSpec c14NMethodParameterSpec)
throws java.security.NoSuchAlgorithmException,
java.security.InvalidAlgorithmParameterException
newCanonicalizationMethod in class javax.xml.crypto.dsig.XMLSignatureFactoryalgorithm - c14NMethodParameterSpec -
java.security.NoSuchAlgorithmException
java.security.InvalidAlgorithmParameterException
public javax.xml.crypto.dsig.CanonicalizationMethod newCanonicalizationMethod(java.lang.String algorithm,
javax.xml.crypto.XMLStructure xMLStructure)
throws java.security.NoSuchAlgorithmException,
java.security.InvalidAlgorithmParameterException
newCanonicalizationMethod in class javax.xml.crypto.dsig.XMLSignatureFactoryalgorithm - xMLStructure -
java.security.NoSuchAlgorithmException
java.security.InvalidAlgorithmParameterExceptionpublic javax.xml.crypto.dsig.keyinfo.KeyInfo newKeyInfo(java.util.List content)
public DSAKeyValue newDSAKeyValue(byte[] p,
byte[] q,
byte[] g,
byte[] y,
byte[] j,
byte[] seed,
byte[] pgenCounter)
p - q - g - y - j - seed - pgenCounter -
public KeyInfo newKeyInfo(java.lang.String id,
java.util.List content)
id - content -
public KeyName newKeyName(java.lang.String name)
name -
public KeyValue newKeyValue(java.util.List content)
content -
public PGPData newPGPData(java.util.List content)
content -
public RSAKeyValue newRSAKeyValue(byte[] modulas,
byte[] exponent)
modulas - exponent -
public RetrievalMethod newRetrievalMethod(Transforms transforms,
java.lang.String type,
java.lang.String uri)
transforms - type - uri -
public SPKIData newSPKIData(java.util.List spkiSexpAndAny)
spkiSexpAndAny -
public X509Data newX509Data(java.util.List content)
content -
public X509IssuerSerial newX509IssuerSerial(java.lang.String issuer,
java.math.BigInteger serialno)
issuer - serialno -
public javax.xml.crypto.dsig.XMLSignature unmarshalXMLSignature(javax.xml.crypto.dsig.XMLValidateContext xMLValidateContext)
throws javax.xml.crypto.MarshalException
unmarshalXMLSignature in class javax.xml.crypto.dsig.XMLSignatureFactoryxMLValidateContext -
javax.xml.crypto.MarshalException
public javax.xml.crypto.dsig.XMLSignature unmarshalXMLSignature(javax.xml.crypto.XMLStructure xMLStructure)
throws javax.xml.crypto.MarshalException
unmarshalXMLSignature in class javax.xml.crypto.dsig.XMLSignatureFactoryxMLStructure -
javax.xml.crypto.MarshalExceptionpublic boolean isFeatureSupported(java.lang.String string)
isFeatureSupported in class javax.xml.crypto.dsig.XMLSignatureFactorystring -
public javax.xml.crypto.URIDereferencer getURIDereferencer()
getURIDereferencer in class javax.xml.crypto.dsig.XMLSignatureFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||