org.w3.xmldsig
Class RSAKeyValue

java.lang.Object
  extended by org.w3.xmldsig.RSAKeyValue
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.ToString

public class RSAKeyValue
extends Object
implements org.jvnet.jaxb2_commons.lang.ToString

Java class for RSAKeyValueType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="RSAKeyValueType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Modulus" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/>
         <element name="Exponent" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  byte[] exponent
           
protected  byte[] modulus
           
 
Constructor Summary
RSAKeyValue()
          Default no-arg constructor
RSAKeyValue(byte[] modulus, byte[] exponent)
          Fully-initialising value constructor
 
Method Summary
 StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 byte[] getExponent()
          Gets the value of the exponent property.
 byte[] getModulus()
          Gets the value of the modulus property.
 void setExponent(byte[] value)
          Sets the value of the exponent property.
 void setModulus(byte[] value)
          Sets the value of the modulus property.
 String toString()
           
 RSAKeyValue withExponent(byte[] value)
           
 RSAKeyValue withModulus(byte[] value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

modulus

protected byte[] modulus

exponent

protected byte[] exponent
Constructor Detail

RSAKeyValue

public RSAKeyValue()
Default no-arg constructor


RSAKeyValue

public RSAKeyValue(byte[] modulus,
                   byte[] exponent)
Fully-initialising value constructor

Method Detail

getModulus

public byte[] getModulus()
Gets the value of the modulus property.

Returns:
possible object is byte[]

setModulus

public void setModulus(byte[] value)
Sets the value of the modulus property.

Parameters:
value - allowed object is byte[]

getExponent

public byte[] getExponent()
Gets the value of the exponent property.

Returns:
possible object is byte[]

setExponent

public void setExponent(byte[] value)
Sets the value of the exponent property.

Parameters:
value - allowed object is byte[]

toString

public String toString()
Overrides:
toString in class Object

append

public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            StringBuilder buffer,
                            org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
append in interface org.jvnet.jaxb2_commons.lang.ToString

appendFields

public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                  StringBuilder buffer,
                                  org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString

withModulus

public RSAKeyValue withModulus(byte[] value)

withExponent

public RSAKeyValue withExponent(byte[] value)


Copyright © 2014 Digipost Open Source. All Rights Reserved.