org.xwiki.crypto.pkix.params
Class CertifiedKeyPair

java.lang.Object
  extended by org.xwiki.crypto.pkix.params.CertifiedKeyPair

@Unstable
public class CertifiedKeyPair
extends Object

A certified key pair.

Since:
5.4
Version:
$Id: 19343a8bea4019e17a71527eb3f9504eb7b158e9 $

Constructor Summary
CertifiedKeyPair(PrivateKeyParameters privateKey, CertifiedPublicKey certificate)
          Create a new certified key pair, associating a certificate and a private key.
 
Method Summary
 CertifiedPublicKey getCertificate()
           
 AsymmetricKeyPair getKeyPair()
           
 PrivateKeyParameters getPrivateKey()
           
 PublicKeyParameters getPublicKey()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CertifiedKeyPair

public CertifiedKeyPair(PrivateKeyParameters privateKey,
                        CertifiedPublicKey certificate)
Create a new certified key pair, associating a certificate and a private key.

Parameters:
privateKey - the private key.
certificate - the certificate.
Method Detail

getCertificate

public CertifiedPublicKey getCertificate()
Returns:
the certificate.

getPublicKey

public PublicKeyParameters getPublicKey()
Returns:
the public key parameters.

getPrivateKey

public PrivateKeyParameters getPrivateKey()
Returns:
the public key parameters.

getKeyPair

public AsymmetricKeyPair getKeyPair()
Returns:
a simple key pair.


Copyright © 2004–2014 XWiki. All rights reserved.