IT. Expert System.

Android Reference

ASN1Integer


org.apache.harmony.security.asn1

Class ASN1Integer

    • Constructor Detail

      • ASN1Integer

        public ASN1Integer()
        Constructs ASN.1 Integer type The constructor is provided for inheritance purposes when there is a need to create a custom ASN.1 Integer type. To get a default implementation it is recommended to use getInstance() method.
    • Method Detail

      • getInstance

        public static ASN1Integer getInstance()
        Returns ASN.1 Integer type default implementation The default implementation works with encoding that is represented as byte array in two's-complement notation.
        Returns:
        ASN.1 Integer type default implementation
      • toIntValue

        public static int toIntValue(Object decoded)
        Converts decoded ASN.1 Integer to int value. If the object represents an integer value larger than 32 bits, the high bits will be lost.
        Parameters:
        decoded - a decoded object corresponding to this type
        Returns:
        decoded int value.
      • toBigIntegerValue

        public static BigInteger toBigIntegerValue(Object decoded)
        Converts decoded ASN.1 Integer to a BigInteger.
        Parameters:
        decoded - a decoded object corresponding to this type
        Returns:
        decoded BigInteger value.
      • fromIntValue

        public static Object fromIntValue(int value)
        Converts primitive int value to a form most suitable for encoding.
        Parameters:
        value - primitive value to be encoded
        Returns:
        object suitable for encoding


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 15288 / 248392511. Delta: 0.00715 с