Package tss.tpm
Class TPMS_SIGNATURE_RSAPSS
- java.lang.Object
-
- tss.TpmStructure
-
- tss.tpm.TPMS_SIGNATURE_RSA
-
- tss.tpm.TPMS_SIGNATURE_RSAPSS
-
- All Implemented Interfaces:
TPMU_SIGNATURE
,TpmMarshaller
,TpmUnion
public class TPMS_SIGNATURE_RSAPSS extends TPMS_SIGNATURE_RSA
Table 185 Definition of {RSA} TPMS_SIGNATURE_RSA Structure
-
-
Field Summary
-
Fields inherited from class tss.tpm.TPMS_SIGNATURE_RSA
hash, sig
-
-
Constructor Summary
Constructors Constructor Description TPMS_SIGNATURE_RSAPSS()
TPMS_SIGNATURE_RSAPSS(TPM_ALG_ID _hash, byte[] _sig)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static TPMS_SIGNATURE_RSAPSS
fromBytes(byte[] byteBuf)
Static marshaling helperstatic TPMS_SIGNATURE_RSAPSS
fromTpm(byte[] byteBuf)
Deprecated.UsefromBytes(byte[])
insteadstatic TPMS_SIGNATURE_RSAPSS
fromTpm(TpmBuffer buf)
Static marshaling helperTPM_ALG_ID
GetUnionSelector()
TpmUnion methodString
toString()
byte[]
toTpm()
Deprecated.UseTpmStructure.toBytes()
instead-
Methods inherited from class tss.tpm.TPMS_SIGNATURE_RSA
initFromTpm, toStringInternal, toTpm
-
Methods inherited from class tss.TpmStructure
equals, hashCode, toBytes
-
-
-
-
Constructor Detail
-
TPMS_SIGNATURE_RSAPSS
public TPMS_SIGNATURE_RSAPSS()
-
TPMS_SIGNATURE_RSAPSS
public TPMS_SIGNATURE_RSAPSS(TPM_ALG_ID _hash, byte[] _sig)
- Parameters:
_hash
- The hash algorithm used to digest the message TPM_ALG_NULL is not allowed._sig
- The signature is the size of a public key.
-
-
Method Detail
-
GetUnionSelector
public TPM_ALG_ID GetUnionSelector()
TpmUnion method- Specified by:
GetUnionSelector
in interfaceTPMU_SIGNATURE
- Overrides:
GetUnionSelector
in classTPMS_SIGNATURE_RSA
-
toTpm
public byte[] toTpm()
Deprecated.UseTpmStructure.toBytes()
instead- Overrides:
toTpm
in classTPMS_SIGNATURE_RSA
- Returns:
- Wire (marshaled) representation of this object
-
fromBytes
public static TPMS_SIGNATURE_RSAPSS fromBytes(byte[] byteBuf)
Static marshaling helper- Parameters:
byteBuf
- Wire representation of the object- Returns:
- New object constructed from its wire representation
-
fromTpm
public static TPMS_SIGNATURE_RSAPSS fromTpm(byte[] byteBuf)
Deprecated.UsefromBytes(byte[])
instead- Parameters:
byteBuf
- Wire representation of the object- Returns:
- New object constructed from its wire representation
-
fromTpm
public static TPMS_SIGNATURE_RSAPSS fromTpm(TpmBuffer buf)
Static marshaling helper- Parameters:
buf
- Wire representation of the object- Returns:
- New object constructed from its wire representation
-
toString
public String toString()
- Overrides:
toString
in classTPMS_SIGNATURE_RSA
-
-