public class BasicControl extends Object implements Control
Modifier and Type | Field and Description |
---|---|
protected boolean |
criticality
控制临界性。
|
protected String |
id
控件的对象标识符字符串。
|
protected byte[] |
value
控制的ASN.1 BER编码的值1。
|
CRITICAL, NONCRITICAL
Constructor and Description |
---|
BasicControl(String id)
构造非关键控制。
|
BasicControl(String id, boolean criticality, byte[] value)
使用所提供的参数构造一个控件。
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getEncodedValue()
检索控件的ASN.1 BER编码的值1。
|
String |
getID()
检索控件的对象标识符字符串。
|
boolean |
isCritical()
确定控制的临界性。
|
protected String id
protected boolean criticality
protected byte[] value
public BasicControl(String id)
id
-控制的对象标识符字符串。
public BasicControl(String id, boolean criticality, byte[] value)
id
-控制的对象标识符字符串。
criticality
-控制的重要性。
value
-控制的ASN.1 BER编码的值1。它没有被克隆-任何值的变化都会影响到控件的内容。它可能是空的。
public boolean isCritical()
isCritical
接口
Control
public byte[] getEncodedValue()
getEncodedValue
接口
Control
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.