Module org.apache.santuario.xmlsec
Class ObjectFactory
java.lang.Object
org.apache.xml.security.binding.xmlenc.ObjectFactory
This object contains factory methods for each
Java content interface and Java element interface
generated in the org.apache.xml.security.binding.xmlenc package.
An ObjectFactory allows you to programmatically construct new instances of the Java representation for XML content. The Java representation of XML content can consist of schema derived interfaces and classes representing the binding of schema type definitions, element declarations and model groups. Factory methods for each of these are provided in this class.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final QNameprivate static final QNameprivate static final QNameprivate static final QNameprivate static final QNameprivate static final QNameprivate static final QNameprivate static final QNameprivate static final QNameprivate static final QNameprivate static final QNameprivate static final QNameprivate static final QNameprivate static final QNameprivate static final QName -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.xml.security.binding.xmlenc -
Method Summary
Modifier and TypeMethodDescriptionjakarta.xml.bind.JAXBElement<AgreementMethodType>Create an instance ofAgreementMethodTypejakarta.xml.bind.JAXBElement<byte[]>createAgreementMethodTypeKANonce(byte[] value) Create an instance ofJAXBElement<byte>jakarta.xml.bind.JAXBElement<KeyInfoType>jakarta.xml.bind.JAXBElement<KeyInfoType>jakarta.xml.bind.JAXBElement<CipherDataType>createCipherData(CipherDataType value) Create an instance ofCipherDataTypejakarta.xml.bind.JAXBElement<CipherReferenceType>Create an instance ofCipherReferenceTypejakarta.xml.bind.JAXBElement<CipherValueType>createCipherValue(CipherValueType value) Create an instance ofCipherValueTypejakarta.xml.bind.JAXBElement<EncryptedDataType>Create an instance ofEncryptedDataTypejakarta.xml.bind.JAXBElement<EncryptedKeyType>Create an instance ofEncryptedKeyTypeCreate an instance ofEncryptionMethodTypejakarta.xml.bind.JAXBElement<BigInteger>jakarta.xml.bind.JAXBElement<byte[]>createEncryptionMethodTypeOAEPparams(byte[] value) Create an instance ofJAXBElement<byte>jakarta.xml.bind.JAXBElement<EncryptionPropertiesType>Create an instance ofEncryptionPropertiesTypejakarta.xml.bind.JAXBElement<EncryptionPropertyType>Create an instance ofEncryptionPropertyTypeCreate an instance ofReferenceListjakarta.xml.bind.JAXBElement<ReferenceType>jakarta.xml.bind.JAXBElement<ReferenceType>Create an instance ofReferenceTypeCreate an instance ofTransformsType
-
Field Details
-
_CipherData_QNAME
-
_CipherValue_QNAME
-
_CipherReference_QNAME
-
_EncryptedData_QNAME
-
_EncryptedKey_QNAME
-
_AgreementMethod_QNAME
-
_EncryptionProperties_QNAME
-
_EncryptionProperty_QNAME
-
_ReferenceListDataReference_QNAME
-
_ReferenceListKeyReference_QNAME
-
_EncryptionMethodTypeKeySize_QNAME
-
_EncryptionMethodTypeOAEPparams_QNAME
-
_AgreementMethodTypeKANonce_QNAME
-
_AgreementMethodTypeOriginatorKeyInfo_QNAME
-
_AgreementMethodTypeRecipientKeyInfo_QNAME
-
-
Constructor Details
-
ObjectFactory
public ObjectFactory()Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.xml.security.binding.xmlenc
-
-
Method Details
-
createCipherDataType
Create an instance ofCipherDataType- Returns:
- the new instance of
CipherDataType
-
createCipherValueType
Create an instance ofCipherValueType- Returns:
- the new instance of
CipherValueType
-
createCipherReferenceType
Create an instance ofCipherReferenceType- Returns:
- the new instance of
CipherReferenceType
-
createEncryptedDataType
Create an instance ofEncryptedDataType- Returns:
- the new instance of
EncryptedDataType
-
createEncryptedKeyType
Create an instance ofEncryptedKeyType- Returns:
- the new instance of
EncryptedKeyType
-
createAgreementMethodType
Create an instance ofAgreementMethodType- Returns:
- the new instance of
AgreementMethodType
-
createReferenceList
Create an instance ofReferenceList- Returns:
- the new instance of
ReferenceList
-
createReferenceType
Create an instance ofReferenceType- Returns:
- the new instance of
ReferenceType
-
createEncryptionPropertiesType
Create an instance ofEncryptionPropertiesType- Returns:
- the new instance of
EncryptionPropertiesType
-
createEncryptionPropertyType
Create an instance ofEncryptionPropertyType- Returns:
- the new instance of
EncryptionPropertyType
-
createEncryptionMethodType
Create an instance ofEncryptionMethodType- Returns:
- the new instance of
EncryptionMethodType
-
createTransformsType
Create an instance ofTransformsType- Returns:
- the new instance of
TransformsType
-
createCipherData
- Parameters:
value- Java instance representing xml element's value.- Returns:
- the new instance of
JAXBElement<CipherDataType>
-
createCipherValue
- Parameters:
value- Java instance representing xml element's value.- Returns:
- the new instance of
JAXBElement<CipherValueType>
-
createCipherReference
public jakarta.xml.bind.JAXBElement<CipherReferenceType> createCipherReference(CipherReferenceType value) - Parameters:
value- Java instance representing xml element's value.- Returns:
- the new instance of
JAXBElement<CipherReferenceType>
-
createEncryptedData
- Parameters:
value- Java instance representing xml element's value.- Returns:
- the new instance of
JAXBElement<EncryptedDataType>
-
createEncryptedKey
- Parameters:
value- Java instance representing xml element's value.- Returns:
- the new instance of
JAXBElement<EncryptedKeyType>
-
createAgreementMethod
public jakarta.xml.bind.JAXBElement<AgreementMethodType> createAgreementMethod(AgreementMethodType value) - Parameters:
value- Java instance representing xml element's value.- Returns:
- the new instance of
JAXBElement<AgreementMethodType>
-
createEncryptionProperties
public jakarta.xml.bind.JAXBElement<EncryptionPropertiesType> createEncryptionProperties(EncryptionPropertiesType value) - Parameters:
value- Java instance representing xml element's value.- Returns:
- the new instance of
JAXBElement<EncryptionPropertiesType>
-
createEncryptionProperty
public jakarta.xml.bind.JAXBElement<EncryptionPropertyType> createEncryptionProperty(EncryptionPropertyType value) - Parameters:
value- Java instance representing xml element's value.- Returns:
- the new instance of
JAXBElement<EncryptionPropertyType>
-
createReferenceListDataReference
public jakarta.xml.bind.JAXBElement<ReferenceType> createReferenceListDataReference(ReferenceType value) - Parameters:
value- Java instance representing xml element's value.- Returns:
- the new instance of
JAXBElement<ReferenceType>
-
createReferenceListKeyReference
public jakarta.xml.bind.JAXBElement<ReferenceType> createReferenceListKeyReference(ReferenceType value) - Parameters:
value- Java instance representing xml element's value.- Returns:
- the new instance of
JAXBElement<ReferenceType>
-
createEncryptionMethodTypeKeySize
- Parameters:
value- Java instance representing xml element's value.- Returns:
- the new instance of
JAXBElement<BigInteger>
-
createEncryptionMethodTypeOAEPparams
public jakarta.xml.bind.JAXBElement<byte[]> createEncryptionMethodTypeOAEPparams(byte[] value) Create an instance ofJAXBElement<byte>- Parameters:
value- Java instance representing xml element's value.- Returns:
- the new instance of
JAXBElement<byte>
-
createAgreementMethodTypeKANonce
public jakarta.xml.bind.JAXBElement<byte[]> createAgreementMethodTypeKANonce(byte[] value) Create an instance ofJAXBElement<byte>- Parameters:
value- Java instance representing xml element's value.- Returns:
- the new instance of
JAXBElement<byte>
-
createAgreementMethodTypeOriginatorKeyInfo
public jakarta.xml.bind.JAXBElement<KeyInfoType> createAgreementMethodTypeOriginatorKeyInfo(KeyInfoType value) - Parameters:
value- Java instance representing xml element's value.- Returns:
- the new instance of
JAXBElement<KeyInfoType>
-
createAgreementMethodTypeRecipientKeyInfo
public jakarta.xml.bind.JAXBElement<KeyInfoType> createAgreementMethodTypeRecipientKeyInfo(KeyInfoType value) - Parameters:
value- Java instance representing xml element's value.- Returns:
- the new instance of
JAXBElement<KeyInfoType>
-