public class PKCS11Exception extends TokenException
| Constructor and Description |
|---|
PKCS11Exception(long errorCode)
Constructor taking the error code as defined for the CKR_* constants
in PKCS#11.
|
PKCS11Exception(long errorCode,
String name)
Constructor taking the error code as defined for the CKR_* constants
in PKCS#11.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getErrorCode()
Returns the PKCS#11 error code.
|
String |
getErrorName() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic PKCS11Exception(long errorCode)
errorCode - The PKCS#11 error code (return value).public PKCS11Exception(long errorCode,
String name)
errorCode - The PKCS#11 error code (return value).name - The error name.public long getErrorCode()
public String getErrorName()
Copyright © 2023. All rights reserved.