x9ecpoint.java
来自「《移动Agent技术》一书的所有章节源代码。」· Java 代码 · 共 44 行
JAVA
44 行
package org.bouncycastle.asn1.x9;import org.bouncycastle.asn1.*;import org.bouncycastle.math.ec.*;/** * class for describing an ECPoint as a DER object. */public class X9ECPoint implements DEREncodable{ ECPoint p; public X9ECPoint( ECPoint p) { this.p = p; } public X9ECPoint( ECCurve c, DEROctetString s) { this.p = c.decodePoint(s.getOctets()); } public ECPoint getPoint() { return p; } /** * <pre> * ECPoint ::= OCTET STRING * </pre> * <p> * Octet string produced using ECPoint.getEncoded(). */ public DERObject getDERObject() { return new DEROctetString(p.getEncoded()); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?