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

java.lang.Object
  extended by iaik.tc.tss.api.structs.tsp.TcTssKmKeyinfo
      extended by iaik.tc.tss.api.structs.tsp.TcTssKmKeyinfo2

public class TcTssKmKeyinfo2
extends TcTssKmKeyinfo

This class is identical to TcTssKmKeyinfo except that it additionally includes the key's storage type.

TSS Spec. 1.2 Errata A, page number:
108

Constructor Summary
TcTssKmKeyinfo2()
          Default constructor.
 
Method Summary
 long getPersistenStorageTypeParent()
          This method returns the content of the persistenStorageTypeParent field.
 long getPersistentStorageType()
          This method returns the content of the persistentStorageType field.
 TcTssKmKeyinfo init(TcTssVersion versionInfo, TcTssUuid keyUuid, TcTssUuid parentKeyUuid, short authDataUsage, boolean isLoaded, TcBlobData vendorData, long persistentStorageType, long persistentStorageTypeParent)
          Initialization method taking and setting all parameters at once.
 void setPersistenStorageTypeParent(long persistenStorageTypeParent)
          This method sets the content of the persistenStorageTypeParent field.
 void setPersistentStorageType(long persistentStorageType)
          This method sets the content of the persistentStorageType field.
 java.lang.String toString()
          Returns a string representation of the object.
 
Methods inherited from class iaik.tc.tss.api.structs.tsp.TcTssKmKeyinfo
getAuthDataUsage, getKeyUuid, getParentKeyUuid, getVendorData, getVendorDataLength, getVersionInfo, init, isLoaded, setAuthDataUsage, setKeyUuid, setLoaded, setParentKeyUuid, setVendorData, setVersionInfo
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TcTssKmKeyinfo2

public TcTssKmKeyinfo2()
Default constructor.

Method Detail

init

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


getPersistenStorageTypeParent

public long getPersistenStorageTypeParent()
This method returns the content of the persistenStorageTypeParent field.


setPersistenStorageTypeParent

public void setPersistenStorageTypeParent(long persistenStorageTypeParent)
This method sets the content of the persistenStorageTypeParent field.


getPersistentStorageType

public long getPersistentStorageType()
This method returns the content of the persistentStorageType field.


setPersistentStorageType

public void setPersistentStorageType(long persistentStorageType)
This method sets the content of the persistentStorageType field.


toString

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

Overrides:
toString in class TcTssKmKeyinfo