org.keycloak.dom.xmlsec.w3.xmldsig

## Class DSAKeyValueType

- java.lang.Object
- - org.keycloak.dom.xmlsec.w3.xmldsig.DSAKeyValueType

- All Implemented Interfaces:
    KeyValueType

      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>

- - ### Field Summary

    Fields
    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 Summary

    Constructors
    Constructor and Description
    `DSAKeyValueType()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    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()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### 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 Detail

    - #### DSAKeyValueType

          public DSAKeyValueType()

  - ### Method Detail

    - #### 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

          public DSAPublicKey convertToPublicKey()
                                          throws ProcessingException

      Convert to the JDK representation of a DSA Public Key
      Returns:
      Throws:
        `ProcessingException`

    - #### convertToPrivateKey

          public DSAPrivateKey convertToPrivateKey()
                                            throws ProcessingException

      Convert to the JDK representation of a DSA Private Key
      Returns:
      Throws:
        `ProcessingException`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2021 JBoss by Red Hat. All rights reserved.