类 X509Signature
-
- com.alibaba.com.caucho.hessian.io.HessianEnvelope
-
- com.alibaba.com.caucho.hessian.security.X509Signature
-
public class X509Signature extends HessianEnvelope
-
-
构造器概要
构造器 构造器 说明 X509Signature()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 getAlgorithm()
Gets the encryption algorithm for the content.getCertificate()
The X509 certificate to obtain the public key of the recipient.getPrivateKey()
The key to obtain the private key of the recipient.getSecureRandom()
The random number generator for the shared secrets.void
algorithm)
Sets the encryption algorithm for the content.void
cert)
The X509 certificate to obtain the public key of the recipient.void
key)
The private key.void
random)
The random number generator for the shared secrets.Hessian2Input
unwrap(Hessian2Input in)
Unwrap the Hessian input stream with this envelope.Hessian2Input
unwrapHeaders(Hessian2Input in)
Unwrap the envelope after having read the envelope code ('E') and the envelope method.Hessian2Output
wrap(Hessian2Output out)
Wrap the Hessian output stream in an envelope.
-
-
-
方法详细资料
-
getAlgorithm
public getAlgorithm()
Gets the encryption algorithm for the content.
-
setAlgorithm
public void setAlgorithm( algorithm)
Sets the encryption algorithm for the content.
-
getCertificate
public getCertificate()
The X509 certificate to obtain the public key of the recipient.
-
setCertificate
public void setCertificate( cert)
The X509 certificate to obtain the public key of the recipient.
-
getPrivateKey
public getPrivateKey()
The key to obtain the private key of the recipient.
-
setPrivateKey
public void setPrivateKey( key)
The private key.
-
getSecureRandom
public getSecureRandom()
The random number generator for the shared secrets.
-
setSecureRandom
public void setSecureRandom( random)
The random number generator for the shared secrets.
-
wrap
public Hessian2Output wrap(Hessian2Output out) throws
从类复制的说明:HessianEnvelope
Wrap the Hessian output stream in an envelope.- 指定者:
wrap
在类中HessianEnvelope
- 抛出:
-
unwrap
public Hessian2Input unwrap(Hessian2Input in) throws
从类复制的说明:HessianEnvelope
Unwrap the Hessian input stream with this envelope. It is an error if the actual envelope does not match the expected envelope class.- 指定者:
unwrap
在类中HessianEnvelope
- 抛出:
-
unwrapHeaders
public Hessian2Input unwrapHeaders(Hessian2Input in) throws
从类复制的说明:HessianEnvelope
Unwrap the envelope after having read the envelope code ('E') and the envelope method. Called by the EnvelopeFactory for dynamic reading of the envelopes.- 指定者:
unwrapHeaders
在类中HessianEnvelope
- 抛出:
-
-