This commit is contained in:
nicolson%netscape.com 2002-08-28 17:57:20 +00:00
Родитель 79e5429015
Коммит 273e3f23ea
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -54,6 +54,10 @@ public class PK11PubKey extends org.mozilla.jss.pkcs11.PK11Key
public native KeyType getKeyType(); public native KeyType getKeyType();
public String getAlgorithm() {
return getKeyType().toString();
}
/** /**
* Creates a PK11PubKey from its raw form. The raw form is a DER encoding * Creates a PK11PubKey from its raw form. The raw form is a DER encoding
* of the public key. For example, this is what is stored in a * of the public key. For example, this is what is stored in a