iaik.tc.tss.api.structs.tsp
Class TcTssKmKeyinfo

Object
  extended by TcTssKmKeyinfo
Direct Known Subclasses:
TcTssKmKeyinfo2

public class TcTssKmKeyinfo
extends Object

This class provides information about a key registered in the TSS Persistent Storage.

TSS Spec. 1.2 Errata A, page number:
107
TSS Spec. 1.10 Golden, Aug. 20, 2003, page number:
49

Constructor Summary
TcTssKmKeyinfo()
          Default constructor.
 
Method Summary
 short getAuthDataUsage()
          Returns contents of the authDataUsage field.
 TcTssUuid getKeyUuid()
          Returns contents of the keyUuid field.
 TcTssUuid getParentKeyUuid()
          Returns contents of the parentKeyUuid field.
 TcBlobData getVendorData()
          Returns contents of the rgbVendorData field.
 long getVendorDataLength()
          Returns the length of the vendorData.
 TcTssVersion getVersionInfo()
          Returns contents of the versionInfo field.
 TcTssKmKeyinfo init(TcTssVersion versionInfo, TcTssUuid keyUuid, TcTssUuid parentKeyUuid, short authDataUsage, boolean isLoaded, TcBlobData vendorData)
          Initialization method taking and setting all parameters at once.
 boolean isLoaded()
          Returns contents of the isLoaded field.
 void setAuthDataUsage(short authDataUsage)
          Sets the authDataUsage field.
 void setKeyUuid(TcTssUuid keyUuid)
          Sets the keyUuid field.
 void setLoaded(boolean isLoaded)
          Sets the isLoaded field.
 void setParentKeyUuid(TcTssUuid parentKeyUuid)
          Sets the parentKeyUuid field.
 void setVendorData(TcBlobData rgbVendorData)
          Sets the rgbVendorData field.
 void setVersionInfo(TcTssVersion versionInfo)
          Sets the versionInfo field.
 String toString()
          Returns a string representation of the object.
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TcTssKmKeyinfo

public TcTssKmKeyinfo()
Default constructor.

Method Detail

init

public TcTssKmKeyinfo init(TcTssVersion versionInfo,
                           TcTssUuid keyUuid,
                           TcTssUuid parentKeyUuid,
                           short authDataUsage,
                           boolean isLoaded,
                           TcBlobData vendorData)
Initialization method taking and setting all parameters at once.


getAuthDataUsage

public short getAuthDataUsage()
Returns contents of the authDataUsage field.


setAuthDataUsage

public void setAuthDataUsage(short authDataUsage)
Sets the authDataUsage field.


isLoaded

public boolean isLoaded()
Returns contents of the isLoaded field.


setLoaded

public void setLoaded(boolean isLoaded)
Sets the isLoaded field.


getKeyUuid

public TcTssUuid getKeyUuid()
Returns contents of the keyUuid field.


setKeyUuid

public void setKeyUuid(TcTssUuid keyUuid)
Sets the keyUuid field.


getParentKeyUuid

public TcTssUuid getParentKeyUuid()
Returns contents of the parentKeyUuid field.


setParentKeyUuid

public void setParentKeyUuid(TcTssUuid parentKeyUuid)
Sets the parentKeyUuid field.


getVendorData

public TcBlobData getVendorData()
Returns contents of the rgbVendorData field.


setVendorData

public void setVendorData(TcBlobData rgbVendorData)
Sets the rgbVendorData field.


getVendorDataLength

public long getVendorDataLength()
Returns the length of the vendorData.


getVersionInfo

public TcTssVersion getVersionInfo()
Returns contents of the versionInfo field.


setVersionInfo

public void setVersionInfo(TcTssVersion versionInfo)
Sets the versionInfo field.


toString

public String toString()
Returns a string representation of the object.

Overrides:
toString in class Object