org.objectweb.proactive.ext.security.crypto
Class Session
java.lang.Object
|
+--org.objectweb.proactive.ext.security.crypto.Session
- All Implemented Interfaces:
- java.io.Serializable
- public class Session
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
sessionID
public long sessionID
distantOACertificate
public java.security.cert.X509Certificate distantOACertificate
distantOAPublicKey
public java.security.PublicKey distantOAPublicKey
distantBody
public UniversalBody distantBody
cl_cipher
public transient javax.crypto.Cipher cl_cipher
se_cipher
public transient javax.crypto.Cipher se_cipher
rsa_eng
public transient javax.crypto.Cipher rsa_eng
cl_mac
public transient javax.crypto.Mac cl_mac
se_mac
public transient javax.crypto.Mac se_mac
cl_sec_key
public byte[] cl_sec_key
se_sec_key
public byte[] se_sec_key
cl_mac_enc
public byte[] cl_mac_enc
se_mac_enc
public byte[] se_mac_enc
se_iv
public transient javax.crypto.spec.IvParameterSpec se_iv
cl_iv
public transient javax.crypto.spec.IvParameterSpec cl_iv
se_rand
public byte[] se_rand
cl_rand
public byte[] cl_rand
se_hmac_key
public javax.crypto.SecretKey se_hmac_key
se_aes_key
public javax.crypto.SecretKey se_aes_key
cl_hmac_key
public javax.crypto.SecretKey cl_hmac_key
cl_aes_key
public javax.crypto.SecretKey cl_aes_key
sec_rand
public transient java.security.SecureRandom sec_rand
Session
public Session()
Session
public Session(long sessionID,
Communication policy)
throws java.lang.Exception
isID
public boolean isID(long ID)
get_otherPublicCertificate
public java.security.cert.X509Certificate get_otherPublicCertificate(long id)
getSessionID
public long getSessionID()
setDistantOACertificate
public void setDistantOACertificate(java.security.cert.X509Certificate distantBodyCertificate)
getDistantOACertificate
public java.security.cert.X509Certificate getDistantOACertificate()
getDistantOAPublicKey
public java.security.PublicKey getDistantOAPublicKey()
setDistantOAPublicKey
public void setDistantOAPublicKey(java.security.PublicKey distantOAPublicKey)
writePDU
public byte[][] writePDU(byte[] in)
throws java.lang.Exception
java.lang.Exception
isEqual
public static boolean isEqual(byte[] a,
byte[] b)
readPDU
public byte[] readPDU(byte[] in,
byte[] mac)
throws java.lang.Exception
java.lang.Exception
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
setPolicy
public void setPolicy(Policy resultPolicy)
- Method setPolicy.
- Parameters:
resultPolicy
-
Copyright © April 2004 INRIA All Rights Reserved.