signaturevaluetype.java

来自「一个免费的CA,基于EJB平台的,老师叫我们测试,现把之共享出来让大家参考」· Java 代码 · 共 93 行

JAVA
93
字号
package org.w3._2000._09.xmldsig_;import javax.xml.bind.annotation.XmlAccessType;import javax.xml.bind.annotation.XmlAccessorType;import javax.xml.bind.annotation.XmlAttribute;import javax.xml.bind.annotation.XmlID;import javax.xml.bind.annotation.XmlSchemaType;import javax.xml.bind.annotation.XmlType;import javax.xml.bind.annotation.XmlValue;import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;/** * <p>Java class for SignatureValueType complex type. *  * <p>The following schema fragment specifies the expected content contained within this class. *  * <pre> * &lt;complexType name="SignatureValueType"> *   &lt;simpleContent> *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>base64Binary"> *       &lt;attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> *     &lt;/extension> *   &lt;/simpleContent> * &lt;/complexType> * </pre> *  *  */@XmlAccessorType(XmlAccessType.FIELD)@XmlType(name = "SignatureValueType", propOrder = {    "value"})public class SignatureValueType {    @XmlValue    protected byte[] value;    @XmlAttribute(name = "Id")    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)    @XmlID    @XmlSchemaType(name = "ID")    protected String id;    /**     * Gets the value of the value property.     *      * @return     *     possible object is     *     byte[]     */    public byte[] getValue() {        return value;    }    /**     * Sets the value of the value property.     *      * @param value     *     allowed object is     *     byte[]     */    public void setValue(byte[] value) {        this.value = ((byte[]) value);    }    /**     * Gets the value of the id property.     *      * @return     *     possible object is     *     {@link String }     *          */    public String getId() {        return id;    }    /**     * Sets the value of the id property.     *      * @param value     *     allowed object is     *     {@link String }     *          */    public void setId(String value) {        this.id = value;    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?