org.xwiki.crypto.pkix.params
Class CertifiedKeyPair
java.lang.Object
org.xwiki.crypto.pkix.params.CertifiedKeyPair
@Unstable
public class CertifiedKeyPair
- extends Object
A certified key pair.
- Since:
- 5.4
- Version:
- $Id: 19343a8bea4019e17a71527eb3f9504eb7b158e9 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
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.