Class NSSignedPublicKey

Represents all licenses for this owner at this site.

Constructors

NSSignedPublicKey()

Initializes a new instance of the NSSignedPublicKey class.

Declaration

NSSignedPublicKey

Methods

GetExpiryDate()

Declaration

DateTime GetExpiryDate()

Examples

NSSignedPublicKey thing;
DateTime expiryDate = thing.GetExpiryDate();

Returns

Type Description
DateTime Date when the signature expires. No Timezone.

GetKey()

Declaration

NSDSAParameters GetKey()

Examples

NSSignedPublicKey thing;
NSDSAParameters key = thing.GetKey();

Returns

Type Description
NSDSAParameters Public key held by module owner.

GetOwnerName()

Declaration

String GetOwnerName()

Examples

NSSignedPublicKey thing;
String ownerName = thing.GetOwnerName();

Returns

Type Description
String The name of the module owner, not visible in GUI but used in the code.

GetSignature()

Declaration

String GetSignature()

Examples

NSSignedPublicKey thing;
String signature = thing.GetSignature();

Returns

Type Description
String Signature, Base64 encoded value.

GetSignDate()

Declaration

DateTime GetSignDate()

Examples

NSSignedPublicKey thing;
DateTime signDate = thing.GetSignDate();

Returns

Type Description
DateTime Date when the the public key was signed. No Timezone.

SetExpiryDate(DateTime)

Declaration

Void SetExpiryDate(DateTime expiryDate)

Examples

NSSignedPublicKey thing;
DateTime expiryDate;
thing.SetExpiryDate(expiryDate);

Parameters

Type Name Description
DateTime expiryDate Date when the signature expires. No Timezone.

Returns

Type Description
Void

SetKey(NSDSAParameters)

Declaration

Void SetKey(NSDSAParameters key)

Examples

NSSignedPublicKey thing;
NSDSAParameters key;
thing.SetKey(key);

Parameters

Type Name Description
NSDSAParameters key Public key held by module owner.

Returns

Type Description
Void

SetOwnerName(String)

Declaration

Void SetOwnerName(String ownerName)

Examples

NSSignedPublicKey thing;
String ownerName;
thing.SetOwnerName(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

SetSignature(String)

Declaration

Void SetSignature(String signature)

Examples

NSSignedPublicKey thing;
String signature;
thing.SetSignature(signature);

Parameters

Type Name Description
String signature Signature, Base64 encoded value.

Returns

Type Description
Void

SetSignDate(DateTime)

Declaration

Void SetSignDate(DateTime signDate)

Examples

NSSignedPublicKey thing;
DateTime signDate;
thing.SetSignDate(signDate);

Parameters

Type Name Description
DateTime signDate Date when the the public key was signed. No Timezone.

Returns

Type Description
Void