Example usage for org.bouncycastle.asn1.icao LDSVersionInfo getUnicodeVersion

List of usage examples for org.bouncycastle.asn1.icao LDSVersionInfo getUnicodeVersion

Introduction

In this page you can find the example usage for org.bouncycastle.asn1.icao LDSVersionInfo getUnicodeVersion.

Prototype

public String getUnicodeVersion() 

Source Link

Usage

From source file:org.jmrtd.lds.SODFile.java

License:Open Source License

/**
 * Gets the version of unicode if stored in the Security Object (SOd).
 *
 * @return the unicode version in "aabbcc" format or null if LDS < V1.8
 *
 * @since LDS V1.8/*from  w ww  .  j a va  2s. co  m*/
 */
public String getUnicodeVersion() {
    LDSVersionInfo ldsVersionInfo = getLDSSecurityObject(signedData).getVersionInfo();
    if (ldsVersionInfo == null) {
        return null;
    } else {
        return ldsVersionInfo.getUnicodeVersion();
    }
}