public class ProtectedStringType extends ProtectedDataType<String> implements Cloneable
Java class for ProtectedStringType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ProtectedStringType"> <complexContent> <extension base="{http://prism.evolveum.com/xml/ns/public/types-3}ProtectedDataType"> <sequence> <element name="clearValue" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
static QName |
COMPLEX_TYPE |
ATTRIBUTE_XML_ENC_ALGORITHM, content, F_CLEAR_VALUE, F_ENCRYPTED_DATA, F_XML_DSIG_KEY_INFO, F_XML_DSIG_KEY_NAME, F_XML_ENC_ALGORITHM, F_XML_ENC_CIPHER_DATA, F_XML_ENC_CIPHER_VALUE, F_XML_ENC_ENCRYPTED_DATA, F_XML_ENC_ENCRYPTION_METHOD, NS_XML_DSIG, NS_XML_ENC
Constructor and Description |
---|
ProtectedStringType() |
Modifier and Type | Method and Description |
---|---|
static String |
bytesToString(byte[] clearBytes) |
ProtectedStringType |
clone() |
boolean |
equals(Object obj) |
byte[] |
getClearBytes() |
int |
hashCode() |
void |
setClearBytes(byte[] bytes) |
cloneTo, destroyCleartext, getClearValue, getContent, getEncryptedDataType, isEmpty, isEncrypted, setClearValue, setEncryptedData, toString
public static final QName COMPLEX_TYPE
public byte[] getClearBytes()
getClearBytes
in interface ProtectedData<String>
public void setClearBytes(byte[] bytes)
setClearBytes
in interface ProtectedData<String>
public boolean equals(Object obj)
equals
in class ProtectedDataType<String>
public int hashCode()
hashCode
in class ProtectedDataType<String>
public ProtectedStringType clone()
public static String bytesToString(byte[] clearBytes)
Copyright © 2016 evolveum. All rights reserved.