cgl.narada.service.security.kmc
Class SignedSecurityToken
java.lang.Object
cgl.narada.service.security.kmc.SignedSecurityToken
- All Implemented Interfaces:
- Serializable
public class SignedSecurityToken
- extends Object
- implements Serializable
Encapsulates the security token, the signer's certificate(KMC) and the signed signature
Created on Sep 9, 2005
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SignedSecurityToken
public SignedSecurityToken(SecurityToken token,
Certificate cert)
generateSignedDigest
public boolean generateSignedDigest(PrivateKey privKey)
verify
public boolean verify()
verify
public boolean verify(PublicKey pubKey)
getBytes
public byte[] getBytes()
- Marshalls the object into an array of bytes.
- Returns:
- an array of bytes representing the marshaller object, null if
error occurs
createObjectFromBytes
public static SignedSecurityToken createObjectFromBytes(byte[] objectBytes)
- Unmarshalls the bytes as a SignedSecurityToken object
- Parameters:
objectBytes -
- Returns:
- SignedSecurityToken if successful, null if error occurs
getKmcCertificate
public Certificate getKmcCertificate()
- Returns:
- Returns the kmcCertificate.
getSecurityToken
public SecurityToken getSecurityToken()
- Returns:
- Returns the securityToken.
For comments and suggestions please send
e-mail to
The NaradaBrokering Project