keyTypeToString static method
Returns a string representation of the key type.
Implementation
static String keyTypeToString(int type) {
switch (type) {
case bksKeyTypePrivate:
return 'PRIVATE';
case bksKeyTypePublic:
return 'PUBLIC';
case bksKeyTypeSecret:
return 'SECRET';
default:
return 'UNKNOWN';
}
}