public class ResourceExtensionParser extends Object
| Constructor and Description |
|---|
ResourceExtensionParser() |
| Modifier and Type | Method and Description |
|---|---|
ResourceExtension |
parse(X509Certificate certificate) |
net.ripe.ipresource.IpResourceSet |
parseAsIdentifiers(byte[] extension)
Parses the AS Identifier extension.
|
SortedMap<AddressFamily,net.ripe.ipresource.IpResourceSet> |
parseIpAddressBlocks(byte[] extension)
Parses the IP address blocks extension and merges all address families
into a single
IpResourceSet containing both IPv4 and IPv6
addresses. |
public ResourceExtension parse(X509Certificate certificate)
public SortedMap<AddressFamily,net.ripe.ipresource.IpResourceSet> parseIpAddressBlocks(byte[] extension)
IpResourceSet containing both IPv4 and IPv6
addresses. Maps an AddressFamily to null when the
resource of this type are inherited. If no resources are specified it is
mapped to an empty resource set.public net.ripe.ipresource.IpResourceSet parseAsIdentifiers(byte[] extension)
IpResourceSet. RDI information is not supported. Returns
null if the AS numbers are inherited.Copyright © 2008–2023 RIPE Network Coordination Centre (RIPE NCC). All rights reserved.