All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.schemas.office.x2006.encryption.impl.CTDataIntegrityImpl Maven / Gradle / Ivy

Go to download

XmlBeans generated from various supplied xsds for encryption and signing: http://msdn.microsoft.com/en-us/library/dd925810(v=office.12).aspx http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%201st%20edition%20Part%202%20(PDF).zip http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd http://uri.etsi.org/01903/v1.3.2/XAdES.xsd http://uri.etsi.org/01903/v1.4.1/XAdESv141.xsd http://dublincore.org/schemas/xmls/qdc/2003/04/02/dc.xsd http://dublincore.org/schemas/xmls/qdc/2003/04/02/dcterms.xsd http://dublincore.org/schemas/xmls/qdc/2003/04/02/dcmitype.xsd

The newest version!
/*
 * XML Type:  CT_DataIntegrity
 * Namespace: http://schemas.microsoft.com/office/2006/encryption
 * Java type: com.microsoft.schemas.office.x2006.encryption.CTDataIntegrity
 *
 * Automatically generated - do not modify.
 */
package com.microsoft.schemas.office.x2006.encryption.impl;
/**
 * An XML CT_DataIntegrity(@http://schemas.microsoft.com/office/2006/encryption).
 *
 * This is a complex type.
 */
public class CTDataIntegrityImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.microsoft.schemas.office.x2006.encryption.CTDataIntegrity
{
    
    public CTDataIntegrityImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName ENCRYPTEDHMACKEY$0 = 
        new javax.xml.namespace.QName("", "encryptedHmacKey");
    private static final javax.xml.namespace.QName ENCRYPTEDHMACVALUE$2 = 
        new javax.xml.namespace.QName("", "encryptedHmacValue");
    
    
    /**
     * Gets the "encryptedHmacKey" attribute
     */
    public byte[] getEncryptedHmacKey()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ENCRYPTEDHMACKEY$0);
            if (target == null)
            {
                return null;
            }
            return target.getByteArrayValue();
        }
    }
    
    /**
     * Gets (as xml) the "encryptedHmacKey" attribute
     */
    public org.apache.xmlbeans.XmlBase64Binary xgetEncryptedHmacKey()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlBase64Binary target = null;
            target = (org.apache.xmlbeans.XmlBase64Binary)get_store().find_attribute_user(ENCRYPTEDHMACKEY$0);
            return target;
        }
    }
    
    /**
     * Sets the "encryptedHmacKey" attribute
     */
    public void setEncryptedHmacKey(byte[] encryptedHmacKey)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ENCRYPTEDHMACKEY$0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ENCRYPTEDHMACKEY$0);
            }
            target.setByteArrayValue(encryptedHmacKey);
        }
    }
    
    /**
     * Sets (as xml) the "encryptedHmacKey" attribute
     */
    public void xsetEncryptedHmacKey(org.apache.xmlbeans.XmlBase64Binary encryptedHmacKey)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlBase64Binary target = null;
            target = (org.apache.xmlbeans.XmlBase64Binary)get_store().find_attribute_user(ENCRYPTEDHMACKEY$0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlBase64Binary)get_store().add_attribute_user(ENCRYPTEDHMACKEY$0);
            }
            target.set(encryptedHmacKey);
        }
    }
    
    /**
     * Gets the "encryptedHmacValue" attribute
     */
    public byte[] getEncryptedHmacValue()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ENCRYPTEDHMACVALUE$2);
            if (target == null)
            {
                return null;
            }
            return target.getByteArrayValue();
        }
    }
    
    /**
     * Gets (as xml) the "encryptedHmacValue" attribute
     */
    public org.apache.xmlbeans.XmlBase64Binary xgetEncryptedHmacValue()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlBase64Binary target = null;
            target = (org.apache.xmlbeans.XmlBase64Binary)get_store().find_attribute_user(ENCRYPTEDHMACVALUE$2);
            return target;
        }
    }
    
    /**
     * Sets the "encryptedHmacValue" attribute
     */
    public void setEncryptedHmacValue(byte[] encryptedHmacValue)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ENCRYPTEDHMACVALUE$2);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ENCRYPTEDHMACVALUE$2);
            }
            target.setByteArrayValue(encryptedHmacValue);
        }
    }
    
    /**
     * Sets (as xml) the "encryptedHmacValue" attribute
     */
    public void xsetEncryptedHmacValue(org.apache.xmlbeans.XmlBase64Binary encryptedHmacValue)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlBase64Binary target = null;
            target = (org.apache.xmlbeans.XmlBase64Binary)get_store().find_attribute_user(ENCRYPTEDHMACVALUE$2);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlBase64Binary)get_store().add_attribute_user(ENCRYPTEDHMACVALUE$2);
            }
            target.set(encryptedHmacValue);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy