Package | Description |
---|---|
org.italiangrid.voms.util |
This package provides utility classes used in other packages.
|
Modifier and Type | Field and Description |
---|---|
static CredentialsUtils.PrivateKeyEncoding |
CredentialsUtils.DEFAULT_ENCONDING
The default encoding used when no encoding is specified by callers.
|
Modifier and Type | Method and Description |
---|---|
static CredentialsUtils.PrivateKeyEncoding |
CredentialsUtils.PrivateKeyEncoding.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CredentialsUtils.PrivateKeyEncoding[] |
CredentialsUtils.PrivateKeyEncoding.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static void |
CredentialsUtils.savePrivateKey(java.io.OutputStream os,
java.security.PrivateKey key,
CredentialsUtils.PrivateKeyEncoding encoding)
Serializes a private key to an output stream according to an encoding.
|
static void |
CredentialsUtils.saveProxyCredentials(java.io.OutputStream os,
eu.emi.security.authn.x509.X509Credential uc,
CredentialsUtils.PrivateKeyEncoding encoding)
Saves user credentials as a plain text PEM data.
|
static void |
CredentialsUtils.saveProxyCredentials(java.lang.String proxyFileName,
eu.emi.security.authn.x509.X509Credential uc,
CredentialsUtils.PrivateKeyEncoding encoding)
Saves proxy credentials to a file.
|