Class NSSignedPublicKey
Represents all licenses for this owner at this site.
Syntax
Constructors
NSSignedPublicKey()
Initializes a new instance of the NSSignedPublicKey class.
Declaration
NSSignedPublicKey
Methods
GetExpiryDate()
Represents all licenses for this owner at this site.
Declaration
DateTime GetExpiryDate()
Returns
| Type | Description |
|---|---|
| DateTime | Date when the signature expires. No Timezone. |
Examples
NSSignedPublicKey thing;
DateTime expiryDate = thing.GetExpiryDate();
GetKey()
Represents all licenses for this owner at this site.
Declaration
NSDSAParameters GetKey()
Returns
| Type | Description |
|---|---|
| NSDSAParameters | Public key held by module owner. |
Examples
NSSignedPublicKey thing;
NSDSAParameters key = thing.GetKey();
GetOwnerName()
Represents all licenses for this owner at this site.
Declaration
String GetOwnerName()
Returns
| Type | Description |
|---|---|
| String | The name of the module owner, not visible in GUI but used in the code. |
Remarks
OwnerName SUPEROFFICE is reserved and may NEVER be used by partners. This must be in UPPER CASE and only contain A-Z and 0-9. NO EXTENDED CHARACTERS please.n
Examples
NSSignedPublicKey thing;
String ownerName = thing.GetOwnerName();
GetSignature()
Represents all licenses for this owner at this site.
Declaration
String GetSignature()
Returns
| Type | Description |
|---|---|
| String | Signature, Base64 encoded value. |
Examples
NSSignedPublicKey thing;
String signature = thing.GetSignature();
GetSignDate()
Represents all licenses for this owner at this site.
Declaration
DateTime GetSignDate()
Returns
| Type | Description |
|---|---|
| DateTime | Date when the the public key was signed. No Timezone. |
Examples
NSSignedPublicKey thing;
DateTime signDate = thing.GetSignDate();
SetExpiryDate(DateTime)
Represents all licenses for this owner at this site.
Declaration
Void SetExpiryDate(DateTime expiryDate)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | expiryDate | Date when the signature expires. No Timezone. |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSSignedPublicKey thing;
DateTime expiryDate;
thing.SetExpiryDate(expiryDate);
SetKey(NSDSAParameters)
Represents all licenses for this owner at this site.
Declaration
Void SetKey(NSDSAParameters key)
Parameters
| Type | Name | Description |
|---|---|---|
| NSDSAParameters | key | Public key held by module owner. |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSSignedPublicKey thing;
NSDSAParameters key;
thing.SetKey(key);
SetOwnerName(String)
Represents all licenses for this owner at this site.
Declaration
Void SetOwnerName(String ownerName)
Parameters
| Type | Name | Description |
|---|---|---|
| String | ownerName | The name of the module owner, not visible in GUI but used in the code. OwnerName SUPEROFFICE is reserved and may NEVER be used by partners. This must be in UPPER CASE and only contain A-Z and 0-9. NO EXTENDED CHARACTERS please. |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSSignedPublicKey thing;
String ownerName;
thing.SetOwnerName(ownerName);
SetSignature(String)
Represents all licenses for this owner at this site.
Declaration
Void SetSignature(String signature)
Parameters
| Type | Name | Description |
|---|---|---|
| String | signature | Signature, Base64 encoded value. |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSSignedPublicKey thing;
String signature;
thing.SetSignature(signature);
SetSignDate(DateTime)
Represents all licenses for this owner at this site.
Declaration
Void SetSignDate(DateTime signDate)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | signDate | Date when the the public key was signed. No Timezone. |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSSignedPublicKey thing;
DateTime signDate;
thing.SetSignDate(signDate);