fr.imag.adele.bundle.upnp.hvac.impl
Class DeviceSecurityModelImpl

java.lang.Object
  extended byfr.imag.adele.bundle.upnp.hvac.impl.DeviceSecurityModelImpl
All Implemented Interfaces:
DeviceSecurityModel

public class DeviceSecurityModelImpl
extends Object
implements DeviceSecurityModel


Constructor Summary
DeviceSecurityModelImpl()
           
 
Method Summary
 void addACLEntry(String entry)
          This method is "add description here" entry in parameter
 void cacheCertificate(String certificates)
          This method is "add description here" certificates in parameter
 void decryptAndExecute(int deviceKeyID, byte[] request, byte[] inIV, fr.imag.adele.util.upnp.holder.ByteArrayHolder reply, fr.imag.adele.util.upnp.holder.ByteArrayHolder outIV)
          This method is "add description here" deviceKeyID in parameter request in parameter inIV in parameter reply out parameter outIV out parameter
 void deleteACLEntry(String targetACLVersion, int index, fr.imag.adele.util.upnp.holder.StringHolder newACLVersion)
          This method is "add description here" targetACLVersion in parameter index in parameter newACLVersion out parameter
 void expireSessionKeys(int deviceKeyID)
          This method is "add description here" deviceKeyID in parameter
 void factorySecurityReset()
          This method is "add description here"
 void getACLSizes(fr.imag.adele.util.upnp.holder.IntegerHolder argTotalACLSize, fr.imag.adele.util.upnp.holder.IntegerHolder argFreeACLSize, fr.imag.adele.util.upnp.holder.IntegerHolder argTotalOwnerListSize, fr.imag.adele.util.upnp.holder.IntegerHolder argFreeOwnerListSize, fr.imag.adele.util.upnp.holder.IntegerHolder argTotalCertCacheSize, fr.imag.adele.util.upnp.holder.IntegerHolder argFreeCertCacheSize)
          This method is "add description here" argTotalACLSize out parameter argFreeACLSize out parameter argTotalOwnerListSize out parameter argFreeOwnerListSize out parameter argTotalCertCacheSize out parameter argFreeCertCacheSize out parameter
 void getAlgorithmsAndProtocols(fr.imag.adele.util.upnp.holder.StringHolder supported)
          This method is "add description here" supported out parameter
 void getDefinedPermissions(fr.imag.adele.util.upnp.holder.StringHolder permissions)
          This method is "add description here" permissions out parameter
 void getDefinedProfiles(fr.imag.adele.util.upnp.holder.StringHolder profiles)
          This method is "add description here" profiles out parameter
 Integer getFreeACLSizeStateVariableValue()
           
 Integer getFreeCertCacheSizeStateVariableValue()
           
 Integer getFreeOwnerListSizeStateVariableValue()
           
 void getLifetimeSequenceBase(fr.imag.adele.util.upnp.holder.StringHolder argLifetimeSequenceBase)
          This method is "add description here" argLifetimeSequenceBase out parameter
 String getLifetimeSequenceBaseStateVariableValue()
           
 Integer getNumberOfOwnersStateVariableValue()
           
 void getPublicKeys(fr.imag.adele.util.upnp.holder.StringHolder keyArg)
          This method is "add description here" keyArg out parameter
 String getTimeHintStateVariableValue()
           
 Integer getTotalACLSizeStateVariableValue()
           
 Integer getTotalCertCacheSizeStateVariableValue()
           
 Integer getTotalOwnerListSizeStateVariableValue()
           
 void grantOwnership(String hashAlgorithm, byte[] keyHash)
          This method is "add description here" hashAlgorithm in parameter keyHash in parameter
 void listOwners(fr.imag.adele.util.upnp.holder.IntegerHolder argNumberOfOwners, fr.imag.adele.util.upnp.holder.StringHolder owners)
          This method is "add description here" argNumberOfOwners out parameter owners out parameter
 void readACL(fr.imag.adele.util.upnp.holder.StringHolder version, fr.imag.adele.util.upnp.holder.StringHolder aCL)
          This method is "add description here" version out parameter aCL out parameter
 void replaceACLEntry(String targetACLVersion, int index, String entry, fr.imag.adele.util.upnp.holder.StringHolder newACLVersion)
          This method is "add description here" targetACLVersion in parameter index in parameter entry in parameter newACLVersion out parameter
 void revokeOwnership(String hashAlgorithm, byte[] keyHash)
          This method is "add description here" hashAlgorithm in parameter keyHash in parameter
 void setSessionKeys(byte[] encipheredBulkKey, String bulkAlgorithm, byte[] ciphertext, int cPKeyID, fr.imag.adele.util.upnp.holder.IntegerHolder deviceKeyID, fr.imag.adele.util.upnp.holder.StringHolder sequenceBase)
          This method is "add description here" encipheredBulkKey in parameter bulkAlgorithm in parameter ciphertext in parameter cPKeyID in parameter deviceKeyID out parameter sequenceBase out parameter
 void setTimeHint(String argTimeHint)
          This method is "add description here" argTimeHint in parameter
 void takeOwnership(String hMACAlgorithm, byte[] encryptedHMACValue)
          This method is "add description here" hMACAlgorithm in parameter encryptedHMACValue in parameter
 void writeACL(String version, String aCL, fr.imag.adele.util.upnp.holder.StringHolder newVersion)
          This method is "add description here" version in parameter aCL in parameter newVersion out parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeviceSecurityModelImpl

public DeviceSecurityModelImpl()
Method Detail

getPublicKeys

public void getPublicKeys(fr.imag.adele.util.upnp.holder.StringHolder keyArg)
This method is "add description here" keyArg out parameter

Specified by:
getPublicKeys in interface DeviceSecurityModel

getAlgorithmsAndProtocols

public void getAlgorithmsAndProtocols(fr.imag.adele.util.upnp.holder.StringHolder supported)
This method is "add description here" supported out parameter

Specified by:
getAlgorithmsAndProtocols in interface DeviceSecurityModel

getACLSizes

public void getACLSizes(fr.imag.adele.util.upnp.holder.IntegerHolder argTotalACLSize,
                        fr.imag.adele.util.upnp.holder.IntegerHolder argFreeACLSize,
                        fr.imag.adele.util.upnp.holder.IntegerHolder argTotalOwnerListSize,
                        fr.imag.adele.util.upnp.holder.IntegerHolder argFreeOwnerListSize,
                        fr.imag.adele.util.upnp.holder.IntegerHolder argTotalCertCacheSize,
                        fr.imag.adele.util.upnp.holder.IntegerHolder argFreeCertCacheSize)
This method is "add description here" argTotalACLSize out parameter argFreeACLSize out parameter argTotalOwnerListSize out parameter argFreeOwnerListSize out parameter argTotalCertCacheSize out parameter argFreeCertCacheSize out parameter

Specified by:
getACLSizes in interface DeviceSecurityModel

cacheCertificate

public void cacheCertificate(String certificates)
This method is "add description here" certificates in parameter

Specified by:
cacheCertificate in interface DeviceSecurityModel

setTimeHint

public void setTimeHint(String argTimeHint)
This method is "add description here" argTimeHint in parameter

Specified by:
setTimeHint in interface DeviceSecurityModel

getLifetimeSequenceBase

public void getLifetimeSequenceBase(fr.imag.adele.util.upnp.holder.StringHolder argLifetimeSequenceBase)
This method is "add description here" argLifetimeSequenceBase out parameter

Specified by:
getLifetimeSequenceBase in interface DeviceSecurityModel

setSessionKeys

public void setSessionKeys(byte[] encipheredBulkKey,
                           String bulkAlgorithm,
                           byte[] ciphertext,
                           int cPKeyID,
                           fr.imag.adele.util.upnp.holder.IntegerHolder deviceKeyID,
                           fr.imag.adele.util.upnp.holder.StringHolder sequenceBase)
This method is "add description here" encipheredBulkKey in parameter bulkAlgorithm in parameter ciphertext in parameter cPKeyID in parameter deviceKeyID out parameter sequenceBase out parameter

Specified by:
setSessionKeys in interface DeviceSecurityModel

expireSessionKeys

public void expireSessionKeys(int deviceKeyID)
This method is "add description here" deviceKeyID in parameter

Specified by:
expireSessionKeys in interface DeviceSecurityModel

decryptAndExecute

public void decryptAndExecute(int deviceKeyID,
                              byte[] request,
                              byte[] inIV,
                              fr.imag.adele.util.upnp.holder.ByteArrayHolder reply,
                              fr.imag.adele.util.upnp.holder.ByteArrayHolder outIV)
This method is "add description here" deviceKeyID in parameter request in parameter inIV in parameter reply out parameter outIV out parameter

Specified by:
decryptAndExecute in interface DeviceSecurityModel

takeOwnership

public void takeOwnership(String hMACAlgorithm,
                          byte[] encryptedHMACValue)
This method is "add description here" hMACAlgorithm in parameter encryptedHMACValue in parameter

Specified by:
takeOwnership in interface DeviceSecurityModel

getDefinedPermissions

public void getDefinedPermissions(fr.imag.adele.util.upnp.holder.StringHolder permissions)
This method is "add description here" permissions out parameter

Specified by:
getDefinedPermissions in interface DeviceSecurityModel

getDefinedProfiles

public void getDefinedProfiles(fr.imag.adele.util.upnp.holder.StringHolder profiles)
This method is "add description here" profiles out parameter

Specified by:
getDefinedProfiles in interface DeviceSecurityModel

readACL

public void readACL(fr.imag.adele.util.upnp.holder.StringHolder version,
                    fr.imag.adele.util.upnp.holder.StringHolder aCL)
This method is "add description here" version out parameter aCL out parameter

Specified by:
readACL in interface DeviceSecurityModel

writeACL

public void writeACL(String version,
                     String aCL,
                     fr.imag.adele.util.upnp.holder.StringHolder newVersion)
This method is "add description here" version in parameter aCL in parameter newVersion out parameter

Specified by:
writeACL in interface DeviceSecurityModel

addACLEntry

public void addACLEntry(String entry)
This method is "add description here" entry in parameter

Specified by:
addACLEntry in interface DeviceSecurityModel

deleteACLEntry

public void deleteACLEntry(String targetACLVersion,
                           int index,
                           fr.imag.adele.util.upnp.holder.StringHolder newACLVersion)
This method is "add description here" targetACLVersion in parameter index in parameter newACLVersion out parameter

Specified by:
deleteACLEntry in interface DeviceSecurityModel

replaceACLEntry

public void replaceACLEntry(String targetACLVersion,
                            int index,
                            String entry,
                            fr.imag.adele.util.upnp.holder.StringHolder newACLVersion)
This method is "add description here" targetACLVersion in parameter index in parameter entry in parameter newACLVersion out parameter

Specified by:
replaceACLEntry in interface DeviceSecurityModel

factorySecurityReset

public void factorySecurityReset()
This method is "add description here"

Specified by:
factorySecurityReset in interface DeviceSecurityModel

grantOwnership

public void grantOwnership(String hashAlgorithm,
                           byte[] keyHash)
This method is "add description here" hashAlgorithm in parameter keyHash in parameter

Specified by:
grantOwnership in interface DeviceSecurityModel

revokeOwnership

public void revokeOwnership(String hashAlgorithm,
                            byte[] keyHash)
This method is "add description here" hashAlgorithm in parameter keyHash in parameter

Specified by:
revokeOwnership in interface DeviceSecurityModel

listOwners

public void listOwners(fr.imag.adele.util.upnp.holder.IntegerHolder argNumberOfOwners,
                       fr.imag.adele.util.upnp.holder.StringHolder owners)
This method is "add description here" argNumberOfOwners out parameter owners out parameter

Specified by:
listOwners in interface DeviceSecurityModel

getNumberOfOwnersStateVariableValue

public Integer getNumberOfOwnersStateVariableValue()
Specified by:
getNumberOfOwnersStateVariableValue in interface DeviceSecurityModel

getLifetimeSequenceBaseStateVariableValue

public String getLifetimeSequenceBaseStateVariableValue()
Specified by:
getLifetimeSequenceBaseStateVariableValue in interface DeviceSecurityModel

getTimeHintStateVariableValue

public String getTimeHintStateVariableValue()
Specified by:
getTimeHintStateVariableValue in interface DeviceSecurityModel

getTotalACLSizeStateVariableValue

public Integer getTotalACLSizeStateVariableValue()
Specified by:
getTotalACLSizeStateVariableValue in interface DeviceSecurityModel

getFreeACLSizeStateVariableValue

public Integer getFreeACLSizeStateVariableValue()
Specified by:
getFreeACLSizeStateVariableValue in interface DeviceSecurityModel

getTotalOwnerListSizeStateVariableValue

public Integer getTotalOwnerListSizeStateVariableValue()
Specified by:
getTotalOwnerListSizeStateVariableValue in interface DeviceSecurityModel

getFreeOwnerListSizeStateVariableValue

public Integer getFreeOwnerListSizeStateVariableValue()
Specified by:
getFreeOwnerListSizeStateVariableValue in interface DeviceSecurityModel

getTotalCertCacheSizeStateVariableValue

public Integer getTotalCertCacheSizeStateVariableValue()
Specified by:
getTotalCertCacheSizeStateVariableValue in interface DeviceSecurityModel

getFreeCertCacheSizeStateVariableValue

public Integer getFreeCertCacheSizeStateVariableValue()
Specified by:
getFreeCertCacheSizeStateVariableValue in interface DeviceSecurityModel