src.com.ibm.as400.access.AS400CertificateVldlUtilImplNative Maven / Gradle / Ivy
Show all versions of jt400-jdk8 Show documentation
///////////////////////////////////////////////////////////////////////////////
//
// JTOpen (IBM Toolbox for Java - OSS version)
//
// Filename: AS400CertificateVldlUtilImplNative.java
//
// The source code contained herein is licensed under the IBM Public License
// Version 1.0, which has been approved by the Open Source Initiative.
// Copyright (C) 1997-2000 International Business Machines Corporation and
// others. All rights reserved.
//
///////////////////////////////////////////////////////////////////////////////
package com.ibm.as400.access;
/**
The AS400CertificateVldlUtilImplNative provides the implementation of the native methods for accessing certificates in an IBM i validation list object.
**/
class AS400CertificateVldlUtilImplNative extends AS400CertificateVldlUtilImpl
{
private static final String CLASSNAME = "com.ibm.as400.access.AS400CertificateVldlUtilImplNative";
static
{
if (Trace.traceOn_) Trace.logLoadPath(CLASSNAME);
}
// load the service program.
static
{
NativeMethods.loadNativeLibraryQyjspart();
}
//********************************************************************/
//* native methods for direct local invocation */
//* */
//* @return Return code mapped to CPFxxxx error message. */
//********************************************************************/
native int calladdCertificate(byte[] cert, int certlen,
String ifsPathName, int pathlen);
native int calldeleteCertificate(byte[] cert, int certlen,
String ifsPathName, int pathlen,
int certType);
native int calllistCertificates(String ifsPathName, int pathlen,
String usrSpaceName,
boolean[] parmEntered,
String[] attrS,
byte[] [] attrB);
native int callcheckCertificate(byte[] cert, int certlen,
String ifsPathName, int pathlen,
int certType);
} // End of AS400CertificateVldlUtilImplNative class