Class KeyTransferBean
java.lang.Object
com.atlassian.confluence.security.persistence.dao.hibernate.KeyTransferBean
- All Implemented Interfaces:
Serializable
Allows conversion to and from serialized form.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionKeyTransferBean
(String asCData) This is really messy.KeyTransferBean
(String type, String algorithm, String encodedKey) KeyTransferBean
(Key key) -
Method Summary
Modifier and TypeMethodDescriptionYuck this makes me sick.static String
Encode aKey
in string form for storage as a database CLOB fieldvoid
setAlgorithm
(String algorithm) void
setEncodedKey
(String encodedKey) void
setKeyType
(String keyType)
-
Field Details
-
TYPE_PRIVATE
- See Also:
-
TYPE_PUBLIC
- See Also:
-
-
Constructor Details
-
KeyTransferBean
This is really messy. This works assuming that there are not any spaces in the fields. -
KeyTransferBean
- Parameters:
type
- the key typealgorithm
- String denoting the crypto algorithm usedencodedKey
- the encoded key
-
KeyTransferBean
-
-
Method Details
-
getKeyType
-
getAlgorithm
-
getEncodedKey
-
setKeyType
-
setEncodedKey
-
setAlgorithm
-
encodeKey
Encode aKey
in string form for storage as a database CLOB field- Parameters:
key
- Opaque key- Returns:
- String encoded form
-
asCDataEncodedString
Yuck this makes me sick. -
CDatafyString
-