public interface EncryptableItem
KeyCrypter, yielding an EncryptedData, and
 which can have a creation time associated with it.| Modifier and Type | Method and Description | 
|---|---|
| long | getCreationTimeSeconds()Returns the time in seconds since the UNIX epoch at which this encryptable item was first created/derived. | 
| EncryptedData | getEncryptedData()Returns the initialization vector and encrypted secret bytes, or null if not encrypted. | 
| Protos.Wallet.EncryptionType | getEncryptionType()Returns an enum constant describing what algorithm was used to encrypt the key or UNENCRYPTED. | 
| byte[] | getSecretBytes()Returns the raw bytes of the item, if not encrypted, or null if encrypted or the secret is missing. | 
| boolean | isEncrypted()Returns whether the item is encrypted or not. | 
boolean isEncrypted()
getSecretBytes() will return null.@Nullable byte[] getSecretBytes()
@Nullable EncryptedData getEncryptedData()
Protos.Wallet.EncryptionType getEncryptionType()
long getCreationTimeSeconds()
Copyright © 2016. All rights reserved.