| /** |
| * Licensed to the Apache Software Foundation (ASF) under one |
| * or more contributor license agreements. See the NOTICE file |
| * distributed with this work for additional information |
| * regarding copyright ownership. The ASF licenses this file |
| * to you under the Apache License, Version 2.0 (the |
| * "License"); you may not use this file except in compliance |
| * with the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, |
| * software distributed under the License is distributed on an |
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| * KIND, either express or implied. See the License for the |
| * specific language governing permissions and limitations |
| * under the License. |
| */ |
| // |
| // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 |
| // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
| // Any modifications to this file will be lost upon recompilation of the source schema. |
| // Generated on: 2017.07.31 at 11:10:09 AM IST |
| // |
| |
| |
| package org.apache.xml.security.binding.xmlenc11; |
| |
| import java.math.BigInteger; |
| import javax.xml.bind.annotation.XmlAccessType; |
| import javax.xml.bind.annotation.XmlAccessorType; |
| import javax.xml.bind.annotation.XmlElement; |
| import javax.xml.bind.annotation.XmlSchemaType; |
| import javax.xml.bind.annotation.XmlType; |
| |
| |
| /** |
| * <p>Java class for PBKDF2ParameterType complex type. |
| * |
| * <p>The following schema fragment specifies the expected content contained within this class. |
| * |
| * <pre> |
| * <complexType name="PBKDF2ParameterType"> |
| * <complexContent> |
| * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
| * <sequence> |
| * <element name="Salt"> |
| * <complexType> |
| * <complexContent> |
| * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
| * <choice> |
| * <element name="Specified" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> |
| * <element name="OtherSource" type="{http://www.w3.org/2009/xmlenc11#}AlgorithmIdentifierType"/> |
| * </choice> |
| * </restriction> |
| * </complexContent> |
| * </complexType> |
| * </element> |
| * <element name="IterationCount" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/> |
| * <element name="KeyLength" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/> |
| * <element name="PRF" type="{http://www.w3.org/2009/xmlenc11#}PRFAlgorithmIdentifierType"/> |
| * </sequence> |
| * </restriction> |
| * </complexContent> |
| * </complexType> |
| * </pre> |
| * |
| * |
| */ |
| @XmlAccessorType(XmlAccessType.FIELD) |
| @XmlType(name = "PBKDF2ParameterType", namespace = "http://www.w3.org/2009/xmlenc11#", propOrder = { |
| "salt", |
| "iterationCount", |
| "keyLength", |
| "prf" |
| }) |
| public class PBKDF2ParameterType { |
| |
| @XmlElement(name = "Salt", namespace = "http://www.w3.org/2009/xmlenc11#", required = true) |
| protected PBKDF2ParameterType.Salt salt; |
| @XmlElement(name = "IterationCount", namespace = "http://www.w3.org/2009/xmlenc11#", required = true) |
| @XmlSchemaType(name = "positiveInteger") |
| protected BigInteger iterationCount; |
| @XmlElement(name = "KeyLength", namespace = "http://www.w3.org/2009/xmlenc11#", required = true) |
| @XmlSchemaType(name = "positiveInteger") |
| protected BigInteger keyLength; |
| @XmlElement(name = "PRF", namespace = "http://www.w3.org/2009/xmlenc11#", required = true) |
| protected PRFAlgorithmIdentifierType prf; |
| |
| /** |
| * Gets the value of the salt property. |
| * |
| * @return |
| * possible object is |
| * {@link PBKDF2ParameterType.Salt } |
| * |
| */ |
| public PBKDF2ParameterType.Salt getSalt() { |
| return salt; |
| } |
| |
| /** |
| * Sets the value of the salt property. |
| * |
| * @param value |
| * allowed object is |
| * {@link PBKDF2ParameterType.Salt } |
| * |
| */ |
| public void setSalt(PBKDF2ParameterType.Salt value) { |
| this.salt = value; |
| } |
| |
| /** |
| * Gets the value of the iterationCount property. |
| * |
| * @return |
| * possible object is |
| * {@link BigInteger } |
| * |
| */ |
| public BigInteger getIterationCount() { |
| return iterationCount; |
| } |
| |
| /** |
| * Sets the value of the iterationCount property. |
| * |
| * @param value |
| * allowed object is |
| * {@link BigInteger } |
| * |
| */ |
| public void setIterationCount(BigInteger value) { |
| this.iterationCount = value; |
| } |
| |
| /** |
| * Gets the value of the keyLength property. |
| * |
| * @return |
| * possible object is |
| * {@link BigInteger } |
| * |
| */ |
| public BigInteger getKeyLength() { |
| return keyLength; |
| } |
| |
| /** |
| * Sets the value of the keyLength property. |
| * |
| * @param value |
| * allowed object is |
| * {@link BigInteger } |
| * |
| */ |
| public void setKeyLength(BigInteger value) { |
| this.keyLength = value; |
| } |
| |
| /** |
| * Gets the value of the prf property. |
| * |
| * @return |
| * possible object is |
| * {@link PRFAlgorithmIdentifierType } |
| * |
| */ |
| public PRFAlgorithmIdentifierType getPRF() { |
| return prf; |
| } |
| |
| /** |
| * Sets the value of the prf property. |
| * |
| * @param value |
| * allowed object is |
| * {@link PRFAlgorithmIdentifierType } |
| * |
| */ |
| public void setPRF(PRFAlgorithmIdentifierType value) { |
| this.prf = value; |
| } |
| |
| |
| /** |
| * <p>Java class for anonymous complex type. |
| * |
| * <p>The following schema fragment specifies the expected content contained within this class. |
| * |
| * <pre> |
| * <complexType> |
| * <complexContent> |
| * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
| * <choice> |
| * <element name="Specified" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> |
| * <element name="OtherSource" type="{http://www.w3.org/2009/xmlenc11#}AlgorithmIdentifierType"/> |
| * </choice> |
| * </restriction> |
| * </complexContent> |
| * </complexType> |
| * </pre> |
| * |
| * |
| */ |
| @XmlAccessorType(XmlAccessType.FIELD) |
| @XmlType(name = "", propOrder = { |
| "specified", |
| "otherSource" |
| }) |
| public static class Salt { |
| |
| @XmlElement(name = "Specified", namespace = "http://www.w3.org/2009/xmlenc11#") |
| protected byte[] specified; |
| @XmlElement(name = "OtherSource", namespace = "http://www.w3.org/2009/xmlenc11#") |
| protected AlgorithmIdentifierType otherSource; |
| |
| /** |
| * Gets the value of the specified property. |
| * |
| * @return |
| * possible object is |
| * byte[] |
| */ |
| public byte[] getSpecified() { |
| return specified; |
| } |
| |
| /** |
| * Sets the value of the specified property. |
| * |
| * @param value |
| * allowed object is |
| * byte[] |
| */ |
| public void setSpecified(byte[] value) { |
| this.specified = value; |
| } |
| |
| /** |
| * Gets the value of the otherSource property. |
| * |
| * @return |
| * possible object is |
| * {@link AlgorithmIdentifierType } |
| * |
| */ |
| public AlgorithmIdentifierType getOtherSource() { |
| return otherSource; |
| } |
| |
| /** |
| * Sets the value of the otherSource property. |
| * |
| * @param value |
| * allowed object is |
| * {@link AlgorithmIdentifierType } |
| * |
| */ |
| public void setOtherSource(AlgorithmIdentifierType value) { |
| this.otherSource = value; |
| } |
| |
| } |
| |
| } |