org.netserv.ipauth.core
Class IpAuthSigner
java.lang.Object
org.netserv.ipauth.core.IpAuthSigner
public final class IpAuthSigner
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IpAuthSigner
public IpAuthSigner(IpAuthSignerImpl signer)
addCaPub
public void addCaPub(java.security.cert.X509Certificate caPub)
getCmsSigner
public static final IpAuthSigner getCmsSigner(java.security.PrivateKey key,
java.lang.String alg,
java.lang.String provider)
getJarSigner
public static final IpAuthSigner getJarSigner(java.security.PrivateKey key,
java.lang.String alg,
java.lang.String provider)
signMultiple
public byte[][] signMultiple(byte[][] payloads)
throws java.io.IOException,
java.security.cert.CertificateException
- Throws:
java.io.IOException
java.security.cert.CertificateException
signSingle
public byte[] signSingle(byte[] payload)
throws java.io.IOException,
java.security.cert.CertificateException
- Throws:
java.io.IOException
java.security.cert.CertificateException
signStream
public void signStream(java.io.InputStream is,
java.io.OutputStream os)
throws java.io.IOException,
java.security.cert.CertificateException
- Throws:
java.io.IOException
java.security.cert.CertificateException