Class SecretEncryptor.ArmoredString
- java.lang.Object
-
- com.atlassian.bamboo.crypto.instance.SecretEncryptor.ArmoredString
-
- Enclosing class:
- SecretEncryptor
public static final class SecretEncryptor.ArmoredString extends Object
-
-
Constructor Summary
Constructors Constructor Description ArmoredString(CipherSpec cipherSpec, byte[] ciphertext)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SecretEncryptor.ArmoredString
from(@NotNull String armoredString)
static SecretEncryptor.ArmoredString
from(CipherSpec cipherSpec, byte[] ciphertext)
CipherSpec
getCipherSpec()
byte[]
getCiphertext()
static boolean
is(@Nullable String string)
String
toString()
-
-
-
Constructor Detail
-
ArmoredString
public ArmoredString(CipherSpec cipherSpec, byte[] ciphertext)
-
-
Method Detail
-
getCiphertext
public byte[] getCiphertext()
-
getCipherSpec
public CipherSpec getCipherSpec()
-
from
public static SecretEncryptor.ArmoredString from(@NotNull @NotNull String armoredString)
-
from
public static SecretEncryptor.ArmoredString from(CipherSpec cipherSpec, byte[] ciphertext)
-
is
public static boolean is(@Nullable @Nullable String string)
-
-