1 /* 2 * Copyright 2001-2008 The Apache Software Foundation. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 * 16 */ 17 18 19 package org.w3._2000._09.xmldsig_; 20 21 import javax.xml.bind.annotation.XmlAccessType; 22 import javax.xml.bind.annotation.XmlAccessorType; 23 import javax.xml.bind.annotation.XmlElement; 24 import javax.xml.bind.annotation.XmlType; 25 26 27 /** 28 * <p>Java class for RSAKeyValueType complex type. 29 * 30 * <p>The following schema fragment specifies the expected content contained within this class. 31 * 32 * <pre> 33 * <complexType name="RSAKeyValueType"> 34 * <complexContent> 35 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 36 * <sequence> 37 * <element name="Modulus" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> 38 * <element name="Exponent" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> 39 * </sequence> 40 * </restriction> 41 * </complexContent> 42 * </complexType> 43 * </pre> 44 * 45 * 46 */ 47 @XmlAccessorType(XmlAccessType.FIELD) 48 @XmlType(name = "RSAKeyValueType", propOrder = { 49 "modulus", 50 "exponent" 51 }) 52 public class RSAKeyValueType { 53 54 @XmlElement(name = "Modulus", required = true) 55 protected byte[] modulus; 56 @XmlElement(name = "Exponent", required = true) 57 protected byte[] exponent; 58 59 /** 60 * Gets the value of the modulus property. 61 * 62 * @return 63 * possible object is 64 * byte[] 65 */ 66 public byte[] getModulus() { 67 return modulus; 68 } 69 70 /** 71 * Sets the value of the modulus property. 72 * 73 * @param value 74 * allowed object is 75 * byte[] 76 */ 77 public void setModulus(byte[] value) { 78 this.modulus = ((byte[]) value); 79 } 80 81 /** 82 * Gets the value of the exponent property. 83 * 84 * @return 85 * possible object is 86 * byte[] 87 */ 88 public byte[] getExponent() { 89 return exponent; 90 } 91 92 /** 93 * Sets the value of the exponent property. 94 * 95 * @param value 96 * allowed object is 97 * byte[] 98 */ 99 public void setExponent(byte[] value) { 100 this.exponent = ((byte[]) value); 101 } 102 103 }