public class DSAKeyValueType extends Object implements KeyValueType
Java class for DSAKeyValueType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DSAKeyValueType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <sequence minOccurs="0"> <element name="P" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> <element name="Q" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> </sequence> <element name="G" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary" minOccurs="0"/> <element name="Y" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> <element name="J" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary" minOccurs="0"/> <sequence minOccurs="0"> <element name="Seed" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> <element name="PgenCounter" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> </sequence> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected byte[] |
g |
protected byte[] |
j |
protected byte[] |
p |
protected byte[] |
pgenCounter |
protected byte[] |
q |
protected byte[] |
seed |
protected byte[] |
y |
Constructor and Description |
---|
DSAKeyValueType() |
Modifier and Type | Method and Description |
---|---|
DSAPrivateKey |
convertToPrivateKey()
Convert to the JDK representation of a DSA Private Key
|
DSAPublicKey |
convertToPublicKey()
Convert to the JDK representation of a DSA Public Key
|
byte[] |
getG()
Gets the value of the g property.
|
byte[] |
getJ()
Gets the value of the j property.
|
byte[] |
getP()
Gets the value of the p property.
|
byte[] |
getPgenCounter()
Gets the value of the pgenCounter property.
|
byte[] |
getQ()
Gets the value of the q property.
|
byte[] |
getSeed()
Gets the value of the seed property.
|
byte[] |
getY()
Gets the value of the y property.
|
void |
setG(byte[] value)
Sets the value of the g property.
|
void |
setJ(byte[] value)
Sets the value of the j property.
|
void |
setP(byte[] value)
Sets the value of the p property.
|
void |
setPgenCounter(byte[] value)
Sets the value of the pgenCounter property.
|
void |
setQ(byte[] value)
Sets the value of the q property.
|
void |
setSeed(byte[] value)
Sets the value of the seed property.
|
void |
setY(byte[] value)
Sets the value of the y property.
|
String |
toString() |
protected byte[] p
protected byte[] q
protected byte[] g
protected byte[] y
protected byte[] j
protected byte[] seed
protected byte[] pgenCounter
public byte[] getP()
public void setP(byte[] value)
value
- allowed object is byte[]public byte[] getQ()
public void setQ(byte[] value)
value
- allowed object is byte[]public byte[] getG()
public void setG(byte[] value)
value
- allowed object is byte[]public byte[] getY()
public void setY(byte[] value)
value
- allowed object is byte[]public byte[] getJ()
public void setJ(byte[] value)
value
- allowed object is byte[]public byte[] getSeed()
public void setSeed(byte[] value)
value
- allowed object is byte[]public byte[] getPgenCounter()
public void setPgenCounter(byte[] value)
value
- allowed object is byte[]public DSAPublicKey convertToPublicKey() throws ProcessingException
ProcessingException
public DSAPrivateKey convertToPrivateKey() throws ProcessingException
ProcessingException
Copyright © 2020 JBoss by Red Hat. All rights reserved.