@Singleton public class SecretResource extends Object
Constructor and Description |
---|
SecretResource(SecretEncryptionService encryptionService) |
Modifier and Type | Method and Description |
---|---|
String |
decrypt(RestContent stringToDecode) |
String |
encrypt(RestContent stringToEncrypt) |
boolean |
isEncrypted(RestContent stringToCheck)
Check if provided string is encrypted by current Bamboo instance
|
public SecretResource(SecretEncryptionService encryptionService)
public String encrypt(RestContent stringToEncrypt)
public String decrypt(RestContent stringToDecode)
public boolean isEncrypted(RestContent stringToCheck)
stringToCheck
- Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.