Class DSAKeyValueType
java.lang.Object
org.keycloak.dom.xmlsec.w3.xmldsig.DSAKeyValueType
- All Implemented Interfaces:
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>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionConvert to the JDK representation of a DSA Private KeyConvert to the JDK representation of a DSA Public Keybyte[]
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[]
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.toString()
-
Field Details
-
p
protected byte[] p -
q
protected byte[] q -
g
protected byte[] g -
y
protected byte[] y -
j
protected byte[] j -
seed
protected byte[] seed -
pgenCounter
protected byte[] pgenCounter
-
-
Constructor Details
-
DSAKeyValueType
public DSAKeyValueType()
-
-
Method Details
-
getP
public byte[] getP()Gets the value of the p property.- Returns:
- possible object is byte[]
-
setP
public void setP(byte[] value) Sets the value of the p property.- Parameters:
value
- allowed object is byte[]
-
getQ
public byte[] getQ()Gets the value of the q property.- Returns:
- possible object is byte[]
-
setQ
public void setQ(byte[] value) Sets the value of the q property.- Parameters:
value
- allowed object is byte[]
-
getG
public byte[] getG()Gets the value of the g property.- Returns:
- possible object is byte[]
-
setG
public void setG(byte[] value) Sets the value of the g property.- Parameters:
value
- allowed object is byte[]
-
getY
public byte[] getY()Gets the value of the y property.- Returns:
- possible object is byte[]
-
setY
public void setY(byte[] value) Sets the value of the y property.- Parameters:
value
- allowed object is byte[]
-
getJ
public byte[] getJ()Gets the value of the j property.- Returns:
- possible object is byte[]
-
setJ
public void setJ(byte[] value) Sets the value of the j property.- Parameters:
value
- allowed object is byte[]
-
getSeed
public byte[] getSeed()Gets the value of the seed property.- Returns:
- possible object is byte[]
-
setSeed
public void setSeed(byte[] value) Sets the value of the seed property.- Parameters:
value
- allowed object is byte[]
-
getPgenCounter
public byte[] getPgenCounter()Gets the value of the pgenCounter property.- Returns:
- possible object is byte[]
-
setPgenCounter
public void setPgenCounter(byte[] value) Sets the value of the pgenCounter property.- Parameters:
value
- allowed object is byte[]
-
convertToPublicKey
Convert to the JDK representation of a DSA Public Key- Returns:
- Throws:
ProcessingException
-
convertToPrivateKey
Convert to the JDK representation of a DSA Private Key- Returns:
- Throws:
ProcessingException
-
toString
-