View Javadoc
1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-661
3   // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4   // Any modifications to this file will be lost upon recompilation of the source schema.
5   // Generated on: 2021.01.15 at 11:43:19 AM EST
6   //
7   
8   
9   package com.healthmarketscience.jackcess.crypt.model;
10  
11  /**
12   * <p>Java class for CT_KeyData complex type.
13   *
14   * <p>The following schema fragment specifies the expected content contained within this class.
15   *
16   * <pre>
17   * &lt;complexType name="CT_KeyData">
18   *   &lt;complexContent>
19   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20   *       &lt;attribute name="saltSize" use="required" type="{http://schemas.microsoft.com/office/2006/encryption}ST_SaltSize" />
21   *       &lt;attribute name="blockSize" use="required" type="{http://schemas.microsoft.com/office/2006/encryption}ST_BlockSize" />
22   *       &lt;attribute name="keyBits" use="required" type="{http://schemas.microsoft.com/office/2006/encryption}ST_KeyBits" />
23   *       &lt;attribute name="hashSize" use="required" type="{http://schemas.microsoft.com/office/2006/encryption}ST_HashSize" />
24   *       &lt;attribute name="cipherAlgorithm" use="required" type="{http://schemas.microsoft.com/office/2006/encryption}ST_CipherAlgorithm" />
25   *       &lt;attribute name="cipherChaining" use="required" type="{http://schemas.microsoft.com/office/2006/encryption}ST_CipherChaining" />
26   *       &lt;attribute name="hashAlgorithm" use="required" type="{http://schemas.microsoft.com/office/2006/encryption}ST_HashAlgorithm" />
27   *       &lt;attribute name="saltValue" use="required" type="{http://www.w3.org/2001/XMLSchema}base64Binary" />
28   *     &lt;/restriction>
29   *   &lt;/complexContent>
30   * &lt;/complexType>
31   * </pre>
32   *
33   *
34   */
35  // @XmlAccessorType(XmlAccessType.FIELD)
36  // @XmlType(name = "CT_KeyData")
37  public class CTKeyData {
38  
39      // @XmlAttribute(required = true)
40      protected long saltSize;
41      // @XmlAttribute(required = true)
42      protected long blockSize;
43      // @XmlAttribute(required = true)
44      protected long keyBits;
45      // @XmlAttribute(required = true)
46      protected long hashSize;
47      // @XmlAttribute(required = true)
48      protected String cipherAlgorithm;
49      // @XmlAttribute(required = true)
50      protected String cipherChaining;
51      // @XmlAttribute(required = true)
52      protected String hashAlgorithm;
53      // @XmlAttribute(required = true)
54      protected byte[] saltValue;
55  
56      /**
57       * Gets the value of the saltSize property.
58       *
59       */
60      public long getSaltSize() {
61          return saltSize;
62      }
63  
64      /**
65       * Sets the value of the saltSize property.
66       *
67       */
68      public void setSaltSize(long value) {
69          this.saltSize = value;
70      }
71  
72      /**
73       * Gets the value of the blockSize property.
74       *
75       */
76      public long getBlockSize() {
77          return blockSize;
78      }
79  
80      /**
81       * Sets the value of the blockSize property.
82       *
83       */
84      public void setBlockSize(long value) {
85          this.blockSize = value;
86      }
87  
88      /**
89       * Gets the value of the keyBits property.
90       *
91       */
92      public long getKeyBits() {
93          return keyBits;
94      }
95  
96      /**
97       * Sets the value of the keyBits property.
98       *
99       */
100     public void setKeyBits(long value) {
101         this.keyBits = value;
102     }
103 
104     /**
105      * Gets the value of the hashSize property.
106      *
107      */
108     public long getHashSize() {
109         return hashSize;
110     }
111 
112     /**
113      * Sets the value of the hashSize property.
114      *
115      */
116     public void setHashSize(long value) {
117         this.hashSize = value;
118     }
119 
120     /**
121      * Gets the value of the cipherAlgorithm property.
122      *
123      * @return
124      *     possible object is
125      *     {@link String }
126      *
127      */
128     public String getCipherAlgorithm() {
129         return cipherAlgorithm;
130     }
131 
132     /**
133      * Sets the value of the cipherAlgorithm property.
134      *
135      * @param value
136      *     allowed object is
137      *     {@link String }
138      *
139      */
140     public void setCipherAlgorithm(String value) {
141         this.cipherAlgorithm = value;
142     }
143 
144     /**
145      * Gets the value of the cipherChaining property.
146      *
147      * @return
148      *     possible object is
149      *     {@link String }
150      *
151      */
152     public String getCipherChaining() {
153         return cipherChaining;
154     }
155 
156     /**
157      * Sets the value of the cipherChaining property.
158      *
159      * @param value
160      *     allowed object is
161      *     {@link String }
162      *
163      */
164     public void setCipherChaining(String value) {
165         this.cipherChaining = value;
166     }
167 
168     /**
169      * Gets the value of the hashAlgorithm property.
170      *
171      * @return
172      *     possible object is
173      *     {@link String }
174      *
175      */
176     public String getHashAlgorithm() {
177         return hashAlgorithm;
178     }
179 
180     /**
181      * Sets the value of the hashAlgorithm property.
182      *
183      * @param value
184      *     allowed object is
185      *     {@link String }
186      *
187      */
188     public void setHashAlgorithm(String value) {
189         this.hashAlgorithm = value;
190     }
191 
192     /**
193      * Gets the value of the saltValue property.
194      *
195      * @return
196      *     possible object is
197      *     byte[]
198      */
199     public byte[] getSaltValue() {
200         return saltValue;
201     }
202 
203     /**
204      * Sets the value of the saltValue property.
205      *
206      * @param value
207      *     allowed object is
208      *     byte[]
209      */
210     public void setSaltValue(byte[] value) {
211         this.saltValue = ((byte[]) value);
212     }
213 
214 }