/* * Copyright 2002-2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ This implementation of the ASN.1 unaligned PER encoding and decoding library is an extension of https://github.com/alexvoronov/geonetworking licensed under the Apache License 2.0 the class TypeResolver (renamed and simplified as SimpleTypeResolver) is copied from https://github.com/jhalterman/typetools jhalterman/typetools licensed under the Apache License 2.0 The changes compared to geonetworking include: - logging framework exchanged to be independent from the specific logging implementation used there - support for asn.1 default values added - support for asn.1 extensions added - extension in choice - extension in sequence - extension in enum - Integer range limits for lists of integers - Integer range limits for long values - Constraints for Sequence Of .. - depencency to sun reflection removed - extended unit tests