SignatureAlgorithmpublic class PKISignatureAlgorithm extends Object implements SignatureAlgorithm
| Constructor | Description |
|---|---|
PKISignatureAlgorithm(String jceName,
String jceProvider) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
engineInitSign(Key signingKey) |
|
void |
engineInitSign(Key signingKey,
SecureRandom secureRandom) |
|
void |
engineInitSign(Key signingKey,
AlgorithmParameterSpec algorithmParameterSpec) |
|
void |
engineInitVerify(Key verificationKey) |
|
void |
engineSetParameter(AlgorithmParameterSpec params) |
|
byte[] |
engineSign() |
|
void |
engineUpdate(byte input) |
|
void |
engineUpdate(byte[] input) |
|
void |
engineUpdate(byte[] buf,
int offset,
int len) |
|
boolean |
engineVerify(byte[] signature) |
public PKISignatureAlgorithm(String jceName, String jceProvider) throws NoSuchProviderException, NoSuchAlgorithmException
public void engineUpdate(byte[] input)
throws XMLSecurityException
engineUpdate in interface SignatureAlgorithmXMLSecurityExceptionpublic void engineUpdate(byte input)
throws XMLSecurityException
engineUpdate in interface SignatureAlgorithmXMLSecurityExceptionpublic void engineUpdate(byte[] buf,
int offset,
int len)
throws XMLSecurityException
engineUpdate in interface SignatureAlgorithmXMLSecurityExceptionpublic void engineInitSign(Key signingKey) throws XMLSecurityException
engineInitSign in interface SignatureAlgorithmXMLSecurityExceptionpublic void engineInitSign(Key signingKey, SecureRandom secureRandom) throws XMLSecurityException
engineInitSign in interface SignatureAlgorithmXMLSecurityExceptionpublic void engineInitSign(Key signingKey, AlgorithmParameterSpec algorithmParameterSpec) throws XMLSecurityException
engineInitSign in interface SignatureAlgorithmXMLSecurityExceptionpublic byte[] engineSign()
throws XMLSecurityException
engineSign in interface SignatureAlgorithmXMLSecurityExceptionpublic void engineInitVerify(Key verificationKey) throws XMLSecurityException
engineInitVerify in interface SignatureAlgorithmXMLSecurityExceptionpublic boolean engineVerify(byte[] signature)
throws XMLSecurityException
engineVerify in interface SignatureAlgorithmXMLSecurityExceptionpublic void engineSetParameter(AlgorithmParameterSpec params) throws XMLSecurityException
engineSetParameter in interface SignatureAlgorithmXMLSecurityExceptionCopyright © 2000–2018 The Apache Software Foundation. All rights reserved.