public class BouncyCastleCmsMessageSigner extends Object implements ISigner
Constructor and Description |
---|
BouncyCastleCmsMessageSigner()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
setAliasPassword(String theAliasPassword) |
void |
setKeyAlias(String theKeyAlias) |
void |
setKeyStore(KeyStore theKeyStore) |
String |
sign(byte[] theBytes) |
void |
verify(byte[] theBytes,
String theSignature) |
public BouncyCastleCmsMessageSigner()
public void setAliasPassword(String theAliasPassword)
theAliasPassword
- the aliasPassword to setpublic void setKeyAlias(String theKeyAlias)
theKeyAlias
- the keyAlias to setpublic void setKeyStore(KeyStore theKeyStore)
theKeyStore
- the keyStore to setpublic String sign(byte[] theBytes) throws SignatureFailureException
sign
in interface ISigner
SignatureFailureException
public void verify(byte[] theBytes, String theSignature) throws SignatureVerificationException, SignatureFailureException
verify
in interface ISigner
SignatureVerificationException
SignatureFailureException
Copyright © 2012–2017 University Health Network. All rights reserved.