fix(core): update
This commit is contained in:
		@@ -7,6 +7,10 @@ export class PrivateKey {
 | 
				
			|||||||
    return new PrivateKey(privateKey);
 | 
					    return new PrivateKey(privateKey);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public static fromPemString(pemString: string) {
 | 
				
			||||||
 | 
					    return new PrivateKey(plugins.nodeForge.pki.privateKeyFromPem(pemString));
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // INSTANCE
 | 
					  // INSTANCE
 | 
				
			||||||
  public forgePrivateKey: plugins.nodeForge.pki.PrivateKey;
 | 
					  public forgePrivateKey: plugins.nodeForge.pki.PrivateKey;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,6 +7,10 @@ export class PublicKey {
 | 
				
			|||||||
    return new PublicKey(privateKey);
 | 
					    return new PublicKey(privateKey);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public static fromPemString(pemString: string) {
 | 
				
			||||||
 | 
					    return new PublicKey(plugins.nodeForge.pki.publicKeyFromPem(pemString));
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // INSTANCE
 | 
					  // INSTANCE
 | 
				
			||||||
  public forgePublicKey: plugins.nodeForge.pki.PublicKey;
 | 
					  public forgePublicKey: plugins.nodeForge.pki.PublicKey;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user