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
KeyProperty
areValueParameter
,MediatypeParameter
,AltidParameter
,PIDParameter
,PrefParameter
,IndexParameter
,TypeParameter
andAnyParameter
The
MediatypeParameter
may only be used if the value is of typeURIType
If you do not wish that the property have any parameters, leave the first argument array empty
The value of
KeyProperty
should be of typeURIType
orTextType
new KeyProperty(
[new MediatypeParameter(new ParameterValueType("application/pgp-keys"))],
new URIType("ftp://example.com/keys/jdoe"),
);