public final class EncryptedWorkspace
extends com.structurizr.AbstractWorkspace
| Constructor | Description |
|---|---|
EncryptedWorkspace(com.structurizr.Workspace workspace,
EncryptionStrategy encryptionStrategy) |
Creates an encrypted version of the specified workspace.
|
EncryptedWorkspace(com.structurizr.Workspace workspace,
java.lang.String plaintext,
EncryptionStrategy encryptionStrategy) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getCiphertext() |
|
EncryptionStrategy |
getEncryptionStrategy() |
|
java.lang.String |
getPlaintext() |
|
com.structurizr.Workspace |
getWorkspace() |
|
void |
setCiphertext(java.lang.String ciphertext) |
|
void |
setEncryptionStrategy(EncryptionStrategy encryptionStrategy) |
public EncryptedWorkspace(com.structurizr.Workspace workspace,
EncryptionStrategy encryptionStrategy)
throws java.lang.Exception
workspace - the Workspace to encryptencryptionStrategy - the encryption strategyjava.lang.Exception - if an error occurs while creating the encrypted workspacepublic EncryptedWorkspace(com.structurizr.Workspace workspace,
java.lang.String plaintext,
EncryptionStrategy encryptionStrategy)
throws java.lang.Exception
java.lang.Exceptionpublic com.structurizr.Workspace getWorkspace()
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getCiphertext()
public void setCiphertext(java.lang.String ciphertext)
public java.lang.String getPlaintext()
throws java.lang.Exception
java.lang.Exceptionpublic EncryptionStrategy getEncryptionStrategy()
public void setEncryptionStrategy(EncryptionStrategy encryptionStrategy)