KeyProperty
This class represents the "KEY" property
This class should be called with two arguments, the first an array of the parameters, and the second the value of the property
The only acceptable parameters of
KeyPropertyareValueParameter,MediatypeParameter,AltidParameter,PIDParameter,PrefParameter,IndexParameter,TypeParameterandAnyParameterThe
MediatypeParametermay only be used if the value is of typeURITypeIf you do not wish that the property have any parameters, leave the first argument array empty
The value of
KeyPropertyshould be of typeURITypeorTextType
new KeyProperty(
  [new MediatypeParameter(new ParameterValueType("application/pgp-keys"))],
  new URIType("ftp://example.com/keys/jdoe"),
);