Package com.structurizr.encryption
Class EncryptedWorkspace
java.lang.Object
com.structurizr.AbstractWorkspace
com.structurizr.encryption.EncryptedWorkspace
public final class EncryptedWorkspace
extends com.structurizr.AbstractWorkspace
This is a wrapper around an existing workspace that has been encrypted.
-
Constructor Summary
ConstructorsConstructorDescriptionEncryptedWorkspace(com.structurizr.Workspace workspace, EncryptionStrategy encryptionStrategy) Creates an encrypted version of the specified workspace.EncryptedWorkspace(com.structurizr.Workspace workspace, String plaintext, EncryptionStrategy encryptionStrategy) -
Method Summary
Modifier and TypeMethodDescriptioncom.structurizr.WorkspacevoidsetCiphertext(String ciphertext) voidsetEncryptionStrategy(EncryptionStrategy encryptionStrategy) Methods inherited from class com.structurizr.AbstractWorkspace
addProperty, clearConfiguration, getConfiguration, getDescription, getId, getLastModifiedAgent, getLastModifiedDate, getLastModifiedUser, getName, getProperties, getRevision, getThumbnail, getVersion, setConfiguration, setDescription, setId, setLastModifiedAgent, setLastModifiedDate, setLastModifiedUser, setName, setRevision, setThumbnail, setVersion
-
Constructor Details
-
EncryptedWorkspace
public EncryptedWorkspace(com.structurizr.Workspace workspace, EncryptionStrategy encryptionStrategy) throws Exception Creates an encrypted version of the specified workspace.- Parameters:
workspace- the Workspace to encryptencryptionStrategy- the encryption strategy- Throws:
Exception- if an error occurs while creating the encrypted workspace
-
EncryptedWorkspace
public EncryptedWorkspace(com.structurizr.Workspace workspace, String plaintext, EncryptionStrategy encryptionStrategy) throws Exception - Throws:
Exception
-
-
Method Details