public class ProtectedStringType extends ProtectedDataType<String> implements Cloneable
Modifier and Type | Field and Description |
---|---|
static QName |
COMPLEX_TYPE |
ATTRIBUTE_XML_ENC_ALGORITHM, content, F_CLEAR_VALUE, F_ENCRYPTED_DATA, F_HASHED_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) |
boolean |
canSupportType(Class<?> type) |
ProtectedStringType |
clone() |
boolean |
equals(Object obj) |
byte[] |
getClearBytes() |
int |
hashCode() |
void |
setClearBytes(byte[] bytes) |
canGetCleartext, clear, cloneTo, destroyCleartext, getClearValue, getContent, getEncryptedDataType, getHashedDataType, isEmpty, isEncrypted, isHashed, setClearValue, setEncryptedData, setHashedData, 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 canSupportType(Class<?> type)
canSupportType
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 © 2019 Evolveum. All rights reserved.