| Package | Description |
|---|---|
| org.xwiki.crypto | |
| org.xwiki.crypto.params.cipher.asymmetric |
| Modifier and Type | Method and Description |
|---|---|
PublicKeyParameters |
AsymmetricKeyFactory.fromKey(PublicKey key)
Create a public key parameters from a (compatible) public key.
|
PublicKeyParameters |
AsymmetricKeyFactory.fromX509(byte[] encoded)
Create public key parameters from its X.509 encoded form.
|
| Modifier and Type | Method and Description |
|---|---|
PublicKey |
AsymmetricKeyFactory.toKey(PublicKeyParameters key)
Create a public key from public key parameters.
|
| Modifier and Type | Method and Description |
|---|---|
PublicKeyParameters |
AsymmetricKeyPair.getPublic() |
| Constructor and Description |
|---|
AsymmetricKeyPair(PrivateKeyParameters privateKey,
PublicKeyParameters publicKey)
Create a new asymmetric key pair using the given private and public key.
|
Copyright © 2004–2014 XWiki. All rights reserved.