public class RSAKeyValue
extends java.lang.Object
implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
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>
Modifier and Type | Field and Description |
---|---|
protected byte[] |
exponent |
protected byte[] |
modulus |
Constructor and Description |
---|
RSAKeyValue()
Default no-arg constructor
|
RSAKeyValue(byte[] modulus,
byte[] exponent)
Fully-initialising value constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
byte[] |
getExponent()
Gets the value of the exponent property.
|
byte[] |
getModulus()
Gets the value of the modulus property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setExponent(byte[] value)
Sets the value of the exponent property.
|
void |
setModulus(byte[] value)
Sets the value of the modulus property.
|
RSAKeyValue |
withExponent(byte[] value) |
RSAKeyValue |
withModulus(byte[] value) |
public RSAKeyValue()
public RSAKeyValue(byte[] modulus, byte[] exponent)
public byte[] getModulus()
public void setModulus(byte[] value)
value
- allowed object is
byte[]public byte[] getExponent()
public void setExponent(byte[] value)
value
- allowed object is
byte[]public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
public int hashCode()
hashCode
in class java.lang.Object
public RSAKeyValue withModulus(byte[] value)
public RSAKeyValue withExponent(byte[] value)