com.evolveum.midpoint.xml.ns._public.common.common_1
Class ProtectedStringType

java.lang.Object
  extended by com.evolveum.midpoint.xml.ns._public.common.common_1.ProtectedStringType
All Implemented Interfaces:
java.io.Serializable

public class ProtectedStringType
extends java.lang.Object
implements java.io.Serializable

This is a general-purpose type to store sensitive values that should be encrypted in the repository. It is using starndard XML Encryption schema.

Java class for ProtectedStringType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="ProtectedStringType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice>
         <element ref="{http://www.w3.org/2001/04/xmlenc#}EncryptedData"/>
         <element name="clearValue" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </choice>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.lang.String clearValue
           
protected  EncryptedDataType encryptedData
           
 
Constructor Summary
ProtectedStringType()
           
 
Method Summary
 java.lang.String getClearValue()
          Gets the value of the clearValue property.
 EncryptedDataType getEncryptedData()
          Use of XML Encryption standard EncryptionData element.
 void setClearValue(java.lang.String value)
          Sets the value of the clearValue property.
 void setEncryptedData(EncryptedDataType value)
          Sets the value of the encryptedData property.
 java.lang.String toString()
          Generates a String representation of the contents of this type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

encryptedData

protected EncryptedDataType encryptedData

clearValue

protected java.lang.String clearValue
Constructor Detail

ProtectedStringType

public ProtectedStringType()
Method Detail

getEncryptedData

public EncryptedDataType getEncryptedData()
Use of XML Encryption standard EncryptionData element.

Returns:
possible object is EncryptedDataType

setEncryptedData

public void setEncryptedData(EncryptedDataType value)
Sets the value of the encryptedData property.

Parameters:
value - allowed object is EncryptedDataType

getClearValue

public java.lang.String getClearValue()
Gets the value of the clearValue property.

Returns:
possible object is String

setClearValue

public void setClearValue(java.lang.String value)
Sets the value of the clearValue property.

Parameters:
value - allowed object is String

toString

public java.lang.String toString()
Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin

Overrides:
toString in class java.lang.Object


Copyright © 2011 evolveum. All Rights Reserved.