001: /*
002: * The contents of this file are subject to the terms
003: * of the Common Development and Distribution License
004: * (the License). You may not use this file except in
005: * compliance with the License.
006: *
007: * You can obtain a copy of the license at
008: * https://glassfish.dev.java.net/public/CDDLv1.0.html.
009: * See the License for the specific language governing
010: * permissions and limitations under the License.
011: *
012: * When distributing Covered Code, include this CDDL
013: * Header Notice in each file and include the License file
014: * at https://glassfish.dev.java.net/public/CDDLv1.0.html.
015: * If applicable, add the following below the CDDL Header,
016: * with the fields enclosed by brackets [] replaced by
017: * you own identifying information:
018: * "Portions Copyrighted [year] [name of copyright owner]"
019: *
020: * Copyright 2006 Sun Microsystems Inc. All Rights Reserved
021: */
022:
023: //
024: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b24-ea3
025: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
026: // Any modifications to this file will be lost upon recompilation of the source schema.
027: // Generated on: 2006.01.20 at 03:59:03 PM IST
028: //
029:
030: package com.sun.xml.security.core.dsig;
031:
032: import javax.xml.bind.annotation.XmlAccessType;
033: import javax.xml.bind.annotation.XmlAccessorType;
034: import javax.xml.bind.annotation.XmlElement;
035: import javax.xml.bind.annotation.XmlRootElement;
036: import javax.xml.bind.annotation.XmlType;
037:
038: /**
039: * <p>Java class for RSAKeyValueType complex type.
040: *
041: * <p>The following schema fragment specifies the expected content contained within this class.
042: *
043: * <pre>
044: * <complexType name="RSAKeyValueType">
045: * <complexContent>
046: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
047: * <sequence>
048: * <element name="Modulus" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/>
049: * <element name="Exponent" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/>
050: * </sequence>
051: * </restriction>
052: * </complexContent>
053: * </complexType>
054: * </pre>
055: *
056: *
057: */
058: @XmlRootElement(name="RSAKeyValueType")
059: @XmlAccessorType(XmlAccessType.FIELD)
060: @XmlType(name="RSAKeyValueType",propOrder={"modulus","exponent"})
061: public class RSAKeyValueType {
062:
063: @XmlElement(name="Modulus",namespace="http://www.w3.org/2000/09/xmldsig#")
064: protected byte[] modulus;
065: @XmlElement(name="Exponent",namespace="http://www.w3.org/2000/09/xmldsig#")
066: protected byte[] exponent;
067:
068: /**
069: * Gets the value of the modulus property.
070: *
071: * @return
072: * possible object is
073: * byte[]
074: */
075: public byte[] getModulus() {
076: return modulus;
077: }
078:
079: /**
080: * Sets the value of the modulus property.
081: *
082: * @param value
083: * allowed object is
084: * byte[]
085: */
086: public void setModulus(byte[] value) {
087: this .modulus = ((byte[]) value);
088: }
089:
090: /**
091: * Gets the value of the exponent property.
092: *
093: * @return
094: * possible object is
095: * byte[]
096: */
097: public byte[] getExponent() {
098: return exponent;
099: }
100:
101: /**
102: * Sets the value of the exponent property.
103: *
104: * @param value
105: * allowed object is
106: * byte[]
107: */
108: public void setExponent(byte[] value) {
109: this .exponent = ((byte[]) value);
110: }
111:
112: }
|