Online Documentation Server
 ПОИСК
ods.com.ua Web
 КАТЕГОРИИ
Home
Programming
Net technology
Unixes
Security
RFC, HOWTO
Web technology
Data bases
Other docs

 


 ПОДПИСКА

 О КОПИРАЙТАХ
Вся предоставленная на этом сервере информация собрана нами из разных источников. Если Вам кажется, что публикация каких-то документов нарушает чьи-либо авторские права, сообщите нам об этом.




All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.security.KeyPair

java.lang.Object
   |
   +----java.security.KeyPair

public final class KeyPair
extends Object

This class is a simple holder for a key pair (a public key and a private key). It does not enforce any security, and, when initialized, should be treated like a PrivateKey.

See Also:
PublicKey, PrivateKey

Constructor Index

 o KeyPair(PublicKey, PrivateKey)
Constructs a key with the specified public key and private key.

Method Index

 o getPrivate()
Returns the private key from this key pair.
 o getPublic()
Returns the public key from this key pair.

Constructors

 o KeyPair
 public KeyPair(PublicKey publicKey,
                PrivateKey privateKey)
Constructs a key with the specified public key and private key.

Parameters:
publicKey - the public key.
privateKey - the private key.

Methods

 o getPublic
 public PublicKey getPublic()
Returns the public key from this key pair.

Returns:
the public key.
 o getPrivate
 public PrivateKey getPrivate()
Returns the private key from this key pair.

Returns:
the private key.

All Packages  Class Hierarchy  This Package  Previous  Next  Index

Submit a bug or feature


With any suggestions or questions please feel free to contact us