public class JAXBSignatureFactory extends XMLSignatureFactory
| Modifier and Type | Method and Description |
|---|---|
JAXBContext |
getJAXBContext() |
URIDereferencer |
getURIDereferencer() |
boolean |
isFeatureSupported(String string) |
CanonicalizationMethod |
newCanonicalizationMethod(String algorithm,
C14NMethodParameterSpec c14NMethodParameterSpec)
Creates a CanonicalizationMethod with the specified parameters
|
CanonicalizationMethod |
newCanonicalizationMethod(String algorithm,
XMLStructure xMLStructure)
Creates a CanonicalizationMethod with the specified parameters
|
DigestMethod |
newDigestMethod(String algorithm,
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() |
KeyInfo |
newKeyInfo(List content) |
KeyInfo |
newKeyInfo(String id,
List content)
Creates a KeyInfo with the specified parameters
|
KeyName |
newKeyName(String name)
Creates a KeyName with the specified parameters
|
KeyValue |
newKeyValue(List content)
Creates a KeyValue with the specified parameters
|
Manifest |
newManifest(List list)
Creates a Manifest with the specified parameters
|
Manifest |
newManifest(List list,
String string)
Creates a Manifest with the specified parameters
|
PGPData |
newPGPData(List content)
Creates a PGPData with the specified parameters
|
Reference |
newReference(String uri,
DigestMethod digestMethod)
Creates a Reference with the specified URI and digest method.
|
Reference |
newReference(String string,
DigestMethod digestMethod,
List list,
Data data,
List list0,
String string0,
String string1)
Creates a Reference with the specified parameters
|
Reference |
newReference(String uri,
DigestMethod digestMethod,
List transforms,
String type,
String id)
Creates a Reference with the specified parameters
|
Reference |
newReference(String uri,
DigestMethod digestMethod,
List transforms,
String type,
String id,
byte[] digestValue)
Creates a Reference with the specified parameters
|
RetrievalMethod |
newRetrievalMethod(Transforms transforms,
String type,
String uri)
Creates a RetrievalMethod with the specified parameters
|
RSAKeyValue |
newRSAKeyValue(byte[] modulas,
byte[] exponent)
Creates a RSAKeyValue with the specified parameters
|
SignatureMethod |
newSignatureMethod(String algorithm,
SignatureMethodParameterSpec signatureMethodParameterSpec)
Creates a SignatureMethod with the specified parameters
|
SignatureProperties |
newSignatureProperties(List list,
String string)
Creates a SignatureProperties with the specified parameters
|
SignatureProperty |
newSignatureProperty(List list,
String string,
String string0)
Creates a SignatureProperty with the specified parameters
|
SignedInfo |
newSignedInfo(CanonicalizationMethod canonicalizationMethod,
SignatureMethod signatureMethod,
List references)
Creates a SignedInfo with the specified parameters
|
SignedInfo |
newSignedInfo(CanonicalizationMethod canonicalizationMethod,
SignatureMethod signatureMethod,
List references,
String id)
Creates a SignedInfo with the specified parameters
|
SPKIData |
newSPKIData(List spkiSexpAndAny)
Creates a SPKIData with the specified parameters
|
Transform |
newTransform(String algorithm,
TransformParameterSpec transformParameterSpec)
Creates a Transform with the specified parameters
|
Transform |
newTransform(String algorithm,
XMLStructure xMLStructure)
Creates a Transform with the specified parameters
|
X509Data |
newX509Data(List content)
Creates a X509Data with the specified parameters
|
X509IssuerSerial |
newX509IssuerSerial(String issuer,
BigInteger serialno)
Creates a X509IssuerSerial with the specified parameters
|
XMLObject |
newXMLObject(List content,
String id,
String mime,
String encoding)
Creates a XMLObject with the specified parameters
|
XMLSignature |
newXMLSignature(SignedInfo signedInfo,
KeyInfo keyInfo)
Creates an XMLSignature and initializes it with the contents of
the specified SignedInfo and KeyInfo objects.
|
XMLSignature |
newXMLSignature(SignedInfo signedInfo,
KeyInfo keyInfo,
List objects,
String id,
String type)
Creates an XMLSignature and initializes it with the specified parameters.
|
XMLSignature |
unmarshalXMLSignature(XMLStructure xMLStructure) |
XMLSignature |
unmarshalXMLSignature(XMLValidateContext xMLValidateContext) |
getInstance, getInstance, getInstance, getInstance, getKeyInfoFactory, getMechanismType, getProviderpublic static JAXBSignatureFactory newInstance()
public JAXBContext getJAXBContext() throws JAXBException
JAXBExceptionpublic XMLSignature newXMLSignature(SignedInfo signedInfo, KeyInfo keyInfo)
newXMLSignature in class XMLSignatureFactorysignedInfo - - signed infokeyInfo - - key info (may be null)public XMLSignature newXMLSignature(SignedInfo signedInfo, KeyInfo keyInfo, List objects, String id, String type)
newXMLSignature in class 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 Reference newReference(String uri, DigestMethod digestMethod)
newReference in class XMLSignatureFactoryuri - digestMethod - public Reference newReference(String uri, DigestMethod digestMethod, List transforms, String type, String id)
newReference in class XMLSignatureFactoryuri - digestMethod - transforms - type - id - public Reference newReference(String uri, DigestMethod digestMethod, List transforms, String type, String id, byte[] digestValue)
newReference in class XMLSignatureFactoryuri - digestMethod - transforms - type - id - digestValue - public Reference newReference(String string, DigestMethod digestMethod, List list, Data data, List list0, String string0, String string1)
newReference in class XMLSignatureFactorystring - digestMethod - list - data - list0 - string0 - string1 - public SignedInfo newSignedInfo(CanonicalizationMethod canonicalizationMethod, SignatureMethod signatureMethod, List references)
newSignedInfo in class XMLSignatureFactorycanonicalizationMethod - signatureMethod - references - public SignedInfo newSignedInfo(CanonicalizationMethod canonicalizationMethod, SignatureMethod signatureMethod, List references, String id)
newSignedInfo in class XMLSignatureFactorycanonicalizationMethod - signatureMethod - references - id - public XMLObject newXMLObject(List content, String id, String mime, String encoding)
newXMLObject in class XMLSignatureFactorycontent - id - mime - encoding - public Manifest newManifest(List list)
newManifest in class XMLSignatureFactorylist - public Manifest newManifest(List list, String string)
newManifest in class XMLSignatureFactorylist - string - public SignatureProperty newSignatureProperty(List list, String string, String string0)
newSignatureProperty in class XMLSignatureFactorylist - string - string0 - public SignatureProperties newSignatureProperties(List list, String string)
newSignatureProperties in class XMLSignatureFactorylist - string - public DigestMethod newDigestMethod(String algorithm, DigestMethodParameterSpec digestMethodParameterSpec) throws NoSuchAlgorithmException, InvalidAlgorithmParameterException
newDigestMethod in class XMLSignatureFactoryalgorithm - digestMethodParameterSpec - NoSuchAlgorithmExceptionInvalidAlgorithmParameterExceptionpublic SignatureMethod newSignatureMethod(String algorithm, SignatureMethodParameterSpec signatureMethodParameterSpec) throws NoSuchAlgorithmException, InvalidAlgorithmParameterException
newSignatureMethod in class XMLSignatureFactoryalgorithm - signatureMethodParameterSpec - NoSuchAlgorithmExceptionInvalidAlgorithmParameterExceptionpublic Transform newTransform(String algorithm, TransformParameterSpec transformParameterSpec) throws NoSuchAlgorithmException, InvalidAlgorithmParameterException
newTransform in class XMLSignatureFactoryalgorithm - transformParameterSpec - NoSuchAlgorithmExceptionInvalidAlgorithmParameterExceptionpublic Transform newTransform(String algorithm, XMLStructure xMLStructure) throws NoSuchAlgorithmException, InvalidAlgorithmParameterException
newTransform in class XMLSignatureFactoryalgorithm - xMLStructure - NoSuchAlgorithmExceptionInvalidAlgorithmParameterExceptionpublic CanonicalizationMethod newCanonicalizationMethod(String algorithm, C14NMethodParameterSpec c14NMethodParameterSpec) throws NoSuchAlgorithmException, InvalidAlgorithmParameterException
newCanonicalizationMethod in class XMLSignatureFactoryalgorithm - c14NMethodParameterSpec - NoSuchAlgorithmExceptionInvalidAlgorithmParameterExceptionpublic CanonicalizationMethod newCanonicalizationMethod(String algorithm, XMLStructure xMLStructure) throws NoSuchAlgorithmException, InvalidAlgorithmParameterException
newCanonicalizationMethod in class XMLSignatureFactoryalgorithm - xMLStructure - NoSuchAlgorithmExceptionInvalidAlgorithmParameterExceptionpublic 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(String id, List content)
id - content - public KeyName newKeyName(String name)
name - public KeyValue newKeyValue(List content)
content - public PGPData newPGPData(List content)
content - public RSAKeyValue newRSAKeyValue(byte[] modulas, byte[] exponent)
modulas - exponent - public RetrievalMethod newRetrievalMethod(Transforms transforms, String type, String uri)
transforms - type - uri - public SPKIData newSPKIData(List spkiSexpAndAny)
spkiSexpAndAny - public X509Data newX509Data(List content)
content - public X509IssuerSerial newX509IssuerSerial(String issuer, BigInteger serialno)
issuer - serialno - public XMLSignature unmarshalXMLSignature(XMLValidateContext xMLValidateContext) throws MarshalException
unmarshalXMLSignature in class XMLSignatureFactoryxMLValidateContext - MarshalExceptionpublic XMLSignature unmarshalXMLSignature(XMLStructure xMLStructure) throws MarshalException
unmarshalXMLSignature in class XMLSignatureFactoryxMLStructure - MarshalExceptionpublic boolean isFeatureSupported(String string)
isFeatureSupported in class XMLSignatureFactorystring - public URIDereferencer getURIDereferencer()
getURIDereferencer in class XMLSignatureFactoryCopyright © 2005–2018 Oracle Corporation. All rights reserved.