snmpsecurityparameters.java
来自「JAVA的一些源码 JAVA2 STANDARD EDITION DEVELO」· Java 代码 · 共 41 行
JAVA
41 行
/* * @(#)file SnmpSecurityParameters.java * @(#)author Sun Microsystems, Inc. * @(#)version 1.17 * @(#)date 07/09/25 * * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * */package com.sun.jmx.snmp;import com.sun.jmx.snmp.SnmpStatusException;import com.sun.jmx.snmp.SnmpTooBigException;/** * Security parameters are security model dependent. Every security parameters class wishing to be passed to a security model must implement this marker interface. * This interface has to be implemented when developing customized security models. * <p><b>This API is a Sun Microsystems internal API and is subject * to change without notice.</b></p> * @since 1.5 */public interface SnmpSecurityParameters { /** * BER encoding of security parameters. * @param outputBytes Array to fill. * @return Encoded parameters length. */ int encode(byte[] outputBytes) throws SnmpTooBigException; /** * BER decoding of security parameters. * @param params Encoded parameters. */ void decode(byte[] params) throws SnmpStatusException; /** * Principal coded inside the security parameters. * @return The security principal. */ String getPrincipal();}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?