flux.file
Interface PgpBaseKey

All Superinterfaces:
java.lang.Cloneable, java.io.Serializable
All Known Subinterfaces:
PgpPrivateKey, PgpPublicKey

public interface PgpBaseKey
extends java.lang.Cloneable, java.io.Serializable

Base PGP key interface used to represent both public and private PGP keys.

Author:
Copyright 2014 Flux Corporation. All rights reserved.

Method Summary
 java.lang.Object clone()
           
 PgpKeyType getKeyType()
          Returns the kind of PGP key for this key.
 void setKeyType(PgpKeyType keyType)
          Sets the kind of PGP key for this key.
 

Method Detail

clone

java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Throws:
java.lang.CloneNotSupportedException

getKeyType

PgpKeyType getKeyType()
Returns the kind of PGP key for this key.

Returns:
The kind of PGP key for this key.

setKeyType

void setKeyType(PgpKeyType keyType)
Sets the kind of PGP key for this key.

Parameters:
keyType - The kind of PGP key for this key.


© 2014 Flux Corporation. All rights reserved.