@Unstable public interface CertifiedPublicKey
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getEncoded() |
PrincipalIndentifier |
getIssuer() |
PublicKeyParameters |
getPublicKeyParameters() |
PrincipalIndentifier |
getSubject() |
boolean |
isSelfSigned() |
boolean |
isSignedBy(PublicKeyParameters publicKey)
Check that the key has been certified by the private key associated with the given public key.
|
PrincipalIndentifier getIssuer()
PrincipalIndentifier getSubject()
PublicKeyParameters getPublicKeyParameters()
boolean isSignedBy(PublicKeyParameters publicKey) throws GeneralSecurityException
publicKey - the public key of the signer.GeneralSecurityException - if the signing algorithm is unable to proceed properly.boolean isSelfSigned()
byte[] getEncoded()
throws IOException
IOException - on encoding error.Copyright © 2004–2014 XWiki. All rights reserved.