com.adobe.flashaccess.sdk.cert
Class MachineId

java.lang.Object
  extended by com.adobe.flashaccess.sdk.cert.MachineId

public class MachineId
extends java.lang.Object

This class contains information used to identify a machine.


Constructor Summary
MachineId(byte[] machineId)
          Creates a MachineId instance from a serialized machine identifier.
 
Method Summary
 byte[] getBytes()
          Serializes this MachineId instance.
 java.lang.String getUniqueId()
          Retrieves the identifier assigned to the machine during individualization.
 boolean matches(MachineId otherMachineId)
          Determine if this object represents the same machine as the specified MachineId.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MachineId

public MachineId(byte[] machineId)
Creates a MachineId instance from a serialized machine identifier.

Parameters:
machineId - The serialized machine identifier.
Method Detail

getBytes

public byte[] getBytes()
Serializes this MachineId instance.

Returns:
The serialized MachineId.

getUniqueId

public java.lang.String getUniqueId()
Retrieves the identifier assigned to the machine during individualization. This identifier will change if the user reformats the hard drive and individualizes again. To determine if two machine identifiers represent the same machine regardless of reformatting, use MachineId.matches(MachineId).

Returns:
A machine identifier string.

matches

public boolean matches(MachineId otherMachineId)
Determine if this object represents the same machine as the specified MachineId.

Parameters:
otherMachineId - The machine identifier object to be compared.
Returns:
true if the machine identifiers match, false otherwise.


[an error occurred while processing this directive] [an error occurred while processing this directive]