public class SymmetricKey extends KmipObject
| Constructor and Description |
|---|
SymmetricKey() |
SymmetricKey(KeyBlock keyBlock) |
| Modifier and Type | Method and Description |
|---|---|
Attributes |
attributes()
Return the
Attributes or a set of empty |
boolean |
equals(Object o) |
static SymmetricKey |
fromJson(String json)
Deserialize an instance from its Json representation obtained using toJson()
|
KeyBlock |
getKeyBlock() |
ObjectType |
getObjectType() |
int |
hashCode() |
SymmetricKey |
keyBlock(KeyBlock keyBlock) |
void |
setKeyBlock(KeyBlock keyBlock) |
String |
toString() |
fromJson, getObjectClass, toJsonpublic SymmetricKey()
public SymmetricKey(KeyBlock keyBlock)
public KeyBlock getKeyBlock()
public void setKeyBlock(KeyBlock keyBlock)
public SymmetricKey keyBlock(KeyBlock keyBlock)
public ObjectType getObjectType()
getObjectType in class KmipObjectpublic Attributes attributes()
Attributes or a set of emptyAttributespublic static SymmetricKey fromJson(String json) throws CosmianException
json - key in JSON formSymmetricKeyCosmianException - if the key cannot be recoveredCopyright © 2022. All rights reserved.