You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Kai Zheng (JIRA)" <ji...@apache.org> on 2015/12/05 00:16:11 UTC

[jira] [Resolved] (DIRKRB-487) Providing an API to use some useful ASN1 functions by consolidating existing utilities

     [ https://issues.apache.org/jira/browse/DIRKRB-487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kai Zheng resolved DIRKRB-487.
------------------------------
    Resolution: Fixed

In *Asn1*:
{code}
    public static void encode(ByteBuffer buffer, Asn1Type value) 
    public static byte[] encode(Asn1Type value) 
    public static Asn1Header decodeHeader(ByteBuffer content) throws IOException 
    public static Asn1Type decode(byte[] content) throws IOException 
    public static Asn1Type decode(ByteBuffer content) throws IOException 
    public static void dump(Asn1Type value) 
    public static void dump(String hexStr) throws IOException 
    public static void dump(byte[] content) throws IOException 
    public static void dump(ByteBuffer content) throws IOException 
{code}

> Providing an API to use some useful ASN1 functions by consolidating existing utilities
> --------------------------------------------------------------------------------------
>
>                 Key: DIRKRB-487
>                 URL: https://issues.apache.org/jira/browse/DIRKRB-487
>             Project: Directory Kerberos
>          Issue Type: Improvement
>            Reporter: Kai Zheng
>            Assignee: Kai Zheng
>
> This is to provid an API class for developers to use some useful ASN1 functions by consolidating existing utilities. Currently these utilities such as encoding, decoding, dumping and etc. are scattered in quite a few places and are not easy to be found.
> The new API class would be *Asn1*.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)