Bouncy Castle Cryptography Library 1.77.0

org.bouncycastle.jcajce.spec
Class SM2ParameterSpec

java.lang.Object
  |
  +--org.bouncycastle.jcajce.spec.SM2ParameterSpec
All Implemented Interfaces:
java.security.spec.AlgorithmParameterSpec

public class SM2ParameterSpec
extends java.lang.Object
implements java.security.spec.AlgorithmParameterSpec

Parameter spec for SM2 ID parameter


Constructor Summary
SM2ParameterSpec(byte[] id)
          Base constructor.
 
Method Summary
 byte[] getID()
          Return the ID value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SM2ParameterSpec

public SM2ParameterSpec(byte[] id)
Base constructor.
Parameters:
id - the ID string associated with this usage of SM2.
Method Detail

getID

public byte[] getID()
Return the ID value.
Returns:
the ID string.

Bouncy Castle Cryptography Library 1.77.0