public class GpgKey extends Object implements ModelInterface
| Modifier and Type | Field and Description |
|---|---|
Date |
expiresAt
Your GPG key expiration date.
|
Long |
id
Your GPG key ID.
|
String |
name
Your GPG key name.
|
String |
privateKey
Your GPG private key.
|
String |
privateKeyPassword
Your GPG private key password.
|
String |
publicKey
Your GPG public key
|
Long |
userId
GPG owner's user id
|
| Constructor and Description |
|---|
GpgKey() |
GpgKey(HashMap<String,Object> parameters) |
GpgKey(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
| Modifier and Type | Method and Description |
|---|---|
static ListIterator<GpgKey> |
all() |
static ListIterator<GpgKey> |
all(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static GpgKey |
create(HashMap<String,Object> parameters)
Parameters:
user_id - int64 - User ID.
|
static GpgKey |
create(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
void |
delete() |
static void |
delete(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static void |
delete(Long id,
HashMap<String,Object> parameters) |
static void |
delete(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static void |
destroy() |
void |
destroy(HashMap<String,Object> parameters) |
static void |
destroy(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static GpgKey |
find(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static GpgKey |
find(Long id,
HashMap<String,Object> parameters)
Parameters:
id (required) - int64 - Gpg Key ID.
|
static GpgKey |
find(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static GpgKey |
get() |
static GpgKey |
get(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static ListIterator<GpgKey> |
list()
Parameters:
user_id - int64 - User ID.
|
static ListIterator<GpgKey> |
list(HashMap<String,Object> parameters) |
static ListIterator<GpgKey> |
list(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
void |
save() |
GpgKey |
update()
Parameters:
public_key - string - Your GPG public key
private_key - string - Your GPG private key.
|
static GpgKey |
update(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static GpgKey |
update(Long id,
HashMap<String,Object> parameters)
Parameters:
public_key - string - Your GPG public key
private_key - string - Your GPG private key.
|
static GpgKey |
update(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetOptionspublic Long id
public Date expiresAt
public String name
public Long userId
public String publicKey
public String privateKey
public String privateKeyPassword
public GpgKey update() throws IOException
IOExceptionpublic void delete()
throws IOException
IOExceptionpublic void destroy(HashMap<String,Object> parameters) throws IOException
IOExceptionpublic void save()
throws IOException
IOExceptionpublic static ListIterator<GpgKey> list() throws RuntimeException
RuntimeExceptionpublic static ListIterator<GpgKey> list(HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static ListIterator<GpgKey> list(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static ListIterator<GpgKey> all() throws RuntimeException
RuntimeExceptionpublic static ListIterator<GpgKey> all(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static GpgKey find(Long id, HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static GpgKey find(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static GpgKey find(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static GpgKey get() throws RuntimeException
RuntimeExceptionpublic static GpgKey get(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static GpgKey create(HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static GpgKey create(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static GpgKey update(Long id, HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static GpgKey update(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static GpgKey update(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static void delete(Long id, HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static void delete(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static void delete(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static void destroy()
throws RuntimeException
RuntimeExceptionpublic static void destroy(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionCopyright © 2024 com.github.files-com. All rights reserved.