update structure

This commit is contained in:
2016-06-25 15:30:57 +02:00
parent 6339a3ed9b
commit 5b1f800067
12 changed files with 97 additions and 38 deletions

View File

@ -54,7 +54,12 @@ export class SshKey {
this._pubKey = plugins.base64.decode(publicKeyArg);
}
get authorized(){
return this._authorized;
}
set authorized(authorizedArg:boolean){
this._authorized = authorizedArg;
}
get type(){
if(this._privKey && this._pubKey){
return "duplex";