flux.file
Interface PgpPrivateKey

All Superinterfaces:
java.lang.Cloneable, PgpBaseKey, java.io.Serializable

public interface PgpPrivateKey
extends PgpBaseKey

PGP private key.

Author:
Copyright 2014 Flux Corporation. All rights reserved.

Method Summary
 java.lang.String getPassword()
          Returns the password that provides access to the private key.
 void setPassword(java.lang.String password)
          Sets the password that provides access to the private key.
 
Methods inherited from interface flux.file.PgpBaseKey
clone, getKeyType, setKeyType
 

Method Detail

getPassword

java.lang.String getPassword()
Returns the password that provides access to the private key. A password that is null or the empty string implies that no private key encryption occurs and that the private key is stored in the clear.

Returns:
The password that provides access to the private key.

setPassword

void setPassword(java.lang.String password)
Sets the password that provides access to the private key. A password that is null or the empty string implies that no private key encryption occurs and that the private key is stored in the clear.

Parameters:
password - The password that provides access to the private key.


© 2014 Flux Corporation. All rights reserved.