Tpm2Lib.TpmPublic.TpmPublic C# (CSharp) Method

TpmPublic() public method

public TpmPublic ( TpmAlgId the_nameAlg, ObjectAttr the_objectAttributes, byte the_authPolicy, IPublicParmsUnion the_parameters, IPublicIdUnion the_unique ) : System
the_nameAlg TpmAlgId algorithm used for computing the Name of the object NOTE The "+" indicates that the instance of a TPMT_PUBLIC may have a "+" to indicate that the nameAlg may be TPM_ALG_NULL.
the_objectAttributes ObjectAttr attributes that, along with type, determine the manipulations of this object
the_authPolicy byte optional policy for using this key The policy is computed using the nameAlg of the object. NOTE Shall be the Empty Policy if no authorization policy is present.
the_parameters IPublicParmsUnion the algorithm or structure details(One of KeyedhashParms, SymcipherParms, RsaParms, EccParms, AsymParms)
the_unique IPublicIdUnion the unique identifier of the structure For an asymmetric key, this would be the public key.(One of Tpm2bDigestKeyedhash, Tpm2bDigestSymcipher, Tpm2bPublicKeyRsa, EccPoint, TpmDerive)
return System
        public TpmPublic(
        TpmAlgId the_nameAlg,
        ObjectAttr the_objectAttributes,
        byte[] the_authPolicy,
        IPublicParmsUnion the_parameters,
        IPublicIdUnion the_unique
        )
        {
            this.nameAlg = the_nameAlg;
            this.objectAttributes = the_objectAttributes;
            this.authPolicy = the_authPolicy;
            this.parameters = the_parameters;
            this.unique = the_unique;
        }
        new public TpmPublic Copy()

Same methods

TpmPublic::TpmPublic ( ) : System
TpmPublic::TpmPublic ( TpmPublic the_TpmPublic ) : System